@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

:root {
  /* Brand palette */
  --teal:          #3B7272;
  --teal-hover:    #4A8E8E;
  --olive-dark:    #282723;   /* logo background — exact color from logo JPEG */
  --amber:         #C28A3A;   /* logo golden amber — tree & text color */
  --amber-hover:   #D49A48;
  --amber-dim:     #4A3A18;   /* muted amber for borders */
  --rust:          #C0411D;
  --rust-hover:    #A8381A;

  /* Dark theme surface tokens */
  --bg:            #1A1910;   /* deepest background */
  --bg-raised:     #282723;   /* logo-matched dark — header, footer, cards */
  --bg-subtle:     #201F15;   /* section alternation */
  --border:        #3C3422;   /* amber-tinted border */

  /* Text */
  --text:          #EDE0CC;
  --text-muted:    #9A8A60;
  --text-faint:    #554A30;

  --radius: 10px;
  --shadow: 0 2px 14px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.65);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Header ── */
header {
  background: var(--bg-raised);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.logo-old {
  color: var(--text-muted);
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* ── Home landing (full-screen, no header) ── */
.home-page {
  background: var(--olive-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  gap: 2.75rem;
}

.home-logo-img {
  width: min(400px, 82vw);
  height: auto;
  display: block;
}

.home-nav {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.home-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(194,138,58,0.6);
  transition: color 0.2s;
}

.home-nav a:hover { color: var(--amber); }

.home-nav-sep {
  width: 1px;
  height: 14px;
  background: var(--amber-dim);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s, border-color 0.15s, color 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}

.btn-primary:hover {
  background: var(--rust-hover);
  border-color: var(--rust-hover);
  box-shadow: 0 4px 16px rgba(192,65,29,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--amber-dim);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  box-shadow: 0 4px 16px rgba(59,114,114,0.4);
}

.btn-teal-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-teal-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-white {
  background: var(--text);
  color: var(--olive-dark);
  border-color: var(--text);
  font-weight: 700;
}

.btn-white:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--bg-raised);
  color: var(--text);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Section ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.4rem;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(194,138,58,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--amber);
}

.feature h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--text); }
.feature p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-raised);
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,6,0.97);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* ── Filter Pills ── */
.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.pill {
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--amber-dim);
  background: transparent;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.pill:hover { border-color: var(--amber); color: var(--amber); }
.pill.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-raised);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-subtle);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.product-card:hover .product-img img { transform: scale(1.04); }

.product-info {
  padding: 1.2rem 1.3rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.25rem;
}

.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.product-tagline { font-size: 0.82rem; color: var(--text-muted); }

.product-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.35rem; }

.product-tag {
  font-size: 0.72rem;
  background: rgba(194,138,58,0.12);
  color: var(--amber);
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-weight: 500;
}

.product-footer {
  padding: 0.75rem 1.3rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price { font-size: 1.1rem; font-weight: 700; color: var(--amber); }
.product-price .from { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); margin-right: 2px; }

.btn-order {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 7px;
  background: var(--rust);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-order:hover { background: var(--rust-hover); }

/* ── Contact Layout ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 760px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 1.6rem; margin-bottom: 0.75rem; color: var(--text); }
.contact-info > p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.75; margin-bottom: 2rem; }

.c-items { display: flex; flex-direction: column; gap: 1.25rem; }
.c-item { display: flex; align-items: flex-start; gap: 0.9rem; }

.c-icon {
  width: 40px;
  height: 40px;
  background: rgba(194,138,58,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.c-item h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.c-item p { font-size: 0.92rem; color: var(--text); }

.contact-form-card {
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.contact-form-card h3 { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--text); }

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.form-group:last-of-type { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

label { font-size: 0.87rem; font-weight: 600; color: var(--text-muted); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--amber-dim);
  border-radius: 7px;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--bg-subtle);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

input::placeholder, textarea::placeholder { color: var(--text-faint); }
select option { background: var(--bg-raised); color: var(--text); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(194,138,58,0.15);
}

textarea { resize: vertical; min-height: 110px; }

.form-success { display: none; text-align: center; padding: 2rem 0.5rem; }
.form-success.show { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(194,138,58,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--amber);
}

.form-error-msg { display: none; color: #e07060; font-size: 0.875rem; margin-top: 10px; text-align: center; }
.form-error-msg.show { display: block; }
.submit-btn { width: 100%; padding: 0.85rem; font-size: 1rem; margin-top: 0.75rem; }

/* ── About strip ── */
.about-strip { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-strip p { color: var(--text-muted); max-width: 620px; margin-bottom: 1.75rem; font-size: 1rem; line-height: 1.8; }

/* ── CTA section ── */
.cta-section { background: var(--teal); color: #fff; text-align: center; padding: 4rem 1.5rem; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; color: #fff; }
.cta-section p { color: rgba(255,255,255,0.78); margin-bottom: 2rem; font-size: 1rem; }

/* ── Shop note banner ── */
.shop-note {
  background: var(--bg-raised);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Footer ── */
footer {
  background: var(--bg-raised);
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  line-height: 1.9;
  border-top: 1px solid var(--border);
}

footer strong { color: var(--text); }
footer a { color: var(--amber); }
footer a:hover { text-decoration: underline; }

/* ── Responsive nav ── */
@media (max-width: 768px) {
  .header-inner { height: 56px; }
  nav a { padding: 0.35rem 0.65rem; font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 99;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  nav.open { display: flex; }

  nav a {
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-muted);
  }

  nav a:last-child { border-bottom: none; }

  .home-nav { gap: 2rem; }
  .home-nav-sep { display: none; }
}
