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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    background-color: #FDF6E3;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 153, 51, 0.4);
}

.music-control.muted {
    background: linear-gradient(135deg, #ccc, #999);
    animation: none;
}

.music-icon {
    font-size: 24px;
    animation: rotate 3s linear infinite;
}

.music-control.muted .music-icon {
    animation: none;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #FDF6E3 0%, #F5E6D3 100%);
    z-index: 0;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("./assets/background.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.7; /* 👈 Lower this for lighter background */
    z-index: 0; /* Stay behind all hero content */
}


.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
}

.toran-left, .toran-right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 80px;
    background: linear-gradient(45deg, #FFD700, #FF9933);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}
 .toran-right img{
    height: 5rem;
    width: 5rem;
    position: absolute;
    margin-left: 4rem;
}
.toran-left img {
    height: 5rem;
    width: 5rem;
    position: absolute;
    margin-left: 4rem;
}
.toran-left {
    left: 0;
    transform: rotate(-5deg);
}

.toran-right {
    right: 0;
    transform: rotate(5deg);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.mangalsutra-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.mangalsutra-svg {
    width: 160px;
    height: 160px;
}
.ganesha-img {
    color: #FFD700;
    width: 160px;
    height: 160px;
    background-size: cover;

}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: slideInDown 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #040404;
    margin-bottom: 30px;
    font-weight: 500;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 1.5rem;
    color: #ffff;
    font-weight: 600;
    animation: slideInUp 1s ease-out 0.9s both;
}

.date-decoration {
    font-size: 1.5rem;
    color: #ffff;
    animation: bounce 2s infinite;
}

.cta-button {
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    animation: slideInUp 1s ease-out 1.2s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
    background: linear-gradient(135deg, #FFD700, #FF9933);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 153, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(128, 0, 0, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #800000;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF9933, #FFD700);
    border-radius: 2px;
}

/* About Couple Section */
.about-couple {
    padding: 100px 0;
    background: linear-gradient(135deg, #FDF6E3 0%, #F9F1E6 100%);
}

.couple-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.couple-card {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.couple-card.groom-card {
    animation-delay: 0.2s;
}

.couple-card.bride-card {
    animation-delay: 0.4s;
}

.photo-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.couple-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFD700;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.couple-photo:hover {
    transform: scale(1.05);
}

.photo-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid #FF9933;
    border-radius: 50%;
    border-style: dashed;
    animation: rotate 20s linear infinite;
}

.couple-card h3 {
    font-size: 1.8rem;
    color: #800000;
    margin-bottom: 10px;
    font-weight: 600;
}

.couple-card p {
    color: #666;
    font-size: 1.1rem;
}

.heart-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.heart {
    font-size: 3rem;
    animation: heartbeat 2s infinite;
    margin-bottom: 10px;
}

.connecting-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #FF9933, #FFD700);
    border-radius: 1px;
}

.couple-story {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

/* Events Timeline */
.events {
    padding: 100px 0;
    background: #FDF6E3;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FF9933, #FFD700);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
    transition: transform 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 0 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-item.main-event .timeline-content {
    background: linear-gradient(135deg, #FFD700, #FF9933);
    color: white;
}

.timeline-item.main-event .timeline-icon {
    background: linear-gradient(135deg, #800000, #A00000);
    transform: scale(1.2);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: #800000;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-item.main-event .timeline-content h3 {
    color: white;
}

.event-details p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.event-date {
    font-weight: 600;
    color: #FF9933;
}

.timeline-item.main-event .event-date {
    color: white;
}

.event-time {
    color: #666;
}

.timeline-item.main-event .event-time {
    color: rgba(255,255,255,0.9);
}

.event-location {
    color: #800000;
    font-weight: 500;
}

.timeline-item.main-event .event-location {
    color: white;
}

/* Venue Section */
.venue {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9F1E6 0%, #FDF6E3 100%);
}

.venue-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.venue-details {
    animation: fadeInLeft 0.8s ease-out;
}

.venue-details h3 {
    font-size: 2rem;
    color: #800000;
    margin-bottom: 20px;
    font-weight: 600;
}

.venue-address {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.map-button {
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    animation: fadeInRight 0.8s ease-out;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Photo Gallery */
.gallery {
    padding: 100px 0;
    background: #FDF6E3;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #FFD700;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 153, 51, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 153, 51, 1);
    transform: scale(1.1);
}

/* RSVP Section */
.rsvp {
    padding: 100px 0;
    background: linear-gradient(135deg, #FF9933, #FFD700);
    color: white;
    text-align: center;
}

.rsvp .section-title {
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.rsvp .section-title::after {
    background: white;
}

.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.rsvp-buttons {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}

.rsvp-note {
    font-size: 1rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #800000;
    color: white;
    text-align: center;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.diya {
    font-size: 2rem;
    animation: flicker 2s infinite alternate;
}

.diya:nth-child(2) {
    animation-delay: 0.5s;
}

.diya:nth-child(3) {
    animation-delay: 1s;
}

.footer-message {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer-blessing {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer-credit {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.footer-credit p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .couple-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .heart-divider {
        order: 2;
    }
    
    .connecting-line {
        width: 50px;
        height: 2px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .venue-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lightbox-nav {
        padding: 0 15px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .photo-frame {
        width: 150px;
        height: 150px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
    }
    
    .event-details p {
        font-size: 1rem;
    }
}