/* ==========================================================================
   SANGAM EVENTS & WEDDINGS — LUXURY DESIGN SYSTEM
   Location: Mysuru, Karnataka
   Aesthetic: Ultra-Luxury Creamy White & Royal Emerald / Forest Green
   ========================================================================== */

:root {
  /* =========================================================================
     1. PRIMARY ACCENT (Wedding Rose Pink & Magenta) - Plan4Event Signature
     ========================================================================= */
  --primary-pink: #E91E63;           /* Core Wedding Rose Pink */
  --primary-pink-light: #FF4081;     /* Light Rose Glow */
  --primary-pink-dark: #C2185B;      /* Deep Ruby Magenta */
  --pink-gradient: linear-gradient(135deg, #FF2E7E 0%, #E91E63 50%, #C2185B 100%);
  --pink-gradient-hover: linear-gradient(135deg, #FF458D 0%, #FA256C 50%, #D81B60 100%);
  --pink-glow: rgba(233, 30, 99, 0.40);
  --pink-subtle: rgba(233, 30, 99, 0.12);

  /* =========================================================================
     2. ROYAL GOLD ACCENTS (Mysore Heritage Touch)
     ========================================================================= */
  --gold-primary: #D4AF37;          /* Royal Gold */
  --gold-light: #F7E7A9;            /* Champagne Shimmer */
  --gold-dark: #997A15;             /* Antique Gold */
  --gold-gradient: linear-gradient(135deg, #FFE6A3 0%, #D4AF37 50%, #B8860B 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* =========================================================================
     3. HEADER & SURFACE COLORS
     ========================================================================= */
  --header-top-bg: #0A0A0A;         /* Top Black Bar */
  --header-nav-bg: #FFFFFF;         /* White Nav Bar */
  --header-nav-border: #EEEEEE;     /* Clean border */
  
  --bg-primary: #0C0D11;            /* Deep Rich Luxury Dark Base */
  --bg-surface: #13151D;            /* Card & Section Surface */
  --bg-surface-elevated: #1B1E29;   /* Hover / High Elevation */
  --bg-surface-hover: #222634;
  
  --bg-pure-white: #FFFFFF;
  --bg-cream-hero: #FAF7F2;
  --bg-light-luxe: #F8F9FA;
  --bg-cream-subtle: #F3EFE8;

  /* =========================================================================
     4. TYPOGRAPHY COLORS
     ========================================================================= */
  --text-pure-white: #FFFFFF;
  --text-primary: #FFFFFF;          /* Pure White on Dark */
  --text-secondary: #E2E8F0;        /* Soft White / Light Grey */
  --text-muted: #94A3B8;            /* Muted Slate */
  --text-nav-link: #1A1A1A;         /* Dark Nav Links on White */
  --text-nav-active: #E91E63;       /* Active Link Pink */
  --text-dark: #0F172A;             /* Dark text on Light */
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748B;

  /* =========================================================================
     5. BORDERS & GLASSMORPHISM
     ========================================================================= */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.22);
  --border-pink: rgba(233, 30, 99, 0.45);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-light: rgba(0, 0, 0, 0.08);

  --glass-bg: rgba(19, 21, 29, 0.85);
  --glass-bg-card: rgba(27, 30, 41, 0.8);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(20px);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

  /* =========================================================================
     6. SHADOWS
     ========================================================================= */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-pink: 0 8px 30px rgba(233, 30, 99, 0.4);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.3);

  /* =========================================================================
     7. TYPOGRAPHY
     ========================================================================= */
  --font-serif-royal: 'Playfair Display', 'Italiana', Georgia, serif;
  --font-serif-editorial: 'Italiana', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* =========================================================================
     8. LAYOUT & SPACING
     ========================================================================= */
  --max-width: 1360px;
  --max-width-narrow: 1040px;
  --max-width-wide: 1520px;
  --header-height: 76px;
  --header-height-mobile: 68px;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* =========================================================================
     9. TRANSITIONS
     ========================================================================= */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  touch-action: manipulation;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--green-primary);
  color: #07150E;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
}

/* Prevent mobile auto-zoom on input click/focus */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea,
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
  }
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */

.font-royal {
  font-family: var(--font-serif-royal);
}

.font-editorial {
  font-family: var(--font-serif-editorial);
}

.font-royal {
  font-family: var(--font-serif-royal);
}

.font-editorial {
  font-family: var(--font-serif-editorial);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-pink-gradient {
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-pink);
  margin-bottom: 1rem;
}

.eyebrow-tag::before,
.eyebrow-tag::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--pink-gradient);
}

.section-heading-wrapper {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}

.section-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

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

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

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

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

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

/* Section Background Variants */
.bg-dark {
  background-color: var(--bg-primary);
  position: relative;
}

.bg-surface-dark {
  background-color: var(--bg-surface);
  position: relative;
}

.bg-light-luxe {
  background-color: var(--bg-pure-white);
  color: var(--text-dark);
  position: relative;
}

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

.bg-light-luxe .section-subtitle {
  color: var(--text-dark-secondary);
}

.bg-light-luxe .eyebrow-tag {
  color: var(--primary-pink);
}

.bg-light-luxe .eyebrow-tag::before,
.bg-light-luxe .eyebrow-tag::after {
  background: var(--pink-gradient);
}

/* ==========================================================================
   Luxury Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-pink,
.btn-primary-gold {
  background: var(--pink-gradient);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35);
  border: none;
}

.btn-primary-pink:hover,
.btn-primary-gold:hover {
  background: var(--pink-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(233, 30, 99, 0.55);
  color: #FFFFFF;
}

.btn-secondary-outline {
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary-outline:hover {
  background: rgba(233, 30, 99, 0.15);
  border-color: var(--primary-pink);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp-glow {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.65);
  color: #FFFFFF;
}

.btn-light-dark {
  background: var(--bg-surface);
  color: var(--text-pure-white);
  border: 1px solid var(--border-subtle);
}

.btn-light-dark:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary-pink);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.badge-gold,
.badge-pink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-subtle);
  color: var(--primary-pink);
  border: 1px solid var(--border-pink);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

/* Glass Card Base */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-pink);
  box-shadow: var(--shadow-pink), var(--glass-shadow);
}
