/* ========================================
   CSS Variables & Reset
======================================== */
:root {
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --primary-light: #2d4a6f;
  --gold: #c9a227;
  --gold-light: #d4b24a;
  --gold-dark: #a8871e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   Layout
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-primary {
  background-color: var(--primary);
}

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

.mt-2 {
  margin-top: 2rem;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

.white {
  color: var(--white);
}

.white-muted {
  color: rgba(255, 255, 255, 0.7);
}

.gold {
  color: var(--gold);
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-header.center p {
  margin-top: 1rem;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-primary-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-primary-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0.5rem;
}

.btn-text:hover {
  color: var(--gold);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Navigation
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.nav-links.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 20px;
  box-shadow: var(--shadow-lg);
  gap: 1rem;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.7), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ========================================
   Stats Section
======================================== */
.stats {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 1rem;
}

.stats-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 500;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem;
  }
  .stat-item h3 {
    font-size: 2.5rem;
  }
}

/* ========================================
   About Preview Section
======================================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}

.features-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ========================================
   Properties Section
======================================== */
.properties-grid {
  display: grid;
  gap: 2rem;
}

.properties-grid-full {
  display: grid;
  gap: 2rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

.property-badge.sale {
  background-color: var(--primary);
  color: var(--white);
}

.property-badge.rent {
  background-color: var(--gold);
  color: var(--primary);
}

.featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--white);
  color: var(--gold);
  border-radius: 4px;
}

.property-content {
  padding: 1.5rem;
}

.property-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.property-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.property-details span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.property-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .properties-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .properties-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Why Choose Us Section
======================================== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: background 0.3s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   CTA Section
======================================== */
.cta {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Page Header
======================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   About Page - Mission Cards
======================================== */
.mission-grid {
  display: grid;
  gap: 1.5rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.mission-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mission-card h3 {
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Partners Section
======================================== */
.partners-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.partner-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gray-400);
}

.partner-card h3 {
  margin-bottom: 0.25rem;
}

.partner-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.partner-bio {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Company Info Section
======================================== */
.company-info-grid {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.company-info-content h2 {
  margin-bottom: 1rem;
}

.company-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.company-detail {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.detail-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.detail-value {
  color: var(--white);
  font-weight: 600;
}

@media (min-width: 480px) {
  .company-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Contact Page
======================================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-form-wrapper h2 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-success {
  text-align: center;
  padding: 3rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.form-success svg {
  color: #22c55e;
  margin: 0 auto 1rem;
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-info-item h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.contact-info-item a:hover {
  color: var(--gold);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ========================================
   Footer
======================================== */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.gstin {
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeIn 0.8s ease-out;
}
