/* =====================================================
   jardinmajorella.site — Stylesheet
   Theme: Arabesque Modern
   Palette: Deep Indigo · Parchment · Cinnamon · Khaki
   Fonts: Garamond (headings) · Trebuchet MS (body)
   ===================================================== */

/* ===== ROOT VARIABLES ===== */
:root {
  --parchment:  #F9F2E2;
  --parch-mid:  #EFE8D5;
  --parch-dark: #E3D9C3;
  --indigo:     #1C1B4B;
  --indigo-mid: #2D2C6E;
  --cinnamon:   #B5540A;
  --cinn-hover: #C96010;
  --khaki:      #C9B870;
  --text:       #1A1412;
  --text-muted: #7A6B5A;
  --text-light: #F0EBE0;
  --border:     #D8CEBC;
  --white:      #FFFFFF;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment);
  color: var(--text);
  font-family: 'Trebuchet MS', Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: Garamond, 'Palatino Linotype', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--indigo);
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

/* ===== NOTICE BAR (anti-ban: top-of-page independent guide notice) ===== */
#notice-bar {
  background: var(--cinnamon);
  color: var(--white);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.025em;
  line-height: 1.4;
  position: relative;
  z-index: 200;
}
#notice-bar span { text-align: center; flex: 1; }
#notice-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.2s;
}
#notice-close:hover { color: var(--white); }
#notice-bar.hidden { display: none; }

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.28s, box-shadow 0.28s;
}
#site-header.scrolled {
  background: var(--indigo);
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-brand {
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.055em;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.86rem;
  padding: 8px 13px;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--khaki);
  background: rgba(255,255,255,0.07);
}
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 8px 6px;
}
#nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== HERO ===== */
#hero {
  background: var(--indigo);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px 72px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(181,84,10,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 28%, rgba(201,184,112,0.14) 0%, transparent 55%);
  pointer-events: none;
}
#hero::after {
  content: 'MAJORELLE';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: clamp(5rem, 16vw, 14rem);
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  letter-spacing: 0.15em;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
}
.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,184,112,0.45);
  color: var(--khaki);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.hero-inner h1 {
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(240,235,224,0.72);
  max-width: 620px;
  margin: 0 auto 38px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-hero-primary {
  display: inline-block;
  background: var(--cinnamon);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  transition: background 0.22s;
}
.btn-hero-primary:hover { background: var(--cinn-hover); }
.btn-hero-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.32);
  color: var(--text-light);
  padding: 13px 34px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.22s, background 0.22s;
}
.btn-hero-outline:hover {
  border-color: var(--khaki);
  background: rgba(255,255,255,0.04);
}
.hero-notice {
  font-size: 0.76rem;
  color: rgba(240,235,224,0.42);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}
.hero-metrics {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
}
.metric-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.metric-item:last-child { border-right: none; }
.metric-val {
  display: block;
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 2.1rem;
  color: var(--khaki);
}
.metric-label {
  display: block;
  font-size: 0.74rem;
  color: rgba(240,235,224,0.48);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== STATS STRIP ===== */
#stats-strip {
  background: var(--parch-mid);
  border-top: 3px solid var(--cinnamon);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 2.2rem;
  color: var(--cinnamon);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ===== CONTENT BLOCKS ===== */
.content-block { padding: 88px 0; }
.bg-parch { background: var(--parchment); }
.bg-mid   { background: var(--parch-mid); }

.block-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.block-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinnamon);
  font-weight: 700;
  margin-bottom: 14px;
}
.block-divider {
  width: 50px;
  height: 3px;
  background: var(--cinnamon);
  margin-bottom: 22px;
  border-radius: 2px;
}
.block-inner > h2 { margin-bottom: 44px; }

/* Two-column layouts */
.block-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.block-cols.wide-left  { grid-template-columns: 3fr 2fr; }
.block-cols.wide-right { grid-template-columns: 2fr 3fr; }
.block-text p { margin-bottom: 18px; }
.block-text p:last-child { margin-bottom: 0; }
.block-text em { font-style: italic; color: var(--cinnamon); }

/* ===== PULL QUOTE ===== */
.pull-quote {
  background: var(--parch-dark);
  border-left: 4px solid var(--cinnamon);
  padding: 22px 28px;
  margin: 36px 0 0;
  border-radius: 0 6px 6px 0;
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 1.1rem;
  color: var(--indigo);
  font-style: italic;
  line-height: 1.65;
}

/* ===== HORIZONTAL CARDS (hcard) ===== */
.hcard {
  background: var(--white);
  border-left: 4px solid var(--cinnamon);
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 8px rgba(28,27,75,0.05);
}
.hcard:last-child { margin-bottom: 0; }
.hcard h3 {
  font-size: 1rem;
  color: var(--indigo);
  margin-bottom: 7px;
}
.hcard p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ===== VISIT GRID ===== */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.visit-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: 6px;
  border-top: 3px solid var(--khaki);
  box-shadow: 0 2px 10px rgba(28,27,75,0.05);
}
.vc-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cinnamon);
  margin-bottom: 10px;
}
.visit-card h3 {
  font-size: 1rem;
  color: var(--indigo);
  margin-bottom: 10px;
}
.visit-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 9px; line-height: 1.6; }
.visit-card p:last-child { margin-bottom: 0; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cinnamon) 70%, transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 32px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cinnamon);
  border: 2px solid var(--parch-mid);
}
.tl-year {
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 1.05rem;
  color: var(--cinnamon);
  font-weight: 600;
  margin-bottom: 2px;
}
.tl-title { font-size: 0.92rem; font-weight: 700; color: var(--indigo); margin-bottom: 5px; }
.tl-body { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ===== ADMISSION (dark block) ===== */
#admission {
  background: var(--indigo);
  padding: 88px 0;
}
.adm-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
#admission .block-label { color: var(--khaki); }
#admission .block-divider { background: var(--khaki); }
#admission > .adm-inner > h2 { color: var(--text-light); margin-bottom: 44px; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.price-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
}
.price-card.featured {
  background: rgba(181,84,10,0.18);
  border-color: rgba(181,84,10,0.6);
}
.pc-cat {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--khaki);
  margin-bottom: 18px;
}
.pc-price-main {
  display: block;
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 2.5rem;
  color: var(--text-light);
  font-weight: 400;
}
.pc-price-sub {
  display: block;
  font-size: 0.83rem;
  color: rgba(240,235,224,0.48);
  margin-bottom: 14px;
}
.pc-label { font-size: 0.82rem; color: rgba(240,235,224,0.55); line-height: 1.5; }
.tag-free {
  display: inline-block;
  border: 1px solid var(--khaki);
  color: var(--khaki);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 4px 14px;
  border-radius: 14px;
}
.adm-note {
  font-size: 0.8rem;
  color: rgba(240,235,224,0.4);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  font-style: italic;
  max-width: 820px;
}

/* ===== TIPS ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.tip-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tip-circle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cinnamon);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 2px;
}
.tip-content h3 { font-size: 0.93rem; color: var(--indigo); margin-bottom: 6px; }
.tip-content p { font-size: 0.86rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ===== INFO GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.info-box {
  border-top: 3px solid var(--cinnamon);
  padding-top: 18px;
}
.info-box h3 { font-size: 0.98rem; color: var(--indigo); margin-bottom: 10px; }
.info-box p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }

/* ===== CONTACT ===== */
#contact {
  padding: 88px 0;
  background: var(--parch-mid);
}
.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
#contact > .contact-inner > h2 { margin-bottom: 44px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info-wrap > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cdetail-list { display: flex; flex-direction: column; gap: 14px; }
.cdetail-row { display: flex; gap: 14px; }
.cdetail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cinnamon);
  min-width: 58px;
  padding-top: 3px;
}
.cdetail-val { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* Form */
.form-panel {
  background: var(--white);
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(28,27,75,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.form-field input,
.form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--parchment);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cinnamon);
}
.form-field textarea { resize: vertical; }
.btn-submit {
  background: var(--cinnamon);
  color: var(--white);
  border: none;
  padding: 13px 30px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--cinn-hover); }
#form-message {
  margin-top: 14px;
  font-size: 0.87rem;
  min-height: 18px;
  line-height: 1.5;
}
#form-message.success { color: #2a7a3f; }
#form-message.error   { color: #b5280a; }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--indigo);
  color: var(--text-light);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 1.5rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-about {
  font-size: 0.84rem;
  color: rgba(240,235,224,0.48);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h4 {
  font-family: Garamond, 'Palatino Linotype', Georgia, serif;
  font-size: 0.95rem;
  color: var(--khaki);
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(240,235,224,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--khaki); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.79rem; color: rgba(240,235,224,0.3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: 0.79rem;
  color: rgba(240,235,224,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--khaki); }
.footer-disc {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 40px 22px;
  font-size: 0.74rem;
  color: rgba(240,235,224,0.22);
  line-height: 1.65;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .block-cols,
  .block-cols.wide-left,
  .block-cols.wide-right { grid-template-columns: 1fr; gap: 40px; }
  .visit-grid  { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; max-width: 440px; }
  .tips-grid   { grid-template-columns: repeat(2, 1fr); }
  .info-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-inner  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--indigo);
    padding: 12px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 24px; border-radius: 0; }
  #nav-toggle { display: flex; }
  #hero { min-height: 72vh; padding: 80px 20px 48px; }
  .hero-metrics { flex-wrap: wrap; gap: 0; }
  .metric-item {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
  }
  .metric-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .metric-item:nth-last-child(-n+2) { border-bottom: none; }
  .block-inner  { padding: 0 20px; }
  .stats-inner  { padding: 0 20px; }
  .adm-inner    { padding: 0 20px; }
  .contact-inner { padding: 0 20px; }
  .content-block { padding: 64px 0; }
  #admission    { padding: 64px 0; }
  #contact      { padding: 64px 0; }
  .visit-grid   { grid-template-columns: 1fr; }
  .tips-grid    { grid-template-columns: 1fr; }
  .info-grid    { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .footer-disc  { padding: 10px 20px 20px; }
  #notice-bar   { font-size: 0.74rem; padding: 8px 16px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.55rem; }
  .stats-inner { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
}
