/* ==========================================================================
   PANDHARINATH LODGE & RESTAURANT - CORE STYLESHEET
   Spiritual Pilgrimage + Modern Premium Hotel Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cinzel+Decorative:wght@700&family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  /* Spiritual Warm Palette */
  --bg-cream: #FAF7F2;
  --bg-cream-light: #FFFDF9;
  --bg-cream-alt: #F3ECE1;
  --bg-dark-maroon: #420A16;
  --color-maroon: #6B1426;
  --color-maroon-dark: #4A0E1A;
  --color-maroon-light: #8A1E34;
  --color-purple: #34123E;
  --color-purple-deep: #210B28;
  
  /* Divine Gold & Warm Accents */
  --gold-primary: #C99738;
  --gold-light: #F0CA68;
  --gold-bright: #FFD56B;
  --gold-dark: #8F6210;
  --gold-gradient: linear-gradient(135deg, #FFE8A3 0%, #D4A338 50%, #966710 100%);
  --gold-glow: rgba(212, 163, 56, 0.35);
  
  /* Text & Charcoal */
  --text-main: #231C1A;
  --text-muted: #5E524F;
  /* Darkened from #8A7B77 to meet WCAG AA 4.5:1 contrast on white */
  --text-light: #635550;
  --text-on-dark: #FBF7F0;
  --text-gold: #D4A338;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(74, 14, 26, 0.06);
  --shadow-md: 0 6px 20px rgba(74, 14, 26, 0.09);
  --shadow-lg: 0 12px 36px rgba(74, 14, 26, 0.13);
  --shadow-gold: 0 8px 24px rgba(201, 151, 56, 0.28);
  
  /* Layout & Spacing */
  --font-serif: 'Cinzel', 'Cinzel Decorative', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(rgba(201, 151, 56, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

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

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-maroon-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 1px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.devanagari-quote {
  font-family: var(--font-devanagari);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ==========================================================================
   CONTAINERS & LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-maroon);
  background-color: rgba(201, 151, 56, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(201, 151, 56, 0.3);
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-primary);
}

.section-title {
  margin-bottom: 16px;
}

.section-title span.gold-text {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto;
}

.temple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 24px;
}

.temple-divider::before,
.temple-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.temple-divider svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-primary);
  opacity: 0.85;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #261005;
  box-shadow: 0 4px 16px rgba(201, 151, 56, 0.35);
  border: 1px solid #FFE494;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 151, 56, 0.5);
  color: #120702;
}

.btn-whatsapp {
  /* Darkened from official #25D366 to meet WCAG AA 4.5:1 contrast with white text */
  background-color: #0F7A3D;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 122, 61, 0.3);
}

.btn-whatsapp:hover {
  background-color: #0C6633;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 122, 61, 0.45);
  color: #FFFFFF;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-maroon-dark);
  border: 1.5px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-maroon {
  background-color: var(--color-maroon);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(107, 20, 38, 0.3);
}

.btn-maroon:hover {
  background-color: var(--color-maroon-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Accessibility & Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
