/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Top black line */
.top-line {
  width: 100%;
  height: 6px;
  background-color: #000;
}

/* ========== HEADER ========== */
header {
  text-align: center;
  padding: 40px 0 20px;
  background-color: #fff;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #777;
}

/* ========== HERO SECTION ========== */
.hero-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-grid .image {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.hero-grid .image:hover {
  transform: scale(1.03);
}

.hero-grid .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-grid .btn {
  background-color: #000;
  color: #fff;
  padding: 12px 32px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.hero-grid .btn:hover {
  background-color: #333;
  opacity: 0.9;
}

/* ========== FEATURE ROW ========== */
.feature-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 80px 5%;
  flex-wrap: wrap;
  background-color: #fff;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
}

.feature-header {
  margin-bottom: 20px;
}

.feature-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature-header a {
  text-decoration: none;
  color: #000;
}

.shop-link {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.shop-link:hover {
  color: #555;
  border-color: #555;
}

/* Ensure feature images match in size */
.feature-card img {
  width: 100%;
  height: 600px; /* consistent height */
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card img:hover {
  transform: scale(1.02);
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #555;
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 4px solid #000

}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 900px) {
  header h1 {
    font-size: 2rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-grid {
    flex-direction: column;
    height: auto;
  }

  .hero-grid .image {
    height: 50vh;
  }

  .feature-row {
    flex-direction: column;
    gap: 60px;
  }

  .feature-card {
    max-width: 90%;
  }

  .feature-card img {
    height: 450px; /* smaller but consistent on mobile */
  }
}

/* Rentals Page */
.rentals-section {
  text-align: center;
  padding: 80px 5%;
}

.rentals-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

.rental-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.rental-card {
  text-align: center;
  max-width: 320px;
}

.rental-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.rental-card img:hover {
  transform: scale(1.03);
}

.rental-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-top: 10px;
  font-size: 1.1rem;
}

.rental-card .brand {
  font-family: 'Montserrat', sans-serif;
  color: #777;
  font-size: 0.95rem;
  margin: 4px 0;
}

.rental-card .price {
  font-weight: 700;
  color: #000;
  font-size: 1rem;
}

