/* ==========================================================================
   RIVERSIDE HOTEL — MAIN DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #14161a;
  --bg-dark-card: #1c1f26;
  --bg-dark-glass: rgba(20, 22, 26, 0.75);
  
  --accent-terracotta: #c1622a;
  --accent-terracotta-hover: #d97336;
  --accent-terracotta-light: rgba(193, 98, 42, 0.15);
  
  --accent-teal: #2e6e6a;
  --accent-teal-hover: #37827e;
  --accent-teal-light: rgba(46, 110, 106, 0.15);

  --bg-light: #f6f1e9;
  --bg-light-card: #ffffff;
  --bg-light-subtle: #eae3d8;

  --text-dark: #1e2229;
  --text-muted: #5c6270;
  --text-light: #f5f5f0;
  --text-light-muted: #a6abb8;
  
  --gold: #d4af37;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Typography */
  --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: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition: all 0.3s 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-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2d323e;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-terracotta);
}

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

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: 6rem 0;
  position: relative;
}

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

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

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

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

.section-light .section-subtitle {
  color: var(--accent-terracotta);
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

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

.section-light .section-description {
  color: var(--text-muted);
}

/* Sinhala Tagline Pill */
.sinhala-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(193, 98, 42, 0.15);
  border: 1px solid rgba(193, 98, 42, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  color: #f7d2be;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(193, 98, 42, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(193, 98, 42, 0.45);
}

.btn-secondary {
  background-color: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(46, 110, 106, 0.35);
}

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

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 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: 600;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #f3d467;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-terracotta {
  background: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  border: 1px solid rgba(193, 98, 42, 0.3);
}

.badge-teal {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  border: 1px solid rgba(46, 110, 106, 0.3);
}
