/* Modern Wedding Theme - Clean Style */

:root {
    --primary-color: #2d3436;
    --accent-color: #e17055;
    --accent-light: #fab1a0;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-warm: #fdf6f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
}

.heart-loader {
    width: 80px;
    height: 80px;
}

.heart-path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 3;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawHeart 2s ease forwards;
}

@keyframes drawHeart {
    to {
        stroke-dashoffset: 0;
    }
}

/* Navigation */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.navbar-brand-desktop {
    text-decoration: none;
}

.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="0.5"/></svg>');
    background-size: 150px 150px;
    opacity: 0.5;
}

.hero-content {
    padding: 150px 0 100px;
    position: relative;
    z-index: 2;
}

.save-the-date {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}

.save-the-date::before,
.save-the-date::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: var(--accent-color);
}

.save-the-date::before {
    right: calc(100% + 20px);
}

.save-the-date::after {
    left: calc(100% + 20px);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.wedding-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.date-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.date-month,
.date-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.countdown-modern {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.countdown-box {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 90px;
}

.countdown-box span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.countdown-box label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* Hero Image */
.hero-image-container {
    position: relative;
    padding: 50px;
}

.image-frame {
    position: relative;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg);
}

.couple-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-light), var(--bg-warm));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    top: 10%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: rgba(225, 112, 85, 0.3);
    bottom: 20%;
    left: 0;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(250, 177, 160, 0.5);
    bottom: 10%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-dark);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Section Styles */
.section-label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-label.light {
    color: var(--white);
}

.section-title-modern {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-title-modern.light {
    color: var(--white);
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.title-divider span {
    width: 60px;
    height: 1px;
    background: var(--accent-color);
}

.title-divider.light span {
    background: var(--white);
}

.title-divider i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.title-divider.light i {
    color: var(--white);
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Couple Section */
.couple-section {
    padding: 120px 0;
    background: var(--white);
}

.couple-row {
    align-items: center;
}

.person-modern {
    text-align: center;
}

.person-frame {
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.person-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.person-modern h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.person-title {
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.person-desc {
    color: var(--text-light);
    max-width: 300px;
    margin: 0 auto;
}

.couple-ampersand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    color: var(--accent-color);
    font-weight: 300;
    line-height: 1;
}

/* Story Section */
.story-section-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    position: relative;
    color: var(--white);
}

.story-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 200px 200px;
}

.story-timeline-modern {
    position: relative;
    z-index: 1;
}

.timeline-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.timeline-item-modern {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.timeline-date-box {
    text-align: center;
    min-width: 80px;
}

.timeline-date-box .year {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.timeline-date-box .month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
}

.timeline-content-box h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content-box p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.95rem;
}

/* Events Section */
.events-section-modern {
    padding: 120px 0;
    background: var(--bg-warm);
}

.event-card-modern {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.event-card-modern.featured {
    background: var(--text-dark);
    color: var(--white);
    transform: scale(1.05);
}

.event-card-modern.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.event-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(225, 112, 85, 0.1);
    line-height: 1;
}

.event-icon-modern {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.event-card-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.event-info {
    margin-bottom: 25px;
}

.event-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.event-info i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.event-card-modern.featured .event-info i {
    color: var(--accent-light);
}

.event-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.event-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.event-card-modern.featured .event-btn {
    border-color: var(--white);
    color: var(--white);
}

.event-card-modern.featured .event-btn:hover {
    background: var(--white);
    color: var(--text-dark);
}

/* Gallery Section */
.gallery-section-modern {
    padding: 120px 0;
    background: var(--text-dark);
}

.gallery-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), var(--bg-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.gallery-item-modern:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(225, 112, 85, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-modern:hover .gallery-overlay-modern {
    opacity: 1;
}

.gallery-overlay-modern i {
    color: var(--white);
    font-size: 2rem;
}

/* Gifts Section */
.gifts-section {
    padding: 120px 0;
    background: var(--white);
}

.gift-card {
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #eee;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gift-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.gift-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.gift-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.gift-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.gift-btn:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* RSVP Section */
.rsvp-section-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

.rsvp-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="0.5"/></svg>');
    background-size: 150px 150px;
}

.rsvp-box {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.rsvp-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-rsvp-modern {
    width: 100%;
    padding: 18px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rsvp-modern:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
}

/* Footer */
.footer-modern {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.footer-couple-names {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-date {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-divider-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-divider-modern span {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.footer-thanks {
    color: rgba(255,255,255,0.7);
}

/* Music Control */
.music-control-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.music-btn-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(225, 112, 85, 0.4);
}

.music-btn-modern:hover {
    transform: scale(1.1);
}

.music-btn-modern.playing {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(225, 112, 85, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(225, 112, 85, 0); }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .couple-ampersand {
        font-size: 5rem;
        margin: 30px 0;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .timeline-item-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .event-card-modern.featured {
        transform: scale(1);
    }
    
    .event-card-modern.featured:hover {
        transform: scale(1) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-modern {
        gap: 15px;
    }
    
    .countdown-box {
        min-width: 70px;
        padding: 15px 20px;
    }
    
    .countdown-box span {
        font-size: 2rem;
    }
    
    .rsvp-box {
        padding: 30px;
    }
    
    .footer-couple-names {
        font-size: 2rem;
    }
}