/* ========== YOUR ORIGINAL STYLES (unchanged) ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background:  #0a0a0a;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: #f0f0f0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.site-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.site-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.gallery-item, .news-card, .calender-card, .event-card, .student-stats {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}
.gallery-item:hover, .news-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0);
}
.page-btn:active, .nav-btn:active, .take-a-look:active {
    transform: scale(0.96);
}
.global-nav {
    background: #1a0f0f;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.nav-btn {
    background: transparent;
    border: none;
    color: #ffcccc;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    letter-spacing: 0.5px;
}
.nav-btn:hover {
    background: #b22222;
    color: #1a0f0f;
    transform: translateY(-3px);
}
.site-section {
    width: 100%;
    margin: 0;
    padding: 4rem 6%;
}
@media (max-width: 768px) {
    .site-section {
        padding: 2.5rem 1.5rem;
    }
}
.artistic-main {
    background: radial-gradient(circle at 10% 20%, #2a0f0f, #1a0608);
    position: relative;
    overflow: hidden;
    color: #fff2e6;
    min-height: 650px;
}
.artistic-main::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.055);
    background-size: cover;
    pointer-events: none;
    animation: slowDrift 30s infinite alternate;
}
@keyframes slowDrift {
    0% { transform: scale(1) translateX(0); }
    100% { transform: scale(1.05) translateX(2%); }
}
.artistic-main .hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-left {
    flex: 1.5;
    backdrop-filter: blur(1px);
    border-radius: 3rem;
    padding: 2rem;
}
.title-main {
    font-size: 5.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    border-bottom: solid #b33;
}
.title-main .integrated {
    font-weight: 800;
    font-size: 0.4em;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffaaaa;
}
.title-main .integrated2 {
    font-weight: 900;
    font-size: 0.4em;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #883c3d;
}
.title-main .manggala {
    font-weight: 900;
    background: linear-gradient(115deg, #ffaaaa, #cc6666, #aa3333);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}
.batch-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    margin: 1rem 0 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
}
.info-card {
    background: rgba(255, 251, 206, 0.9);
    border-radius: 2rem;
    padding: 1rem 1.8rem;
    margin: 1.5rem 0;
    color: #221620;
    font-weight: 500;
}
.cta-section {
    margin: 1.8rem 0 0.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.take-a-look {
    background: linear-gradient(105deg, #ac735946, #775a2f5d);
    border: 1px solid ;
    padding: 0.8rem 2.2rem;
    font-weight: 800;
    color: #d4b04c;
    display: inline-flex;
    border-radius: 5px;
    align-items: center;
    gap: 0.6rem;
    transition: 0.2s;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight:9600;
}
.take-a-look:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(105deg, #000000, #000000);
    box-shadow: 0 18px 28px -10px black;
    color: white;
}
.hero-right-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: 20px 20px 40px rgba(0,0,0,0.4), -8px -8px 20px rgba(255,200,150,0.2);
    border: 3px solid #fcf5af;
    transition: all 0.4s ease;
    transform: rotate(2deg);
}
.hero-right-image img:hover {
    transform: rotate(0deg) scale(1.02);
    border-radius: 50% 20% 50% 30%;
}
.bottom-accent {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    border-top: 2px dashed #b33;
    padding-top: 1.2rem;
    font-weight: 500;
    flex-wrap: wrap;
    color: #ffcccc;
}
.light-section {
    background: #fffcf7;
    border-top: 1px solid #ffe0cf;
    border-bottom: 1px solid #ffe0cf;
    position: relative;
}
.light-section .title-main .manggala {
    background: linear-gradient(125deg, #9f2325, #e44f0a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.academic-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 2rem 0 0.5rem;
}
@media (max-width: 900px) {
    .academic-dashboard { grid-template-columns: 1fr; }
}
.calender-card, .event-card, .student-stats {
    background: #2a1a1a;
    padding: 1.6rem;
    border: 3px solid #b33;
    transition: 0.2s;
    box-shadow: 0 6px 14px rgba(0,0,0,0.02);
}
.calender-card h3, .event-card h3, .student-stats h3 {
    font-size: 1.2rem;
    font-weight: 700;
    border-left: 5px solid #b33;
    padding-left: 0.8rem;
    margin-bottom: 1.2rem;
    color: #ffcccc;
}
.month-nav-btn {
    background: #f7e9e2;
    border: none;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #9f2325;
}
.month-nav-btn:hover {
    background: #b33;
    color: white;
}
.mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}
.cal-day {
    font-weight: 800;
    font-size: 0.7rem;
    background: #fff0e8;
    padding: 0.4rem 0;
    border-radius: 30px;
    color: #b45134;
}
.cal-date {
    background: #fef7f2;
    border-radius: 40px;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.1s;
    color: #2c2c2c;
    border: 1px solid #ffe0d0;
}
.cal-date.event-day {
    background: #ffede3;
    color: #c23b1f;
    font-weight: bold;
    position: relative;
    border-color: #b33;
}
.cal-date.event-day::after {
    content: "◆";
    color: #b33;
    font-size: 0.6rem;
    position: absolute;
    bottom: -2px;
    right: 5px;
}
.jurusan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
    padding: 0.5rem 0.6rem;
    background: #fffaf6;
    border-radius: 50px;
}
.total-badge {
    background: #fef1ea;
    color: #c24628;
    padding: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1rem;
}
:root {
    --grid-cols: 4;
}
.pagination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 0;
    transition: opacity 0.3s ease-in-out;
}
@media (max-width: 1100px) {
    .pagination-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .pagination-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 550px) {
    .pagination-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-item {
    background: #fffef7;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid #b33;
    cursor: pointer;
    transform: rotate(0deg);
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Make the anchor wrapper behave like the original div */
a.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.gallery-item:hover {
    transform: translateY(-8px) rotate(0.5deg);
    border-color: #b33;
    box-shadow: 0 20px 30px -12px black;
}
.gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.3s;
}
.gallery-info {
    padding: 1rem 1rem 1.2rem;
    flex: 1;
    color: black;
    font-weight: 700;
}
.gallery-title {
    font-weight: 800;
    color: #b33;
    font-size: 1rem;
}
.gallery-tag {
    font-size: 0.7rem;
    background: #b33;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-top: 8px;
    font-weight: 600;
    color: white;
}
.news-card {
    background: white;
    border-radius: 2rem;
    padding: 1.4rem;
    transition: 0.25s;
    border: 6px solid #ffcccc;
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-6px);
    border-color: #b33;
    box-shadow: 0 18px 28px -12px rgba(158, 35, 37, 0.2);
}
.news-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #b33;
    margin: 8px 0;
}
.news-tag {
    font-size: 0.7rem;
    background: #f0e1d6;
    display: inline-block;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    margin-top: 8px;
    font-weight: 600;
    color: #b33;
}
.flex-row-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.side-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 60px;
    background: #3e1f1f;
    color: #ffcccc;
    border: 1px solid #b33;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.light-section .side-btn {
    background: #f5e6dd;
    color: #b33;
    border: 1px solid #b33;
}
.side-btn:hover:not(:disabled) {
    background: #b33;
    color: #1a0f0f;
    transform: scale(1.05);
}
.side-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.flex-row-buttons .pagination-grid {
    flex: 1;
    margin: 0;
}
.gallery-artistic {
    background: linear-gradient(135deg, #221620, #3e1118);
    position: relative;
}
.gallery-artistic::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #221620, transparent);
    pointer-events: none;
}
.footer-section {
    background: #1a0f0f;
    padding: 2rem 6%;
    color: #ffcccc;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    border-top: 2px solid #b33;
}
.social-icons i {
    font-size: 1.4rem;
    margin-left: 1rem;
    transition: 0.2s;
    color: #b33;
}
.social-icons i:hover { color: #ff6666; transform: translateY(-3px); }
.active-date {
    background: #b33;
    color: white;
    border-color: #b33;
}
.event-item {
    background: #fffaf2;
    border-radius: 1.2rem;
    padding: 1rem;
    color: black ;
}
.event-badge {
    background: #ffded3;
    color: #b33;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
}
.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.current-month {
    font-weight: 700;
    background: #f3e3da;
    padding: 0.3rem 1.2rem;
    border-radius: 60px;
    color: #b33;
}
@media (max-width: 768px) {
    .global-nav { padding: 0.6rem 1rem; gap: 0.5rem; }
    .nav-btn { padding: 0.4rem 1rem; font-size: 0.8rem; }
    .side-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .flex-row-buttons {
        gap: 0.8rem;
    }
}

/* ========== HERO ENHANCEMENTS – RED THEME WITH DEEPER TONES ========== */

/* 1. Background with dark red overlay and matching image */
.artistic-main {
    background: linear-gradient(rgba(30, 10, 10, 0.9), rgba(20, 5, 5, 0.95)),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

/* 2. Pseudo‑element overlay for texture */
.artistic-main::before {
    opacity: 0.2;
    mix-blend-mode: overlay;
}

/* 3. Left container glass card with deep red tint */
.hero-left {
    background: rgba(30, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(180, 60, 60, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-left:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 50px -20px black;
}

/* 4. Batch badge and info card in red glass style */
.batch-badge {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(180, 60, 60, 0.5);
    color: #ffcccc;
}

.info-card {
    background: rgba(180, 60, 60, 0.2);
    backdrop-filter: blur(4px);
    color: #ffe0e0;
    border: 1px solid rgba(180, 60, 60, 0.5);
}

/* 5. Stat cards (assuming they are direct children after .info-card) */
.hero-left > *:not(.title-main):not(.batch-badge):not(.info-card):not(.cta-section) {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(180, 60, 60, 0.15);
    backdrop-filter: blur(4px);
    border-radius: 1.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(180, 60, 60, 0.4);
    transition: all 0.25s ease;
}

.hero-left > *:not(.title-main):not(.batch-badge):not(.info-card):not(.cta-section)::before {
    content: "🏆";
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    display: inline-block;
    margin-right: 0.5rem;
}

/* Custom icons (adjust :nth-child if needed) */


.hero-left > *:not(.title-main):not(.batch-badge):not(.info-card):not(.cta-section):hover {
    background: rgba(180, 60, 60, 0.3);
    transform: translateY(-3px);
    border-color: #b33;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 6. CTA button in red gradient */
.take-a-look {
    background: linear-gradient(105deg, #aa3333, #cc6666);
    border: none;
    color: #fff0e6;
    font-weight: 800;
    padding: 0.9rem 2.5rem;
    border-radius: 60px;
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.take-a-look:hover {
    transform: translateY(-4px);
    background: linear-gradient(105deg, #cc6666, #aa3333);
    box-shadow: 0 20px 30px -10px black;
    color: white;
}

/* 7. Right image with red‑tinted shadow */
.hero-right-image img {
    box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(180, 60, 60, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-color: #b33;
}

.hero-right-image img:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 35px 45px -15px black;
}

/* 8. Responsive */
@media (max-width: 992px) {
    .hero-left {
        padding: 1.5rem;
    }
    .hero-left > *:not(.title-main):not(.batch-badge):not(.info-card):not(.cta-section) {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .hero-left > *:not(.title-main):not(.batch-badge):not(.info-card):not(.cta-section)::before {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* 9. Title border matches red theme */
.title-main {
    border-bottom: 2px solid #b33;
}