﻿/* ============================================================
   GLOBAL RESET
============================================================ */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
    --green: #0a3a22;
    --gold: #ffcc33;
}

/* ============================================================
   PRIVACY BANNER (BLOCKS PAGE INTERACTION)
============================================================ */
.privacy-banner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

    .privacy-banner-overlay.hidden {
        display: none !important;
    }

.privacy-banner {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

    .privacy-banner h2 {
        margin-top: 0;
        font-size: 1.8rem;
        color: #0a3a22;
    }

    .privacy-banner p {
        font-size: 1rem;
        margin: 12px 0;
        line-height: 1.6;
    }

.banner-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.banner-btn {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

    .banner-btn.accept {
        background: #0a3a22;
        color: white;
        border: none;
    }

    .banner-btn.view {
        background: #f0f0f0;
        color: black;
    }


/* ============================================================
   FULL-WIDTH BREAKOUT (reusable helper)
============================================================ */
.full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


/* ============================================================
   HERO SECTION (FEU Style)
============================================================ */
.sjco-hero-carousel {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    /* Full width breakout */
    left: 50%;
    margin-left: -50vw;
}

.hero-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .hero-slide.active {
        opacity: 1;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.hero-logo {
    width: 170px;
    margin-bottom: 12px;
}

.hero-content {
    position: relative;
    z-index: 10;
    top: 45%;
    transform: translateY(-45%);
    text-align: center;
    color: white;
}

    .hero-content h1 {
        font-size: 3rem;
        margin: 0;
    }

    .hero-content h2 {
        font-size: 2.1rem;
        margin-top: 5px;
    }

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 55px;
    height: 120px;
    cursor: pointer;
    z-index: 20;
}

    .hero-btn.prev {
        left: 0;
    }

    .hero-btn.next {
        right: 0;
    }


/* ============================================================
   ANNOUNCEMENT SECTION (Aligned + Full Width)
============================================================ */
.sjco-announcement {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
    padding: 0;
}

.announcement-banner {
    height: 95vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}



.announcement-title {
    color: white;
    text-align: center;
    font-size: 2.8rem;
    margin: 0;
    font-weight: 700;
}


/* ============================================================
   NEWS CAROUSEL
============================================================ */
.news-wrapper {
    padding: 55px 40px;
    max-width: 1300px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.news-carousel {
    position: relative;
    overflow: hidden;
}

.news-track {
    display: flex;
    gap: 25px;
    transition: transform .5s ease;
}

.news-card {
    flex: 0 0 calc((100% - 50px) / 3);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease;
}

    .news-card:hover {
        transform: translateY(-6px);
    }

.news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-nav {
    position: absolute;
    top: 45%;
    background: none;
    border: none;
    font-size: 38px;
    cursor: pointer;
    z-index: 5;
}

    .news-nav.prev {
        left: 0;
    }

    .news-nav.next {
        right: 0;
    }


/* ============================================================
   NEWS MODAL
============================================================ */
.magazine-wrapper {
    max-height: 75vh;
    overflow-y: auto;
    padding: 20px;
    background: #f5f5f5;
}

.magazine-image {
    width: 100%;
    border-radius: 6px;
    object-fit: contain;
}


/* ============================================================
   MISSION & VISION SECTION
============================================================ */
.mv-section {
    background: #f4f4f4;
    padding: 60px 40px;
    display: flex;
    gap: 25px;
    justify-content: center;
}

.mv-box {
    flex: 1;
    max-width: 600px;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.1);
}


/* ============================================================
   CAMPUS LIFE GRID
============================================================ */
.campus-section {
    padding: 60px 40px;
    text-align: center;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}

.campus-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}


/* ============================================================
   QUICK LINKS
============================================================ */
.quicklinks-section {
    padding: 60px 40px;
    background: #f4f4f4;
    text-align: center;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.ql-card {
    padding: 25px;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    color: var(--green);
}


/* ============================================================
   FOOTER (Full Width)
============================================================ */
.sjco-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: var(--green);
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}


/* ============================================================
   RESPONSIVE DESIGN
============================================================ */
@media (max-width: 900px) {

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .news-card {
        flex: 0 0 100%;
    }

    .campus-grid {
        grid-template-columns: 1fr;
    }

    .quicklinks-grid {
        grid-template-columns: 1fr;
    }

    .mv-section {
        flex-direction: column;
    }
}
