/* ================================================================
   BURKHA MAHAL — Peacock Green + Black Dark Theme
   Author   : Abhishek Suvarna
   Fonts    : Playfair Display  (display headings)
              DM Sans           (body / UI)
   Palette  : Deep black · Peacock green · Teal accent · Light grey
   ================================================================ */


/* ─────────────────────────────────────────────────────────────
   1.  DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Colours */
  --bg:           #0B0F10;
  --bg-raise:     #0f1416;
  --bg-card:      #131a1b;
  --bg-card-hov:  #182022;
  --border:       rgba(15, 122, 112, 0.15);
  --border-hov:   rgba(63, 167, 163, 0.45);

  --gold:         #3FA7A3;
  --gold-light:   #57bfbb;
  --gold-dim:     rgba(63, 167, 163, 0.18);
  --maroon:       #005F56;
  --maroon-glow:  rgba(0, 95, 86, 0.35);

  --text:         #E6E6E6;          /* primary text */
  --text-muted:   #6b8080;          /* secondary text */
  --text-faint:   #253030;          /* barely visible */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing rhythm */
  --section-y:    112px;
  --wrap-x:       clamp(20px, 5vw, 80px);

  /* Transitions */
  --ease:         0.3s ease;
  --ease-slow:    0.55s ease;

  /* Misc */
  --radius:       6px;
  --radius-lg:    10px;
  --shadow:       0 8px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold:  0 0 24px rgba(63, 167, 163, 0.14);
}


/* ─────────────────────────────────────────────────────────────
   2.  RESET / BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

ul, ol { list-style: none; }

strong { font-weight: 500; color: var(--text); }

/* ─────────────────────────────────────────────────────────────
   3.  UTILITIES
───────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wrap-x);
}

.section {
  padding: var(--section-y) 0;
}

.gold { color: var(--gold); font-style: normal; }

/* Section header shared component */
.s-head {
  text-align: center;
  margin-bottom: 72px;
}

.s-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.s-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto 0;
}

.s-desc {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   4.  BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #0B0F10;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(63, 167, 163, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-ghost:hover {
  background: var(--gold-dim);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────────────────────────
   5.  SECTION DIVIDER
───────────────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--wrap-x);
  gap: 20px;
}

.div-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hov));
}

.div-line:last-child {
  background: linear-gradient(270deg, transparent, var(--border-hov));
}

.div-gem {
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.6;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   6.  NAVIGATION
───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--ease), padding var(--ease), border-bottom var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.solid {
  background: rgba(11, 15, 16, 0.96);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wrap-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Links */
.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--ease);
}

.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ─────────────────────────────────────────────────────────────
   7.  HERO
───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

/* Subtle CSS-only geometric grid texture */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63,167,163,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,167,163,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

/* Radial glow behind text */
.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%, rgba(0,95,86,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 42%, rgba(63,167,163,0.06) 0%, transparent 60%);
}

/* Hero content */
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

/* Peacock green italic accent */
.title-accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #2a8a86 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ornament divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px auto;
}

.orn-line {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,167,163,0.5));
}

.orn-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(63,167,163,0.5));
}

.orn-gem {
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.7;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 44px;
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--ease);
}

.scroll-hint:hover { color: var(--gold); }

.scroll-txt {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0);  opacity: 0.35; }
  50%       { transform: translateY(7px); opacity: 0.9; }
}


/* ─────────────────────────────────────────────────────────────
   8.  ABOUT
───────────────────────────────────────────────────────────── */
.about {
  background: var(--bg-raise);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.prose-lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 22px;
}

.prose-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

/* Stats panel */
.about-stats {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.stat {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-n em { font-style: normal; }

.stat-l {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-sep {
  height: 1px;
  background: var(--border);
  margin: 0 36px;
}


/* ─────────────────────────────────────────────────────────────
   9.  SERVICES
───────────────────────────────────────────────────────────── */
.services {
  background: var(--bg);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color var(--ease), background var(--ease),
              transform var(--ease), box-shadow var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Peacock green bottom accent line on hover */
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.svc-card:hover {
  border-color: var(--border-hov);
  background: var(--bg-card-hov);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 22px;
  transition: border-color var(--ease), background var(--ease);
}

.svc-card:hover .svc-icon {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.svc-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.svc-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
}


/* ─────────────────────────────────────────────────────────────
   10.  CONTACT
───────────────────────────────────────────────────────────── */
.contact {
  background: var(--bg-raise);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* Info rows */
.contact-info {
  display: flex;
  flex-direction: column;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-top: 2px;
}

.ci-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.ci-val {
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.ci-link {
  font-size: 0.93rem;
  font-weight: 400;
  color: var(--text);
  transition: color var(--ease);
}

.ci-link:hover { color: var(--gold); }

.ci-sep {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

.contact-btns {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Map */
.contact-map {
  position: relative;
}

.map-shell {
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  /* Subtle peacock glow on the frame */
  outline: 1px solid transparent;
  transition: border-color var(--ease), outline-color var(--ease);
}

.map-shell:hover {
  border-color: var(--border-hov);
  outline-color: rgba(63,167,163,0.08);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  display: block;
  /* Darken the map to match dark theme */
  filter: invert(0.9) hue-rotate(180deg) saturate(0.5) brightness(0.85);
  transition: filter var(--ease);
}

.map-shell:hover iframe {
  filter: invert(0.85) hue-rotate(180deg) saturate(0.6) brightness(0.9);
}


/* ─────────────────────────────────────────────────────────────
   11.  FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  background: #060a0b;
  padding-bottom: 0;
}

.footer-topline {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--maroon) 70%, transparent 100%);
  opacity: 0.4;
}

.footer-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.f-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-nav a:hover { color: var(--gold); }

.footer-reach {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-reach a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-reach a:hover { color: var(--gold); }

.footer-bottomline {
  height: 1px;
  background: var(--border);
}

.footer-copy {
  padding: 22px var(--wrap-x);
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.footer-copy .gold {
  color: var(--gold);
  font-weight: 500;
}


/* ─────────────────────────────────────────────────────────────
   12.  BACK TO TOP
───────────────────────────────────────────────────────────── */
.btt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  color: var(--gold);
  border: 1px solid var(--border-hov);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.btt.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btt:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-3px);
}


/* ─────────────────────────────────────────────────────────────
   13.  STAGGER DELAYS  (reveal animation)
───────────────────────────────────────────────────────────── */
.svc-card:nth-child(1) { transition-delay: 0.00s; }
.svc-card:nth-child(2) { transition-delay: 0.07s; }
.svc-card:nth-child(3) { transition-delay: 0.14s; }
.svc-card:nth-child(4) { transition-delay: 0.07s; }
.svc-card:nth-child(5) { transition-delay: 0.14s; }
.svc-card:nth-child(6) { transition-delay: 0.21s; }


/* ─────────────────────────────────────────────────────────────
   14.  RESPONSIVE — TABLET  (≤ 1024px)
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 40px;
  }
}


/* ─────────────────────────────────────────────────────────────
   15.  RESPONSIVE — MOBILE  (≤ 768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  :root {
    --section-y: 80px;
  }

  /* Nav mobile */
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(76vw, 300px);
    background: #080d0e;
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  /* Hero */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    flex-direction: row;
  }

  .stat {
    padding: 24px 20px;
    flex: 1;
    align-items: center;
  }

  .stat-sep {
    width: 1px;
    height: auto;
    margin: 20px 0;
  }

  /* Services */
  .svc-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-shell {
    height: 300px;
  }

  .contact-btns {
    flex-direction: column;
  }

  .contact-btns .btn {
    justify-content: center;
  }

  /* Footer */
  .footer-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-reach {
    text-align: left;
  }
}


/* ─────────────────────────────────────────────────────────────
   16.  RESPONSIVE — SMALL MOBILE  (≤ 480px)
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  .hero-title {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .about-stats {
    flex-direction: column;
  }

  .stat-sep {
    width: auto;
    height: 1px;
    margin: 0 24px;
  }

  .s-head {
    margin-bottom: 48px;
  }

  .btt {
    bottom: 20px;
    right: 20px;
  }
}