/* =========================================================
   Jaipur Mehandi Special — Stylesheet
   Palette: soft pink / pistachio / rose gold / soft gold / ivory
   ========================================================= */

:root {
  --ivory: #FBF6F0;
  --cream: #F7EFE4;
  --blush: #F6DFDD;
  --blush-deep: #ECC7C6;
  --rose-gold: #C68A88;
  --rose-gold-deep: #B0716F;
  --gold: #C6A165;
  --gold-soft: #E7D3AA;
  --gold-deep: #A9824B;
  --pistachio: #B7CBAC;
  --pistachio-deep: #94AC89;
  --ink: #3E332E;
  --ink-soft: #6E6058;
  --ink-faint: #9C8F86;
  --white: #FFFFFF;
  --shadow: 0 20px 45px -20px rgba(62, 51, 46, 0.35);
  --shadow-sm: 0 8px 20px -10px rgba(62, 51, 46, 0.25);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ff-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-sans: 'Jost', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.15;
}

p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 100px 0; }
.alt-bg { background: linear-gradient(180deg, var(--cream) 0%, #FDF9F4 100%); }

.eyebrow {
  font-family: var(--ff-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 500;
  color: var(--rose-gold-deep);
  margin: 0 0 12px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-sub { font-size: 1.02rem; }

em { font-style: italic; color: var(--rose-gold-deep); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-mark { color: var(--gold-deep); animation: pulseMark 1.4s ease-in-out infinite; }
@keyframes pulseMark {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(176,113,111,.55); }
.btn-outline {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  backdrop-filter: blur(2px);
}
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-whatsapp {
  background: #fff;
  color: #3d7a4d;
  border: 1px solid var(--pistachio-deep);
}
.btn-whatsapp:hover { background: var(--pistachio); color: #234a2c; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 246, 240, .92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 8px 24px -16px rgba(62,51,46,.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: nowrap; }

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.brand-mark {
  color: var(--gold-deep);
  display: inline-flex;
  flex-shrink: 0;
}
.site-header:not(.is-scrolled) .brand-mark,
.site-header:not(.is-scrolled) .brand-title,
.site-header:not(.is-scrolled) .brand-sub { color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; overflow: hidden; }
.brand-title {
  font-family: var(--ff-serif); font-weight: 600; font-size: 1.28rem; color: var(--ink);
  transition: color .35s ease, font-size .35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav-link {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
  transition: color .3s ease;
}
.site-header:not(.is-scrolled) .nav-link { color: #fff; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: currentColor; transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.15);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: #fff; margin: 0 auto; transition: all .3s ease; border-radius: 2px; }
.site-header.is-scrolled .nav-toggle { background: var(--blush); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(62,40,38,.55) 0%, rgba(62,40,38,.55) 40%, rgba(62,40,38,.78) 100%),
    linear-gradient(120deg, rgba(198,138,136,.35), rgba(166,127,73,.25));
}
.hero-content { position: relative; z-index: 1; color: #fff; max-width: 680px; padding-top: 90px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: .4em;
}
.hero-text { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 34px; }
.hero-badges { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; padding: 0; margin: 0; }
.hero-badges li {
  font-size: .78rem; letter-spacing: .04em;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 3px; animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(90deg, var(--rose-gold-deep), var(--gold-deep));
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 14px;
  animation: marqueeScroll 32s linear infinite;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  letter-spacing: .03em;
}
.marquee-track span { padding: 0 6px; opacity: .95; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-media-badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--blush);
  border: 1px solid var(--blush-deep);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about-media-badge strong { display: block; font-family: var(--ff-serif); font-size: 1.9rem; color: var(--rose-gold-deep); line-height: 1; }
.about-media-badge span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

.about-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.feature-chips { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-chips li {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; color: var(--ink);
  background: var(--cream);
  border: 1px solid #EFE2D2;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.chip-icon { font-size: 1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid #F1E4D6;
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.service-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--blush);
  color: var(--rose-gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card:nth-child(2) .service-icon { background: var(--pistachio); color: #3c5c37; }
.service-card:nth-child(3) .service-icon { background: var(--gold-soft); color: var(--gold-deep); }
.service-card:nth-child(4) .service-icon { background: var(--blush-deep); color: var(--rose-gold-deep); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 44px;
}
.filter-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #E7D6C4;
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--ff-sans);
  font-size: .86rem;
  cursor: pointer;
  transition: all .3s ease;
}
.filter-btn:hover { border-color: var(--rose-gold); color: var(--rose-gold-deep); }
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--rose-gold), var(--gold-deep));
  border-color: transparent;
  color: #fff;
}

.gallery-grid {
  column-count: 4;
  column-gap: 18px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(16px);
  animation: none;
}
.gallery-item.is-visible { animation: fadeInUp .6s ease forwards; }
.gallery-item.is-hidden { display: none; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.gallery-item img { width: 100%; display: block; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 16px 14px;
  background: linear-gradient(0deg, rgba(40,26,24,.82), rgba(40,26,24,0));
  color: #fff;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(30, 20, 18, .93);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 90vw; max-height: 86vh; margin: 0; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox-figure figcaption { color: #f2e5df; margin-top: 14px; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: #fff; border-radius: var(--radius-md); padding: 30px 24px;
  border: 1px solid #F1E4D6;
  position: relative; overflow: hidden;
}
.why-num {
  font-family: var(--ff-serif); font-size: 2.6rem; color: var(--gold-soft);
  position: absolute; top: 6px; right: 16px; font-weight: 600;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; position: relative; }
.why-card p { font-size: .9rem; margin: 0; position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.contact-list strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.contact-list span, .contact-list a { font-size: .92rem; color: var(--ink-soft); }
.contact-list a:hover { color: var(--rose-gold-deep); }
.social-links { display: flex; flex-direction: column; gap: 2px; }

.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #F1E4D6; }

.enquiry-form {
  background: #fff;
  border: 1px solid #F1E4D6;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.enquiry-form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-note { font-size: .82rem; margin-bottom: 20px; }
.enquiry-form label { font-size: .8rem; font-weight: 500; margin: 12px 0 6px; letter-spacing: .02em; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  font-family: var(--ff-sans);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #E5D8C8;
  background: var(--ivory);
  color: var(--ink);
  font-size: .92rem;
  resize: vertical;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--rose-gold);
}
.enquiry-form button { margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: #2E2320; color: #E9DED6; padding: 60px 0 0; }
.footer-grid {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { color: var(--gold-soft); }
.footer-brand .brand-title { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-sub { color: #C9BBB1; font-size: .68rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: .88rem; color: #D9CCC3; transition: color .3s ease; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #E9DED6;
  transition: background .3s ease, color .3s ease;
}
.footer-social a:hover { background: var(--gold-deep); color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px 24px; font-size: .78rem; color: #B7A99F;
}
.footer-bottom p { margin: 0; color: inherit; }

/* ---------- Floating buttons ---------- */
.floating-whatsapp {
  position: fixed; right: 22px; bottom: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: #3fae59;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(63,174,89,.65);
}
.floating-whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #3fae59; opacity: .5;
  animation: pulseRing 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.7); opacity: 0; }
}

.back-to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 400;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--ink);
  border: 1px solid #E7D6C4;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { column-count: 3; }
  .about-grid { gap: 44px; }
}

@media (max-width: 880px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 340px);
    background: var(--ivory); box-shadow: -10px 0 40px rgba(0,0,0,.15);
    padding: 100px 32px 32px; transition: right .4s ease; }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .nav-link { color: var(--ink) !important; font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .brand-sub { display: none; }
  .brand-title { font-size: 1.05rem; max-width: 46vw; }
  .header-actions { gap: 10px; }
  .header-actions .btn-whatsapp { padding: 10px 14px; font-size: 0; }
  .header-actions .btn-whatsapp svg { width: 18px; height: 18px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .about-media-badge { right: 10px; bottom: -18px; }
  .feature-chips { grid-template-columns: 1fr; }

  .gallery-grid { column-count: 2; }
}

@media (max-width: 640px) {
  .section-pad { padding: 68px 0; }
  .container { padding: 0 18px; }
  .hero-content { padding-top: 70px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-text { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { justify-content: center; }

  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }

  .enquiry-form { padding: 26px 20px; }

  .lightbox { padding: 16px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 14px; }

  .footer-grid { flex-direction: column; text-align: center; justify-content: center; }
  .footer-nav { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }

  .floating-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 18px; }
  .back-to-top { right: 16px; bottom: 80px; width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .gallery-grid { column-count: 1; }
  .brand-sub { display: none; }
}
