/* ----------------------------------------------------
   JAYNAGAR MITRA PARA SARBOJANIN PUJA COMMITTEE - 2026
   CSS Design System: Traditional Bengali Durga Puja Theme
   Updated: Bengali Autumn River & Dhaki Hero Landscape
   ---------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&family=Cinzel:wght@600;700&display=swap');

:root {
    --primary-red: #8B0000;
    --primary-red-bright: #BA0F18;
    --gold-main: #D4AF37;
    --gold-bright: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --terracotta: #C0392B;
    --cream-bg: #FFFDF9;
    --cream-card: #FAF3E0;
    --dark-maroon: #2A0407;
    --dark-surface: #1E0205;
    --text-dark: #2B1810;
    --text-muted: #6B4E42;
    --text-light: #FFFDD0;
    --border-gold: rgba(212, 175, 55, 0.35);
    --shadow-gold: 0 10px 30px rgba(186, 15, 24, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #120103;
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(186, 15, 24, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, .bengali-title {
    font-family: 'Tiro Bangla', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Floating Shiuli Flowers Canvas */
#shiuli-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

/* Top Banner Header */
.top-notice-bar {
    background: linear-gradient(90deg, #5C0000 0%, #BA0F18 50%, #5C0000 100%);
    color: var(--gold-bright);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--gold-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.notice-text {
    flex: 1;
    font-weight: 600;
}

.sound-toggle-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--gold-main);
    color: var(--gold-bright);
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Hind Siliguri', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.sound-toggle-btn:hover {
    background: var(--gold-main);
    color: var(--dark-maroon);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Navigation Bar */
.main-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(30, 2, 5, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--gold-main);
    box-shadow: 0 0 12px var(--gold-glow);
}

.brand-text h1 {
    font-size: 1.35rem;
    color: var(--gold-bright);
    margin-bottom: -4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.brand-text span {
    font-size: 0.8rem;
    color: #E2C085;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: #F0E6D2;
    padding: 8px 14px;
    border-radius: 6px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-bright);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold-bright);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Alpona Divider Motif */
.alpona-divider {
    text-align: center;
    margin: 35px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.alpona-line {
    height: 2px;
    flex: 1;
    max-width: 250px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}

.alpona-icon {
    color: var(--gold-bright);
    font-size: 1.6rem;
    text-shadow: 0 0 10px var(--gold-glow);
}

/* Buttons & Badges */
.btn-primary {
    background: linear-gradient(135deg, #BA0F18 0%, #7A0A0F 100%);
    color: var(--gold-bright);
    border: 1px solid var(--gold-main);
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(186, 15, 24, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #DA1B25 0%, #990B11 100%);
    color: #FFF;
}

.btn-secondary {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-bright);
    border: 1px solid var(--gold-main);
    padding: 11px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--gold-main);
    color: var(--dark-maroon);
}

.badge-56 {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--dark-maroon);
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}

/* Main Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section - Traditional Bengali Autumn River & Dhaki Landscape */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(180deg, rgba(18, 1, 3, 0.35) 0%, rgba(18, 1, 3, 0.65) 60%, rgba(18, 1, 3, 0.9) 100%), 
        url('../images/hero.jpg') center center / cover no-repeat;
    border-bottom: 2px solid var(--border-gold);
    overflow: hidden;
    padding: 60px 20px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #F8E2B5;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-title {
    font-size: 3.4rem;
    color: var(--gold-bright);
    text-shadow: 0 4px 20px rgba(0,0,0,0.95), 0 0 20px rgba(255,215,0,0.5);
    line-height: 1.25;
    margin-bottom: 20px;
}

.theme-slogan-box {
    background: rgba(30, 2, 5, 0.88);
    border: 1px solid var(--gold-main);
    padding: 16px 28px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
}

.slogan-title {
    font-size: 0.95rem;
    color: var(--gold-main);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.slogan-text {
    font-family: 'Tiro Bangla', serif;
    font-size: 1.5rem;
    color: #FFF;
    font-style: italic;
}

/* Countdown Timer */
.countdown-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.count-card {
    background: rgba(30, 2, 5, 0.9);
    border: 1px solid var(--border-gold);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 90px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.count-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-bright);
    font-family: 'Cinzel', serif;
    line-height: 1;
}

.count-label {
    font-size: 0.85rem;
    color: #E0C49F;
    margin-top: 5px;
}

/* Section Common Styling */
.section-padding {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    color: var(--gold-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold-bright);
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* Card Styling & Glassmorphism */
.glass-card {
    background: rgba(42, 4, 7, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-main);
    box-shadow: 0 15px 35px rgba(186, 15, 24, 0.25);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Committee Member Card */
.member-card {
    background: rgba(35, 3, 6, 0.88);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-main), var(--primary-red-bright));
}

.member-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.member-avatar {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-maroon));
    border: 2px solid var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--gold-bright);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.member-role {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-bright);
    font-size: 0.85rem;
    padding: 3px 12px;
    border-radius: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.member-name {
    font-size: 1.25rem;
    color: #FFF;
    margin-bottom: 4px;
}

/* Event Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--gold-main);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--gold-glow);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '🪔';
    position: absolute;
    width: 36px;
    height: 36px;
    right: -18px;
    background: var(--dark-maroon);
    border: 2px solid var(--gold-bright);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.left-item {
    left: 0;
}

.right-item {
    left: 50%;
}

.right-item::after {
    left: -18px;
}

.timeline-content {
    background: rgba(45, 4, 8, 0.9);
    border: 1px solid var(--border-gold);
    padding: 25px;
    border-radius: 12px;
}

.timeline-date {
    display: inline-block;
    background: var(--primary-red-bright);
    color: var(--gold-bright);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Clean Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-gold);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    transition: var(--transition);
}

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

.gallery-item:hover {
    border-color: var(--gold-bright);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

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

/* Hide captions on images per user request */
.gallery-caption {
    display: none !important;
}

/* Contact & Info Box */
.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--gold-main);
    color: var(--gold-bright);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--gold-bright);
    margin-bottom: 3px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #F0E6D2;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 2, 4, 0.8);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: #FFF;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Footer Styling */
.main-footer {
    background: #0B0002;
    border-top: 2px solid var(--gold-main);
    padding: 60px 0 25px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    color: var(--gold-bright);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #B3A090;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--gold-main);
    font-size: 1.2rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-bright);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--gold-bright);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #8C7B70;
}

/* Lightbox Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--gold-main);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile & Responsive Adjustments */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 15px;
    }
    .timeline-item::after {
        left: 2px;
    }
    .right-item {
        left: 0;
    }
}

@media (max-width: 768px) {
    .top-notice-bar {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        font-size: 0.85rem;
    }
    .brand-text h1 {
        font-size: 1.15rem;
    }
    .brand-text span {
        font-size: 0.75rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 2, 4, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid var(--gold-main);
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section {
        min-height: 88vh;
        padding: 40px 15px 30px;
        background-position: center center;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-title {
        font-size: 1.95rem;
        margin-bottom: 15px;
    }
    .theme-slogan-box {
        padding: 12px 18px;
        margin-bottom: 20px;
        width: 100%;
    }
    .slogan-title {
        font-size: 0.85rem;
    }
    .slogan-text {
        font-size: 1.15rem;
        line-height: 1.45;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
        font-size: 0.95rem;
    }
    .countdown-container {
        gap: 8px;
        flex-wrap: wrap;
    }
    .count-card {
        min-width: 65px;
        padding: 8px 10px;
    }
    .count-number {
        font-size: 1.5rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .slogan-text {
        font-size: 1.05rem;
    }
    .brand-logo img {
        width: 45px;
        height: 45px;
    }
    .brand-text h1 {
        font-size: 1rem;
    }
}
