/* 
   Élégance Éternelle - Style CSS
   Site de mariage élégant, luxueux et angélique
*/

/* ===== VARIABLES ===== */
:root {
    --primary-color: #d4af37; /* Or royal */
    --secondary-color: #8a6d3b; /* Or foncé */
    --accent-color: #f8f0e3; /* Crème */
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1a1a1a;
    --light-bg: #f9f9f9;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f2d77e 50%, #d4af37 100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
    position: relative;
}

/* ===== MUSIC CONTROL ===== */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    /* Position plus basse sur mobile */
    bottom: 80px;
}

/* Ajustement pour les écrans plus grands */
@media (min-width: 768px) {
    .music-control {
        bottom: 30px;
    }
}

.music-control button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.music-control button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.music-control button i {
    transition: all 0.3s ease;
}

/* ===== SOUND OVERLAY ===== */
.sound-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.sound-overlay-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sound-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-family: var(--font-primary);
}

.sound-overlay .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sound-overlay .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sound-overlay.hidden {
    display: none;
}

/* ===== MUSIC CONTROL ===== */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#music-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(184, 163, 105, 0.5);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#music-toggle:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

#music-toggle i {
    color: #b8a369;
    font-size: 18px;
}

#music-toggle.playing i {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

/* ===== FLOATING PARTICLES (ANGELIC EFFECT) ===== */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
    animation: float 15s infinite ease-in-out;
    opacity: 0;
}

.particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.particle1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle2 {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle3 {
    top: 80%;
    left: 15%;
    animation-delay: 4s;
}

.particle4 {
    top: 30%;
    left: 60%;
    animation-delay: 6s;
}

.particle5 {
    top: 70%;
    left: 70%;
    animation-delay: 8s;
}

.particle6 {
    top: 20%;
    left: 30%;
    animation-delay: 10s;
}

.particle7 {
    top: 60%;
    left: 40%;
    animation-delay: 12s;
}

.particle8 {
    top: 50%;
    left: 10%;
    animation-delay: 14s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    border: 2px solid var(--primary-color);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo h1 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.logo p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: url('../images/DSC00714.jpg') no-repeat center top/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 20px;
    overflow: hidden;
}

/* Éléments décoratifs pour la section héro */
.decorative-element {
    position: absolute;
    z-index: 2;
    display: none; /* Caché par défaut sur mobile */
    width: 50px;
    height: 500px;
}

.decorative-element.left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.decorative-element.right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.decorative-element i {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.decorative-element i:hover {
    color: #b8a369;
    transform: scale(1.2);
}

.decorative-icon-1 {
    font-size: 30px;
    top: 0;
    left: 10px;
}

.decorative-icon-2 {
    font-size: 25px;
    top: 120px;
    left: 15px;
}

.decorative-icon-3 {
    font-size: 30px;
    top: 240px;
    left: 10px;
}

.decorative-icon-4 {
    font-size: 25px;
    top: 360px;
    left: 15px;
}

.decorative-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    left: 25px;
}

/* Citation dans la section héro */
.hero-quote {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
    display: none; /* Caché par défaut sur mobile */
}

/* Styles pour le formulaire RSVP */
.rsvp-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.rsvp-container h3 {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rsvp-form {
    margin-top: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
}

.error-text {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.deadline-info {
    margin-top: 30px;
    font-style: italic;
    color: var(--secondary-color);
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
}

.hero-quote p {
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Afficher les éléments décoratifs uniquement sur grand écran */
@media (min-width: 992px) {
    .decorative-element,
    .hero-quote {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

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

.hero h1 {
    font-family: var(--font-script);
    font-size: 5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.wedding-date {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.divider-line {
    height: 1px;
    width: 100px;
    background: var(--primary-color);
}

.divider i {
    margin: 0 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tagline {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
}

/* Styles pour le compteur dans la section héro */
.hero-countdown {
    display: none; /* Caché par défaut sur les grands écrans */
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 20px 15px 15px;
    width: 320px;
    margin: 0 auto;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-countdown h3 {
    font-family: var(--font-primary);
    color: #333333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: none;
    margin-top: 0;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    padding: 0;
    width: 100%;
}

.countdown-box {
    background-color: white;
    border-radius: 10px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.countdown-box span.number {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    color: #b8a369; /* Couleur or élégante */
    display: block;
    margin-bottom: 5px;
    line-height: 1;
    padding-top: 5px;
}

.countdown-box p {
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    color: #888;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1;
}

.countdown-date {
    font-family: var(--font-primary);
    color: #333333;
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: none;
    padding-bottom: 5px;
}

/* Styles responsives pour le compteur */
@media (max-width: 768px) {
    .hero-countdown {
        display: block; /* Afficher sur mobile */
        max-width: 320px;
        padding: 15px;
    }
    
    .countdown-box span {
        font-size: 1.5rem;
    }
    
    .countdown-box p {
        font-size: 0.7rem;
    }
}

/* ===== COUNTDOWN SECTION ===== */
.countdown {
    padding: 80px 0;
    background-color: var(--accent-color);
    text-align: center;
}

.countdown h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.countdown-item {
    background: var(--light-text);
    border-radius: 10px;
    padding: 20px;
    min-width: 120px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.countdown-item span {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.countdown-item p {
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== TESTIMONIAL ICONS ===== */
.testimonial-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--light-text);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-item:hover .testimonial-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== OUR STORY SECTION ===== */
.our-story {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.story-timeline {
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.story-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.story-item:last-child {
    margin-bottom: 0;
}

.story-image,
.story-content {
    flex: 0 0 45%;
}

.story-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.story-image img:hover {
    transform: scale(1.03);
}

.story-content {
    padding: 30px;
    background: var(--light-text);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.story-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.story-item:nth-child(odd) .story-content::before {
    right: -40px;
}

.story-item:nth-child(even) .story-content::before {
    left: -40px;
}

.story-content h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.story-content .date {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* ===== EVENT DETAILS SECTION ===== */
.event-details {
    padding: 100px 0;
    background: url('../images/DSC00656.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--light-text);
}

.event-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.event-details .container {
    position: relative;
    z-index: 2;
}

.events-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0px 30px;
    text-align: center;
    flex: 0 0 calc(33.333% - 30px);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.event-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.event-card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-time,
.event-location {
    font-family: var(--font-secondary);
    margin-bottom: 5px;
}

.event-card p {
    margin-bottom: 20px;
}

/* ===== GALLERY PREVIEW SECTION ===== */
.gallery-preview {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    transition: var(--transition);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.testimonial-item {
    flex: 0 0 calc(50% - 30px);
    display: flex;
}

.testimonial-content {
    background: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: serif;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
}

.testimonial-content p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 300px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* ===== RSVP PREVIEW SECTION ===== */
.rsvp-preview {
    padding: 100px 0;
    background: url('../images/DSC00631.jpg') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.rsvp-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.rsvp-content {
    position: relative;
    z-index: 2;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.rsvp-content h2 {
    font-family: var(--font-script);
    font-size: 3rem;
    margin-bottom: 20px;
}

.rsvp-content p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo p {
    font-family: var(--font-secondary);
    color: var(--accent-color);
}

.footer-links,
.footer-contact {
    margin-top: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .wedding-date {
        font-size: 1.8rem;
    }
    
    .event-card {
        flex: 0 0 calc(50% - 30px);
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--light-bg);
        z-index: 1001;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 80px 0 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 15px;
    }
    
    .story-timeline::before {
        left: 30px;
    }
    
    .story-item {
        flex-direction: column;
    }
    
    .story-image, 
    .story-content {
        flex: 0 0 100%;
    }
    
    .story-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .story-content {
        order: 2;
    }
    
    .story-item:nth-child(odd) .story-content::before,
    .story-item:nth-child(even) .story-content::before {
        left: -30px;
    }
    
    .event-card,
    .testimonial-item {
        flex: 0 0 100%;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .wedding-date {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        flex: 0 0 100%;
    }
}
