/* =========================================
   MICHIELSEN'S TREE NURSERY — Stylesheet
   ========================================= */

:root {
  --green: #2d6a2d;
  --green-dark: #1e4a1e;
  --green-mid: #3a7a3a;
  --green-light: #eaf3ea;
  --earth: #7a5c2e;
  --earth-light: #f5efe6;
  --autumn: #c0392b;
  --charcoal: #1c1c1c;
  --grey: #6b7280;
  --grey-light: #f7f8f5;
  --white: #ffffff;
  --border: #dde8dd;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; color: var(--grey); }
p:last-child { margin-bottom: 0; }

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--grey { background: var(--grey-light); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.section--earth { background: var(--earth); color: var(--white); }

.section-label { font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }
.section--dark .section-label, .section--green .section-label { color: rgba(255,255,255,0.65); }
.section-header { margin-bottom: 52px; }
.section-header h2 { color: var(--charcoal); }
.section--dark .section-header h2, .section--green .section-header h2 { color: var(--white); }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn-earth { background: var(--earth); color: var(--white); border-color: var(--earth); }
.btn-earth:hover { background: #5a4020; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); }
.btn-outline-dark { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }

/* ---- HEADER ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--green-dark); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.logo-tagline { font-size: 0.65rem; color: rgba(255,255,255,0.65); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius); font-weight: 500; font-size: 0.9rem; color: rgba(255,255,255,0.85); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-cta { margin-left: 8px; }
.header-phone { font-weight: 700; font-size: 1rem; color: var(--white); display: flex; align-items: center; gap: 6px; }
.header-phone:hover { color: rgba(255,255,255,0.75); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px 24px; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 16px; border-radius: var(--radius); font-weight: 500; color: rgba(255,255,255,0.85); font-size: 1rem; transition: var(--transition); }
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* ---- WHOLESALE NOTICE ---- */
.wholesale-notice {
  background: #fef9e7;
  border: 1.5px solid #f39c12;
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #7d5500;
}

/* ---- HERO ---- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; background: var(--green-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.hero-content { position: relative; z-index: 2; max-width: 740px; padding: 60px 0; background: rgba(0,0,0,0.5); border-radius: 12px; padding: 40px; backdrop-filter: blur(2px); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: #a8d8a8; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat-num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--green); padding: 16px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 0.88rem; }

/* ---- FEATURE CARDS ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 28px; transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--green); border-radius: 4px 0 0 4px; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--green); }
.feature-card h4 { color: var(--charcoal); margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.feature-card p { font-size: 0.88rem; margin: 0; }

/* ---- GALLERY ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery-item { border-radius: 8px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.3s ease; display: block; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-grid--masonry { columns: 3; gap: 16px; }
.gallery-grid--masonry .gallery-item { break-inside: avoid; margin-bottom: 16px; }
.gallery-grid--masonry .gallery-item img { aspect-ratio: auto; height: auto; }

/* ---- TWO COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---- PAGE HERO ---- */
.page-hero { background: var(--green-dark); padding: 60px 0; position: relative; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.2; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; }

/* ---- CONTACT ---- */
.contact-card { background: var(--grey-light); border-radius: 12px; padding: 32px 28px; text-align: center; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; }
.contact-icon { width: 52px; height: 52px; background: var(--green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--green); }
.contact-card h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; color: var(--charcoal); }
.contact-card p { margin-bottom: 20px; font-size: 0.9rem; flex-grow: 1; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--charcoal); transition: var(--transition); }
.faq-question:hover { color: var(--green); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green); transition: var(--transition); }
.faq-item.open .faq-icon { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: 0.92rem; color: var(--grey); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- FOOTER ---- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.88rem; margin-top: 14px; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-heading); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; padding: 4px 0; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: #a8d8a8; }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 8px; }

/* ---- LIGHTBOX ---- */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav-links, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .two-col { display: flex !important; flex-direction: column !important; gap: 32px !important; }
  .two-col > * { width: 100% !important; }
  .gallery-grid--masonry { columns: 2; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { min-height: 100svh; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-bar-inner { gap: 20px; justify-content: flex-start; padding: 0 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--masonry { columns: 1; }
}
