/* ================================================================
   LILIAN & KELVIN ROYAL SEND-OFF PORTAL STYLESHEET
   Theme: Royal Emerald, Champagne & Shimmering Gold Luxury
   ================================================================ */

/* Wedding Global Top Navbar */
.wedding-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
  background: rgba(5, 20, 14, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.wedding-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wedding-logo-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(4, 20, 14, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.wedding-brand-text .couple-initials {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.wedding-brand-text .wedding-date-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.wedding-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.wedding-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.wedding-nav-links a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.wedding-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Discreet Golden Lock Button for Committee */
.btn-kamati-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(250, 225, 156, 0.15) 0%, rgba(212, 175, 55, 0.25) 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.btn-kamati-lock:hover {
  background: var(--gold-gradient);
  color: #04140e;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.btn-music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-music-toggle:hover, .btn-music-toggle.playing {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
}

/* ==========================================
   HERO BANNER
   ========================================== */
.wedding-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px 20px;
  overflow: hidden;
  background: 
    linear-gradient(180deg, rgba(4, 20, 14, 0.82) 0%, rgba(7, 21, 16, 0.94) 100%),
    url('/images/wedding_venue.jpg') center/cover no-repeat;
}

.wedding-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-royal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.hero-couple-avatar {
  width: 170px;
  height: 170px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  padding: 6px;
  background: var(--gold-gradient);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.45);
  position: relative;
}

.hero-couple-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #051810;
}

.hero-couple-title {
  font-family: var(--font-script), 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 12px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.hero-event-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.hero-event-details-bar {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 28px;
  background: rgba(13, 40, 28, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(4, 20, 14, 0.8);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 16px 20px;
  min-width: 90px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   LOOKUP VIP CARD SECTION
   ========================================== */
.lookup-section {
  padding: 0 20px;
  margin-top: -35px;
  position: relative;
  z-index: 10;
}

.lookup-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(13, 37, 28, 0.95) 0%, rgba(6, 22, 15, 0.98) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
  text-align: center;
}

.lookup-input-wrap {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.lookup-input-wrap input {
  flex: 1;
  min-width: 260px;
  background: rgba(3, 15, 10, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  outline: none;
}

.lookup-input-wrap input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
.wedding-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   LOVE STORY SECTION & LILIAN'S JOURNEY
   ========================================== */
.story-lead-banner {
  background: linear-gradient(135deg, rgba(5, 30, 20, 0.85) 0%, rgba(10, 48, 32, 0.85) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.story-lead-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.story-lead-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  font-style: italic;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 12px auto;
}

.story-lead-author {
  font-size: 0.88rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 15px rgba(212, 175, 55, 0.15);
}

.story-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.story-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.story-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.story-card.featured {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, rgba(8, 38, 26, 0.9) 0%, rgba(3, 18, 12, 0.95) 100%);
}

.story-card.featured .story-badge {
  background: var(--gold-gradient);
  color: #03140d;
  font-weight: 800;
}

.story-step-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
}

.story-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  line-height: 1.35;
}

.story-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
  flex: 1;
}

/* ==========================================
   PHOTO GALLERY
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-glass-border);
  height: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 20, 14, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--gold-light);
}

/* ==========================================
   EVENT TIMELINE
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-time-badge {
  min-width: 110px;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  height: fit-content;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 20px 24px;
}

.timeline-content h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================
   DRESS CODE SWATCHES
   ========================================== */
.dress-code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.swatch-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.swatch-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   WISHES BOARD
   ========================================== */
.wishes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wishes-stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
}

.wish-bubble {
  background: rgba(13, 37, 28, 0.7);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 18px 20px;
}

.wish-author {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.wish-text {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.5;
}

/* ==========================================
   KAMATI VIP PIN LOCK MODAL
   ========================================== */
.pin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pin-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.pin-modal-box {
  background: linear-gradient(145deg, #09241a 0%, #03140c 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 24px;
  padding: 36px 30px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  position: relative;
}

.pin-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.pin-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(4, 20, 14, 0.9) 100%);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pin-input {
  width: 100%;
  background: rgba(4, 18, 12, 0.85);
  border: 2px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: monospace;
  font-size: 2rem;
  letter-spacing: 12px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 14px;
  margin: 20px 0 16px 0;
  outline: none;
  box-sizing: border-box;
}

.pin-error-msg {
  color: #e74c3c;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 22px;
  margin-bottom: 12px;
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.pin-key {
  padding: 14px 0;
  font-size: 1.3rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #ffffff;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.pin-key:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.pin-key:active {
  transform: scale(0.94);
}

@keyframes shakeModal {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

.shake {
  animation: shakeModal 0.4s ease;
}

@media (max-width: 768px) {
  .wedding-navbar {
    padding: 12px 18px;
  }
  .wedding-nav-links {
    display: none;
  }
  .wishes-layout {
    grid-template-columns: 1fr;
  }
}
