/* =========================================================
   Wedding6 - Dark Romance / Moody Template
   Candlelit winter wedding, dramatic & luxurious
   ========================================================= */

/* --- CSS Custom Properties --- */
:root {
    --primary-color: #722F37;
    --secondary-color: #D4AF37;
    --accent-color: #1B3A2D;
    --dark-color: #1A1A1D;
    --light-color: #2D2D2D;
    --white-color: #F5F0EB;
    --gradient-primary: linear-gradient(135deg, #722F37 0%, #8B3A42 50%, #D4AF37 100%);
    --gradient-burgundy: linear-gradient(135deg, #722F37 0%, #5A252C 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8962E 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A1D 0%, #2D2D2D 100%);
    --section-padding: 100px 0;
    --font-display: 'Cinzel', serif;
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Crimson Text', serif;
    /* Kanonische Font-Aliase */
    --font-heading: var(--font-primary);
    --font-body: var(--font-secondary);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-medium: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --shadow-warm: 0 0 30px rgba(212, 175, 55, 0.05);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.08);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

/* --- General Styles --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--white-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white-color);
    line-height: 1.4;
}

p {
    margin-bottom: 20px;
    color: rgba(245, 240, 235, 0.85);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #E8C84A;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    overflow: hidden;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    position: relative;
    z-index: 2;
}

/* --- Floating Gold Particles (CSS-only) --- */
.gold-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s infinite ease-in-out;
}

.p1 { left: 10%; animation-delay: 0s; animation-duration: 14s; }
.p2 { left: 25%; animation-delay: 2s; animation-duration: 11s; }
.p3 { left: 40%; animation-delay: 4s; animation-duration: 16s; }
.p4 { left: 55%; animation-delay: 1s; animation-duration: 13s; }
.p5 { left: 70%; animation-delay: 3s; animation-duration: 15s; }
.p6 { left: 85%; animation-delay: 5s; animation-duration: 12s; }
.p7 { left: 15%; animation-delay: 6s; animation-duration: 17s; }
.p8 { left: 60%; animation-delay: 7s; animation-duration: 10s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
        transform: translateY(50vh) scale(1) translateX(20px);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) scale(0.5) translateX(-10px);
        opacity: 0;
    }
}

/* --- Section Divider (gold line with diamond) --- */
.section-divider-line {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider-line .diamond {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    transform: rotate(45deg);
    position: relative;
    top: 0;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-inner {
    text-align: center;
}

.candle-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    animation: candleFlicker 1.5s infinite alternate;
    margin-bottom: 20px;
}

@keyframes candleFlicker {
    0% { opacity: 0.6; transform: scale(0.95); text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { opacity: 1; transform: scale(1.05); text-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
    100% { opacity: 0.8; transform: scale(1); text-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
}

.loading-text {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 4px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    transition: var(--transition-medium);
    will-change: background-color, padding;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.navbar-scrolled {
    background-color: rgba(26, 26, 29, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(212, 175, 55, 0.15);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-dark .navbar-brand {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white-color);
    transition: var(--transition-fast);
    letter-spacing: 2px;
}

.brand-amp {
    color: var(--secondary-color);
    font-style: italic;
    margin: 0 4px;
}

.navbar-scrolled .navbar-brand {
    color: var(--white-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(245, 240, 235, 0.8);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px;
    transition: var(--transition-fast);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-scrolled .navbar-nav .nav-link {
    color: rgba(245, 240, 235, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-toggler {
    padding: 0;
    border: none;
    font-size: 24px;
}

.navbar-dark .navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler i {
    color: var(--secondary-color);
}

.navbar-scrolled .navbar-toggler i {
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease;
    animation: slideshow 20s infinite;
}

.hero-slide.default-bg {
    background-image: linear-gradient(135deg, #1A1A1D 0%, #2D2D2D 50%, #722F37 100%);
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

@keyframes slideshow {
    0%, 20% {
        opacity: 1;
        transform: scale(1);
    }
    25%, 95% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 29, 0.5) 0%,
        rgba(26, 26, 29, 0.6) 50%,
        rgba(26, 26, 29, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white-color);
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.name-box {
    font-family: var(--font-display);
    margin-bottom: 30px;
}

.first-name, .second-name {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
    letter-spacing: 6px;
}

.ampersand {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-style: italic;
    margin: -20px 0;
    position: relative;
    display: inline-block;
    color: var(--white-color);
    opacity: 0.7;
}

.ampersand::before, .ampersand::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
    position: absolute;
    top: 50%;
}

.ampersand::before {
    right: 80px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.ampersand::after {
    left: 80px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.wedding-date {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.8);
}

.countdown-container {
    margin-bottom: 50px;
}

.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-box {
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.6) 0%, rgba(114, 47, 55, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    width: 100px;
    height: 100px;
    margin: 0 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: var(--transition-medium);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}

.countdown-box:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
}

.countdown-label {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    color: rgba(245, 240, 235, 0.7);
}

.scroll-down {
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    transition: var(--transition-fast);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.scroll-down a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--white-color);
}

.section-header.light h2 {
    color: var(--white-color);
}

.section-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white-color);
    letter-spacing: 3px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.divider span {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.divider span:last-child {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.divider-diamond {
    width: 8px !important;
    height: 8px !important;
    background: var(--secondary-color) !important;
    transform: rotate(45deg);
    display: inline-block;
    flex-shrink: 0;
}

.section-header.light .divider span {
    background: var(--secondary-color);
}

/* --- Story Section --- */
.story-section {
    background: var(--dark-color);
}

.story-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.story-content {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    line-height: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(245, 240, 235, 0.85);
}

/* --- Timeline / Agenda --- */
.agenda-section {
    background: var(--dark-color);
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: var(--gradient-gold);
    z-index: 1;
    transition: height 0.5s ease;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(212, 175, 55, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--dark-color), 0 0 0 6px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.timeline-content {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-warm);
    position: relative;
    width: calc(50% - 40px);
    margin-left: calc(50% + 40px);
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.timeline-content:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.15);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 40px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--light-color) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--light-color);
}

.timeline-time {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.timeline-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--white-color);
    font-family: var(--font-display);
}

.timeline-description {
    color: rgba(245, 240, 235, 0.7);
    font-family: var(--font-secondary);
}

/* --- Venue Section --- */
.venue-section {
    background: var(--light-color);
    padding: var(--section-padding);
}

.venue-details {
    margin-top: 40px;
}

.venue-info {
    position: relative;
}

.venue-card {
    background-color: rgba(26, 26, 29, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-warm);
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.venue-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.6rem;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-card h3 i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.venue-address, .travel-info {
    display: flex;
    margin-bottom: 20px;
}

.venue-address i, .travel-info i {
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.venue-address address, .travel-info .travel-content {
    font-style: normal;
    line-height: 1.8;
    flex-grow: 1;
    color: rgba(245, 240, 235, 0.8);
}

.venue-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.wedding-map-marker {
    background: none !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-map-marker i {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.no-map {
    height: 400px;
    border-radius: 12px;
    background-color: rgba(26, 26, 29, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.no-map-content {
    padding: 30px;
}

.no-map-content i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.no-map-content p {
    color: rgba(245, 240, 235, 0.6);
}

/* --- Location Tabs --- */
.modern-location-tabs {
    margin-bottom: 30px;
}

.modern-location-tabs .nav-pills {
    background-color: rgba(26, 26, 29, 0.5);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.modern-location-tabs .nav-link {
    color: rgba(245, 240, 235, 0.7);
    font-family: var(--font-display);
    font-size: 0.85rem;
    padding: 12px 20px;
    border-radius: 30px;
    margin: 5px;
    transition: var(--transition-medium);
    background-color: transparent;
    letter-spacing: 1px;
}

.modern-location-tabs .nav-link:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
}

.modern-location-tabs .nav-link i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.modern-location-tabs .nav-link.active {
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(114, 47, 55, 0.3);
    transform: translateY(-2px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: var(--dark-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.15);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: sepia(15%) saturate(1.2) brightness(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(114, 47, 55, 0.2) 0%,
        rgba(26, 26, 29, 0.6) 100%
    );
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-fast);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* --- RSVP Section --- */
.rsvp-section {
    background-color: var(--dark-color);
}

.rsvp-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 45px;
    box-shadow: var(--shadow-warm);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 12px 12px 0 0;
}

.form-floating .form-control {
    background-color: rgba(26, 26, 29, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--white-color);
    height: 60px;
    border-radius: 8px;
}

.form-floating .form-control:focus {
    background-color: rgba(26, 26, 29, 0.7);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    color: var(--white-color);
}

.form-floating label {
    color: rgba(245, 240, 235, 0.5);
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--secondary-color);
}

.form-floating textarea.form-control {
    height: auto;
}

.attendance-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--white-color);
}

.attendance-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.attendance-option {
    flex: 1;
}

.attendance-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background-color: rgba(26, 26, 29, 0.5);
    color: rgba(245, 240, 235, 0.7);
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.attendance-btn:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--white-color);
}

.btn-check:checked + .attendance-btn {
    background: var(--gradient-burgundy);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(114, 47, 55, 0.3);
}

.btn-submit {
    background: var(--gradient-burgundy);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    padding: 14px 45px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-medium);
    box-shadow: 0 5px 20px rgba(114, 47, 55, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(114, 47, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.15);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* RSVP Alerts */
.rsvp-section .alert {
    background-color: rgba(26, 26, 29, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--white-color);
    border-radius: 8px;
}

.rsvp-section .alert-success {
    border-color: rgba(27, 58, 45, 0.5);
    background-color: rgba(27, 58, 45, 0.2);
}

.rsvp-section .alert-danger {
    border-color: rgba(114, 47, 55, 0.5);
    background-color: rgba(114, 47, 55, 0.2);
}

.rsvp-section .alert-info {
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(212, 175, 55, 0.1);
}

.rsvp-section .alert-warning {
    border-color: rgba(212, 175, 55, 0.4);
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--secondary-color);
}

/* --- Additional Info Section --- */
.additional-info-section {
    background-color: var(--light-color);
}

.info-card {
    background-color: var(--dark-color);
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-medium);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.08);
    box-shadow: var(--shadow-warm);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.15);
}

.info-card.gifts { border-top-color: var(--secondary-color); }
.info-card.accommodations { border-top-color: var(--accent-color); }
.info-card.dress-code { border-top-color: var(--primary-color); }
.info-card.transportation { border-top-color: var(--secondary-color); }
.info-card.photos { border-top-color: var(--primary-color); }
.info-card.special { border-top-color: var(--secondary-color); }

.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;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.info-content {
    text-align: center;
    overflow-y: auto;
    word-break: break-word;
    color: rgba(245, 240, 235, 0.8);
}

.info-content::-webkit-scrollbar {
    width: 4px;
}

.info-content::-webkit-scrollbar-track {
    background: transparent;
}

.info-content::-webkit-scrollbar-thumb {
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

/* --- Swiper Customizations --- */
.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--secondary-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-color);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
}

/* --- Contacts Section --- */
.contacts-section {
    background-color: var(--dark-color);
}

.contact-card {
    background-color: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-warm);
    height: 100%;
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.15);
}

.contact-image {
    width: 150px;
    height: 150px;
    margin: 25px auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.contact-card:hover .contact-image img {
    transform: scale(1.05);
}

.contact-info {
    padding: 20px 25px 25px;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-family: var(--font-display);
    color: var(--white-color);
}

.contact-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-details {
    margin-bottom: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.contact-detail i {
    width: 25px;
    color: var(--secondary-color);
    margin-right: 10px;
}

.contact-detail a {
    color: rgba(245, 240, 235, 0.7);
}

.contact-detail a:hover {
    color: var(--secondary-color);
}

.contact-more-info {
    font-size: 0.9rem;
    color: rgba(245, 240, 235, 0.6);
}

.contact-cta {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--font-display);
    color: var(--white-color);
}

.contact-cta p {
    color: rgba(245, 240, 235, 0.7);
}

.btn-contact {
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition-medium);
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-family: var(--font-primary);
}

.btn-contact:hover {
    background: var(--gradient-gold);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--light-color);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: var(--shadow-warm);
    background-color: var(--dark-color);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 25px;
    background-color: var(--dark-color);
    color: var(--white-color);
    letter-spacing: 0.5px;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.2);
}

.accordion-button::after {
    background-size: 16px;
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(500%) hue-rotate(10deg) brightness(95%);
}

.accordion-body {
    padding: 25px;
    background-color: var(--dark-color);
    color: rgba(245, 240, 235, 0.8);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.accordion-collapse {
    border: none;
}

/* --- Footer --- */
.footer {
    background-color: #111113;
    color: var(--white-color);
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.footer-separator .footer-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.footer-separator .footer-line:last-child {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.footer-separator i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.footer-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-names {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    letter-spacing: 3px;
}

.footer-date {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: rgba(245, 240, 235, 0.5);
    text-transform: uppercase;
}

.footer-gallery {
    margin-bottom: 40px;
}

.footer-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-gallery-item {
    width: calc(16.666% - 10px);
    margin: 5px;
    border-radius: 6px;
    overflow: hidden;
    height: 120px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-medium);
}

.footer-gallery-item:hover img {
    transform: scale(1.1);
    filter: sepia(10%) brightness(1.1);
}

.footer-info {
    margin-bottom: 40px;
}

.footer-text {
    text-align: center;
    color: rgba(245, 240, 235, 0.5);
    font-size: 0.9rem;
    line-height: 1.8;
}

.legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.legal-links a {
    color: rgba(245, 240, 235, 0.4);
    margin: 0 15px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.legal-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(245, 240, 235, 0.3);
    font-family: var(--font-primary);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-medium);
    z-index: 100;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-gold);
    color: var(--dark-color);
    transform: translateY(-5px);
}

/* --- Modal Styles --- */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background-color: var(--light-color);
}

.modal-header {
    background: var(--gradient-burgundy);
    color: var(--secondary-color);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 20px 25px;
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.modal-body {
    padding: 30px;
    background-color: var(--dark-color);
    color: rgba(245, 240, 235, 0.85);
}

.btn-close {
    color: var(--secondary-color);
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
}

/* --- Language Switcher Override --- */
.language-switcher {
    position: fixed;
    z-index: 999999;
    background: rgba(45, 45, 45, 0.9);
    padding: 4px;
    top: 10px;
    right: 10px;
    opacity: 0.85;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- Claim Code Form Override --- */
.claim-code-section .form-control,
.claim-code-form .form-control {
    background-color: rgba(26, 26, 29, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--white-color);
}

.claim-code-section .form-control:focus,
.claim-code-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    background-color: rgba(26, 26, 29, 0.7);
    color: var(--white-color);
}

/* --- Smooth Dark Gradient Between Sections --- */
.story-section::after,
.agenda-section::after,
.gallery-section::after,
.rsvp-section::after,
.contacts-section::after,
.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    z-index: 1;
}

.story-section::after {
    background: linear-gradient(to bottom, transparent, var(--dark-color));
}

.venue-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--light-color));
    pointer-events: none;
    z-index: 1;
}

.gallery-section::after {
    background: linear-gradient(to bottom, transparent, var(--dark-color));
}

.additional-info-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--light-color));
    pointer-events: none;
    z-index: 1;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */

/* --- 1200px --- */
@media (max-width: 1200px) {
    .first-name, .second-name {
        font-size: 3.8rem;
    }

    .ampersand {
        font-size: 3.5rem;
    }

    .ampersand::before, .ampersand::after {
        width: 40px;
    }

    .ampersand::before {
        right: 60px;
    }

    .ampersand::after {
        left: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* --- 992px --- */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .first-name, .second-name {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .ampersand {
        font-size: 3rem;
    }

    .ampersand::before, .ampersand::after {
        width: 30px;
    }

    .ampersand::before {
        right: 50px;
    }

    .ampersand::after {
        left: 50px;
    }

    .wedding-date {
        font-size: 1.1rem;
    }

    .countdown-box {
        width: 85px;
        height: 85px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        margin-right: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-progress {
        left: 20px;
    }

    .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--light-color) transparent transparent;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--light-color) transparent transparent;
    }

    .footer-gallery-item {
        width: calc(25% - 10px);
    }

    .story-card {
        padding: 35px;
    }

    .contact-image {
        width: 120px;
        height: 120px;
    }
}

/* --- 768px --- */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .name-box {
        margin-bottom: 20px;
    }

    .first-name, .second-name {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .ampersand {
        font-size: 2.5rem;
        margin: 5px 0;
    }

    .ampersand::before, .ampersand::after {
        width: 25px;
    }

    .ampersand::before {
        right: 40px;
    }

    .ampersand::after {
        left: 40px;
    }

    .wedding-date {
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: 3px;
    }

    .countdown-box {
        width: 70px;
        height: 70px;
        margin: 0 5px 10px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .venue-card {
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .rsvp-card {
        padding: 30px;
    }

    .attendance-options {
        flex-direction: column;
        gap: 10px;
    }

    .footer-gallery-item {
        width: calc(33.333% - 10px);
    }

    .story-card {
        padding: 30px;
    }

    .story-content {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .modern-location-tabs .nav-pills {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 15px;
        padding: 5px;
    }

    .modern-location-tabs .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .venue-map {
        height: 300px;
    }

    .contact-image {
        width: 110px;
        height: 110px;
    }

    .gold-particles .p6,
    .gold-particles .p7,
    .gold-particles .p8 {
        display: none;
    }
}

/* --- 576px --- */
@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .first-name, .second-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .ampersand {
        font-size: 2rem;
    }

    .ampersand::before, .ampersand::after {
        display: none;
    }

    .wedding-date {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .countdown-box {
        width: 60px;
        height: 60px;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 9px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .venue-card, .rsvp-card {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gallery-item img {
        height: 220px;
    }

    .info-card {
        height: 380px;
        padding: 20px;
    }

    .info-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .footer-gallery-item {
        width: calc(50% - 10px);
    }

    .footer-names {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }

    .footer-date {
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .story-card {
        padding: 25px;
    }

    .story-content {
        font-size: 1rem;
    }

    .contact-image {
        width: 100px;
        height: 100px;
    }

    .contact-info h3 {
        font-size: 1.1rem;
    }

    .btn-submit {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .gold-particles .p3,
    .gold-particles .p4,
    .gold-particles .p5 {
        display: none;
    }

    .section-divider-line {
        margin: 0;
    }
}

/* --- Selection color override --- */
::selection {
    background: rgba(114, 47, 55, 0.5);
    color: var(--secondary-color);
}

::-moz-selection {
    background: rgba(114, 47, 55, 0.5);
    color: var(--secondary-color);
}

/* --- Scrollbar styling for dark theme --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.4);
}
