/* Header: Logo and main navigation */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #8b7355;
}

/* Hero section with background image */
.hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 55vh;
  max-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;

  /* Set the background image for the hero section */
  background-image: url(./images/hero.jpg);
  background-size: auto 165%;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #faf9f7;
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem 3rem;
  border-radius: 4px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.08em;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: #555;
  margin: 0;
  font-style: italic;
}

/* Mission: Company vision and description */
.mission {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #faf9f7;
}

.mission-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.08em;
}

.mission-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
  max-width: 42rem;
}

/* Products: Lighting product cards grid */
.products {
  padding: 4rem 2rem;
  background-color: #fff;
}

.products-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin: 0 0 3rem 0;
  letter-spacing: 0.08em;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.product-card {
  flex: 1 1 280px;
  max-width: 360px;
  background: #faf9f7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 1rem 1.25rem 0.25rem;
}

.product-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin: 0 1.25rem 1.25rem;
}

/* Team: Company employees section */
.team {
  padding: 4rem 2rem;
  background-color: #faf9f7;
}

.team-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin: 0 0 3rem 0;
  letter-spacing: 0.08em;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.team-card {
  flex: 1 1 240px;
  max-width: 300px;
  text-align: center;
}

.team-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 20%;
  display: block;
  margin: 0 auto 1rem;
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.25rem 0;
}

.team-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: #555;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

/* Footer: Copyright and navigation links */
footer {
  padding: 2.5rem 2rem;
  background-color: #333;
  color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.footer-copyright {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #c9a962;
}

/* Media Queries: Responsive breakpoints */
/* Tablet: 601px - 1024px */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .mission,
  .products,
  .team {
    padding: 3rem 1.5rem;
  }
}

/* Mobile: max 600px */
@media only screen and (max-width: 600px) {
  .hero {
    width: 100%;
    height: 45vh;
    min-height: 45vh;
    max-height: 45vh;
  }

  .hero-content {
    padding: 1.25rem 1.5rem;
    max-width: 90%;
  }

  /* ~1.5rem on narrow phones, 1.75rem by ~600px */
  .hero-title {
    font-size: clamp(1.5rem, 0.65rem + 3.5vw, 1.75rem);
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .mission,
  .products,
  .team {
    padding: 2rem 1rem;
  }

  .mission-title,
  .products-title,
  .team-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Single column: cards use full row width on small screens */
  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .team-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .team-card img {
    height: 450px;
    border-radius: 15px;
  }

  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav {
    gap: 1.25rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }

  .footer-nav {
    gap: 1.25rem;
  }

  .footer-logo {
    font-size: 1.25rem;
  }
}