/* ═══════════════════════════════════════════════════
   SAKTHI PROPERTY DEVELOPERS – SHARED BRAND SYSTEM
   Used by: index.html (BVR Gardens) & kumaran.html (Sri Kumaran Heritage)
   Colors drawn from logo: Royal Blue #1B3F8B · Red #D72B2B · White #FFFFFF
   ═══════════════════════════════════════════════════ */

:root {
  /* Brand palette from logo */
  --blue:        #1B3F8B;
  --blue-dark:   #122B60;
  --blue-mid:    #1E4DA1;
  --red:         #D72B2B;
  --red-dark:    #A81F1F;
  --white:       #FFFFFF;
  --cream:       #F4F6FB;
  --dark:        #0C1120;
  --dark2:       #152038;
  --text:        #1C2340;
  --muted:       #5A6480;
  --border:      #D9DFF0;
  --radius:      12px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
img { max-width: 100%; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  padding: 7px 0;
  letter-spacing: 0.3px;
}
.top-bar a { color: rgba(255,255,255,0.82); text-decoration: none; }
.top-bar a:hover { color: var(--white); }

/* ── NAVBAR ── */
.navbar {
  background: rgba(12,17,32,0.97);
  backdrop-filter: blur(10px);
  padding: 0;
  border-bottom: 2px solid var(--red);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.5); }

/* Dual logo header */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  margin: 0 14px;
}
.nav-logo-wrap img.brand-logo { height: 42px; }
.nav-logo-wrap img.project-logo { height: 36px; border-radius: 6px; }

.nav-link {color: rgb(0 0 0);font-size: 0.86rem;font-weight: 500;padding: 20px 12px !important;position: relative;}
.nav-link::after { content:''; position:absolute; bottom:0; left:12px; right:12px; height:2px; background:var(--red); transform:scaleX(0); transition:transform 0.2s; }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-link:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn-primary-brand {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 13px 28px;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary-brand:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(215,43,43,0.35);
}

.btn-outline-brand {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  padding: 11px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline-brand:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 13px 28px;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); }

.btn-nav-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  margin-left: 6px;
  transition: background 0.2s !important;
}
.btn-nav-cta::after { display: none !important; }
.btn-nav-cta:hover { background: var(--red-dark) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(12,17,32,0.88) 0%, rgba(12,17,32,0.55) 60%, rgba(27,63,139,0.3) 100%);
  z-index: 1;
}
.hero-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--white));
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.9rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero h1 .accent { color: #FF6B6B; }
.hero h1 .accent-blue { color: #7BAAFF; }

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Decorative side stripe */
.hero-stripe {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--red), var(--blue));
  z-index: 3;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-dark);
  padding: 20px 0;
  position: relative;
  z-index: 5;
}
.stat-item { text-align: center; padding: 8px 0; }
.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}
.stat-item .num span.accent-num { color: #FF9090; }
.stat-item p { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin: 4px 0 0; }
.stat-divider { border-left: 1px solid rgba(255,255,255,0.12); }

/* ── SECTION HEADERS ── */
section { padding: 80px 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem); color: var(--text); line-height: 1.25; }
.section-title.light { color: var(--white); }
.section-line { width: 44px; height: 3px; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px; margin: 14px 0 28px; }
.section-line.center { margin-left: auto; margin-right: auto; }

/* ── OVERVIEW ── */
.overview-bg { background: var(--cream); }
.overview-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); position: relative; }
.overview-img img { width: 100%; height: 400px; object-fit: cover; display: block; }
.overview-img-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}
.overview-text { font-size: 1rem; line-height: 1.85; color: #444; }

/* ── WHY CARDS ── */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}
.why-card:hover { box-shadow: 0 14px 44px rgba(27,63,139,0.12); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.35rem;
  color: var(--white);
}
.why-card h5 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.98rem; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── AMENITIES ── */
.amenity-bg { background: var(--dark2); }
.amenity-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  transition: all 0.25s;
}
.amenity-card:hover {
  background: rgba(27,63,139,0.3);
  border-color: rgba(27,63,139,0.7);
  transform: translateY(-3px);
}
.amenity-card i { font-size: 1.9rem; color: #7BAAFF; margin-bottom: 10px; display: block; }
.amenity-card span { color: rgba(255,255,255,0.82); font-size: 0.84rem; font-weight: 500; line-height: 1.4; display: block; }

/* ── LOCATION ── */
.loc-tab-btn {
  border: 2px solid var(--border);
  background: transparent;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.loc-tab-btn.active, .loc-tab-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.loc-list { list-style: none; padding: 0; }
.loc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.loc-list li i { color: var(--blue); font-size: 0.95rem; margin-top: 3px; flex-shrink: 0; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 2px solid var(--border); }
.map-frame iframe { display: block; width: 100%; height: 350px; border: 0; }

/* ── GALLERY ── */
.gallery-bg { background: #faf6ee; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
/*.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }*/
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(12,17,32,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay { background: rgba(12,17,32,0.5); }
.gallery-overlay i { color: var(--white); font-size: 2rem; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay i { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lb-close { position: absolute; top: 18px; right: 24px; color: var(--white); font-size: 2.4rem; cursor: pointer; background: none; border: none; line-height: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(27,63,139,0.4);
  border: 1px solid rgba(27,63,139,0.8);
  color: var(--white); font-size: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-prev:hover, .lb-next:hover { background: var(--blue); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ── HIGHLIGHTS ── */
.hl-card {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hl-card:hover { transform: translateX(4px); box-shadow: 0 8px 28px rgba(27,63,139,0.12); }
.hl-icon { font-size: 1.5rem; color: var(--red); flex-shrink: 0; }
.hl-card strong { font-size: 0.96rem; display: block; margin-bottom: 4px; }
.hl-card p { font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── TRUST / TESTIMONIALS ── */
.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  height: 100%;
}
.trust-stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.trust-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; font-style: italic; }
.trust-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.trust-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.9rem;
  flex-shrink: 0;
}
.trust-author h6 { margin: 0; font-size: 0.88rem; color: var(--text); }
.trust-author span { font-size: 0.76rem; color: var(--muted); }

/* Trust badges */
.trust-badge {
  padding: 18px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: box-shadow 0.2s;
}
.trust-badge:hover { box-shadow: 0 6px 24px rgba(27,63,139,0.1); }
.trust-badge i { font-size: 1.8rem; color: var(--blue); display: block; margin-bottom: 8px; }
.trust-badge p { font-size: 0.82rem; font-weight: 700; margin: 0; color: var(--text); }

/* ── FAQ ── */
.faq-bg { background: var(--cream); }
.accordion-button {
  font-weight: 600 !important;
  font-size: 0.93rem !important;
  color: var(--text) !important;
  background: var(--white) !important;
}
.accordion-button:not(.collapsed) {
  color: var(--blue) !important;
  background: #EFF4FF !important;
  box-shadow: none !important;
}
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-body { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── CONTACT ── */
.contact-bg { background: var(--dark); }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
  /*color: rgba(255,255,255,0.75);*/
  font-size: 0.9rem;
}
.contact-info-item i { color: var(--red); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-info-item a { color: rgba(255,255,255,0.75); text-decoration: none; }
.contact-info-item a:hover { color: var(--white); }

.contact-form-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 34px 28px;
}
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #D0D7E8;
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,63,139,0.12);
}
.form-dark .form-control,
.form-dark .form-select {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.form-dark .form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-dark .form-control:focus,
.form-dark .form-select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(30,77,161,0.25);
}
textarea.form-control { resize: none; }

/* ── FINAL CTA ── */
.final-cta {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  text-align: center;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(27,63,139,0.08);
  top: -300px; right: -150px;
}
.final-cta::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(215,43,43,0.06);
  bottom: -150px; left: -80px;
}
.final-cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; position: relative; z-index: 1; }
.final-cta p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 34px; font-size: 1rem; position: relative; z-index: 1; line-height: 1.7; }
.final-cta .btns { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ── FOOTER ── */
.footer { background: #05080F; color: rgba(255,255,255,0.5); padding: 55px 0 22px; font-size: 0.83rem; }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer h6 { color: rgba(255,255,255,0.9); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 700; }
.footer a { color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--red); }
.footer ul { list-style: none; padding: 0; line-height: 2.2; }
.footer-accent { width: 36px; height: 3px; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px; margin-bottom: 14px; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 18px; margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-social a { font-size: 1.15rem; margin-right: 12px; }

/* ── FLOATING ELEMENTS ── */
.float-right {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 888;
}
.float-right-btn {
  writing-mode: vertical-rl;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 20px 11px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s;
  display: flex; align-items: center; gap: 10px;
  box-shadow: -4px 0 20px rgba(215,43,43,0.3);
}
.float-right-btn:hover { background: var(--red-dark); }
.float-right-btn i { writing-mode: initial; font-size: 1rem; }

.float-left {
  position: fixed; left: 0; bottom: 110px;
  z-index: 888;
  display: flex; flex-direction: column; gap: 3px;
}
.float-left a {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 0 8px 8px 0;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-left a:hover { transform: translateX(5px); }
.float-call { background: var(--blue); box-shadow: 2px 2px 10px rgba(27,63,139,0.4); }
.float-wa   { background: #25D366; box-shadow: 2px 2px 10px rgba(37,211,102,0.35); }

/* Mobile sticky bar */
.sticky-bottom-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark);
  padding: 10px 14px;
  display: flex; gap: 8px;
  z-index: 887;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  border-top: 2px solid var(--red);
}
.sticky-bottom-cta a {
  flex: 1; text-align: center;
  border-radius: 30px;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.sticky-call { background: var(--blue); color: var(--white); }
.sticky-wa   { background: #25D366; color: var(--white); }
.sticky-enq  { background: var(--red); color: var(--white); }
@media (min-width: 768px) { .sticky-bottom-cta { display: none; } }

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,8,15,0.88);
  z-index: 9998;
  align-items: center; justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 480px; width: 100%;
  padding: 38px 32px;
  position: relative;
  animation: popIn 0.3s ease;
  border-top: 4px solid var(--red);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(22px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.popup-close:hover { background: var(--cream); }
.popup-box h3 { font-size: 1.55rem; margin-bottom: 4px; }
.popup-box .popup-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.popup-badge {
  background: #FEF0F0;
  border: 1px solid #F5CACA;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #8B2020;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible { opacity: 1; }
