/* jardinmajoreli.site — Marrakech Visitor Guide */
/* Palette: Terracotta + Sand + Olive + Cream | Fonts: Georgia + Trebuchet MS */

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

:root {
  --terra:    #B8441C;
  --terra-dk: #8C3214;
  --terra-lt: #D87A4C;
  --sand:     #F6EDD9;
  --olive:    #3A4A2C;
  --olive-lt: #4E6340;
  --cream:    #FEFCF7;
  --muted:    #8B7355;
  --border:   #DDD0B8;
  --text:     #1C1C1C;
  --text-lt:  #5A4A38;
  --white:    #FFFFFF;
  --green-lt: #C8DCA0;
  --ff-head:  Georgia, 'Times New Roman', serif;
  --ff-body:  'Trebuchet MS', Arial, sans-serif;
  --r:        4px;
  --shadow:   0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:0 6px 32px rgba(0,0,0,.12);
  --trans:    0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); background: var(--sand); color: var(--text); font-size: 16px; line-height: 1.7; }

/* ─────────── NOTICE BAR ─────────── */
#notice-bar {
  background: var(--olive);
  color: var(--sand);
  font-size: 13px;
  text-align: center;
  padding: 9px 48px;
  position: relative;
  letter-spacing: .02em;
}
#notice-bar a { color: var(--green-lt); text-decoration: none; border-bottom: 1px solid rgba(200,220,160,.4); }
#notice-bar a:hover { color: #E0F0C0; }
#nb-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--sand); cursor: pointer;
  font-size: 18px; line-height: 1; padding: 4px 8px;
}
#nb-close:hover { color: var(--green-lt); }

/* ─────────── HEADER ─────────── */
#site-header {
  background: var(--olive);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.3); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-name {
  font-family: var(--ff-head); font-size: 21px; font-weight: 400;
  color: var(--sand); text-decoration: none; letter-spacing: .01em;
}
.site-name span { color: var(--green-lt); }
nav.main-nav { display: flex; gap: 2px; }
nav.main-nav a {
  color: rgba(246,237,217,.8); font-size: 14px; text-decoration: none;
  padding: 7px 14px; border-radius: var(--r);
  transition: color var(--trans), background var(--trans);
}
nav.main-nav a:hover { color: var(--sand); background: rgba(255,255,255,.12); }
nav.main-nav a.active { color: var(--sand); background: rgba(255,255,255,.16); }
#nav-toggle {
  display: none; background: none; border: none;
  color: var(--sand); font-size: 24px; cursor: pointer; padding: 4px;
}

/* ─────────── HERO ─────────── */
#hero {
  background: var(--olive);
  padding: 80px 24px 70px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(184,68,28,.3) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1fr 370px; gap: 56px; align-items: center;
}
.hero-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-lt); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--ff-head); font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1.15; color: var(--sand); margin-bottom: 20px;
}
.hero-title em { color: var(--terra-lt); font-style: normal; }
.hero-sub {
  font-size: 17px; color: rgba(246,237,217,.8); max-width: 480px;
  margin-bottom: 22px; line-height: 1.7;
}
.hero-notice {
  display: inline-block;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--terra-lt);
  padding: 10px 16px; border-radius: var(--r);
  font-size: 13px; color: rgba(246,237,217,.72); margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--terra); color: var(--white);
  padding: 13px 28px; border-radius: var(--r); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: background var(--trans);
}
.btn-primary:hover { background: var(--terra-dk); }
.btn-outline {
  display: inline-block; border: 2px solid rgba(246,237,217,.4);
  color: var(--sand); padding: 11px 24px; border-radius: var(--r); font-size: 15px;
  text-decoration: none; transition: border-color var(--trans), background var(--trans);
}
.btn-outline:hover { border-color: var(--sand); background: rgba(255,255,255,.08); }
.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 28px;
}
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.hp-stat {
  padding: 18px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hp-stat:nth-child(2n) { border-right: none; }
.hp-stat:nth-child(3), .hp-stat:nth-child(4) { border-bottom: none; }
.hp-stat strong { display: block; font-size: 2rem; font-family: var(--ff-head); color: var(--terra-lt); line-height: 1.1; }
.hp-stat span { font-size: 11px; color: rgba(246,237,217,.6); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; display: block; }

/* ─────────── OVERVIEW STRIP ─────────── */
#overview {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 44px 24px;
}
.ov-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.ov-item { border-left: 3px solid var(--terra); padding: 14px 20px; }
.ov-num { font-size: 11px; font-weight: 700; color: var(--terra); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 5px; }
.ov-title { font-family: var(--ff-head); font-size: 17px; color: var(--olive); margin-bottom: 5px; font-weight: 400; }
.ov-text { font-size: 14px; color: var(--text-lt); line-height: 1.6; }

/* ─────────── GENERIC SECTION ─────────── */
.section { padding: 80px 24px; }
.section.alt { background: var(--cream); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.sec-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.sec-title { font-family: var(--ff-head); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--olive); font-weight: 400; margin-bottom: 14px; line-height: 1.2; }
.sec-divider { width: 48px; height: 3px; background: var(--terra); margin-bottom: 22px; }
.sec-lead { font-size: 17px; color: var(--text-lt); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }

/* ─────────── MAJORELLE (GARDEN) ─────────── */
.garden-layout { display: grid; grid-template-columns: 1fr 290px; gap: 48px; align-items: start; }
.garden-body p { margin-bottom: 18px; color: var(--text-lt); }
.garden-body h3 { font-family: var(--ff-head); font-size: 1.3rem; color: var(--olive); margin: 28px 0 12px; font-weight: 400; }
.pull-quote {
  border-left: 4px solid var(--terra); background: var(--sand);
  padding: 18px 22px; margin: 24px 0; font-family: var(--ff-head);
  font-size: 1.08rem; font-style: italic; color: var(--olive);
  border-radius: 0 var(--r) var(--r) 0;
}
.garden-sidebar { }
.g-card { background: var(--olive); color: var(--sand); border-radius: 6px; padding: 22px 20px; margin-bottom: 18px; }
.g-card h4 { font-family: var(--ff-head); font-size: .95rem; color: var(--green-lt); font-weight: 400; margin-bottom: 14px; }
.g-fact { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.g-fact:last-child { border-bottom: none; }
.gf-label { color: rgba(246,237,217,.6); }
.gf-val { font-weight: 600; text-align: right; }
.g-highlight { background: var(--terra); color: var(--white); border-radius: 6px; padding: 20px; }
.g-highlight h4 { font-family: var(--ff-head); font-size: .95rem; font-weight: 400; margin-bottom: 8px; }
.g-highlight p { font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.6; }

/* ─────────── ATTRACTIONS ─────────── */
.attr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.attr-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; padding: 26px 22px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.attr-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ac-num { font-size: 11px; font-weight: 700; color: var(--terra); letter-spacing: .12em; margin-bottom: 9px; }
.ac-name { font-family: var(--ff-head); font-size: 1.2rem; color: var(--olive); margin-bottom: 7px; font-weight: 400; }
.ac-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.ac-text { font-size: 14px; color: var(--text-lt); line-height: 1.65; }

/* ─────────── PLANNING ─────────── */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  background: var(--sand); border: 1px solid var(--border);
  border-top: 4px solid var(--terra); border-radius: 8px; padding: 24px 20px;
}
.pc-num { font-size: 11px; font-weight: 700; color: var(--terra); letter-spacing: .12em; margin-bottom: 10px; }
.pc-title { font-family: var(--ff-head); font-size: 1.1rem; color: var(--olive); font-weight: 400; margin-bottom: 10px; }
.pc-text { font-size: 14px; color: var(--text-lt); line-height: 1.65; }

/* ─────────── ADMISSION TABLE ─────────── */
.adm-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--border); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.adm-table thead { background: var(--olive); color: var(--sand); }
.adm-table th { padding: 14px 18px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.adm-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; background: var(--cream); }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tbody tr { transition: background var(--trans); }
.adm-table tbody tr:hover td { background: #F0E6CC; }
.adm-table tr.featured td { background: #FFF4E6; }
.adm-price { font-weight: 700; color: var(--terra); font-family: var(--ff-head); font-size: 1.05rem; }
.adm-badge {
  display: inline-block; background: var(--terra); color: var(--white);
  font-size: 10px; padding: 2px 7px; border-radius: 10px; font-weight: 700;
  letter-spacing: .04em; margin-left: 6px; vertical-align: middle;
}
.adm-note {
  background: rgba(58,74,44,.06); border: 1px solid rgba(58,74,44,.15);
  border-left: 3px solid var(--olive); border-radius: var(--r);
  padding: 14px 18px; margin-top: 20px; font-size: 14px; color: var(--text-lt);
}

/* ─────────── TIPS ─────────── */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tip-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 22px 20px;
}
.ti-marker {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--terra); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; font-family: var(--ff-head);
}
.ti-title { font-family: var(--ff-head); font-size: 1rem; color: var(--olive); margin-bottom: 6px; font-weight: 400; }
.ti-text { font-size: 14px; color: var(--text-lt); line-height: 1.65; }

/* ─────────── INFO BOXES ─────────── */
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.info-box { background: var(--olive); color: var(--sand); border-radius: 8px; padding: 24px 20px; }
.ib-title { font-family: var(--ff-head); font-size: 1rem; color: var(--green-lt); margin-bottom: 10px; font-weight: 400; }
.ib-text { font-size: 14px; color: rgba(246,237,217,.8); line-height: 1.65; }

/* ─────────── RESOURCES ─────────── */
#resources { background: var(--sand); }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-card {
  background: var(--cream); border: 1px solid var(--border);
  border-bottom: 3px solid var(--terra); border-radius: 8px; padding: 22px 20px;
}
.rc-title { font-family: var(--ff-head); font-size: 1rem; color: var(--olive); font-weight: 400; margin-bottom: 8px; }
.rc-text { font-size: 14px; color: var(--text-lt); line-height: 1.6; }
.rc-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--terra); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--trans); }
.rc-link:hover { border-color: var(--terra); }

/* ─────────── LEGAL / AGB ─────────── */
#legal { background: var(--cream); }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.legal-card { background: var(--sand); border: 1px solid var(--border); border-radius: 8px; padding: 24px 20px; }
.lc-title { font-family: var(--ff-head); font-size: 1rem; color: var(--olive); margin-bottom: 10px; font-weight: 400; }
.lc-text { font-size: 14px; color: var(--text-lt); line-height: 1.65; }
#agb { background: var(--sand); }
.agb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.agb-card { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 24px 20px; }
.agb-title { font-family: var(--ff-head); font-size: 1rem; color: var(--olive); margin-bottom: 10px; font-weight: 400; }
.agb-text { font-size: 14px; color: var(--text-lt); line-height: 1.65; }

/* ─────────── CONTACT ─────────── */
#contact { background: var(--olive); }
#contact .sec-label { color: var(--green-lt); }
#contact .sec-title { color: var(--sand); }
#contact .sec-divider { background: var(--terra-lt); }
#contact .sec-lead { color: rgba(246,237,217,.78); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cinfo-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.ci-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-lt); min-width: 64px; padding-top: 3px; }
.ci-val { color: rgba(246,237,217,.85); font-size: 15px; line-height: 1.6; }
.ci-val a { color: var(--green-lt); text-decoration: none; }
.ci-val a:hover { color: var(--sand); }
.contact-disc {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 14px 16px; margin-top: 28px;
  font-size: 13px; color: rgba(246,237,217,.6); line-height: 1.6;
}
.contact-form { background: var(--cream); border-radius: 8px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--olive); margin-bottom: 6px; letter-spacing: .03em; }
.form-input, .form-textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-family: var(--ff-body); font-size: 15px;
  background: var(--white); color: var(--text);
  transition: border-color var(--trans);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--terra); }
.form-textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  display: block; width: 100%; background: var(--terra); color: var(--white);
  border: none; padding: 14px; border-radius: var(--r); font-size: 16px;
  font-family: var(--ff-body); font-weight: 700; cursor: pointer;
  transition: background var(--trans);
}
.btn-submit:hover { background: var(--terra-dk); }
#form-message { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; color: var(--olive-lt); }

/* ─────────── FOOTER ─────────── */
#site-footer { background: #181812; color: rgba(255,255,255,.55); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 24px 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-name { font-family: var(--ff-head); font-size: 20px; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.footer-brand-name span { color: var(--green-lt); }
.footer-about { font-size: 13px; line-height: 1.75; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a { color: rgba(255,255,255,.55); font-size: 14px; text-decoration: none; transition: color var(--trans); }
.footer-nav-list a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.45); font-size: 13px; text-decoration: none; transition: color var(--trans); }
.footer-legal a:hover { color: rgba(255,255,255,.85); }
.footer-disc {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 16px 24px; font-size: 12px; color: rgba(255,255,255,.32);
  text-align: center; line-height: 1.7; max-width: 1200px; margin: 0 auto;
}

/* ─────────── SCROLL REVEAL ─────────── */
.reveal { transform: translateY(22px); transition: transform .5s ease; }
.reveal.visible { transform: translateY(0); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 460px; }
  .ov-inner { grid-template-columns: repeat(2, 1fr); }
  .garden-layout { grid-template-columns: 1fr; }
  .garden-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 54px 16px; }
  #hero { padding: 52px 16px 44px; }
  nav.main-nav {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--olive); padding: 10px; z-index: 200;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 16px; }
  #nav-toggle { display: block; }
  #site-header { position: relative; }
  .attr-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .agb-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .garden-sidebar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ov-inner { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .hp-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 0 14px; }
  .hero-title { font-size: 2rem; }
}
