:root {
    --primary-color: #8A1C14;
    --gold-color: #D4AF37;
    --bg-light: #FFFDF9;
    --text-dark: #2C2C2C;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ==========================================================================
   ಹೀರೋ ಸೆಕ್ಷನ್ ಅಪ್ಡೇಟೆಡ್ ಅನಿಮೇಷನ್ (Fixed Layout & Zoom)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    overflow: hidden;
    background-color: #1a1a1a;
}

/* ಹಿನ್ನೆಲೆಯಲ್ಲಿರೋ ಬ್ಲರ್ ಫೋಟೋ ಮಾತ್ರ ಜೂಮ್ ಆಗುತ್ತದೆ (ಇದು ಲೇಔಟ್ ಅನ್ನು ಕಟ್ ಮಾಡುವುದಿಲ್ಲ) */
.hero-section::before {
    content: "";
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%; /* ಜೂಮ್ ಆದಾಗ ಬಿಳಿ ಬಾರ್ ಬರದಂತೆ ತಡೆಯಲು */
    background: url('/assets/images/background/hero-bg.jpeg') no-repeat center center/cover;
    filter: blur(15px) brightness(0.4); 
    z-index: 1;
    animation: smoothBgZoom 20s infinite alternate ease-in-out;
}

/* ಮುಂಭಾಗದ ಅಸಲಿ ಫೋಟೋ ಮತ್ತು ಟೆಕ್ಸ್ಟ್ ಲೇಯರ್ - ಇಲ್ಲಿಂದ ಅನಿಮೇಷನ್ ತೆಗೆಯಲಾಗಿದೆ (ಸ್ಥಿರವಾಗಿರುತ್ತದೆ) */
.hero-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6), rgba(0,0,0,0.2)), url('/assets/images/background/hero-bg.jpeg') no-repeat center center/contain !important;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: center;
    padding-bottom: 80px;      
    box-sizing: border-box;
}

/* ವಧು-ವರರ ಹೆಸರು ಸಾಫ್ಟ್ ಆಗಿ ತೇಲುತ್ತಾ ಗ್ಲೋ ಆಗುವ ಅನಿಮೇಷನ್ */
.hero-content h1 {
    font-size: calc(2.5rem + 1.5vw);
    margin-bottom: 12px;
    color: var(--gold-color);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9), -2px -2px 15px rgba(0, 0, 0, 0.9);
    font-weight: 700;
    animation: textFloatingGlow 3s ease-in-out infinite alternate;
}
.hero-content .sub-title {
    font-size: calc(1.1rem + 0.3vw);
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.date-badge {
    border: 2px solid var(--gold-color);
    padding: 10px 20px;
    font-size: calc(1rem + 0.5vw);
    display: inline-block;
    margin-top: 20px;
    border-radius: 30px;
    background: rgba(138, 28, 20, 0.7);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ==========================================================================
   KEYFRAMES - ಅನಿಮೇಷನ್ ನಿಯಮಗಳು
   ========================================================================== */

/* ಹಿನ್ನೆಲೆ ಜೂಮ್ ಲೂಪ್ */
@keyframes smoothBgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.18); } /* 18% ಜೂಮ್ ಇನ್ */
}

/* ಮುಂಭಾಗದ ಚಿತ್ರದ ಜೂಮ್ ಲೂಪ್ (ಕಟ್ ಆಗದಂತೆ ತಡೆಯಲು ಸಣ್ಣ ಪ್ರಮಾಣದ ಜೂಮ್) */
@keyframes smoothContentZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); } 
}

/* ಹೆಸರಿನ ತೇಲುವಿಕೆ ಮತ್ತು ಹೊಳಪಿನ ಅನಿಮೇಷನ್ */
@keyframes textFloatingGlow {
    0% {
        text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9), -2px -2px 15px rgba(0, 0, 0, 0.9);
        transform: translateY(0);
    }
    100% {
        text-shadow: 0 0 25px rgba(212, 175, 55, 0.85), 2px 2px 30px rgba(0, 0, 0, 0.9);
        transform: translateY(-4px); /* ಹೆಸರು ಲಘುವಾಗಿ ಮೇಲಕ್ಕೆ ತೇಲುತ್ತದೆ */
    }
}

/* ==========================================================================
   ಇತರ ಸೆಕ್ಷನ್‌ಗಳು ಮತ್ತು ರೆಸ್ಪಾನ್ಸಿವ್ ಸ್ಟೈಲಿಂಗ್
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 40px 0;
}

/* ರೆಸ್ಪಾನ್ಸಿವ್ ಗ್ಯಾಲರಿ ಗ್ರಿಡ್ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ಟೈಮ್‌ಲೈನ್ (Story) - ರೆಸ್ಪಾನ್ಸಿವ್ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-content { padding: 20px; background: white; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-color); }

/* ಮ್ಯೂಸಿಕ್ ಕಂಟ್ರೋಲ್ */
.music-control { position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
.music-control button { background: var(--primary-color); color: white; border: 2px solid var(--gold-color); padding: 10px 18px; border-radius: 50px; cursor: pointer; font-weight: bold; }

/* ಮೊಬೈಲ್ ಸ್ಕ್ರೀನ್ ಹೊಂದಾಣಿಕೆ (Media Queries) */
@media (max-width: 768px) {
    .timeline-item { width: 100% !important; left: 0 !important; text-align: left !important; }
    .gallery-grid { padding: 0 15px; }
    .hero-section { height: 90vh; }
    .hero-content { padding-bottom: 50px; } /* ಮೊಬೈಲ್‌ನಲ್ಲಿ ಸ್ಪೇಸ್ ಸ್ವಲ್ಪ ಕಡಿಮೆ */
}
/* കೌಂಟ್‌ಡೌನ್ ಸೆಕ್ಷನ್ ಸ್ಟೈಲಿಂಗ್ */
.countdown-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/background/hero-bg.jpeg') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    color: white;
    border-radius: 50px 50px 0 0; /* ಚಿತ್ರದಲ್ಲಿರುವಂತೆ ಮೇಲ್ಭಾಗದಲ್ಲಿ ರೌಂಡ್ ಶೇಪ್ */
    max-width: 1000px;
    margin: 50px auto;
    overflow: hidden;
}

.countdown-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 300;
}

.heart-icon {
    font-size: 1.5rem;
    margin-bottom: 25px;
    animation: pulse 1s infinite alternate;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ಗ್ಲಾಸ್ ಎಫೆಕ್ಟ್ ಬಾಕ್ಸ್‌ಗಳು (Glassmorphism) */
.time-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
    min-width: 90px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.time-box span {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.time-box p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #ddd;
    text-transform: uppercase;
}

/* ಹಾರ್ಟ್ ಬಿಟ್ ಅನಿಮೇಷನ್ */
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

@media (max-width: 600px) {
    .time-box { min-width: 70px; padding: 12px; }
    .time-box span { font-size: 2rem; }
}
/* ==========================================================================
   3D Carousel ಮತ್ತು ಪಾಪ್-ಅಪ್ ಸ್ಲೈಡ್‌ಶೋ ಸ್ಟೈಲಿಂಗ್
   ========================================================================== */

.albumSwiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px; /* ಫೋಟೋಗಳ ಅಗಲ */
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.album-img:hover {
    transform: scale(1.03);
}

/* ಪಾಪ್-ಅಪ್ ವಿಂಡೋ ಹಿನ್ನೆಲೆ (Lightbox Modal) */
.lightbox-modal {
    display: none; /* ಡಿಫಾಲ್ಟ್ ಆಗಿ ಹೈಡ್ ಆಗಿರುತ್ತದೆ */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85%;
    max-height: 85%;
}

#lightboxImg {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.5s ease;
}

/* ನಾವಿಗೇಷನ್ ಬಟನ್‌ಗಳು (Next & Previous) */
.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.3s, scale 0.2s;
    z-index: 10002;
}

.lightbox-nav-btn:hover {
    background: var(--gold-color);
    color: black;
    scale: 1.1;
}

.lightbox-nav-btn.prev { left: -70px; }
.lightbox-nav-btn.next { right: -70px; }

/* ಕ್ಲೋಸ್ ಬಟನ್ */
.lightbox-close {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10003;
}

.lightbox-close:hover { color: var(--gold-color); }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ಮೊಬೈಲ್ ರೆಸ್ಪಾನ್ಸಿವ್ */
@media (max-width: 768px) {
    .swiper-slide { width: 260px; height: 320px; }
    .lightbox-nav-btn { padding: 10px 15px; font-size: 1.5rem; }
    .lightbox-nav-btn.prev { left: -40px; }
    .lightbox-nav-btn.next { right: -40px; }
    .lightbox-close { top: 15px; right: 20px; font-size: 2.5rem; }
}
/* ಡಿಜಿಟಲ್ ವೆಡ್ಡಿಂಗ್ ಕಾರ್ಡ್ ಹೋವರ್ ಮತ್ತು ರೆಸ್ಪಾನ್ಸಿವ್ ಎಫೆಕ್ಟ್ಸ್ */
.maps-btn:hover {
    background-color: #D4AF37 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(214, 175, 55, 0.4) !important;
}

.event-card {
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 600px) {
    .events-container {
        flex-direction: column;
        align-items: center;
    }
    .event-card {
        width: 100% !important;
        max-width: 300px;
    }
}
/* ==========================================================================
   ಹಾರ್ಟ್ಸ್ ಮತ್ತು ಹೂವುಗಳು ಬೀಳುವ ಅದ್ಭುತ ಎಫೆಕ್ಟ್ (Falling Animation)
   ========================================================================== */
#falling-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* ಇದರ ಮೇಲೆ ಕ್ಲಿಕ್ ಮಾಡಿದರೆ ವೆಬ್ಸೈಟ್ ಬಟನ್ಗಳು ಕೆಲಸ ಮಾಡುತ್ತವೆ */
    z-index: 9999; /* ಎಲ್ಲ ಸೆಕ್ಷನ್ಗಳಿಗಿಂತ ಮೇಲಿರಲು */
    overflow: hidden;
}

.particle {
    position: absolute;
    top: -20px;
    font-size: calc(10px + 1.5vw); /* ಮೊಬೈಲ್ ಮತ್ತು ಡೆಸ್ಕ್ಟಾಪ್ಗೆ ತಕ್ಕಂತೆ ಸೈಜ್ */
    opacity: 0.8;
    animation: fall linear forwards;
}

/* ಮೇಲಿಂದ ಕೆಳಗೆ ಬೀಳುವ ಮತ್ತು ತಿರುಗುವ ಮ್ಯಾಜಿಕ್ ನಿಯಮ */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(20px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(105vh) rotate(360deg) translateX(-20px);
        opacity: 0; /* ತಳಕ್ಕೆ ಹೋದಾಗ ಕಣ್ಮರೆಯಾಗುತ್ತದೆ */
    }
}

/* Scroll Progress Ring Styles */
.scroll-progress-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring__circle {
    transition: 0.1s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 163.36; /* 2 * PI * r (2 * 3.14 * 26) */
    stroke-dashoffset: 163.36;
}

.ring-icon {
    position: absolute;
    font-size: 1.2rem;
}