/* ===========================================================
   Galaxy Interiors — Jodhpur
   Palette: Blue City indigo + warm sandstone + brass accent
   =========================================================== */

:root {
  --indigo: #0e3a5f;
  --indigo-deep: #0a2942;
  --indigo-soft: #1b557f;
  --sand: #f6f1e9;
  --sand-deep: #ece3d6;
  --brass: #c79a4b;
  --brass-deep: #a87f33;
  --ink: #1d2530;
  --muted: #5d6675;
  --line: #e6ddd0;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(14, 58, 95, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(14, 58, 95, 0.25);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.text-accent { color: var(--brass); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brass); color: #1a1305; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brass-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(167,127,51,.6); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--whatsapp { background: #25d366; color: #053b1a; }
.btn--whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--indigo-deep); color: #cfe0ee; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.4rem; }
.topbar__contact a:hover { color: var(--brass); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,233,.92);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(246,241,233,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }

.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--indigo); }
.logo__mark { color: var(--brass); font-size: 1.2em; }
.logo__accent { color: var(--brass); }
.logo--light { color: #fff; }
.logo--light .logo__accent { color: var(--brass); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__link { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brass); transition: width .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--indigo); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { background: var(--brass); color: #1a1305 !important; box-shadow: var(--shadow-sm); }
.nav__cta:hover { background: var(--brass-deep); }
.nav__cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--indigo); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/home.jpg") center/cover no-repeat;
  transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,41,66,.92) 0%, rgba(10,41,66,.6) 45%, rgba(10,41,66,.25) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 0; max-width: 760px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--brass); font-weight: 600; margin-bottom: 1.1rem; }
.hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -.01em; }
.hero__sub { margin: 1.4rem 0 2.2rem; font-size: clamp(1rem, 2vw, 1.18rem); color: #dfe8f0; max-width: 600px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 2.5rem; margin-top: 3.2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__plus { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: #fff; line-height: 1; }
.stat__plus { display: inline; color: var(--brass); }
.stat__num + .stat__plus { margin-left: -2px; }
.stat { position: relative; }
.stat__label { font-size: .82rem; color: #b9c8d6; margin-top: .4rem; }
.stat__num, .stat__plus { display: inline-block; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 1.4rem; opacity: .8; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* keep stat number+plus on one line */
.stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 .15rem; }
.stat .stat__label { flex-basis: 100%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--indigo); color: #dceaf5; }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; padding: 1.1rem 0; font-size: .9rem; font-weight: 500; }
.trust__item { white-space: nowrap; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--brass); margin-bottom: .8rem; }
.section__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; color: var(--indigo); letter-spacing: -.01em; }
.section__lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__img { height: 210px; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.service-card__body h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--indigo); font-weight: 600; }
.service-card__body p { color: var(--muted); margin: .6rem 0 1.1rem; font-size: .96rem; }
.service-card__link { color: var(--brass-deep); font-weight: 600; font-size: .92rem; transition: gap .2s, color .2s; }
.service-card__link:hover { color: var(--indigo); }

/* ---------- Feature ---------- */
.feature { background: var(--sand-deep); padding: clamp(4rem, 9vw, 7rem) 0; }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media { position: relative; }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; }
.feature__badge { position: absolute; bottom: -1.4rem; right: -1.2rem; background: var(--indigo); color: #fff; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow); }
.feature__badge-num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; color: var(--brass); line-height: 1; }
.feature__badge-text { font-size: .82rem; line-height: 1.3; }
.feature__text .section__eyebrow { text-align: left; }
.feature__list { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.feature__list li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.feature__list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--brass); font-size: 1.05rem; }
.feature__list strong { color: var(--ink); }

/* ---------- Work / Portfolio ---------- */
.work__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.4rem; }
.filter { background: #fff; border: 1.5px solid var(--line); color: var(--muted); padding: .55rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: .25s var(--ease); font-family: var(--font-body); }
.filter:hover { border-color: var(--brass); color: var(--indigo); }
.filter.is-active { background: var(--indigo); color: #fff; border-color: var(--indigo); }

.work__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.work-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); aspect-ratio: 4/3.2; }
.work-item.is-hidden { display: none; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-item:hover img { transform: scale(1.08); }
.work-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem .9rem; color: #fff; background: linear-gradient(transparent, rgba(10,41,66,.88)); transform: translateY(8px); opacity: 0; transition: .35s var(--ease); }
.work-item:hover figcaption { transform: translateY(0); opacity: 1; }
.work-item figcaption span { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.work-item figcaption small { color: #c3d3e0; }

/* ---------- Process ---------- */
.process { background: var(--indigo); color: #fff; }
.process .section__title { color: #fff; }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem 1.6rem; transition: .35s var(--ease); }
.process-step:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); }
.process-step__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--brass); display: block; }
.process-step h3 { font-family: var(--font-head); font-size: 1.35rem; margin: .4rem 0 .6rem; font-weight: 600; }
.process-step p { color: #c3d3e0; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sand); }
.testi__slider { overflow: hidden; max-width: 820px; margin: 0 auto; }
.testi__track { display: flex; transition: transform .6s var(--ease); }
.testi { min-width: 100%; text-align: center; padding: 0 1rem; }
.testi p { font-family: var(--font-head); font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.5; color: var(--indigo); font-style: italic; }
.testi footer { margin-top: 1.6rem; }
.testi footer strong { display: block; color: var(--ink); font-family: var(--font-body); }
.testi footer span { color: var(--muted); font-size: .9rem; }
.testi__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 2.2rem; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: .25s; padding: 0; }
.testi__dots button.is-active { background: var(--brass); width: 28px; border-radius: 999px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--indigo-deep), var(--indigo-soft)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
.cta-banner p { color: #cfe0ee; margin-top: .4rem; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; margin-inline: auto; }
.faq__list { display: grid; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--indigo); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item__icon { font-size: 1.5rem; color: var(--brass); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item__a p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--sand-deep); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info .section__eyebrow, .contact__info .section__head { text-align: left; }
.contact__methods { list-style: none; margin: 2rem 0; display: grid; gap: 1.3rem; }
.contact__methods li { display: flex; align-items: center; gap: 1rem; }
.contact__icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 12px; font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.contact__methods small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__methods a, .contact__methods span { font-weight: 600; color: var(--ink); }
.contact__methods a:hover { color: var(--brass-deep); }

.contact__form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: .96rem; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--sand); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(199,154,75,.18); background: #fff; }
.field input.invalid { border-color: #d9534f; }
.contact__note { font-size: .9rem; text-align: center; min-height: 1.2em; }
.contact__note.success { color: #1d8a4e; font-weight: 600; }
.contact__note.error { color: #d9534f; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-deep); color: #b9c8d6; padding-top: 3.5rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand p { margin-top: 1rem; font-size: .92rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer__col a, .footer__col span { display: block; font-size: .92rem; margin-bottom: .6rem; transition: color .2s; }
.footer__col a:hover { color: var(--brass); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.3rem 0; font-size: .82rem; color: #8da3b5; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 28px -8px rgba(37,211,102,.7); transition: transform .25s var(--ease); animation: pulse 2.4s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,41,66,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature__inner, .contact__inner { grid-template-columns: 1fr; }
  .feature__badge { right: 1rem; }
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }
}

/* Blur only on desktop. On mobile we must NOT use backdrop-filter on the header,
   because it would make .header the containing block for the fixed nav panel,
   collapsing it to the header's height instead of the full viewport. */
@media (min-width: 769px) {
  .header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(246,241,233,.85); }
  .header.is-stuck { background: rgba(246,241,233,.95); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100dvh; width: min(82vw, 320px);
    background: var(--sand); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.4rem; transform: translateX(100%);
    transition: transform .35s var(--ease); box-shadow: var(--shadow);
    z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { margin-top: .5rem; }
  .hero__stats { gap: 1.5rem 2rem; }
  .stat__num, .stat__plus { font-size: 1.8rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
