/* ==========================================================================
   DANDAMI LUXURY RESORT - MASTER DESIGN SYSTEM & TOKENS
   Chitrakoot, Tiratha, Chhattisgarh 494010
   ========================================================================== */

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

:root {
  /* Primary Color Palette - Bastar Forest & Nature */
  --color-primary: #1b3828;         /* Deep Forest Pine */
  --color-primary-dark: #12271c;    /* Midnight Forest */
  --color-primary-light: #2c533e;   /* Lush Moss */
  --color-primary-subtle: #ebf2ee;  /* Forest Mist */

  /* Earthy Natural Neutrals */
  --color-sand: #f8f6f0;            /* Warm Sand Cream */
  --color-sand-dark: #eee8db;       /* Warm Stone */
  --color-linen: #faf8f5;           /* Pristine Warm White */
  --color-linen-pure: #ffffff;      /* Pure White */
  --color-stone: #ded7c8;           /* River Stone */
  --color-border: #e6dfd1;          /* Subtle Divider */

  /* Luxury Accents */
  --color-gold: #c5a059;            /* Champagne Gold */
  --color-gold-hover: #b38c43;      /* Deep Gold */
  --color-gold-light: #f5eedf;      /* Soft Gold Tint */
  --color-terracotta: #b8623f;      /* Bastar Earth Terracotta */

  /* Typography Colors */
  --text-dark: #19211c;             /* Primary Text */
  --text-muted: #5c6a63;           /* Secondary / Supporting */
  --text-light: #8b9991;           /* Subtle / Meta */
  --text-on-dark: #fcfbfa;         /* Light on Dark BG */
  --text-on-dark-muted: #c9d4cd;   /* Secondary on Dark BG */

  /* Typography Fonts */
  --font-serif-display: 'Playfair Display', Georgia, serif;
  --font-serif-subtle: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(18, 39, 28, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 39, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 39, 28, 0.12);
  --shadow-gold: 0 8px 25px rgba(197, 160, 89, 0.25);
  --shadow-dropdown: 0 20px 45px rgba(0, 0, 0, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Containers */
  --max-width-site: 1320px;
  --max-width-narrow: 980px;
  --max-width-text: 740px;
  --nav-height: 90px;
  --nav-height-mobile: 74px;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-linen);
  color: var(--text-dark);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-display);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width-site);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}

.section-sm {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-dark {
  background-color: var(--color-primary-dark);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-dark p {
  color: var(--text-on-dark-muted);
}

.section-sand {
  background-color: var(--color-sand);
}

/* Section Header Typography */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-serif-subtle);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-header.text-center .section-subtitle::before,
.section-header.text-center .section-subtitle::after {
  content: "—";
  margin: 0 0.5rem;
  opacity: 0.6;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Alignment utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Grid systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Visual Elements */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background-color: var(--color-primary-subtle);
  color: var(--color-primary);
}

.badge-gold {
  background-color: var(--color-gold-light);
  color: #7b591b;
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.divider-gold {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.5rem auto;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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