/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e3f2fd 100%);
    color: #5a5a5a;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Decorative Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 205, 210, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(187, 222, 251, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(200, 230, 201, 0.3) 0%, transparent 20%);
    z-index: -1;
}

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.ring {
    width: 80px;
    height: 80px;
    border: 5px solid #e91e63;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #9c27b0;
    margin-bottom: 10px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #9c27b0;
    font-weight: 700;
}

.heart-icon {
    color: #e91e63;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9c27b0;
    cursor: pointer;
}

/* Page Container */
.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #d81b60;
    margin-bottom: 20px;
    line-height: 1.2;
}

.couple-names .and {
    color: #9c27b0;
    margin: 0 15px;
    font-family: 'Dancing Script', cursive;
}

.title-container {
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: #7b1fa2;
    margin-bottom: 5px;
}

.theme {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #e91e63;
    font-weight: 700;
}

.date {
    font-size: 1.8rem;
    color: #5a5a5a;
    background: linear-gradient(135deg, #f3e5f5, #e1f5fe);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
    flex: 1;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(156, 39, 176, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
}

.scroll-indicator {
    margin-top: 50px;
    text-align: center;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #9c27b0;
}

/* Invitation Section */
.invitation-section {
    padding: 80px 20px;
}

.invitation-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.invitation-card h2 {
    text-align: center;
    color: #9c27b0;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.invitation-text {
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.names-highlight {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 15px;
}

.names-highlight h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #d81b60;
    margin: 10px 0;
}

.connector {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #9c27b0;
    margin: 10px 0;
}

.details {
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin: 30px auto;
}

.details p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.details i {
    color: #e91e63;
    width: 20px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background: white;
    color: #9c27b0;
    border: 2px solid #9c27b0;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    background: #f3e5f5;
}

/* Quick Navigation */
.quick-nav-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    text-align: center;
    color: #9c27b0;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #e91e63, #9c27b0);
    border-radius: 2px;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nav-icon {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 15px;
}

.nav-card h3 {
    color: #9c27b0;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-note {
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
}

.signature {
    margin-top: 10px;
    font-weight: 600;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .couple-names {
        font-size: 2.8rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 2.2rem;
    }
    
    .invitation-card {
        padding: 30px 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .main-nav {
        padding: 15px 20px;
    }
}
/* Additional Styles for Couple Page */
.couple-hero {
    background: linear-gradient(rgba(233, 30, 99, 0.8), rgba(156, 39, 176, 0.8)), 
                url('https://images.unsplash.com/photo-1518568814500-bf0f8d125f46?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.profile-section {
    padding: 80px 20px;
    background: white;
}

.profiles-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.profile-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.1);
}

.profile-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-content {
    padding: 30px;
}

.profile-content h3 {
    color: #9c27b0;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.profile-title {
    color: #e91e63;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.profile-details p {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.profile-details i {
    color: #e91e63;
    margin-top: 3px;
    min-width: 20px;
}

.love-symbol {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.symbol-heart {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    animation: heartbeat 1.5s ease infinite;
}

.love-symbol p {
    text-align: center;
    color: #9c27b0;
    font-weight: 600;
    line-height: 1.4;
}

.timeline-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f3e5f5, #e1f5fe);
}

.timeline {
    max-width: 1000px;
    margin: 40px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #e91e63, #9c27b0);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid white;
}

.timeline-icon {
    position: absolute;
    left: -65px;
    top: 25px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e91e63;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: #9c27b0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.timeline-image {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
}

.quotes-section {
    padding: 80px 20px;
    background: white;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.quote-card {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-10px);
}

.quote-icon {
    font-size: 2rem;
    color: #e91e63;
    margin-bottom: 20px;
    opacity: 0.5;
}

.quote-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #5a5a5a;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    color: #9c27b0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-year {
        left: -10px;
        min-width: 70px;
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .timeline-icon {
        left: -45px;
    }
    
    .profiles-container {
        gap: 30px;
    }
    
    .love-symbol {
        order: -1;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .symbol-heart {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
/* Additional Styles for RSVP Page */
.rsvp-hero {
    background: linear-gradient(rgba(156, 39, 176, 0.8), rgba(123, 31, 162, 0.8)), 
                url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirmation-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.confirmation-modal.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-title {
    color: #9c27b0;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e91e63;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.guests-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
    .rsvp-form-container {
        padding: 30px 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}