:root {
  --bg: #f8f6f3;
  --bg-soft: #f1ece5;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #1c1b1a;
  --muted: #635d57;
  --accent: #d4af37;
  --accent-deep: #b8921d;
  --border: rgba(28, 27, 26, 0.08);
  --shadow-soft: 0 18px 40px rgba(48, 38, 22, 0.08);
  --shadow-hover: 0 24px 48px rgba(48, 38, 22, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 18%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(28, 27, 26, 0.05) calc(25% - 1px),
      rgba(28, 27, 26, 0.05) 25%
    ),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 1.5rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 243, 0.78);
  border-bottom: 1px solid rgba(28, 27, 26, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img{
  width: 200px;
}

.nav-links {
  position: fixed;
  top: 74px;
  left: 0.75rem;
  right: 0.75rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: var(--muted);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 2rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.cta-box h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 15vw, 6.8rem);
  color: #13243a;
}

.hero-subtitle {
  margin: 0.8rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  color: var(--text);
}

.hero-text {
  max-width: 32rem;
  margin: 1.25rem 0 1.8rem;
  color: var(--muted);
  line-height: 1.8;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffdf9;
  background: linear-gradient(135deg, var(--accent), #e1c15f);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(28, 27, 26, 0.1);
}

.hero-visual {
  position: relative;
  width: min(100%, 33rem);
  margin-left: auto;
}

.hero-visual__shape {
  position: absolute;
  inset: 5% 3% 0 3%;
  border-radius: 50% 50% 38% 38%;
  background: linear-gradient(180deg, rgba(208, 217, 222, 0.95), rgba(250, 240, 232, 0.9));
}

.hero-visual img {
  position: relative;
  z-index: 1;
  aspect-ratio: 0.9;
  object-fit: cover;
  border-radius: 45% 45% 3rem 3rem;
  box-shadow: var(--shadow-hover);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #13243a;
}

.scroll-indicator span {
  width: 1px;
  height: 28px;
  background: currentColor;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading h2,
.about-copy h2,
.cta-box h2 {
  font-size: clamp(2.1rem, 7vw, 4rem);
}

.collection-grid {
  display: grid;
  gap: 1rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: #ddd5cb;
  transform: translateZ(0);
}

.collection-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;   /* 👈 THIS IS THE KEY FIX */

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 1.5rem;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.05)
  );
}

.collection-card__overlay h3 {
  margin: 0;
  color: rgb(230, 230, 230);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 8vw, 3rem);
  
}

.collection-card:active {
  transform: scale(0.985);
}

.featured-products {
  overflow: hidden;
}

.product-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82%, 19rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.product-row::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(28, 27, 26, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card img {
  aspect-ratio: 0.9;
  object-fit: cover;
}

.product-card__content {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
}

.product-card__content h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.product-card__content p {
  margin: 0;
  color: var(--accent-deep);
  font-weight: 600;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.about-panel {
  min-height: 20rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(240, 233, 224, 0.9)),
    url("https://images.unsplash.com/photo-1601821765780-754fa98637c1?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: end start;
  padding: 1.3rem;
}

.about-panel__card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.about-panel__card span {
  color: #13243a;
  font-weight: 600;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(28, 27, 26, 0.06);
  box-shadow: var(--shadow-soft);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  color: var(--accent-deep);
}

.trust-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-box {
  padding: 2.25rem 1.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(245, 236, 223, 0.94));
  box-shadow: var(--shadow-soft);
}

.cta-box .button {
  margin-top: 1rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(28, 27, 26, 0.06);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-links,
.footer-actions {
  display: grid;
  gap: 0.7rem;
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-delay {
  transition-delay: 0.12s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .collection-card:hover img,
  .collection-card:focus-visible img {
    transform: scale(1.06);
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    min-height: auto;
    padding: 0.5rem 0.9rem;
  }

  .hero {
    padding: 2rem 0 5.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-card--wide {
    grid-column: span 2;
    min-height: 23rem;
  }

  .product-row {
    grid-auto-columns: minmax(18rem, 23rem);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-card {
    min-height: 26rem;
  }

  .collection-card--wide {
    grid-column: auto;
    min-height: 26rem;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
