/* ============================================================
   marrakechgardeninfo.site — Jardin Majorelle Visitor Guide
   Style: Botanical Light — Ivory / Majorelle Blue / Terracotta
   ============================================================ */

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

:root {
  --blue:      #1A5CDB;
  --blue-dk:   #1248B3;
  --blue-lt:   #E8EFFC;
  --terra:     #C45C2A;
  --terra-lt:  #F5E8E0;
  --green:     #2D6B4F;
  --green-lt:  #E6F2EC;
  --ivory:     #FAFAF5;
  --ivory-dk:  #F0EFE6;
  --sand:      #E8E0D0;
  --text-dk:   #1C1C2E;
  --text-md:   #4A4A6A;
  --text-lt:   #7A7A9A;
  --white:     #FFFFFF;
  --border-r:  8px;
}

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

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: var(--ivory);
  color: var(--text-dk);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- TYPOGRAPHY ---------- */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; }
h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); text-decoration: underline; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 88px 0; }

/* ---------- LABELS ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--terra);
  flex-shrink: 0;
}

.section-title { color: var(--text-dk); margin-bottom: 1rem; }
.section-title span { color: var(--blue); }
.section-intro { font-size: 1.05rem; color: var(--text-md); max-width: 680px; margin-bottom: 3rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(250,250,245,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dk);
  letter-spacing: -0.01em;
}
.site-brand em { font-style: normal; color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-md);
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--blue-lt); color: var(--blue); text-decoration: none; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dk); transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ivory);
  border-top: 1px solid var(--sand);
  padding: 0.8rem 0;
}
.mobile-nav a {
  font-size: 0.9rem;
  color: var(--text-md);
  padding: 10px 2rem;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--blue); background: var(--blue-lt); text-decoration: none; }
.mobile-nav.open { display: flex; }

/* ---------- NOTICE STRIP ---------- */
.notice-strip {
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 10px 2rem;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

/* Botanical arc decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(26,92,219,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--sand);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 2rem 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { }

.hero-tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 1.5rem;
}

.hero-title { color: var(--text-dk); margin-bottom: 1.5rem; }
.hero-title strong { color: var(--blue); display: block; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-md);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terra-lt);
  border: 1px solid rgba(196,92,42,0.2);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.78rem;
  color: var(--terra);
  font-weight: 600;
}
.hero-disclaimer::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: var(--blue);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
}
.hero-card-main h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero-card-main .stat { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.3rem; }
.hero-card-main .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.hero-card-sub {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 1.4rem;
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
}
.hero-card-sub .sub-item { flex: 1; text-align: center; }
.hero-card-sub .sub-value { font-size: 1.3rem; font-weight: 700; color: var(--blue); }
.hero-card-sub .sub-label { font-size: 0.75rem; color: var(--text-lt); margin-top: 2px; }

.hero-card-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 90px; height: 90px;
  background: var(--terra);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ---------- ABOUT ---------- */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.about-body p { color: var(--text-md); font-size: 0.98rem; }

.about-facts { display: flex; flex-direction: column; gap: 1rem; }

.fact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--ivory);
  border-radius: var(--border-r);
  border-left: 3px solid var(--blue);
}
.fact-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-lt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-icon span {
  font-size: 1rem;
  line-height: 1;
}
.fact-text h4 { color: var(--blue); margin-bottom: 3px; font-size: 0.7rem; }
.fact-text p { color: var(--text-md); font-size: 0.88rem; margin: 0; }

/* ---------- HIGHLIGHTS ---------- */
.highlights-section { background: var(--ivory-dk); }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--border-r);
  padding: 2rem 1.6rem;
  border-top: 4px solid var(--blue);
  transition: transform 0.25s, box-shadow 0.25s;
}
.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,92,219,0.1);
}
.highlight-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.highlight-card h3 { color: var(--text-dk); margin-bottom: 0.6rem; font-size: 1rem; }
.highlight-card p { color: var(--text-md); font-size: 0.87rem; line-height: 1.65; margin: 0; }

/* ---------- TICKETS (HOW TO) ---------- */
.tickets-section { background: var(--white); }

.tickets-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.steps-flow { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 1.2rem;
  padding-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s, transform 0.5s;
}
.step.visible { opacity: 1; transform: none; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--sand);
}

.step-dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step-body h3 { color: var(--text-dk); font-size: 0.95rem; margin-bottom: 0.3rem; }
.step-body p { color: var(--text-md); font-size: 0.87rem; margin: 0; line-height: 1.6; }

/* Ticket options panel */
.ticket-options { display: flex; flex-direction: column; gap: 1rem; }

.ticket-opt {
  border: 2px solid var(--sand);
  border-radius: var(--border-r);
  padding: 1.4rem 1.6rem;
  transition: border-color 0.2s, background 0.2s;
}
.ticket-opt:hover { border-color: var(--blue); background: var(--blue-lt); }
.ticket-opt.featured { border-color: var(--blue); background: var(--blue-lt); }

.opt-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.opt-name { font-weight: 700; color: var(--text-dk); font-size: 0.95rem; }
.opt-price { font-weight: 700; color: var(--blue); font-size: 1.05rem; }
.opt-desc { color: var(--text-md); font-size: 0.83rem; line-height: 1.55; }

/* ---------- PRICES ---------- */
.prices-section { background: var(--blue); }
.prices-section .label { color: rgba(255,255,255,0.6); }
.prices-section .label::before { background: rgba(255,255,255,0.6); }
.prices-section .section-title { color: var(--white); }
.prices-section .section-title span { color: rgba(255,255,255,0.8); }
.prices-section .section-intro { color: rgba(255,255,255,0.7); }

.prices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.price-tile {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-r);
  padding: 2rem 1.4rem;
  text-align: center;
  transition: background 0.2s;
}
.price-tile:hover { background: rgba(255,255,255,0.16); }
.price-tile.highlight {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
}

.tile-who { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 0.8rem; font-weight: 700; }
.tile-price { font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.3rem; }
.tile-currency { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.8rem; }
.tile-note { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }

.prices-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ---------- HOURS / LOCATION ---------- */
.hours-section { background: var(--ivory-dk); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

.hours-box {
  background: var(--white);
  border-radius: var(--border-r);
  overflow: hidden;
}
.hours-box-head {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 1.5rem;
  font-size: 0.88rem;
  color: var(--text-md);
  border-bottom: 1px solid var(--ivory-dk);
}
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--text-dk); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr:nth-child(even) td { background: var(--ivory); }

.location-blocks { display: flex; flex-direction: column; gap: 1.2rem; }
.loc-block {
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-radius: var(--border-r);
  border-left: 3px solid var(--terra);
}
.loc-block h4 { color: var(--terra); margin-bottom: 0.4rem; font-size: 0.7rem; }
.loc-block p { color: var(--text-md); font-size: 0.88rem; margin: 0; }

/* ---------- TIPS ---------- */
.tips-section { background: var(--white); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tip-item {
  padding: 1.8rem;
  background: var(--ivory);
  border-radius: var(--border-r);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.tip-item.visible { opacity: 1; transform: none; }
.tip-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.15;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.tip-item h3 { color: var(--text-dk); margin-bottom: 0.5rem; font-size: 0.95rem; }
.tip-item p { color: var(--text-md); font-size: 0.87rem; line-height: 1.65; margin: 0; }

/* ---------- RESOURCES ---------- */
#resources { background: var(--ivory-dk); }
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.res-card {
  background: var(--white);
  border-radius: var(--border-r);
  padding: 1.6rem;
  border-bottom: 3px solid var(--blue);
}
.res-card h3 { color: var(--text-dk); font-size: 0.95rem; margin-bottom: 0.5rem; }
.res-card p { color: var(--text-md); font-size: 0.85rem; margin: 0; }

/* ---------- LEGAL / AGB ---------- */
#legal { background: var(--white); padding: 60px 0; }
#agb { background: var(--ivory-dk); padding: 60px 0; }
.legal-block { max-width: 820px; }
.legal-block h3 { color: var(--text-dk); font-size: 1rem; margin: 1.8rem 0 0.5rem; }
.legal-block p { color: var(--text-md); font-size: 0.9rem; line-height: 1.8; }

/* ---------- CONTACT ---------- */
.contact-section { background: var(--ivory-dk); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
}

.contact-side h3 { color: var(--text-dk); margin-bottom: 1.2rem; }
.cinfo-row { margin-bottom: 1rem; }
.cinfo-row strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  margin-bottom: 2px;
}
.cinfo-row span { font-size: 0.9rem; color: var(--text-md); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-dk);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-lt); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { font-size: 0.75rem; color: #D93025; margin-top: 4px; display: none; }
.form-group.error input,
.form-group.error select { border-color: #D93025; }
.form-group.error .form-error { display: block; }

.btn-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
  font-family: inherit;
}
.btn-submit:hover { background: var(--blue-dk); }

.form-success {
  display: none;
  background: var(--green-lt);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  color: var(--green);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--text-dk);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.65; margin-bottom: 0.5rem; }

.fcol h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 700;
}
.fcol a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.83rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.fcol a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); text-decoration: none; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 140px 1.5rem 80px; }
  .hero-visual { display: none; }

  .about-grid,
  .tickets-layout,
  .hours-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .highlights-grid,
  .tips-grid,
  .res-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .prices-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
}
