/* ============================================================
   САМАРДАЛА – style.css
   Aesthetic: Organic / Editorial / Natural
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --sage:       #6b7c5c;
  --sage-light: #8fa07a;
  --sage-dark:  #3f4e34;
  --cream:      #f7f3ec;
  --cream-dark: #ede8df;
  --bark:       #7a5c3c;
  --bark-light: #c4a882;
  --white:      #ffffff;
  --ink:        #2a2a1e;
  --ink-mid:    #4a4a38;
  --ink-soft:   #7a7a66;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(60,50,30,.08);
  --shadow-md: 0 6px 24px rgba(60,50,30,.12);
  --shadow-lg: 0 16px 48px rgba(60,50,30,.16);

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.visible { opacity: 1; transform: none; }

/* Section labels & titles */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 28px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--sage-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 1px solid;
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  display: inline-block;
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 2px solid var(--sage-dark);
  transition: color var(--transition), border-color var(--transition);
}
.btn-secondary:hover { color: var(--sage); border-color: var(--sage); }
.btn-full { width: 100%; text-align: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,236,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-leaf {
  font-size: 1.5rem;
  color: var(--sage);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.main-nav { display: flex; gap: 36px; }
.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--sage);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--sage-dark); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.mobile-nav.open {
  display: flex;
  max-height: 300px;
  padding: 12px 0;
}
.mobile-nav a {
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--cream-dark);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--cream-dark); color: var(--sage-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sage-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(107,124,92,.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(63,78,52,.7) 0%, transparent 60%),
    linear-gradient(155deg, #2a3a22 0%, #3f4e34 40%, #4a5e3c 100%);
}
/* Decorative botanical pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1px at 20% 30%, rgba(255,255,255,.08) 0%, transparent 100%),
    radial-gradient(circle 1px at 75% 20%, rgba(255,255,255,.06) 0%, transparent 100%),
    radial-gradient(circle 1px at 50% 70%, rgba(255,255,255,.05) 0%, transparent 100%);
  background-size: 200px 200px, 150px 150px, 300px 300px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 60px 24px 60px calc((100vw - 1100px) / 2 + 24px);
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark-light);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-deco {
  position: absolute;
  right: -80px; bottom: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.hero-deco::before {
  content: '';
  position: absolute;
  top: 60px; left: 60px; right: 60px; bottom: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.04);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--cream); }
.products .section-label,
.products .section-title { text-align: center; display: block; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}
.product-icon { font-size: 2.2rem; margin-bottom: 16px; }
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-card h3 span {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  font-style: italic;
}
.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 12px 0;
}
.product-desc { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }

.spring-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f0ebe0, #e8e1d4);
  border: 1px solid var(--bark-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 48px;
}
.notice-icon { font-size: 2rem; flex-shrink: 0; }
.spring-notice p { font-size: 0.95rem; color: var(--ink-mid); }

/* ============================================================
   BULBS SECTION
   ============================================================ */
.bulbs-section { background: var(--cream-dark); }
.bulbs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bulbs-text p { color: var(--ink-mid); margin-bottom: 24px; }
.bulbs-facts { margin-bottom: 32px; }
.bulbs-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(107,124,92,.2);
  font-size: 0.95rem;
  color: var(--ink-mid);
}
.bulbs-facts li:last-child { border-bottom: none; }
.bulbs-facts li span { font-size: 1.2rem; flex-shrink: 0; }

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-frame::before {
  content: '';
  position: absolute;
  inset: 0; z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.3);
  pointer-events: none;
}
.image-frame img { width: 100%; object-fit: cover; }
.image-frame.no-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 5rem;
}
.image-frame.no-img::after { content: '🌿'; }

/* ============================================================
   ORDER FORM (index page)
   ============================================================ */
.order-section {
  background: var(--sage-dark);
  color: var(--white);
}
.order-section .section-label { color: var(--bark-light); }
.order-section .section-title { color: var(--white); }
.form-intro { color: rgba(255,255,255,.7); margin-bottom: 40px; margin-top: -12px; }

.order-form {
  max-width: 680px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255,255,255,.8);
}
.order-section .form-group label { color: rgba(255,255,255,.75); }
.contact-form-wrap .form-group label { color: var(--ink-mid); }

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--bark-light);
  background: rgba(255,255,255,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.req { color: var(--bark-light); }
.opt { color: rgba(255,255,255,.4); font-size: 11px; font-weight: 300; text-transform: none; letter-spacing: 0; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--sage-dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .section-label { color: var(--bark-light); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  margin-top: 8px;
}
.page-hero-deco {
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}

/* ============================================================
   INFO PAGE
   ============================================================ */
.info-section { background: var(--cream); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.info-main h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-dark);
}
.info-main h2:first-child { margin-top: 0; }
.info-main p { color: var(--ink-mid); margin-bottom: 16px; }
.info-main em { color: var(--sage-dark); font-style: italic; }
.info-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--cream-dark);
}
.info-list li::before {
  content: '❧';
  position: absolute; left: 0;
  color: var(--sage);
  font-size: 0.85rem;
}
.info-list li:last-child { border-bottom: none; }

/* Sidebar */
.info-sidebar { display: flex; flex-direction: column; gap: 24px; }
.taxonomy-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.taxonomy-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.latin-name {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.latin-name-en { font-size: 0.78rem; color: var(--bark); margin-bottom: 20px; }
.taxonomy-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.taxonomy-table tr { border-bottom: 1px solid var(--cream-dark); }
.taxonomy-table tr:last-child { border-bottom: none; }
.taxonomy-table th {
  text-align: left;
  padding: 7px 8px 7px 0;
  font-weight: 500;
  color: var(--ink-mid);
  width: 40%;
}
.taxonomy-table td { padding: 7px 0; color: var(--ink-soft); }
.taxonomy-table td em { font-style: italic; }

.info-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.info-photo-card img { width: 100%; }
.photo-caption {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px;
}
.cta-card {
  background: var(--sage-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cta-card p { font-size: 0.9rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2, .contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 28px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--sage-light); }
.contact-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-card a, .contact-card p { font-size: 1rem; color: var(--ink); }
.contact-card a:hover { color: var(--sage-dark); text-decoration: underline; }
.contact-note { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }

/* Contact form (light theme override) */
.contact-form-wrap .form-group input,
.contact-form-wrap .form-group textarea {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--ink);
}
.contact-form-wrap .form-group input::placeholder,
.contact-form-wrap .form-group textarea::placeholder { color: var(--ink-soft); }
.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(107,124,92,.12);
}
.contact-form-wrap .opt { color: var(--ink-soft); }
.contact-form-wrap .req { color: var(--bark); }

.form-success-msg {
  background: #e6f4ea;
  border: 1px solid #7cba8c;
  color: #2d6a3f;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.form-error-msg {
  background: #fce8e8;
  border: 1px solid #e88;
  color: #8b2020;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .logo-text { color: rgba(255,255,255,.9); font-size: 1.4rem; }
.footer-brand .logo-leaf { color: var(--sage-light); }
.footer-info { text-align: center; font-size: 0.9rem; line-height: 2; }
.footer-info a:hover { color: var(--sage-light); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 16px 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .bulbs-inner { grid-template-columns: 1fr; }
  .bulbs-image { order: -1; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { text-align: center; flex-direction: row; justify-content: center; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 24px; }
  .hero-title { font-size: 3.5rem; }
  .section-pad { padding: 56px 0; }
}
