/* ==========================================================================
   RIVERSIDE HOTEL — LUXURY IVORY, CHAMPAGNE & ROYAL GOLD DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Ultra-Luxurious Warm Ivory, Champagne & Royal Gold Palette (Avenra Hotels Inspired) */
  --bg-main: #f9f6ef;
  --bg-main-alt: #fbf8f2;
  --bg-champagne: #f4ece1;
  --bg-champagne-subtle: #efe6d8;
  --bg-champagne-light: #fbf5eb;
  
  --bg-card: #ffffff;
  --bg-card-champagne: #fdfbf7;
  --bg-card-hover: #ffffff;
  --bg-glass-ivory: rgba(251, 245, 235, 0.95);
  --bg-glass-card: rgba(255, 255, 255, 0.92);

  /* Deep Royal Espresso & Charcoal Typography (High Contrast, Ultra-Legible) */
  --text-main: #1c1917;
  --text-dark: #1c1917;
  --text-espresso: #2c241d;
  --text-muted: #57534e;
  --text-subtle: #78716c;
  --text-light: #ffffff;
  --text-light-muted: #d6d3d1;

  /* Royal Gold & Warm Terracotta Accents */
  --gold: #c59b27;
  --gold-primary: #c59b27;
  --gold-light: #e5b94a;
  --gold-dark: #9b7617;
  --gold-deep: #7a5c10;
  --gold-gradient: linear-gradient(135deg, #f7df8f 0%, #c59b27 50%, #997316 100%);
  --gold-royal-gradient: linear-gradient(135deg, #fff3d1 0%, #dfb54b 50%, #a07a1c 100%);
  --gold-glow: 0 6px 25px rgba(197, 155, 39, 0.28);
  --gold-card-glow: 0 12px 35px rgba(197, 155, 39, 0.16);

  --accent-terracotta: #c85a17;
  --accent-terracotta-hover: #dd681d;
  --accent-terracotta-light: rgba(200, 90, 23, 0.12);

  --accent-teal: #0d9488;
  --accent-teal-hover: #0f766e;
  --accent-teal-light: rgba(13, 148, 136, 0.12);

  --accent-emerald: #059669;
  --accent-cyan: #0284c7;

  /* Borders */
  --border-light: rgba(197, 155, 39, 0.18);
  --border-gold: rgba(197, 155, 39, 0.35);
  --border-gold-glass: rgba(197, 155, 39, 0.3);
  --border-dark: rgba(44, 36, 29, 0.12);
  --border-subtle: #e7e0d3;

  /* Typography */
  --font-royal: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, 'Noto Serif Sinhala', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Luxury Shadows */
  --shadow-sm: 0 2px 10px rgba(44, 36, 29, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 36, 29, 0.08);
  --shadow-lg: 0 16px 42px rgba(44, 36, 29, 0.11);
  --shadow-dark: 0 24px 60px rgba(44, 36, 29, 0.14);
  --shadow-gold: 0 10px 30px rgba(197, 155, 39, 0.22);

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-champagne);
}
::-webkit-scrollbar-thumb {
  background: #c59b27;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-espresso);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Container & Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-main-alt);
  color: var(--text-main);
}

.section-dark {
  background-color: var(--bg-champagne);
  color: var(--text-main);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--text-espresso);
  margin-bottom: 1.15rem;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .section {
    padding: 4.25rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.25rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }
  .section-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.75rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
}

/* Sinhala Tagline Pill */
.sinhala-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  color: #f7d070;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(200, 90, 23, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 90, 23, 0.4);
}

.btn-secondary {
  background-color: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

.btn-secondary:hover {
  background-color: var(--accent-teal-hover);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--text-espresso);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark {
  border: 2px solid var(--text-espresso);
  color: var(--text-espresso);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--text-espresso);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 36, 29, 0.15);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-gold {
  background: rgba(197, 155, 39, 0.15);
  color: #8c6812;
  border: 1px solid rgba(197, 155, 39, 0.4);
}

.badge-terracotta {
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  border: 1px solid rgba(200, 90, 23, 0.35);
}

.badge-teal {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  border: 1px solid rgba(13, 148, 136, 0.35);
}

.badge-cyan {
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.badge-fire {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Gold Gradient & Luxury Accent Utilities */
.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.btn-gold {
  background: var(--gold-royal-gradient);
  color: #241a08;
  font-weight: 700;
  border: 1px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 155, 39, 0.45);
  filter: brightness(1.05);
  color: #160f03;
}

.gold-glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 15px 40px rgba(44, 36, 29, 0.1);
}
