/* ── Variables ───────────────────────────────────────────────── */
:root {
  --clr-bg:        #faf7f2;
  --clr-bg-alt:    #f2ebe0;
  --clr-primary:   #6b3d14;
  --clr-primary-d: #4e2c0e;
  --clr-accent:    #c17f35;
  --clr-accent-l:  #e8c87a;
  --clr-text:      #2c2218;
  --clr-text-muted:#7a6550;
  --clr-white:     #ffffff;
  --clr-border:    #d8c9b0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --radius:  12px;
  --shadow:  0 4px 24px rgba(107, 61, 20, 0.10);
  --transition: 0.25s ease;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-size: 1rem;
}

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

a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent); }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-d);
  border-color: var(--clr-primary-d);
  color: var(--clr-white);
  box-shadow: 0 6px 20px rgba(107,61,20,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

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

.brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--clr-accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--clr-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(107,61,20,0.72) 0%, rgba(44,34,24,0.82) 100%),
    url('https://images.unsplash.com/photo-1549931319-a545dcf3bc7b?w=1800&q=80') center/cover no-repeat;
  color: var(--clr-white);
  padding: 6rem 1rem 5rem;
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--clr-bg-alt);
}

.section-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.section-label.center { text-align: center; }

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
h2.center { text-align: center; }

.section-intro {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
  color: var(--clr-text-muted);
  font-size: 1.05rem;
}

/* ── Two-column layout ───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.text-block p {
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}
.text-block .btn { margin-top: 1rem; }

.image-block, .map-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  background: linear-gradient(135deg, var(--clr-bg-alt) 0%, var(--clr-border) 100%);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--clr-text-muted);
  font-style: italic;
}
.placeholder-icon { font-size: 4rem; }

address { font-style: normal; margin: 1rem 0; }
address p { color: var(--clr-text-muted); }

/* ── Products grid ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card.featured {
  border-color: var(--clr-accent);
  background: linear-gradient(135deg, #fff8ee 0%, var(--clr-bg) 100%);
}

.product-icon { font-size: 2.4rem; margin-bottom: 0.75rem; }

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin-bottom: 0.25rem;
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(193,127,53,0.12);
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.product-card p:last-child {
  color: var(--clr-text-muted);
  font-size: 0.93rem;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}
.gallery-item .video-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--clr-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  pointer-events: none;
  background: rgba(0,0,0,0.15);
}

.gallery-loading,
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--clr-text-muted);
  font-style: italic;
  padding: 2rem 0;
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 14, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: lb-fade 0.2s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--clr-white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.06);
}
.lightbox-close { top: 1.25rem; right: 1.25rem; font-size: 2rem; }
.lightbox-prev  { left: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next  { right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

body.lb-open { overflow: hidden; }

/* ── Contact form ────────────────────────────────────────────── */.contact-wrap { max-width: 720px; }

.contact-form {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group label span { color: var(--clr-accent); }

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: 8px;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(193,127,53,0.15);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-notice {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}
.form-feedback.success {
  display: block;
  background: #eaf5ea;
  color: #2a6b2a;
  border: 1px solid #b4ddb4;
}
.form-feedback.error {
  display: block;
  background: #fdf0f0;
  color: #a02020;
  border: 1px solid #f0c0c0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--clr-white);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.footer a { color: var(--clr-accent-l); }
.footer a:hover { color: var(--clr-white); }
.footer-copy { font-size: 0.82rem; opacity: 0.6; margin-top: 0.5rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
  .navbar { position: relative; }
  html { scroll-padding-top: 0; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.6rem; }
  .section { padding: 3.5rem 0; }
  .products-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
