/* 
  Wedding Invitation Website - Design System & Stylesheet
  Couple: Ilya & Anna
  Date: 08.08.2026
  Theme: Premium Sevastopol Maritime LIGHT THEME - ZERO GOLD EDITION (Ivory & Dominant Marine Blue & Silver-Pearl)
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500;600&family=Pinyon+Script&display=swap');

:root {
  /* Maritime Light-Theme Color Palette */
  --navy-darkest: #f4f7fa;       /* Very soft grayish light blue background */
  --navy-deep: #ffffff;          /* Pure white card basis */
  --navy-medium: #eef3f7;        /* Soft seafoam blue-gray for borders/tracks */
  --navy-light: #0b1e36;         /* Deep rich navy for bold titles and headings */
  --navy-soft: #1d3354;          /* Medium dark navy for body texts and readability */
  
  /* Primary Accent: Deep Marine Blue */
  --blue-accent: #003366;
  --blue-gradient: linear-gradient(135deg, #0b1e36 0%, #1b3b6f 50%, #003366 100%);
  
  /* Metallic Accent: Pearl-Silver & Steel Blue instead of Gold */
  --gold-primary: #7592a8;       /* Steel blue-silver */
  --gold-light: #dce7f0;         /* Pearl white-silver */
  --gold-dark: #445d70;          /* Deep slate-silver */
  --gold-gradient: linear-gradient(135deg, #445d70 0%, #dce7f0 50%, #7592a8 100%);
  
  --white-pure: #0b1e36;         /* Heading text - deep navy */
  --white-soft: #1d3354;         /* Body text - soft navy */
  --sand: #e0d5c1;
  
  /* Layout & Glassmorphism Properties */
  --glass-bg: rgba(255, 255, 255, 0.9); /* Opaque white glass */
  --glass-border: rgba(11, 30, 54, 0.08); /* Very soft navy borders */
  --glass-shadow: 0 16px 40px rgba(11, 30, 54, 0.05); /* Soft drop shadows */
  --glow-shadow: 0 0 20px rgba(11, 30, 54, 0.06); /* Soft blue glow */
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-script: 'Pinyon Script', cursive;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--navy-darkest);
  color: var(--white-soft);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Base Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-soft);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--navy-light);
}

/* Page Background & Grid Overlay */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 50% 50%, var(--navy-deep) 0%, var(--navy-darkest) 100%);
  background-size: cover;
}

.page-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/marine_bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.82;
  filter: contrast(1.02) brightness(0.99);
  pointer-events: none;
}

.wave-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35vh;
  z-index: -1;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.7), transparent);
  pointer-events: none;
}

/* Interactive Top Navigation / Scroll Indicator */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(11, 30, 54, 0.04);
  z-index: 100;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--blue-gradient);
  box-shadow: 0 0 10px rgba(11, 30, 54, 0.3);
  transition: width 0.1s ease-out;
}

/* Reusable Components & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white-pure);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.accent-text {
  font-family: var(--font-script);
  color: var(--navy-light); /* Dark Navy script color */
  font-size: 3.5rem;
  line-height: 1;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  width: 100%;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-medium), transparent);
  flex-grow: 1;
  margin: 0 1.5rem;
}

.divider .anchor-icon {
  color: var(--navy-light); /* Deep Navy shell icon */
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatShell 4s ease-in-out infinite;
}

/* Glass Card Definition */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(11, 30, 54, 0.18); /* Navy hover border */
  box-shadow: 0 20px 45px rgba(11, 30, 54, 0.07), var(--glow-shadow);
}

/* Button & Interactivity - Rebuilt as Marine Blue with Steel-Silver frame */
.btn-gold {
  position: relative;
  background: var(--blue-gradient);
  color: #ffffff; /* White text for contrast */
  border: 1px solid var(--gold-primary); /* Steel-silver framing */
  padding: 1.1rem 2.8rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(11, 30, 54, 0.2);
  transition: var(--transition-smooth);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11, 30, 54, 0.35), var(--glow-shadow);
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 30, 54, 0.15);
}

/* Full Layout Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Reveal Scroll Class */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(255, 255, 255, 0.35) 95%);
  z-index: 1;
  pointer-events: none;
}

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

.monogram-container {
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 2px solid var(--navy-light); /* Navy monogram border */
  padding: 4px;
  position: relative;
  box-shadow: 0 0 15px rgba(11, 30, 54, 0.1);
  cursor: pointer;
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.monogram-container:hover {
  transform: scale(1.05) rotate(5deg);
  border-color: var(--navy-soft);
}

.monogram-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.4);
}

.hero-names {
  font-size: 4.8rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
  font-family: var(--font-serif);
}

.hero-names span {
  display: block;
  font-family: var(--font-script);
  font-size: 6rem;
  color: var(--navy-light); /* Navy ampersand */
  margin: -1rem 0;
  text-shadow: none;
}

.hero-details {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--white-soft);
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.hero-location {
  color: var(--navy-soft); /* Navy location */
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* COUNTDOWN TIMER */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3.5rem auto 1.5rem;
  max-width: 600px;
}

.countdown-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(11, 30, 54, 0.08);
  border-radius: 12px;
  padding: 1.2rem 0.5rem;
  box-shadow: 0 8px 24px rgba(11, 30, 54, 0.04);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-gradient); /* Blue indicator line */
  opacity: 0.8;
}

.countdown-box:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 30, 54, 0.2);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white-pure);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy-soft); /* Navy label */
  font-weight: 600;
}

.hero-scroll-btn {
  margin-top: 3.5rem;
  color: var(--white-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: var(--transition-smooth);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-btn:hover {
  opacity: 1;
  color: var(--navy-light);
}

.hero-scroll-btn svg {
  margin-top: 0.5rem;
  width: 18px;
  height: 18px;
  animation: bounceArrow 2s infinite;
}

/* WELCOME SECTION */
.welcome-card {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--white-soft);
  font-family: var(--font-sans);
  margin-bottom: 1.5rem;
}

.welcome-quote {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--navy-light); /* Navy quote */
  margin-top: 2.5rem;
  line-height: 1.4;
}

/* LOVE STORY SECTION (Timeline) */
.story-timeline {
  position: relative;
  max-width: 850px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--navy-medium) 15%, var(--navy-medium) 85%, transparent); /* Blue-gray line */
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--navy-light); /* Navy border */
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 12px rgba(11, 30, 54, 0.1);
}

.timeline-node svg {
  width: 20px;
  height: 20px;
  color: var(--navy-light); /* Navy seashell inside timeline */
}

.timeline-content {
  width: 44%;
  float: left;
  text-align: right;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
}

.timeline-date {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy-light); /* Navy dates */
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 600;
}

.timeline-title {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--white-soft);
  line-height: 1.6;
}

/* SCHEDULE SECTION */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.schedule-card {
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.schedule-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--navy-medium);
  transition: var(--transition-smooth);
}

.schedule-card:hover::after {
  background: var(--blue-gradient);
}

.schedule-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(11, 30, 54, 0.03);
  border: 1px solid rgba(11, 30, 54, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  color: var(--navy-light); /* Navy icons */
  transition: var(--transition-smooth);
}

.schedule-card:hover .schedule-icon-wrapper {
  background: var(--navy-medium);
  border-color: var(--navy-light);
  transform: scale(1.1);
  box-shadow: var(--glow-shadow);
}

.schedule-time {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy-light); /* Navy time headings */
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.schedule-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-serif);
}

.schedule-desc {
  font-size: 0.9rem;
  color: var(--white-soft);
  line-height: 1.5;
}

/* MAP SECTION */
.map-container {
  margin-top: 3.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 380px;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 30, 54, 0.04);
  border: 1px solid var(--navy-light); /* Blue badge border */
  color: var(--navy-soft);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.map-badge:hover {
  background: var(--blue-gradient);
  color: #ffffff;
  border-color: var(--navy-light);
  box-shadow: 0 5px 15px rgba(11, 30, 54, 0.25);
}

/* DRESS CODE SECTION */
.dress-code-card {
  max-width: 800px;
  margin: 0 auto;
}

.dress-code-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--white-soft);
}

.palette-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.color-swatch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.color-swatch {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 25px rgba(11, 30, 54, 0.12);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 30px rgba(11, 30, 54, 0.2);
}

.color-name {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-pure);
  opacity: 0.9;
}

.color-hex {
  font-size: 0.75rem;
  color: var(--navy-soft); /* Blue hex code */
  margin-top: 0.1rem;
  font-weight: 500;
}

/* RSVP SECTION (FORM) */
.rsvp-card {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-pure);
  margin-bottom: 0.8rem;
}

.input-text {
  width: 100%;
  background: rgba(11, 30, 54, 0.02);
  border: 1px solid rgba(11, 30, 54, 0.12);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  color: var(--white-pure);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-text:focus {
  background: rgba(11, 30, 54, 0.04);
  border-color: var(--navy-light);
  box-shadow: 0 0 10px rgba(11, 30, 54, 0.06);
}

/* Custom Styled Radio and Checkbox Options */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.custom-radio {
  position: relative;
  cursor: pointer;
  display: block;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-tile {
  background: rgba(11, 30, 54, 0.02);
  border: 1px solid rgba(11, 30, 54, 0.1);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.custom-radio input:checked + .radio-tile {
  background: rgba(11, 30, 54, 0.04);
  border-color: var(--navy-light);
  box-shadow: var(--glow-shadow);
}

.radio-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white-soft);
}

.custom-radio input:checked + .radio-tile .radio-title {
  color: var(--navy-light);
}

/* Grid checklist for drinks / food */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

.custom-checkbox {
  position: relative;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-tile {
  background: rgba(11, 30, 54, 0.02);
  border: 1px solid rgba(11, 30, 54, 0.1);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.custom-checkbox input:checked + .checkbox-tile {
  background: rgba(11, 30, 54, 0.04);
  border-color: var(--navy-light);
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--white-soft);
  font-weight: 500;
}

.custom-checkbox input:checked + .checkbox-tile .checkbox-label {
  color: var(--navy-light);
}

/* Switch styling for plus-one & transfer */
.switch-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 30, 54, 0.01);
  border: 1px solid rgba(11, 30, 54, 0.04);
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

.switch-label-desc {
  font-size: 0.8rem;
  color: var(--white-soft);
  margin-top: 0.1rem;
  opacity: 0.85;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy-medium);
  border: 1px solid rgba(11, 30, 54, 0.1);
  transition: .4s;
  border-radius: 34px;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(11,30,54,0.1);
}

.switch input:checked + .slider {
  background-color: var(--navy-light); /* Blue active switch slider */
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.sub-fields {
  display: none;
  padding: 1.5rem;
  background: rgba(11, 30, 54, 0.01);
  border: 1px solid rgba(11, 30, 54, 0.04);
  border-radius: 12px;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.4s ease-out;
}

.sub-fields.active {
  display: block;
}

/* Q&A SECTION */
.qa-container {
  max-width: 800px;
  margin: 3.5rem auto 0;
  text-align: left;
}

.qa-item {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
}

.qa-header {
  padding: 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.qa-header h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white-pure);
  font-family: var(--font-serif);
  transition: var(--transition-smooth);
}

.qa-item.active .qa-header h3,
.qa-header:hover h3 {
  color: var(--navy-light);
}

.qa-icon {
  color: var(--navy-light);
  transition: transform 0.3s ease;
  width: 18px;
  height: 18px;
}

.qa-item.active .qa-icon {
  transform: rotate(180deg);
}

.qa-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 0.5rem;
}

.qa-item.active .qa-content {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.qa-content p {
  color: var(--white-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* HIDDEN ADMIN DASHBOARD */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 30, 54, 0.4);
  z-index: 1000;
  backdrop-filter: blur(15px);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.admin-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.admin-card {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--navy-light);
  background: #ffffff !important;
}

.admin-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--navy-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-darkest);
}

.admin-close {
  background: transparent;
  border: none;
  color: var(--white-pure);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-close:hover {
  color: var(--navy-light);
}

.admin-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
  background: #ffffff;
}

/* Dashboard Analytics Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--navy-darkest);
  border: 1px solid var(--navy-medium);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.admin-stat-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy-light);
}

.admin-stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--white-soft);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* Admin controls */
.admin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-search {
  flex-grow: 1;
  max-width: 400px;
  position: relative;
}

.admin-actions {
  display: flex;
  gap: 1rem;
}

/* Responsive Table */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--navy-medium);
}

.rsvp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.rsvp-table th {
  background: var(--navy-darkest);
  color: var(--navy-light);
  font-weight: 600;
  padding: 1rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--navy-medium);
}

.rsvp-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--navy-medium);
  color: var(--white-soft);
  background: rgba(255,255,255,0.01);
}

.rsvp-table tr:hover td {
  background: rgba(11,30,54,0.02);
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-yes {
  background: rgba(46, 213, 115, 0.1);
  color: #26af5a;
  border: 1px solid #26af5a;
}

.badge-no {
  background: rgba(255, 71, 87, 0.1);
  color: #d63031;
  border: 1px solid #d63031;
}

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.75rem !important;
}

.btn-danger {
  background: linear-gradient(135deg, #d63031 0%, #ff7675 100%) !important;
  box-shadow: 0 4px 10px rgba(214, 48, 49, 0.2) !important;
  color: white !important;
}

.btn-danger:hover {
  box-shadow: 0 6px 15px rgba(214, 48, 49, 0.4) !important;
}

/* FOOTER */
.footer {
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(11, 30, 54, 0.15);
  padding: 3px;
  background: #ffffff;
  overflow: hidden;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.4);
  object-position: 50% 48%;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy-light);
  margin-bottom: 2rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--white-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

/* ANIMATIONS DEFINITIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatShell {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* MEDIA QUERIES */

@media (max-width: 900px) {
  .hero-names {
    font-size: 3.8rem;
  }
  .hero-names span {
    font-size: 5rem;
  }
  .story-timeline::before {
    left: 40px;
  }
  .timeline-node {
    left: 40px;
  }
  .timeline-content {
    width: calc(100% - 80px);
    float: right !important;
    text-align: left !important;
    margin-left: 80px;
  }
  .timeline-item {
    margin-bottom: 3rem;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .section {
    padding: 4rem 1rem;
  }
  .glass-card {
    padding: 2rem 1.2rem;
  }
  .hero-names {
    font-size: 3rem;
  }
  .hero-names span {
    font-size: 4rem;
  }
  .countdown-container {
    gap: 0.8rem;
  }
  .countdown-box {
    padding: 0.9rem 0.3rem;
  }
  .countdown-number {
    font-size: 1.8rem;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
  .admin-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search {
    max-width: 100%;
  }
}
