* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Loader Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d1b2d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid #5a3e2e;
    border-top-color: #c9a87b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader p {
    margin-top: 20px;
    color: #c9a87b;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Main Card */
.wedding-card {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.wedding-card.visible {
    opacity: 1;
}

/* Event Sections */
.event-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.5s ease;
}

.event-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-section.reveal .event-content {
    opacity: 1;
    transform: translateY(0);
}

/* Ornament */
.ornament {
    font-size: 48px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Typography */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    letter-spacing: 2px;
}

.couple-names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.groom, .bride {
    font-size: 2.2rem;
    font-weight: 600;
}

.amp {
    font-size: 2rem;
    font-family: serif;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: currentColor;
}

.pre-title {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ========== COVER SECTION ========== */
.cover-section {
    background: linear-gradient(135deg, #2d1b2d 0%, #1a0f1a 100%);
    color: #c9a87b;
}

.cover-section .groom, 
.cover-section .bride {
    color: #e8d0b0;
}

.cover-section .amp {
    color: #c9a87b;
}

/* ========== NIKKAH SECTION (Purple & Gold) ========== */
.nikkah-section {
    background: linear-gradient(135deg, #2d1b2d 0%, #1a0f1a 100%);
    color: #c9a87b;
}

.nikkah-section h2 {
    color: #c9a87b;
}

.nikkah-section .event-details-card {
    background: rgba(90, 62, 46, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 123, 0.3);
}

.nikkah-section .detail-text strong {
    color: #c9a87b;
}

.nikkah-section .detail-text p {
    color: #e8d0b0;
}

/* Parents Details */
.parents-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.parent-card {
    background: rgba(201, 168, 123, 0.1);
    border: 1px solid rgba(201, 168, 123, 0.3);
    border-radius: 20px;
    padding: 20px;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.parent-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.parent-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e8d0b0;
}

.parent-card strong {
    color: #c9a87b;
    font-size: 1.1rem;
}

/* ========== RECEPTION SECTION (Green/Teal) ========== */
.reception-section {
    background: linear-gradient(135deg, #B6D6C3 0%, #9bc0a8 100%);
    color: #2c4a2e;
}

.reception-section h2 {
    color: #2c4a2e;
}

.reception-section .ornament {
    color: #2c4a2e;
}

.reception-card {
    background: rgba(255, 255, 245, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(44, 74, 46, 0.3);
}

.reception-card .detail-text strong {
    color: #2c4a2e;
}

.reception-card .detail-text p {
    color: #3d5e40;
}

.reception-btn {
    background: #2c4a2e;
    border-color: #9bc0a8;
    color: #fff;
}

.reception-btn:hover {
    background: #1e351f;
}

/* ========== COMPLIMENTS SECTION ========== */
.compliments-section {
    background: linear-gradient(135deg, #2d1b2d 0%, #1a0f1a 100%);
    color: #c9a87b;
}

.compliments-text p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.compliments-text h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin: 20px 0;
}

.heart-divider {
    font-size: 24px;
    margin: 30px 0;
}

.thanks-msg {
    font-size: 0.9rem;
    font-style: italic;
}

.footer-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 168, 123, 0.3);
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
}

/* Event Details Card */
.event-details-card {
    border-radius: 24px;
    padding: 24px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    font-size: 28px;
    min-width: 50px;
}

.food-icon {
    font-size: 28px;
}

.detail-text {
    text-align: left;
}

.detail-text strong {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-text p {
    font-size: 0.95rem;
    margin-top: 4px;
    line-height: 1.4;
}

/* Buttons */
.location-btn {
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.location-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 60px;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 24px;
    margin-top: 8px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .groom, .bride {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .parents-details {
        gap: 15px;
    }
    
    .parent-card {
        min-width: 140px;
        padding: 15px;
    }
    
    .detail-icon {
        font-size: 24px;
        min-width: 45px;
    }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
