/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0f0f23 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(120, 119, 198, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 107, 107, 0.1) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

/* Floating Elements Animation */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.petal {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(120, 119, 198, 0.4));
    border-radius: 50%;
    opacity: 0.4;
    animation: float 8s infinite ease-in-out;
}

.petal:nth-child(odd) {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.6), rgba(255, 107, 107, 0.3));
}

.petal-1 { top: 15%; left: 15%; animation-delay: 0s; }
.petal-2 { top: 25%; left: 85%; animation-delay: 1.5s; }
.petal-3 { top: 65%; left: 25%; animation-delay: 3s; }
.petal-4 { top: 75%; left: 75%; animation-delay: 4.5s; }
.petal-5 { top: 45%; left: 55%; animation-delay: 6s; }
.petal-6 { top: 85%; left: 15%; animation-delay: 7.5s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-15px) translateX(10px) scale(1.2); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-25px) translateX(-5px) scale(0.8); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-10px) translateX(15px) scale(1.1); 
        opacity: 0.7; 
    }
}

/* Hero Banner Styles */
.hero-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.hero-banner.scrolled {
    transform: translateY(-80%);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: all 0.6s ease;
}

.hero-banner.scrolled .hero-img {
    filter: brightness(0.4);
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 80vh;
    position: relative;
    z-index: 1;
}

.main-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.title-decoration {
    display: none;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* Event Details */
.event-details {
    margin-bottom: 60px;
}


.details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.detail-icon {
    font-size: 1.5rem;
    margin-right: 24px;
    min-width: 50px;
    text-align: center;
    opacity: 0.8;
}

.detail-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-text p {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 300;
}

/* Section Styles */
.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Theme Section */
.theme-section {
    margin-bottom: 60px;
    text-align: center;
}

.theme-description {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.theme-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Food Section */
.food-section {
    margin-bottom: 60px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.food-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    text-align: center;
}

.food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.food-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.food-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 20px;
}

.food-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.food-card:hover .food-img {
    transform: scale(1.02);
    filter: brightness(1);
}

.food-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}



/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
}

.footer-decoration {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.wave-pattern {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 20px 0;
}

.footer-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
        padding: 24px 32px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .title-section {
        padding-top: 60vh;
    }
    
    .details-card,
    .theme-description,
    .footer-decoration {
        padding: 30px;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .detail-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .food-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .food-img {
        height: 200px;
    }
    
    .food-title {
        font-size: 1.2rem;
    }
    
    .food-card {
        padding: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: -0.25px;
        padding: 20px 24px;
    }
    
    .title-section {
        padding-top: 50vh;
    }
    
    .detail-icon {
        font-size: 1.3rem;
        min-width: 45px;
    }
    
    .detail-text h3 {
        font-size: 0.8rem;
    }
    
    .detail-text p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .theme-description p,
    .rsvp-text {
        font-size: 1rem;
    }
    
    .food-title {
        font-size: 1.1rem;
    }
    
    .food-img {
        height: 180px;
    }
    
    .food-card {
        padding: 20px;
    }
    
    .food-description {
        font-size: 0.9rem;
    }
    
    
    .details-card,
    .theme-description,
    .footer-decoration {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .petals-container,
    .modal {
        display: none;
    }
    
    .header,
    .details-card,
    .theme-description,
    .food-card,
    .rsvp-card,
    .footer-decoration {
        border: 2px solid #000;
        background: white;
        color: black;
        box-shadow: none;
    }
}
