/* ==========================================================================
   1. GLOBAL THEME VARIABLES
   Changing a hex code here updates the entire website instantly.
   ========================================================================== */
:root {
  --ocean-deep: #1A4A60;       /* Used for countdown background, footers, deep text */
  --ocean-light: #2D6B8A;      /* Used for hero top gradient, primary accents */
  --sunset-orange: #C4704A;    /* Used for hero mid gradient, active links, highlights */
  --cream: #FDF7EC;            /* Used for light text on dark backgrounds */
  --cream-bg: #F5EDD8;         /* Used as the main background for all content pages */
  --gold-light: #FFE066;       /* Used for accent text, numbers, eyebrows */
  --gold-dark: #E8B84B;        /* Used for radial sun gradients, subtle borders */
  
  /* Typography shortcuts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Josefin Sans', sans-serif;
}

/* ==========================================================================
   2. GLOBAL BASE STYLES
   Ensures consistent backgrounds, fonts, and text colors across ALL pages.
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--cream-bg);
  color: var(--ocean-deep);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Standard headings for content pages */
h1, h2, h3, .section-title {
  font-family: var(--font-serif);
  color: var(--ocean-deep);
  font-weight: 400;
}

p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   3. UNIFIED NAVIGATION STRIP
   ========================================================================== */
nav {
  background-color: rgba(26, 74, 96, 0.95); /* Deep ocean with slight transparency */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--gold-dark);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
}

.nav-container a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  transition: color 0.3s ease;
}

.nav-container a:hover, 
.nav-container a.active {
  color: var(--sunset-orange); /* Highlight color on hover/active page */
}

/* ==========================================================================
   4. HERO SECTION (Index Page Only)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ocean-light) 0%, var(--sunset-orange) 55%, var(--cream-bg) 100%);
  padding: 8rem 1rem 4rem;
  width: 100%;
}

.hero-sun {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 30%, var(--gold-dark) 60%, transparent 75%);
  opacity: 0.85;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 0.95; }
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
  max-width: 800px;
}

.hero-script {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 0.9;
  text-shadow: 0 2px 30px rgba(26, 74, 96, 0.4);
  letter-spacing: -0.02em;
}

.hero-amp {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--gold-light);
  display: block;
  margin: 0.3rem 0;
}

.hero-date {
  font-family: var(--font-sans);
  font-weight: 200;
  letter-spacing: 0.35em;
  font-size: clamp(0.65rem, 2vw, 0.85rem);
  color: rgba(253, 247, 236, 0.85);
  text-transform: uppercase;
  margin-top: 2rem;
  padding: 0 1rem;
}

.hero-location {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-style: italic;
  color: rgba(253, 247, 236, 0.9);
  margin-top: 0.5rem;
}

.hero-palms-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

/* ==========================================================================
   5. COUNTDOWN SECTION
   ========================================================================== */
.countdown-section {
  background: var(--ocean-deep);
  color: var(--cream);
  padding: 5rem 1.5rem;
  width: 100%;
}

.countdown-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.countdown-inner .section-title { 
  color: var(--cream); 
  font-size: 2.5rem; 
  margin-bottom: 0;
}

.countdown-inner .section-eyebrow { 
  color: var(--gold-light); 
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.count-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1.8rem 0.5rem;
}

.count-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.count-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(253, 247, 236, 0.5);
  margin-top: 0.6rem;
  display: block;
}

@media (max-width: 768px) {
  .countdown-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
  }
}

/* ==========================================================================
   6. UNIFIED FOOTER
   ========================================================================== */
footer {
  background-color: var(--ocean-deep);
  color: rgba(253, 247, 236, 0.6);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 3rem 1rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.5rem;
}

/* Paste it at the very bottom of styles.css */
/* Forces both section headers to be the exact same font size */
.countdown-section .section-title, 
.schedule-full .section-title {
    font-size: 2.5rem !important; 
}
footer {
  font-size: 0.6rem !important;        /* Ultra-compact font size */
  font-weight: 300 !important;         /* Keeps it light and delicate */
  letter-spacing: 0.12em !important;   /* Clean track spacing for readability at micro-sizes */
  color: #a0a0a0 !important;           /* Muted tone to sit quietly at the bottom */
  padding: 0.75rem 1.5rem !important;  /* Tightens vertical space to less than an inch */
  margin: 0 !important;                /* Eliminates any stray bounding layout margin */
  text-align: center !important;
  line-height: 1.2 !important;         /* Minimizes line height to collapse extra vertical text wrap space */
}

/* Keeps the names balanced on the same line without expanding the layout height */
footer span {
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
