/* =============================================
   SHRIRAM ODENAME KING LIFE – Marketing Site
   Theme: White & Warm Luxury
   ============================================= */

:root {
  --cream: #faf7f4;
  --white: #ffffff;
  --warm-50: #fdf6ee;
  --warm-100: #f5e6d0;
  --gold: #c8973a;
  --gold-light: #e2b76a;
  --gold-dark: #a87828;
  --brown: #5c3d2e;
  --brown-light: #8b6550;
  --charcoal: #1a1612;
  --charcoal-soft: #2e2520;
  --gray-text: #6b5c52;
  --gray-light: #e8e0d8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(90, 60, 40, 0.10);
  --shadow-lg: 0 16px 48px rgba(90, 60, 40, 0.16);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.35); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--nav {
  background: var(--gold);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
}
.btn--nav:hover { background: var(--gold-dark); }

.btn--full { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.95rem; }

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

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0;
}
.nav.scrolled {
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(90,60,40,0.10);
}
.nav.scrolled .nav__brand-main,
.nav.scrolled .nav__brand-sub,
.nav.scrolled .nav__links a { color: var(--charcoal); }

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand { flex: 1; }
.nav__brand-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
  transition: color 0.3s;
}
.nav__brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  transition: color 0.3s;
}
.nav.scrolled .nav__brand-sub { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--gold-light); }
.nav.scrolled .nav__links a:hover { color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px; transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--charcoal); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  padding: 1rem 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.nav__mobile a {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gray-light);
}
.nav__mobile .btn--gold { margin-top: 1rem; text-align: center; justify-content: center; }
.nav__mobile.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,14,10,0.78) 0%,
    rgba(20,14,10,0.45) 55%,
    rgba(20,14,10,0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 80px;
}
.hero__location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.hero__badges {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex; flex-direction: column;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}
.badge__num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.badge__label {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
.hero__scroll p {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* =============================================
   OVERVIEW
   ============================================= */
.overview {
  padding: 100px 0;
  background: var(--cream);
}
.overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.overview__card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 2rem;
  transition: var(--transition);
}
.overview__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}
.overview__icon { font-size: 2rem; margin-bottom: 1rem; }
.overview__card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}
.overview__card p { font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }

.highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--charcoal);
  border-radius: 8px;
  padding: 2.5rem;
}
.highlight {
  display: flex; flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.highlight__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.highlight__text {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.highlight__divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.15);
}

/* =============================================
   AMENITIES
   ============================================= */
.amenities {
  padding: 100px 0;
  background: var(--charcoal-soft);
}
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.amenity-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(200,151,58,0.4); }
.amenity-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.amenity-card:hover img { transform: scale(1.04); }
.amenity-card__body { padding: 1.5rem; }
.amenity-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.amenity-card__body p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

.amenities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.amenity-tag {
  background: rgba(200,151,58,0.12);
  border: 1px solid rgba(200,151,58,0.25);
  color: var(--gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  padding: 100px 0 60px;
  background: var(--cream);
}
.gallery .container { margin-bottom: 3rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,14,10,0.8), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.5rem 1rem 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item:hover .gallery__caption { opacity: 1; }

/* =============================================
   LOCATION
   ============================================= */
.location {
  padding: 100px 0;
  background: var(--warm-50);
}
.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.location__list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.location__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.location__list li span { font-size: 1.1rem; }
.location__map { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.location__map iframe { display: block; }

/* =============================================
   CONTACT / LEAD FORM
   ============================================= */
.contact {
  padding: 100px 0;
  background: var(--charcoal);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__perks {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}
.perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.perk span {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.contact__direct p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}
.contact__phone {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 600;
}
.contact__phone:hover { color: var(--gold); }

.lead-form {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.lead-form__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  transition: border-color 0.25s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group input.error,
.form-group select.error { border-color: #e05c5c; }

.form-group textarea { resize: vertical; min-height: 80px; }
.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 0.75rem;
}

.lead-form__success {
  display: none;
  background: var(--white);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.lead-form__success.show { display: block; }
.success__icon {
  width: 60px; height: 60px;
  background: var(--gold);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.lead-form__success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.lead-form__success p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal-soft);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand .nav__brand-main {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}
.footer__brand .nav__brand-sub { margin-bottom: 1rem; }
.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--gold-light); }
.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact p {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
}
.footer__contact a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
}
.footer__contact a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer__disclaimer { font-size: 0.72rem !important; color: rgba(255,255,255,0.2) !important; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: var(--white);
  padding: 0.8rem 1.3rem 0.8rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .location__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }

  .hero__badges { gap: 1.2rem; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }

  .highlights {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .highlight__divider { width: 80px; height: 1px; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0.9rem; border-radius: 50%; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 540px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__grid { grid-template-rows: auto; }
  .gallery__item { height: 240px; }

  .hero__ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
