/* ============================================================
   jardinbellamorelle.site — Marrakech Gardens Guide
   Palette: Forest Green #2D5A3D + Terracotta #C46030 + Cream #FAF7F2
   NO opacity:0 | NO display:none on content | NO external resources
   ============================================================ */

:root {
  --green:   #2D5A3D;
  --green-d: #1E3F2B;
  --terra:   #C46030;
  --terra-l: #D97848;
  --cream:   #FAF7F2;
  --cream-d: #F0EBE2;
  --text:    #1C2B1E;
  --muted:   #5A6E5D;
  --border:  #C8D8CC;
  --white:   #FFFFFF;
  --shadow:  0 2px 18px rgba(45,90,61,0.09);
  --shadow-hv: 0 6px 32px rgba(45,90,61,0.16);
  --font:    Georgia, 'Times New Roman', serif;
  --sans:    system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius:  6px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- SCROLL REVEAL (transform only, no opacity) ---- */
.reveal {
  transform: translateY(44px);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { transform: translateY(0); }

/* ================================================================
   HEADER
   ================================================================ */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.brand-leaf {
  width: 28px; height: 28px;
  background: var(--terra);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.brand-name span { color: var(--terra-l); display: block; font-size: 0.7rem; letter-spacing: 0.12em; font-family: var(--sans); }

nav.main-nav { display: flex; gap: 0.2rem; }
nav.main-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
nav.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.12); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.25s;
}

/* MOBILE NAV — max-height transition (no display:none) */
.mobile-nav {
  background: var(--green-d);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 2rem;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover { color: var(--white); padding-left: 2.4rem; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--green);
  padding: 5.5rem 2.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196,96,48,0.18), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(196,96,48,0.22);
  color: var(--terra-l);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 2px;
  margin-bottom: 1.8rem;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  position: relative;
}
.hero h1 em { color: var(--terra-l); font-style: italic; }
.hero-lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}
.hero-disclaimer strong { color: rgba(255,255,255,0.65); }

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: 5rem 2.5rem;
}
.section:nth-child(even) { background: var(--cream-d); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* GARDEN CARDS */
.garden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.garden-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-top: 4px solid var(--green);
  transition: box-shadow 0.25s, transform 0.25s;
}
.garden-card:hover { box-shadow: var(--shadow-hv); transform: translateY(-3px); }
.garden-num {
  font-family: var(--font);
  font-size: 2.2rem; font-weight: 700;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.garden-card h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.garden-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.garden-tag {
  display: inline-block;
  margin-top: 1rem;
  background: var(--cream-d);
  color: var(--green);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 2px;
}

/* INFO TABLE */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
}
.info-table th {
  text-align: left;
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.info-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table tr:nth-child(odd) td { background: var(--cream); }
.info-table tr:nth-child(even) td { background: var(--white); }
.info-note {
  margin-top: 1rem;
  font-size: 0.82rem; color: var(--muted);
  font-style: italic; line-height: 1.6;
}

/* HISTORY BLOCKS */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.history-block {
  border-left: 3px solid var(--terra);
  padding-left: 1.4rem;
}
.history-block h3 {
  font-family: var(--font);
  font-size: 1.1rem; color: var(--green);
  margin-bottom: 0.6rem;
}
.history-block p { color: var(--muted); font-size: 0.92rem; line-height: 1.8; }

/* TIPS LIST */
.tips-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.tips-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex; gap: 1rem; align-items: flex-start;
}
.tip-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--terra);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.tip-body h4 { font-size: 0.95rem; color: var(--green); margin-bottom: 0.3rem; }
.tip-body p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* SEASONAL GRID */
.season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.season-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--border);
}
.season-card.best { border-top-color: var(--terra); }
.season-name {
  font-weight: 700; font-size: 0.95rem;
  color: var(--green); margin-bottom: 0.3rem;
}
.season-months { font-size: 0.75rem; color: var(--terra); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.season-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* FAQ — native details/summary, NO JS, NO display:none */
.faq-list { max-width: 820px; }
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list details:first-of-type { border-top: 1px solid var(--border); }
.faq-list summary {
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green); }
.faq-list details[open] summary { color: var(--terra); }
.faq-icon {
  width: 22px; height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  color: var(--muted); flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.faq-list details[open] .faq-icon { border-color: var(--terra); color: var(--terra); }
.faq-list details p {
  padding: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* RESOURCES */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.resource-card h4 { font-size: 0.95rem; color: var(--green); font-weight: 700; margin-bottom: 0.3rem; }
.resource-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* LEGAL / AGB blocks */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.legal-block h3 { font-size: 1rem; color: var(--green); margin-bottom: 0.6rem; font-weight: 700; }
.legal-block p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.legal-block a { color: var(--terra); font-weight: 600; text-decoration: underline; }

/* CONTACT BLOCK (no form — plain info only) */
.contact-section {
  background: var(--green);
  padding: 5rem 2.5rem;
  text-align: center;
}
.contact-section h2 {
  font-family: var(--font);
  font-size: 1.9rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.contact-section p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 2rem; }
.contact-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.contact-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  min-width: 200px;
}
.contact-item-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--terra-l);
  margin-bottom: 0.3rem;
}
.contact-item-value {
  color: var(--white);
  font-size: 0.95rem;
}
.contact-item-value a { color: var(--white); text-decoration: none; }
.contact-item-value a:hover { text-decoration: underline; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--green-d);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: var(--font);
  color: var(--white); font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  color: var(--white); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.62);
  text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--terra-l); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--terra-l); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  header { padding: 0 1.5rem; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .history-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  header { padding: 0 1rem; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .section { padding: 3.5rem 1.2rem; }
  .contact-section { padding: 3.5rem 1.2rem; }
  footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .garden-grid, .tips-list, .season-grid, .resource-grid, .legal-grid { grid-template-columns: 1fr; }
}
