/* =========================================================
   Wedding10 - Fairy Tale / Enchanted Theme
   A magical dark-themed wedding template with golden accents,
   starry night sky backgrounds, and Disney-esque fairy tale feel.
   ========================================================= */

/* ---------------------------------------------------------
   CSS Variables
   --------------------------------------------------------- */
:root {
    --primary-color: #FFD700;       /* Pure gold - magical gold */
    --secondary-color: #2D1B69;     /* Deep purple/violet */
    --accent-color: #191970;        /* Midnight blue */
    --dark-color: #0F0A2E;         /* Very dark purple-black */
    --light-color: #FFFEF5;        /* Warm ivory */
    --white-color: #FFFFFF;

    --font-display: 'Cinzel Decorative', serif;
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --gold-glow: 0 0 10px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2), 0 0 40px rgba(255, 215, 0, 0.1);
    --gold-glow-strong: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3), 0 0 60px rgba(255, 215, 0, 0.15);
    --enchanted-shadow: 0 0 15px rgba(255, 215, 0, 0.1), inset 0 0 15px rgba(255, 215, 0, 0.05);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

    --transition-base: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ---------------------------------------------------------
   Global Styles
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    background-color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: #FFC200;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--dark-color);
}

/* ---------------------------------------------------------
   Golden Glow & Enchanted Effects
   --------------------------------------------------------- */
.golden-glow {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3),
                 0 0 20px rgba(255, 215, 0, 0.2),
                 0 0 40px rgba(255, 215, 0, 0.1);
}

.golden-icon {
    color: var(--primary-color);
}

.enchanted-border {
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1),
                inset 0 0 15px rgba(255, 215, 0, 0.05);
}

/* ---------------------------------------------------------
   Sparkle & Magical Animations
   --------------------------------------------------------- */
@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    75% { transform: translateY(10px) rotate(-5deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2), 0 0 10px rgba(255, 215, 0, 0.1); }
    50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes wandGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); transform: rotate(0deg); }
    50% { text-shadow: 0 0 25px rgba(255, 215, 0, 0.8); transform: rotate(15deg); }
}

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0; transform: scale(0); }
    40% { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------
   Starfield Particles Container
   --------------------------------------------------------- */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------
   Preloader
   --------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preloader-inner {
    text-align: center;
}

.magic-wand {
    font-size: 3rem;
    color: var(--primary-color);
    animation: wandGlow 2s ease-in-out infinite;
    margin-bottom: 20px;
}

.sparkle-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.sparkle-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.sparkle-dots span:nth-child(1) { animation-delay: 0s; }
.sparkle-dots span:nth-child(2) { animation-delay: 0.2s; }
.sparkle-dots span:nth-child(3) { animation-delay: 0.4s; }

#preloader .loading-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ---------------------------------------------------------
   Section Helpers (Dark / Light alternating)
   --------------------------------------------------------- */
.section {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.section-dark {
    background: linear-gradient(180deg, var(--dark-color) 0%, rgba(45, 27, 105, 0.15) 50%, var(--dark-color) 100%);
    color: var(--light-color);
}

.section-light {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* ---------------------------------------------------------
   Section Header
   --------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-dark .section-icon {
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.section-light .section-icon {
    color: var(--secondary-color);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-dark .section-header h2 {
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.section-light .section-header h2 {
    color: var(--secondary-color);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.divider span {
    display: inline-block;
    width: 80px;
    height: 1px;
}

.section-dark .divider span {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-light .divider span {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.divider i {
    font-size: 0.7rem;
    animation: sparkle 2s ease-in-out infinite;
}

.section-dark .divider i {
    color: var(--primary-color);
}

.section-light .divider i {
    color: var(--secondary-color);
}

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */
.navbar {
    padding: 15px 0;
    transition: var(--transition-base);
    background: rgba(15, 10, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
}

.navbar-scrolled {
    padding: 8px 0;
    background: rgba(15, 10, 46, 0.95);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary-color) !important;
    text-shadow: var(--gold-glow);
    letter-spacing: 1px;
}

.navbar-star {
    font-size: 0.6rem;
    vertical-align: middle;
    margin: 0 5px;
    animation: twinkle 3s ease-in-out infinite;
}

.navbar-star:last-child {
    animation-delay: 1.5s;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    color: rgba(255, 254, 245, 0.8) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 15px;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 10px;
}

.navbar-toggler i {
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.default-bg {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 40%, var(--dark-color) 100%);
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(25, 25, 112, 0.7) 0%,
        rgba(45, 27, 105, 0.75) 40%,
        rgba(15, 10, 46, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.name-box {
    margin-bottom: 30px;
}

.enchanted-frame {
    display: inline-block;
    padding: 30px 50px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15),
                inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.enchanted-frame::before,
.enchanted-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
}

.enchanted-frame::before {
    top: -2px;
    left: -2px;
    border-top: 3px solid;
    border-left: 3px solid;
}

.enchanted-frame::after {
    bottom: -2px;
    right: -2px;
    border-bottom: 3px solid;
    border-right: 3px solid;
}

.first-name,
.second-name {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                 0 0 40px rgba(255, 215, 0, 0.3),
                 0 0 80px rgba(255, 215, 0, 0.1);
    line-height: 1.3;
}

.ampersand {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 10px 0;
    animation: sparkle 3s ease-in-out infinite;
}

.ampersand i {
    text-shadow: var(--gold-glow-strong);
}

.wedding-date {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--light-color);
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-style: italic;
}

.date-ornament {
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 0.6rem;
    vertical-align: middle;
    opacity: 0.7;
}

/* Countdown */
.countdown-container {
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(15, 10, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 20px 25px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1),
                inset 0 0 20px rgba(255, 215, 0, 0.03);
    animation: pulseGlow 4s ease-in-out infinite;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(255, 254, 245, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Scroll down */
.scroll-down {
    margin-top: 30px;
}

.scroll-down a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: var(--primary-color);
    animation: scrollBounce 2s infinite;
    transition: var(--transition-base);
}

.scroll-down a:hover {
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* ---------------------------------------------------------
   Story Section (Light)
   --------------------------------------------------------- */
.story-section {
    overflow: hidden;
}

.story-content {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-color);
    padding: 40px;
    background: var(--white-color);
    border-radius: 4px;
    position: relative;
}

.story-content p {
    margin-bottom: 1rem;
}

/* Floating sparkles */
.floating-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-sparkle {
    position: absolute;
    color: rgba(255, 215, 0, 0.2);
    font-size: 0.8rem;
    animation: float 6s ease-in-out infinite;
}

.sparkle1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.sparkle2 {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.sparkle3 {
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

.section-light .floating-sparkle {
    color: rgba(45, 27, 105, 0.1);
}

/* ---------------------------------------------------------
   Agenda Section (Dark)
   --------------------------------------------------------- */
.agenda-section {
    overflow: hidden;
}

/* Timeline */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 215, 0, 0.2);
}

.timeline-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), rgba(255, 215, 0, 0.5));
    transition: height 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(even) {
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--dark-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.timeline-dot i {
    color: var(--primary-color);
    font-size: 0.7rem;
    animation: twinkle 3s ease-in-out infinite;
}

.timeline-content {
    width: calc(50% - 40px);
    background: rgba(15, 10, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 25px;
    transition: var(--transition-base);
}

.timeline-content:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2),
                inset 0 0 25px rgba(255, 215, 0, 0.05);
    transform: translateY(-3px);
}

.timeline-time {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 0.9rem;
    color: rgba(255, 254, 245, 0.7);
    line-height: 1.6;
}

/* ---------------------------------------------------------
   Venue Section (Light)
   --------------------------------------------------------- */
.venue-section .venue-details {
    margin-top: 30px;
}

.venue-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 35px;
    height: 100%;
    transition: var(--transition-base);
}

.section-light .venue-card {
    border-color: rgba(45, 27, 105, 0.2);
    box-shadow: 0 0 15px rgba(45, 27, 105, 0.05),
                inset 0 0 15px rgba(45, 27, 105, 0.02);
}

.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 27, 105, 0.1),
                0 0 20px rgba(255, 215, 0, 0.1);
}

.venue-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.venue-card h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.venue-address {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(45, 27, 105, 0.1);
}

.venue-address i {
    margin-top: 3px;
    flex-shrink: 0;
}

.venue-address address {
    font-style: normal;
    line-height: 1.6;
    color: #555;
}

.travel-info {
    display: flex;
    gap: 12px;
}

.travel-info > i {
    margin-top: 3px;
    flex-shrink: 0;
}

.travel-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.travel-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Venue Map */
.venue-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.wedding-map-marker {
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.wedding-map-marker i {
    color: var(--dark-color);
    font-size: 18px;
}

.no-map {
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 27, 105, 0.05);
    border: 1px dashed rgba(45, 27, 105, 0.2);
}

.no-map-content {
    text-align: center;
    color: rgba(45, 27, 105, 0.5);
}

.no-map-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

/* Location Tabs */
.modern-location-tabs .nav-pills {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(45, 27, 105, 0.05);
    padding: 5px;
}

.modern-location-tabs .nav-link {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    border-radius: 6px;
    padding: 12px 20px;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.modern-location-tabs .nav-link i {
    margin-right: 8px;
}

.modern-location-tabs .nav-link.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.modern-location-tabs .nav-link:hover:not(.active) {
    background: rgba(45, 27, 105, 0.1);
}

/* ---------------------------------------------------------
   Gallery Section (Dark)
   --------------------------------------------------------- */
.gallery-section {
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    aspect-ratio: 4 / 3;
    transition: var(--transition-base);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-overlay i {
    color: var(--primary-color);
    font-size: 2rem;
    text-shadow: var(--gold-glow);
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ---------------------------------------------------------
   RSVP Section (Light)
   --------------------------------------------------------- */
.rsvp-section .rsvp-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.rsvp-section .rsvp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.rsvp-section .form-control {
    border: 1px solid rgba(45, 27, 105, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    transition: var(--transition-base);
    background-color: var(--white-color);
}

.rsvp-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.15);
}

.rsvp-section .form-floating > label {
    font-family: var(--font-heading);
    color: #777;
}

.attendance-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.attendance-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.attendance-option {
    flex: 1;
    min-width: 160px;
}

.attendance-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(45, 27, 105, 0.2);
    border-radius: 8px;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    transition: var(--transition-base);
    background: var(--white-color);
}

.attendance-btn:hover {
    border-color: var(--primary-color);
    color: var(--secondary-color);
    background: rgba(255, 215, 0, 0.05);
}

.btn-check:checked + .attendance-btn {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.btn-submit {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 14px 50px;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--primary-color);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.btn-submit:hover::before {
    left: 100%;
}

/* ---------------------------------------------------------
   Additional Info Section (Dark)
   --------------------------------------------------------- */
.additional-info-section .info-card {
    background: rgba(15, 10, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: var(--transition-base);
}

.additional-info-section .info-card:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2),
                inset 0 0 25px rgba(255, 215, 0, 0.05);
    transform: translateY(-3px);
}

.additional-info-section .info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.additional-info-section .info-content {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 254, 245, 0.85);
    line-height: 1.7;
}

.additional-info-section .info-content a {
    color: var(--primary-color);
}

/* Swiper navigation & pagination */
.section-dark .swiper-button-next,
.section-dark .swiper-button-prev {
    color: var(--primary-color);
    text-shadow: var(--gold-glow);
}

.section-dark .swiper-button-next::after,
.section-dark .swiper-button-prev::after {
    font-size: 1.5rem;
}

.section-dark .swiper-pagination-bullet {
    background: rgba(255, 215, 0, 0.4);
    opacity: 1;
}

.section-dark .swiper-pagination-bullet-active {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* ---------------------------------------------------------
   Contacts Section (Light)
   --------------------------------------------------------- */
.contact-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition-base);
}

.section-light .contact-card {
    border-color: rgba(45, 27, 105, 0.15);
    box-shadow: 0 0 15px rgba(45, 27, 105, 0.05),
                inset 0 0 15px rgba(45, 27, 105, 0.02);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 27, 105, 0.1),
                0 0 20px rgba(255, 215, 0, 0.1);
}

.contact-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-role {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-details {
    margin-top: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-detail a {
    color: var(--secondary-color);
    transition: var(--transition-base);
}

.contact-detail a:hover {
    color: var(--primary-color);
}

.contact-more-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(45, 27, 105, 0.1);
    font-size: 0.9rem;
    color: #666;
}

.contact-cta h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.contact-cta p {
    color: #666;
}

.btn-contact {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--primary-color);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 12px 30px;
    transition: var(--transition-base);
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   FAQ Section (Dark)
   --------------------------------------------------------- */
.faq-section .accordion-item {
    background: rgba(15, 10, 46, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px !important;
    margin-bottom: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-section .accordion-button {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    background: transparent;
    color: var(--light-color);
    padding: 18px 25px;
    border: none;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(255, 215, 0, 0.05);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.faq-section .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(83%) sepia(74%) saturate(600%) hue-rotate(357deg) brightness(102%) contrast(104%);
    opacity: 1;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.1);
}

.faq-section .accordion-body {
    padding: 0 25px 20px;
    color: rgba(255, 254, 245, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-section .accordion-body a {
    color: var(--primary-color);
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--dark-color) 0%, #060419 100%);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-separator span {
    display: inline-block;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-separator i {
    color: var(--primary-color);
    font-size: 1rem;
    animation: sparkle 3s ease-in-out infinite;
}

.footer-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255, 254, 245, 0.6);
    font-style: italic;
    letter-spacing: 2px;
}

.footer-gallery {
    margin-bottom: 40px;
}

.footer-gallery-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-gallery-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition-base);
}

.footer-gallery-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: rgba(255, 254, 245, 0.6);
    line-height: 1.7;
    text-align: center;
}

.legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.legal-links a {
    color: rgba(255, 254, 245, 0.5);
    font-size: 0.85rem;
    margin: 0 15px;
    transition: var(--transition-base);
}

.legal-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 254, 245, 0.3);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

/* ---------------------------------------------------------
   Modals (Dark purple header with golden text)
   --------------------------------------------------------- */
.modal-content {
    background: var(--light-color);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 18px 25px;
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.modal-header .btn-close-white {
    filter: brightness(0) saturate(100%) invert(83%) sepia(74%) saturate(600%) hue-rotate(357deg) brightness(102%) contrast(104%);
    opacity: 0.7;
}

.modal-header .btn-close-white:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.7;
}

/* ---------------------------------------------------------
   Alert overrides for dark/light sections
   --------------------------------------------------------- */
.section-light .alert-success {
    background-color: rgba(45, 27, 105, 0.05);
    border-color: rgba(45, 27, 105, 0.15);
    color: var(--secondary-color);
}

.section-light .alert-info {
    background-color: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
    color: var(--secondary-color);
}

.section-light .alert-warning {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--secondary-color);
}

/* ---------------------------------------------------------
   Leaflet map overrides
   --------------------------------------------------------- */
.leaflet-container {
    border-radius: 8px;
}

/* ---------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   --------------------------------------------------------- */

/* Large desktops (1200px and up) */
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Medium desktops / tablets landscape (992px to 1199px) */
@media (max-width: 1199.98px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    .first-name,
    .second-name {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .first-name,
    .second-name {
        font-size: 2.5rem;
    }

    .enchanted-frame {
        padding: 25px 35px;
    }

    .countdown-box {
        min-width: 85px;
        padding: 15px 18px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .venue-map {
        height: 350px;
        margin-top: 30px;
    }

    .no-map {
        height: 300px;
        margin-top: 30px;
    }

    /* Timeline single column */
    .timeline::before {
        left: 20px;
    }

    .timeline-progress {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
        padding-left: 60px;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-star {
        display: none;
    }

    .footer-names {
        font-size: 1.6rem;
    }
}

/* Mobile landscape / small tablets (576px to 767px) */
@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .first-name,
    .second-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .enchanted-frame {
        padding: 20px 25px;
    }

    .wedding-date {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .countdown {
        gap: 12px;
    }

    .countdown-box {
        min-width: 70px;
        padding: 12px 14px;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .story-content {
        padding: 25px;
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rsvp-section .rsvp-card {
        padding: 25px 20px;
    }

    .venue-card {
        padding: 25px;
    }

    .additional-info-section .info-card {
        padding: 25px;
    }

    .footer-names {
        font-size: 1.4rem;
    }

    .footer-gallery-item {
        width: 60px;
        height: 60px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .modern-location-tabs .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .modern-location-tabs .nav-link i {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* Small mobile (up to 575px) */
@media (max-width: 575.98px) {
    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-icon {
        font-size: 1.5rem;
    }

    .divider span {
        width: 50px;
    }

    .first-name,
    .second-name {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .enchanted-frame {
        padding: 15px 20px;
        border-width: 1px;
    }

    .enchanted-frame::before,
    .enchanted-frame::after {
        width: 15px;
        height: 15px;
    }

    .ampersand {
        font-size: 1.4rem;
        margin: 5px 0;
    }

    .wedding-date {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .date-ornament {
        margin: 0 5px;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-box {
        min-width: 60px;
        padding: 10px 12px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item {
        border-radius: 4px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        padding-left: 50px;
    }

    .timeline-dot {
        width: 28px;
        height: 28px;
    }

    .timeline-dot i {
        font-size: 0.55rem;
    }

    .timeline-content {
        padding: 18px;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .timeline-time {
        font-size: 0.75rem;
    }

    .attendance-options {
        flex-direction: column;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 0.85rem;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .contact-image {
        width: 100px;
        height: 100px;
    }

    .footer-names {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .footer-date {
        font-size: 0.9rem;
    }

    .footer-gallery-item {
        width: 50px;
        height: 50px;
    }

    .venue-map {
        height: 280px;
    }

    .no-map {
        height: 200px;
    }
}

/* ---------------------------------------------------------
   Print styles
   --------------------------------------------------------- */
@media print {
    #starfield,
    .back-to-top,
    .scroll-down,
    #preloader,
    .navbar {
        display: none !important;
    }

    .section-dark {
        background: #fff !important;
        color: #000 !important;
    }

    .section-dark .section-header h2,
    .section-dark .timeline-title,
    .section-dark .timeline-time {
        color: #000 !important;
        text-shadow: none !important;
    }

    .enchanted-border {
        border-color: #ccc !important;
        box-shadow: none !important;
    }
}

/* Dresscode Farbpalette */
.dresscode-palette {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}
.dresscode-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    position: relative;
}
.dresscode-swatch:hover {
    transform: scale(1.15);
}
.swatch-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    margin-top: 6px;
    color: var(--text-secondary, #666);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
