/* 
    SANKETH 2025 - Global Styles 
    Theme: Maroon (#800000), Navy (#000080), Gold (#D4AF37)
*/

:root {
    --maroon: #800000;
    --navy: #00004d;
    --gold: #D4AF37;
    --white: #ffffff;
    --light-grey: #f9f9f9;
    --dark-grey: #333333;
    --black: #111111;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
.maroon {
    color: var(--maroon);
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.logo img {
    height: 100px;
    width: auto;
    display: block;
}
.logo img {
    transition: all 0.3s ease;
}

/* Reusable Components */

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

.section-padding {
    padding: 30px 0;
}
.section-padding2 {
    padding: 5px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: 60px;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 15px auto;
}

.section-title.left {
    text-align: left;
}

.section-title.left::after {
    margin: 15px 0;
}

.schedule { padding: 1rem 0; background: var(--white); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }
.red-text { color: var(--maroon); }
.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 columns */
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/*.timeline { position: relative; max-width: 800px; margin: 0 auto; } */
.timeline-item { display: flex; align-items: center; margin-bottom: 2rem; padding: 1.5rem; background: var(--light-gray); border-radius: 15px; transition: 0.3s; border-left: 5px solid var(--gold); }
.timeline-item:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.timeline-icon { font-size: 2rem; color: var(--maroon); margin-right: 2rem; }
.timeline-content p {
    font-size: 0.9rem;
    color: var(--dark-grey);
    line-height: 1.6;

}
.dark-bg {
    background-color: var(--maroon);
    color: var(--white);
}


.dark-bg .section-title {
    color: var(--white);
}

.gold {
    color: var(--gold);
}

.dark-bg2 {
    background-color: var(--white);
    color: var(--maroon);
}
.dark-bg2 .section-title {
    color: var(--maroon);
}
.btn {
    display: inline-block;
    padding: 14px 34px;
    background-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--gold);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-full {
    width: 100%;
}

/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.sticky {
    background: var(--white);

    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
}

.logo span {
    color: var(--gold);
}

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

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.navbar.sticky .nav-links a {
    color: var(--maroon);
}

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

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;

}

.slider {
    height: 100%;
    width: 100%;
}
.hero-content {
    padding-top: 200px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}
/* === HERO SLIDER CLICK FIX === */

.slide {
    pointer-events: none;
    z-index: 1;
}

.slide.active {
    pointer-events: auto;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-btns {
    position: relative;
    z-index: 4;
}

.slider-btn {
    z-index: 5;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content h3 {
    margin-bottom: 40px;
    letter-spacing: 2px;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    padding: 10px 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    padding: 20px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Countdown Section */

.countdown-bar {
    background: var(--maroon);
    color: var(--white);
    padding: 30px 0;
}

.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.countdown-title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat';
}

#timer {
    display: flex;
    gap: 20px;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    min-width: 100px;
}

.time-box span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gold);
}

.time-box small {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* About Section */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--maroon);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-grey);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-item p {
    color: var(--maroon);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Events Cards */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    color: var(--navy);
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-img {
    position: relative;
    height: 250px;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--maroon);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-details {
    padding: 25px;
}

.event-details h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
}

/* Timeline */

.timeline-box {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 15px;
}

.timeline-day {
    margin-bottom: 50px;
}

.timeline-day:last-child {
    margin-bottom: 0;
}

.timeline-day h3 {
    background: var(--maroon);
    color: var(--white);
    padding: 10px 25px;
    display: inline-block;
    border-radius: 30px;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.timeline-items {
    border-left: 2px solid var(--gold);
    margin-left: 20px;
}

.tl-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
}

.tl-time {
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 5px;
}

.tl-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.tl-info p {
    font-size: 0.9rem;
    color: var(--dark-grey);
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
/* ===== Gallery Section (From Stored Theme) ===== */

.gallery-section .container {
    padding-left: 30px;
    padding-right: 30px;
}


.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.red-text {
    color: var(--maroon);
}

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

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

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


/* Gallery 
.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Registration Form */

.reg-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    overflow: hidden;
}

.reg-header {
    background: var(--maroon);
    color: var(--white);
    padding: 40px;
    text-align: center;
}

.reg-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--maroon);
}

/* Contact Section */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.cf-item {
    display: flex;
    margin-bottom: 40px;
}

.cf-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 25px;
    background: rgba(255,255,255,0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cf-item h4 {
    margin-bottom: 5px;
}

.map-placeholder {
    height: 100%;
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
}

/* Footer */

.footer {
    background: var(--maroon);
	
    color: #eee;
    padding: 0px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-about h3 {
    color: var(--gold);
    margin-bottom: 25px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--white);
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-box {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-box a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-box a:hover {
    background: var(--gold);
    color: var(--navy);
}

.copyright {
    font-size: 0.85rem;
    color: white;
    margin-top: 10px;
}

/* Animations */

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

.animate-up {
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
/* =========================
   MOBILE-FIRST OPTIMIZATION
   ========================= */

/* -------- Tablets (<= 992px) -------- */
@media (max-width: 992px) {

    .logo img {
        height: 70px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-content h3 {
        font-size: 1rem;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .gallery-item {
        height: 220px;
    }
.navbar.sticky .nav-links a {
    color: var(--maroon);
}
}


/* -------- Mobiles (<= 768px) -------- */
@media (max-width: 768px) {

   
    /* NAVBAR */
    .navbar {
        padding: 12px 0;
        background: var(--maroon); /* solid on mobile */
        transition: var(--transition);
    }

    .navbar.sticky {
        background: var(--white);
    }

    /* LOGO */
    .logo img {
        height: 55px;
    }

    /* HAMBURGER */
    .hamburger {
        display: block;
        font-size: 1.8rem;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }

    .navbar.sticky .hamburger {
        color: var(--maroon);
    }

    /* MOBILE MENU */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--maroon);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.35s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
    }

    /* HERO */
   .hero {
        height: auto;          /* ?? key fix */
        min-height: 100svh;    /* still full screen feel */
        padding-bottom: 10px; /* space before countdown */
padding-top: 70px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content h3 {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
   .hero-content {
        padding-bottom: 90px;
    }

    .hero-btns {
        margin-bottom: 30px;
    }
    .btn-outline {
        margin-left: 0;
    }

    .slider-btn {
        padding: 12px;
    }

   .countdown-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .countdown-title {
        order: 1;
        font-size: 1.4rem;
    }

    #timer {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    .time-box {
        min-width: 60px;
        padding: 5px;
    }

    /* ABOUT */
        .about-grid {
        display: flex;
        flex-direction: column;
    }

    .about-text {
        order: 2;
    }

    .about-img {
        order: 1;
        margin-top: 20px;
    }

    .about-img img {
        width: 100%;
        box-shadow: none;
    }
    .stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

 .events-grid {
        grid-template-columns: 1fr; /* single column */
        gap: 20px;
    }

    .event-card {
        border-radius: 14px;
    }

    .event-img {
        height: 180px; /* reduce image height */
    }

    .event-details {
        padding: 18px;
        text-align: center;
    }

    .event-details h3 {
        font-size: 1.2rem;
    }

    .event-details p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .event-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    /* TIMELINE */
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .timeline-icon {
        margin-right: 0;
    }

    /* GALLERY */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item {
        height: 200px;
    }

    /* CONTACT */
      .contact-grid {
        display: flex;
        flex-direction: column;
    }

    .contact-info {
        order: 1;
    }

    .map-container {
        order: 2;
        margin-top: 20px;
    }

    .map-placeholder {
        min-height: 250px;
    }
    .cf-item {
        align-items: flex-start;
    }

    .cf-item i {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* FOOTER */
       .footer {
        padding: 40px 15px 20px;
        text-align: center;
        overflow-x: hidden;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
    }

    .footer-about,
    .footer-links,
    .footer-social {
        width: 100%;
    }

    .footer-about p {
        font-size: 0.9rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .footer-links ul {
        padding: 0;
    }

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

    .footer-links a {
        display: inline-block;
    }

    .social-box {
        justify-content: center;
        flex-wrap: wrap;
    }

    .copyright {
        font-size: 0.8rem;
        line-height: 1.5;
        word-break: break-word;
    }}


/* -------- Small Phones (<= 480px) -------- */
@media (max-width: 480px) {

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2rem;
    }

   /* HERO */
   .hero {
        height: auto;          /* ?? key fix */
        min-height: 100svh;    /* still full screen feel */
        padding-bottom: 0px; /* space before countdown */
padding-top: 30px;
    }
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-content h3 {
        font-size:10px;
        letter-spacing: 1px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
   .hero-content {
        padding-bottom: 0px;
    }

    .hero-btns {
        margin-bottom: 10px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.8rem;
    }

    .time-box span {
        font-size: 1.6rem;
    }.event-img {
        height: 160px;
    }

    .event-details p {
        font-size: 0.85rem;
    }

    .time-box small {
        font-size: 0.6rem;
    }
}
