/* Vrindavan Lodha - Premium Design System */
:root {
  /* Premium Palette - Sophisticated Earth Tones */
  --primary-deep: #2c1810;
  --primary-main: #8b4513;
  --primary-light: #cd853f;
  --primary-soft: #f5f5dc;
  
  /* Sacred Saffron & Gold */
  --accent-deep: #b8860b;
  --accent-main: #daa520;
  --accent-light: #ffd700;
  --accent-soft: #fffacd;
  
  /* Modern Neutrals */
  --neutral-900: #0f0f0f;
  --neutral-800: #262626;
  --neutral-700: #404040;
  --neutral-600: #737373;
  --neutral-500: #a3a3a3;
  --neutral-400: #d4d4d4;
  --neutral-300: #e5e5e5;
  --neutral-200: #f5f5f5;
  --neutral-100: #fafafa;
  --neutral-50: #ffffff;
  
  /* Premium Accents */
  --emerald-main: #059669;
  --emerald-light: #10b981;
  --emerald-soft: #d1fae5;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-main) 50%, var(--accent-main) 100%);
  --gradient-premium: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-main) 100%);
  --gradient-subtle: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(44, 24, 16, 0.9) 0%, rgba(139, 69, 19, 0.8) 100%);
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  
  /* Spacing & Layout */
  --container-max: 1400px;
  --section-padding: 6rem 0;
  --border-radius: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(139, 69, 19, 0.25);
  
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(20px);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--neutral-900);
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--neutral-700);
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: var(--accent-main);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-deep);
}

/* Layout Components */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbtns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  transition: all 0.3s ease;
}

.chip.phone {
  background: var(--accent-soft);
  border-color: var(--accent-main);
  color: var(--accent-deep);
}

.chip.phone:hover {
  background: var(--accent-main);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.policy {
  font-size: 0.8rem;
  color: var(--neutral-600);
  font-weight: 500;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--gradient-premium);
  color: white;
  box-shadow: var(--shadow-premium);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 60px -12px rgba(139, 69, 19, 0.4);
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--accent-main);
  color: var(--accent-main);
}

.btn.outline:hover {
  background: var(--accent-main);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section - Premium Design */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-main) 100%);
  overflow: hidden;
  text-align: center;
  color: white;
  padding-top: 80px; /* Account for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://rawcapture.blob.core.windows.net/uploaded/ASSET_1755014100_8716597/input.png?sv=2023-11-03&st=2025-08-12T15%3A55%3A00Z&se=2030-08-12T00%3A00%3A00Z&sr=b&sp=r&sig=613ZsEVySf6C%2FzfN2VR7pL%2F17z5bqZgDHqzrPXtOO0A%3D') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 2;
}

.hero .panel {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-xl);
  padding: 4rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Section Dividers */
.section-divider {
  position: relative;
  height: 2px;
  background: var(--gradient-premium);
  margin: 2rem 0;
  border-radius: 2px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Investment Cards */
.investment-section {
  background: var(--gradient-subtle);
  position: relative;
}

.investment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.investment-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.investment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-premium);
}

.investment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.investment-card h3 {
  color: var(--primary-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.investment-card .icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-premium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* Project Highlights */
.highlights-section {
  background: white;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.highlight-card {
  background: var(--gradient-subtle);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  border-color: var(--accent-main);
  box-shadow: var(--shadow-md);
}

.highlight-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-main);
  display: block;
  margin-bottom: 0.5rem;
}

/* Price Grid */
.pricing-section {
  background: var(--gradient-subtle);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid var(--neutral-200);
}

.price-card:hover {
  border-color: var(--accent-main);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.price-card.featured {
  border-color: var(--accent-main);
  background: linear-gradient(135deg, white 0%, var(--accent-soft) 100%);
}

.price-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--gradient-premium);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-type {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-main);
  margin-bottom: 0.5rem;
}

.price-size {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

/* Gallery */
.gallery-section {
  background: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* Map Section */
.map-section {
  background: var(--gradient-subtle);
}

.map-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.map-features {
  list-style: none;
}

.map-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.map-features .icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-premium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-item {
  background: var(--gradient-subtle);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--neutral-100);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--neutral-700);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-premium);
  color: white;
}

.contact-section h2 {
  color: white;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--primary-deep);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer::before {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--gradient-premium);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-600);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: var(--gradient-premium);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-premium);
  transition: all 0.3s ease;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 35px 60px -12px rgba(139, 69, 19, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero .panel {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .topbar .inner {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .brand {
    font-size: 1.25rem;
  }
  
  .navbtns {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  
  .policy {
    order: -1;
    font-size: 0.75rem;
    color: var(--neutral-600);
    background: var(--neutral-50);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--neutral-200);
    white-space: nowrap;
  }
  
  .chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .chip.phone {
    flex-grow: 1;
    justify-content: center;
    min-width: 120px;
  }
  
  .hero {
    min-height: 70vh;
    padding-top: 120px; /* Larger padding for mobile due to two-row header */
  }
  
  .hero .panel {
    padding: 2rem 1.5rem;
  }
  
  .hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .investment-cards,
  .highlights-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  
  .map-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    margin: 1.5rem auto 0;
    padding: 0 1rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.875rem;
    font-size: 1rem;
  }

  .popup {
    width: 95%;
    padding: 1.5rem;
  }
  
  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .topbar .inner {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .brand {
    font-size: 1.1rem;
  }
  
  .navbtns {
    gap: 0.25rem;
  }
  
  .policy {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .chip {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .chip.phone {
    min-width: 100px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .contact-form {
    margin: 1rem auto 0;
    padding: 0 0.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 100px; /* Adjusted for smaller mobile header */
  }

  .hero .panel {
    padding: 1.5rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .investment-card,
  .highlight-card,
  .price-card {
    padding: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .topbar,
  .fab,
  .popup-overlay {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    page-break-inside: avoid;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
