/* ============================================
   SHARDA GRAND — DESIGN SYSTEM
   Sacred Minimalism | Ujjain's Finest
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --ivory: #f5f0e8;
  --ivory-dark: #ede6d6;
  --charcoal: #1c1c1c;
  --charcoal-light: #3a3a3a;
  --gold: #b8954a;
  --gold-light: #d4b06a;
  --gold-pale: #f0e6cc;
  --sage: #e8ede6;
  --white: #ffffff;
  --text-muted: #6b6b6b;
  --border: rgba(184, 149, 74, 0.2);
  --border-strong: rgba(184, 149, 74, 0.5);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --shadow: 0 8px 40px rgba(28, 28, 28, 0.08);
  --shadow-hover: 0 20px 60px rgba(28, 28, 28, 0.15);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.8;
}

/* ---- GOLD DIVIDER ---- */
.gold-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  display: block;
  margin: 1.2rem 0;
}

.gold-line-center {
  margin: 1.2rem auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}

.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--white); }
.btn span { position: relative; z-index: 1; }
.btn svg { position: relative; z-index: 1; }

.btn-solid {
  background: var(--gold);
  color: var(--white);
}
.btn-solid::before { background: var(--charcoal); }
.btn-solid:hover { color: var(--white); }

.btn-dark {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-dark::before { background: var(--charcoal); }
.btn-dark:hover { color: var(--white); }

.btn-white {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-white::before { background: var(--white); }
.btn-white:hover { color: var(--charcoal); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.navbar.dark-nav { background: transparent; }
.navbar.dark-nav .nav-link { color: rgba(255,255,255,0.85); }
.navbar.dark-nav .nav-logo { color: var(--white); }
.navbar.dark-nav .nav-logo span { color: rgba(255,255,255,0.7); }
.navbar.dark-nav .btn-inquire {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.navbar.scrolled .nav-link { color: var(--charcoal); }
.navbar.scrolled .nav-logo { color: var(--charcoal); }
.navbar.scrolled .nav-logo span { color: var(--gold); }
.navbar.scrolled .btn-inquire {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-right { justify-content: flex-end; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
  transition: var(--transition);
}

.nav-logo span {
  display: block;
  font-size: 0.55rem;
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold);
  margin-top: 0.2rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

.btn-inquire {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-inquire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.btn-inquire:hover::before { transform: scaleX(1); }
.btn-inquire:hover { color: var(--white); }
.btn-inquire span { position: relative; z-index: 1; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ivory);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 1rem;
  color: var(--charcoal);
}

.nav-mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  height: 50vh;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}

.page-hero-bg img {
  opacity: 0.45;
  transition: transform 8s ease;
}

.page-hero:hover .page-hero-bg img { transform: scale(1.03); }

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.page-hero-content .section-label { color: rgba(255,255,255,0.6); }
.page-hero-content h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4rem); }

/* ---- SECTIONS ---- */
.section { padding: 6rem 2rem; }
.section-sm { padding: 4rem 2rem; }
.container { max-width: 1300px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.text-center { text-align: center; }

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold);
}

.footer-bottom {
  max-width: 1300px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: var(--transition-fast);
}
.footer-bottom a:hover { color: var(--gold); }

/* ---- CALL FLOAT ---- */
.call-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: #1a73e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
  transition: var(--transition);
  color: white;
}

.call-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(26, 115, 232, 0.5);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .nav-left, .nav-right { display: none; }
  .nav-container {
    grid-template-columns: 1fr auto;
    padding: 0 1.5rem;
  }
  .nav-hamburger { display: flex; }
  .nav-logo { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
