:root {
  /* Design tokens (HSL like the project) */
  --forest-dark: 152 40% 15%;
  --forest-medium: 152 35% 25%;
  --forest-light: 152 25% 35%;
  --gold: 35 80% 65%;
  --gold-dark: 35 70% 55%;
  --cream: 42 15% 96%;
  --container: 1200px;
  --radius: 12px;
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.12);
  --header-height: 72px;
  --background: hsl(0 0% 100%);
  
}

/* Basic layout helpers */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  color: hsl(var(--forest-dark));
  background: hsl(0 0% 100%);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header  */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(0, 0%, 100%, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-img {
  height: 10rem;
  width: auto;
}

.nav.desktop-nav {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Mobile Menu Button */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--foreground);
}

/* Mobile Menu Sliding Panel */
.mobile-menu {
  position: fixed; /* fixed to viewport */
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background: var(--background);
  box-shadow: var(--shadow-card);
  transform: translateX(100%); /* start offscreen to the right */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  z-index: 999;
}

/* When menu is active */
.mobile-menu.active {
  transform: translateX(0); /* slide in */
}

.mobile-link {
  display: block;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  margin: 0.8rem 0;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--primary);
}

.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--foreground);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--primary);
}

/* Prevent page scroll when menu open */
body.menu-open {
  overflow: hidden;
}


/* Hero */
.collections-hero {
  padding: 5.5rem 0;
  background: linear-gradient(
    135deg,
    hsl(var(--forest-dark)),
    hsl(var(--forest-medium)),
    hsl(var(--forest-light))
  );
  color: white;
}
.hero-inner {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-heading {
  font-size: clamp(30px, 6vw, 4.5rem);
  margin: 0 0 12px;
  line-height: 1;
}
.white-text {
  display: block;
}
.gradient-text {
  display: block;
  background: linear-gradient(
    90deg,
    hsl(35,80% ,65%),
    #fff
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.625;
  font-size: 1.25rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-white {
  background: white;
}
.section-muted {
  background: #f7f8f6;
}
.section-header {
  margin-bottom: 4rem;
}
.section-title {
  font-size: 3rem;
    line-height: 1;
  margin: 0;
  color: hsl(var(--forest-dark));
  margin-bottom: 1.5rem;
}
.section-lead {
  color: hsl(152 15% 45%);
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* Products list */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* Each product row */
.product-row {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-media {
  position: relative;
  min-height: 260px;
  flex: 1;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-media .media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent);
}

.product-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-pill {
  display: inline-block;
  background: rgba(212, 175, 55, 0.08);
  color: hsl(var(--gold-dark));
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.pill-dark {
  background: rgba(20, 30, 25, 0.06);
  color: hsl(var(--forest-dark));
}

.product-content h3 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-bottom: 1rem;
  margin-top: 0;
}
.product-desc {
  color: hsl(152 15% 45%);
  margin: 0 0 8px;
  line-height: 1.625;
  font-size: 1.125rem;
}
.meta-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.meta-list > div > strong {
  display: block;
  margin-bottom: .5rem;
  color: hsl(var(--forest-dark));
  font-weight: 600;
}
.meta-list > div > p {
  margin: 0;
  color: hsl(152 15% 45%);
  font-size: 0.95rem;
}

/* Hover behavior: subtle zoom of image on hover (desktop) */
.product-grid:hover .product-media img {
  transform: scale(1.03);
}

/* Reverse layout on large screens */
@media (min-width: 1024px) {
  .product-grid {
    flex-direction: row;
  }
  /* If .reverse on parent, flip order */
  .product-row.reverse .product-grid {
    flex-direction: row-reverse;
  }

  .product-media {
    min-height: 360px;
    width: 50%;
  }
  .product-content {
    width: 50%;
    padding: 48px;
  }
}

/* Responsive tweaks */
@media (max-width: 1023px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .product-media {
    min-height: 260px;
  }
}

/* Footer tweaks */

.footer {
  background-color: hsl(var(--forest-dark)); /* forest-dark */
  color: #fff;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-top {
  gap: 2rem;
  text-align: center;
}

.footer .brand .logo {
  height: 16rem;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
  text-align: center;
}

.footer .brand .logo:hover {
  opacity: 0.8;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav ul li a:hover {
  color: #d4af37; /* gold */
}

.footer-nav .contact-email {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid #3b6e4d; /* forest-light */
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom .legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom .legal-links a:hover {
  color: #d4af37;
}

.footer-bottom .copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
  .nav.desktop-nav {
    display: flex;
    gap: 2rem;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* small utilities */
.text-center {
  text-align: center;
}
