/* ============================================================
   DHANALAKSHMI CONSTRUCTION — Stone Wall Specialists
   Palette: #FFFFFF | #F6F1E7 (stone-cream) | #C8941F (gold) | #8B5E3C (stone-brown) | #17130D (ink)
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'Poppins', sans-serif;
  background: #FFFFFF;
  color: #17130D;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  --ink:     #17130D;
  --ink-soft:#5B5347;
  --gold:    #C8941F;
  --gold-deep:#9C730E;
  --brown:   #8B5E3C;
  --white:   #FFFFFF;
  --soft:    #F6F1E7;
  --border:  rgba(23,19,13,.10);
  --border-soft: rgba(23,19,13,.07);
  --y10:     rgba(200,148,31,.09);
  --y20:     rgba(200,148,31,.20);
  --y40:     rgba(200,148,31,.40);
  --ease:    cubic-bezier(.4,0,.2,1);
  --t:       .3s var(--ease);
  --r:       14px;
  --rs:      8px;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- SECTION SHARED ---------- */
section { padding: 100px 0; }

.sec-tag {
  display: inline-block;
  color: var(--gold-deep);
  font-family: 'Oswald', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: var(--ink);
}

.sec-desc {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 600px;
}

.section-hd {
  text-align: center;
  margin-bottom: 60px;
}
.section-hd .sec-desc { margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--rs);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--white);
  color: var(--gold-deep);
  border-color: var(--gold);
  box-shadow: 0 8px 24px var(--y40);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--y10);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 18px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--t);
}
.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(23,19,13,.08);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-wrap-sm { padding: 4px 10px; border-radius: 6px; }
.logo-img-sm  { height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 15px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: var(--t);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--ink);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: #b8861c; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.bar {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: var(--white);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.bg-glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .35;
}
.g1 { background: var(--y20); top: -150px; right: -100px; }
.g2 { background: rgba(139,94,60,.18); bottom: -200px; left: -150px; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23,19,13,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,19,13,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 60px;
}

.hero-tag {
  display: inline-block;
  color: var(--gold-deep);
  font-family: 'Oswald', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--y40);
  border-radius: 30px;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero-title .accent { color: var(--gold-deep); }
.hero-desc {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 26px;
}

.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 32px;
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-checklist li svg { color: var(--gold-deep); flex-shrink: 0; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual { position: relative; }
.hero-photo-frame {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -24px rgba(23,19,13,.30);
  aspect-ratio: 4/3;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 16px 32px rgba(23,19,13,.25);
}
.hero-badge-num { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.hero-badge-lbl { font-size: .72rem; font-weight: 600; line-height: 1.3; margin-top: 4px; text-transform: uppercase; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  padding: 30px 24px;
  transition: var(--t);
  box-shadow: 0 2px 10px rgba(23,19,13,.04);
}
.svc-card:hover {
  border-color: var(--y40);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(23,19,13,.08);
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--y10);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--ink);
}
.svc-desc { color: var(--ink-soft); font-size: .87rem; line-height: 1.65; }
.svc-line { display: none; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gal-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(23,19,13,.05);
}
.gal-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gal-card:hover img { transform: scale(1.08); }
.gal-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ============================================================
   VIDEOS — CAROUSEL
   ============================================================ */
.video-sec { background: var(--soft); }

.video-carousel {
  max-width: 720px;
  margin: 0 auto;
}

.vc-stage {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 24px 48px -24px rgba(23,19,13,.30);
}
.vc-stage.is-portrait { max-width: 360px; }

.vc-slide { display: none; }
.vc-slide.active { display: block; }
.vc-slide.landscape { aspect-ratio: 16 / 9; }
.vc-slide.portrait {
  aspect-ratio: 9 / 16;
  max-height: 75vh;
}
.vc-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.vc-cap {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 30px;
  pointer-events: none;
  z-index: 2;
}

.vc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(23,19,13,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 6;
  transition: var(--t);
}
.vc-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.vc-prev { left: 14px; }
.vc-next { right: 14px; }

.vc-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}
.vc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--t);
}
.vc-dot:hover { background: var(--y40); }
.vc-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 5px;
}

/* ============================================================
   ABOUT / WHY US
   ============================================================ */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.about-copy p { color: var(--ink-soft); font-size: .94rem; line-height: 1.85; margin-bottom: 14px; }
.about-quote {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--y10);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pill-box {
  background: var(--soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: var(--t);
}
.pill-box:hover { border-color: var(--y40); background: var(--y10); }
.pill-box svg { color: var(--gold-deep); }
.pill-lbl {
  font-family: 'Oswald', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
}

/* ============================================================
   CONTACT
   ============================================================ */
.connect {
  text-align: center;
  background: var(--soft);
}
.connect-inner { display: flex; flex-direction: column; align-items: center; }
.connect-desc { color: var(--ink-soft); font-size: .95rem; max-width: 480px; margin: 0 auto 30px; }

.contact-phone-big {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 30px;
}
.contact-phone-big svg { color: var(--gold-deep); }

.connect-btns { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy { color: var(--ink-soft); font-size: .82rem; }
.footer-phone { color: var(--gold-deep); font-size: .88rem; font-weight: 600; }

/* ============================================================
   FLOATING WHATSAPP + MOBILE CALL BAR
   ============================================================ */
.float-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(23,19,13,.3);
  z-index: 800;
  transition: var(--t);
}
.float-wa:hover { transform: scale(1.08); }

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(23,19,13,.06);
  padding: 10px 14px;
  gap: 10px;
}
.mcb-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
}
.mcb-call { background: var(--gold); color: var(--ink); }
.mcb-wa { background: #25D366; color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .pill-grid { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 40px 32px;
    transition: right .35s var(--ease);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 24px rgba(23,19,13,.08);
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; padding: 12px 0; font-size: 1rem; }
  .nav-cta { margin-left: 0; padding: 12px 16px; text-align: center; }

  section { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-checklist { gap: 8px 16px; }
  .vc-slide.portrait { max-height: 70vh; }
  .vc-arrow { width: 38px; height: 38px; }
  .vc-prev { left: 8px; }
  .vc-next { right: 8px; }

  .mobile-call-bar { display: flex; }
  .float-wa { display: none; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
