/* ===================================
   GOKUL YOUTH - UNIVERSAL STYLE.CSS
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f8f5f0;
    color:#333;
    line-height:1.6;
}

/* =========================
   NAVBAR
========================= */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 8%;

    background:white;

    position:sticky;
    top:0;
    z-index:1000;

    box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;

    font-size:24px;
    font-weight:700;
    color:#8B0000;
}

.logo img{
    width:90px;
    height:50px;
    border-radius:100%;
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#8B0000;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:80px 8%;
}

.container{
    max-width:1200px;
    margin:auto;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:90vh;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.55)
    ),
    url("../images/banner.webp");

    background-size:cover;
    background-position:center 35%;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.hero-content{
    max-width:900px;
}

.hero h1{
    color:white;
    font-size:58px;
    font-weight:700;
    margin-bottom:15px;
    text-shadow:0 4px 15px rgba(0,0,0,.4);

    white-space:nowrap;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.hero h3{
    color:white;
    font-size:28px;
    margin-bottom:15px;
}

.hero p{
    color:#f2f2f2;
    font-size:18px;
    margin-bottom:25px;
}

/* =========================
   HEADINGS
========================= */

h1,h2,h3,h4{
    font-weight:600;
}

h2{
    text-align:center;
    color:#8B0000;
    font-size:40px;
}

/* =========================
   DIVIDER
========================= */

.festival-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;

    margin:15px auto 45px;
}

.festival-divider span{
    width:120px;
    height:2px;
    background:#8B0000;
}

.divider-icon{
    color:#8B0000;
    font-size:30px;
}

/* =========================
   BUTTONS
========================= */

.btn,
.btn-small,
button{

    display:inline-block;

    background:#8B0000;
    color:white;

    text-decoration:none;

    border:none;

    cursor:pointer;

    transition:.3s;
}

.btn{
    padding:14px 35px;
    border-radius:35px;
}

.btn-small{
    padding:10px 20px;
    border-radius:25px;
}

button{
    padding:12px;
    border-radius:10px;
}

.btn:hover,
.btn-small:hover,
button:hover{
    background:#680000;
}

/* =========================
   GRID
========================= */

.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

/* =========================
   CARDS
========================= */

.card{
    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:48px;
    margin-bottom:15px;
}

.card h3{
    color:#8B0000;
    margin-bottom:10px;
}

.card p{
    color:#666;
}

/* =========================
   ABOUT
========================= */

.about-section{
    background:white;
}

.about-section p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
    line-height:1.8;
}

/* =========================
   EVENTS
========================= */

.events{
    background:#fafafa;
}

.event-box{
    background:white;

    padding:25px;

    border-radius:18px;

    text-align:center;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.event-box:hover{
    transform:translateY(-5px);
}

.event-box h3{
    color:#8B0000;
}

/* =========================
   FORM PAGES
========================= */

.form-container{
    width:90%;
    max-width:700px;

    margin:40px auto;

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);
}

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
select,
textarea{
    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

/* =========================
   QR TICKET
========================= */

#ticketSection{
    width:90%;
    max-width:700px;

    margin:30px auto;

    background:white;

    padding:25px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);
}

#qrcode{
    margin-top:20px;
}

/* =========================
   GALLERY
========================= */

.gallery{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.gallery img{
    width:100%;
    height:260px;

    object-fit:cover;

    border-radius:18px;

    transition:.4s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* =========================
   ANNOUNCEMENTS
========================= */

.announcement-card{
    max-width:900px;

    margin:20px auto;

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.announcement-card h3{
    color:#8B0000;
}

.announcement-date{
    color:gray;
    font-size:14px;
    margin-top:10px;
}

/* =========================
   CONTACT
========================= */

.contact{
    text-align:center;
}

.contact p{
    margin:10px 0;
}

/* =========================
   SLOTS PAGE
========================= */

.slots-container{
    max-width:1200px;
    margin:auto;
}

.day-card{
    background:white;

    padding:25px;

    margin-bottom:25px;

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.slot{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px;

    margin-top:10px;

    background:#f8f8f8;

    border-radius:10px;
}

.available{
    color:green;
    font-weight:600;
}

.booked{
    color:red;
    font-weight:600;
}

/* =========================
   ADMIN SLOT PAGE
========================= */

.admin-container{
    max-width:1000px;
    margin:auto;
    padding:30px;
}

.slot-form{
    background:white;

    padding:25px;

    border-radius:20px;

    margin-bottom:25px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.slot-card{
    background:white;

    padding:20px;

    margin-bottom:15px;

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

/* =========================
   CTA
========================= */

.cta-section{
    background:#8B0000;
    color:white;
    text-align:center;
}

.cta-section h2{
    color:white;
}

.cta-section p{
    margin:15px 0;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:25px;
}

footer h3{
    color:#f7c873;
    margin-bottom:10px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .hero h1{
        font-size:36px;
    }

    .hero h3{
        font-size:22px;
    }

    .hero p{
        font-size:16px;
    }

    h2{
        font-size:30px;
    }

    .festival-divider span{
        width:60px;
    }

    .slot{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}
@media(max-width:768px){

    .hero h1{
        font-size:32px;
        white-space:normal;
        line-height:1.3;
    }

}
body{
    animation:fadeIn .5s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}