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

/* ==========================================================================
   SESHADRI INFRA - MODERN & MINIMALIST DESIGN SYSTEM (COMPLETE)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-color: #0F172A;      /* Deep Obsidian / Slate */
  --primary-light: #1E293B;      /* Dark Slate Accent */
  --secondary-color: #C59B27;    /* Warm Metallic Champagne Gold */
  --secondary-hover: #b0871d;    /* Deeper Gold */
  --accent-color: #334155;       /* Muted Steel */
  
  --bg-color: #FAFAFA;           /* Crisp Minimal Off-White */
  --card-bg: #FFFFFF;           /* Pristine White */
  --surface-subtle: #F8FAFC;    /* Light Slate Tint */
  
  --text-main: #0F172A;         /* High Contrast Charcoal */
  --text-muted: #64748B;        /* Muted Gray */
  --text-subtle: #94A3B8;       /* Light Muted Gray */
  --white: #FFFFFF;
  
  /* Borders & Shadows */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-gold: rgba(197, 155, 39, 0.3);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 10px 25px -5px rgba(197, 155, 39, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;

  /* Layout Heights */
  --header-h-desktop: 80px;
  --header-h-mobile: 70px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

.serif-font {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   CONTAINER & SECTION LAYOUTS
   ========================================================================== */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(197, 155, 39, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  color: var(--white);
}

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

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

.badge-gold {
  background: rgba(197, 155, 39, 0.1);
  color: var(--secondary-color);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   NAVBAR / HEADER
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h-desktop);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding: 8px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item.active {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  min-width: 260px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-content a:hover {
  background: var(--surface-subtle);
  color: var(--secondary-color);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-h-desktop);
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav-drawer.active {
  display: flex;
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */

.minimal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.minimal-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Counter Box */
.stat-box {
  text-align: center;
  padding: 30px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PLOT GRID & MAP STYLING
   ========================================================================== */

.plot-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
  gap: 10px;
  max-height: 450px;
  overflow-y: auto;
  padding: 15px;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.plot-box {
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.plot-available {
  background: var(--white);
  border: 1px solid #CBD5E1;
  color: var(--primary-color);
}

.plot-available:hover {
  border-color: var(--secondary-color);
  background: rgba(197, 155, 39, 0.05);
  transform: scale(1.05);
}

.plot-booked {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
}

.plot-selected {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-hover);
}

/* ==========================================================================
   ACCORDION & MODALS
   ========================================================================== */

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

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

.faq-item.active {
  border-color: var(--secondary-color);
}

/* Lightbox Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: var(--primary-color);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer h3, footer h4 {
  color: var(--white);
}

footer a {
  color: #CBD5E1;
}

footer a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
