/* ===== Variables ===== */
:root {
  --cream: #f6f1e6;
  --cream-dark: #ece3d1;
  --paper: #fbf8f1;
  --olive: #6e7b4e;
  --olive-dark: #4a5535;
  --olive-darker: #333c25;
  --brown: #4a3728;
  --brown-light: #6b4f3b;
  --gold: #b08d57;
  --ink: #3a2f22;

  --font-display: 'Frank Ruhl Libre', serif;
  --font-body: 'Heebo', sans-serif;

  --shadow-soft: 0 10px 30px rgba(58, 47, 34, 0.12);
  --shadow-strong: 0 20px 45px rgba(58, 47, 34, 0.22);
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* subtle linen texture overlay used across sections */
body {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(110,123,78,0.05), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(176,141,87,0.06), transparent 45%);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brown);
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.section-eyebrow {
  font-family: var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-size: .8rem;
  margin-bottom: .6em;
}

.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.section-lead {
  color: var(--brown-light);
  max-width: 560px;
}
.section-lead a { color: var(--olive-dark); font-weight: 600; border-bottom: 1px solid var(--gold); }

.section-head { margin-bottom: 40px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--olive);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--olive-dark); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--paper); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246,241,230,.55);
}
.btn-outline-light:hover { background: rgba(246,241,230,.12); border-color: var(--cream); }

.btn-large { padding: 16px 30px; font-size: 1rem; }
.btn-small { padding: 10px 20px; font-size: .85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 55, 40, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-soft); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
}

.main-nav {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  color: var(--brown);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.icon-link.whatsapp-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  transition: transform .18s ease;
}
.icon-link.whatsapp-header:hover { transform: scale(1.08); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: saturate(0.9) sepia(.08);
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(51,60,37,.55) 0%, rgba(42,34,24,.72) 60%, rgba(30,24,17,.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  text-align: center;
  margin: 0 auto;
  padding-top: 60px;
}
.hero-eyebrow {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  color: var(--cream);
  margin-bottom: .1em;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--cream);
  font-style: italic;
  opacity: .95;
}
.hero-sub {
  max-width: 560px;
  margin: 0 auto 1.6em;
  color: rgba(246,241,230,.88);
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-outline {
  color: var(--cream);
  border-color: rgba(246,241,230,.6);
}
.hero .btn-outline:hover { background: var(--cream); color: var(--brown); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  opacity: .8;
  animation: bob 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== About ===== */
.about { padding: 110px 0; background: var(--paper); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-media-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text p { color: var(--brown-light); }
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--olive-dark);
  border-right: 3px solid var(--gold);
  padding-right: 16px;
  margin-top: 1.5em;
}

/* ===== Products ===== */
.products { padding: 110px 0; background: var(--cream); }
.products .section-head { text-align: center; }
.products .section-head .section-lead { margin: 0 auto; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.product-img { aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 26px 24px 30px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 1.3rem; }
.product-body p { color: var(--brown-light); font-size: .95rem; flex: 1; }

/* ===== Gallery ===== */
.gallery { padding: 110px 0; background: var(--paper); }
.gallery .section-head { text-align: center; }
.gallery .section-head .section-lead { margin: 0 auto; }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  background: transparent;
  color: var(--brown);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { background: rgba(74,55,40,.08); }
.filter-btn.active { background: var(--brown); color: var(--paper); }

.gallery-grid {
  columns: 4 220px;
  column-gap: 16px;
}
.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .5s ease, filter .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery-item.hidden { display: none; }

.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42,34,24,.35));
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-follow { text-align: center; margin-top: 40px; }

/* ===== Contact ===== */
.contact {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--olive-darker), var(--brown) 120%);
  color: var(--cream);
  text-align: center;
}
.contact-inner { max-width: 680px; margin: 0 auto; }
.section-eyebrow-light { color: var(--gold); }
.section-title-light { color: var(--cream); }
.contact-lead { color: rgba(246,241,230,.85); margin-bottom: 2em; }
.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2em;
}
.contact-note { color: rgba(246,241,230,.65); font-size: .9rem; }

/* ===== Footer ===== */
.site-footer { background: var(--brown); color: var(--cream); padding: 44px 0 20px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(246,241,230,.15);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; }
.footer-logo { width: 34px; height: 34px; border-radius: 50%; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(246,241,230,.1);
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--olive); }
.footer-copy { text-align: center; font-size: .82rem; color: rgba(246,241,230,.55); margin: 18px 0 0; }

/* ===== Floating WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45);
  z-index: 400;
  transition: transform .2s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 14, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 86vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 22px; left: 26px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(246,241,230,.12);
  border: none;
  color: var(--cream);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(246,241,230,.25); }
.lightbox-prev { right: 24px; }
.lightbox-next { left: 24px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 420px; margin: 0 auto; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 78px; right: 0; left: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-bottom: 1px solid rgba(74,55,40,.12);
  }
  .main-nav.open { max-height: 320px; }
  .main-nav .nav-link { width: 100%; text-align: center; padding: 16px 0; }
  .menu-toggle { display: flex; }

  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 160px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { justify-content: center; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .fab-whatsapp { width: 52px; height: 52px; bottom: 18px; left: 18px; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 2 130px; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 1.15rem; }
  .brand-logo { width: 38px; height: 38px; }
}
