/* ===========================================================
   MAGIC JAPHI CONCIERGE — simple, hand-coded stylesheet
   No animation libraries. CSS transitions + IntersectionObserver only.
   =========================================================== */

:root {
  --navy: #172B45;
  --ivory: #FAF7F2;
  --rose: #C96A82;
  --blush: #F3D9DE;
  --gold: #C9A96E;
  --terracotta: #B85C4B;
  --sage: #A9B7A5;
  --charcoal: #263238;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy); }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  display: block;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: #fff;
}

.section-navy {
  background: var(--navy);
  color: var(--ivory);
}
.section-navy h2, .section-navy h3 { color: var(--ivory); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: #566;
}
.section-navy .section-head p { color: #C9D2DE; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 24px rgba(201, 106, 130, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 106, 130, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(23, 43, 69, 0.96);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-full { height: 58px; width: auto; display: block; transition: height 0.3s ease; }
.nav.scrolled .logo-full { height: 46px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: #EDEBE6;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--rose);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--navy); flex-direction: column; justify-content: center; gap: 28px;
    transition: right 0.35s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.25); }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; z-index: 101; }
}

/* ---------- HERO (full-bleed photo background) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}
.photo-slot.hero-bg-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  aspect-ratio: auto;
  background: linear-gradient(160deg, var(--navy) 0%, #1F3A5C 55%, #24456B 100%);
  justify-content: flex-start;
  padding-top: 130px;
}
.hero-bg-slot .ps-icon { width: 48px; height: 48px; opacity: 0.35; color: var(--ivory); }
.hero-bg-slot .ps-label { color: var(--ivory); opacity: 0.5; font-size: 0.95rem; }
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,15,25,0.92) 0%, rgba(10,15,25,0.55) 42%, rgba(10,15,25,0.28) 75%, rgba(10,15,25,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 30px; background: var(--gold); animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .hero { align-items: center; text-align: center; padding-bottom: 60px; }
  .hero-inner { max-width: 100%; }
  .hero-ctas { justify-content: center; }
}

/* ---------- HERO INFO STRIP ---------- */
.hero-info {
  background: var(--ivory);
  padding: 44px 0;
  text-align: center;
  border-bottom: 1px solid #EAE3D8;
}
.hero-info-inner .hero-sub {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.hero-info-inner .hero-sub.script {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose);
}

/* ---------- PHOTO SLOTS (replace with real <img> tags whenever you have photos) ---------- */
.photo-slot {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blush) 0%, #EFE6DC 100%);
  border: 2px dashed rgba(23,43,69,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-align: center;
  overflow: hidden;
}
.photo-slot .ps-icon { width: 32px; height: 32px; margin-bottom: 10px; opacity: 0.5; }
.photo-slot .ps-label { font-size: 0.8rem; font-weight: 600; opacity: 0.6; letter-spacing: 0.02em; padding: 0 16px; line-height: 1.4; }
.photo-slot.ratio-hero { aspect-ratio: 4 / 5; }
.photo-slot.ratio-wide { aspect-ratio: 16 / 9; }
.photo-slot.ratio-square { aspect-ratio: 1 / 1; }
.photo-slot.round { border-radius: 50%; }
.photo-slot.circle-sm { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }

.hero-photo-slot { max-width: 380px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

/* ---------- REAL PHOTOS (filled slots) ---------- */
.service-photo {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.service-photo.ratio-wide { aspect-ratio: 16 / 9; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-head { display: flex; align-items: center; gap: 14px; }

/* ---------- SIGNATURE MAP ---------- */
.map-section {
  background: var(--ivory);
  padding: 100px 0 110px;
  text-align: center;
  overflow: hidden;
}
.map-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-top: 34px;
}
.map-wordmark span { color: var(--rose); }
.map-wrap {
  position: relative;
  max-width: 980px;
  margin: 20px auto 0;
}
.world-bg path {
  fill: #E4DED2;
  stroke: none;
}
.map-city-dot {
  fill: var(--terracotta);
}
.map-city-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--navy);
}
.map-route {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-dasharray: 6 3;
  opacity: 0.85;
}
.map-india-dot {
  fill: var(--rose);
}
.map-india-pulse {
  fill: none;
  stroke: var(--rose);
  stroke-width: 2;
  opacity: 0;
}
.map-wrap.in-view .map-india-pulse {
  animation: mappulse 2.4s ease-out infinite;
}
@keyframes mappulse {
  0% { r: 6; opacity: 0.8; }
  100% { r: 26; opacity: 0; }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border-radius: 22px;
  padding: 44px 38px;
  box-shadow: 0 14px 40px rgba(23,43,69,0.07);
  border-top: 4px solid var(--rose);
}
.service-card.celebrate { border-top-color: var(--gold); }

.service-icon {
  width: 62px; height: 62px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-list {
  list-style: none;
  margin: 20px 0 22px;
}
.service-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #E7E2D8;
  font-size: 0.98rem;
  color: var(--charcoal);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "✓";
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}
.service-note {
  background: var(--blush);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #6b4550;
  line-height: 1.5;
}
.service-card.celebrate .service-note { background: #F6EFDF; color: #6b5a34; }

/* ---------- HOW IT WORKS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { color: #566; font-size: 0.95rem; }

/* ---------- ADDITIONAL SERVICES ---------- */
.addon-head { text-align: center; margin: 56px 0 28px; }
.addon-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.addon-head p { color: #566; font-size: 0.95rem; max-width: 520px; margin: 0 auto; }
.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 600px) { .addon-grid { grid-template-columns: 1fr; } }
.addon-item {
  background: #fff;
  border: 1px solid rgba(23,43,69,0.10);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: left;
}
.addon-item .addon-icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--gold); }
.addon-item h4 { font-size: 1rem; margin-bottom: 8px; }
.addon-item p { font-size: 0.9rem; color: #566; line-height: 1.55; }
.addon-note { text-align: center; margin-top: 22px; font-size: 0.88rem; color: #778; }

/* ---------- WHY GRID ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 16px;
  padding: 28px 24px;
}
.why-item .why-icon { width: 38px; height: 38px; margin-bottom: 14px; }
.why-item h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--gold); font-family: var(--font-body); font-weight: 700; }
.why-item p { font-size: 0.92rem; color: #C9D2DE; }

/* ---------- STORY ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.story-grid p { margin-bottom: 16px; color: #445; font-size: 1.02rem; }
.story-art svg { width: 100%; }

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 780px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 14px 40px rgba(23,43,69,0.06);
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-script);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 18px;
}
.testimonial-name { font-weight: 700; color: var(--rose); }
.testimonial-loc { font-size: 0.85rem; color: #889; }
.sample-tag {
  position: absolute; top: 20px; right: 24px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aab;
  background: #F1EEE8;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 6px 26px;
  box-shadow: 0 4px 16px rgba(23,43,69,0.05);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--rose);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; color: #556; font-size: 0.96rem; line-height: 1.6; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--rose), var(--terracotta));
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.final-cta p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.95; }
.final-cta .btn-primary { background: #fff; color: var(--rose); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.final-cta .btn-primary:hover { background: var(--navy); color: #fff; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  color: #C9D2DE;
  padding: 60px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.footer-brand { margin-bottom: 8px; }
.footer-logo-full { height: 66px; width: auto; display: block; }
.footer-tagline { letter-spacing: 0.12em; font-size: 0.78rem; color: var(--gold); text-transform: uppercase; }
.footer-links { display: flex; gap: 30px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-quote { font-family: var(--font-script); font-style: italic; font-size: 1.1rem; color: var(--blush); max-width: 460px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #8B9AAE; }
.footer-bottom a { text-decoration: underline; }

/* ---------- REVEAL ANIMATION (native, IntersectionObserver-driven) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .scroll-cue .line, .map-wrap.in-view .map-india-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
