/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Amiri:wght@400;700&family=Bebas+Neue&display=swap');

/* ===== CSS VARIABLES - BLUE RAMADAN THEME ===== */
:root {
    --font-bebas: 'Bebas Neue', sans-serif;
    --bg-dark: #0a1118;
    /* Deep Midnight Blue */
    --bg-blue: #0f1c2a;
    /* Navy Blue */
    --bg-card: rgba(15, 28, 42, 0.7);
    --orange: #f39200;
    /* Ramadan Gold/Orange */
    --orange-light: #ffb13b;
    --white: #ffffff;
    --grey: #cbd5e0;
    --glass-border: rgba(243, 146, 0, 0.2);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(circle at 50% 10%, rgba(243, 146, 0, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #0a1118 0%, #1a2a3a 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* RAMADAN ORNAMENTS BACKGROUND */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(1px 1px at 10% 20%, #fff, transparent),
        radial-gradient(1px 1px at 30% 50%, #fff, transparent),
        radial-gradient(1px 1px at 70% 30%, #fff, transparent),
        radial-gradient(1px 1px at 50% 80%, #fff, transparent),
        radial-gradient(2px 2px at 85% 15%, #f39200, transparent);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

/* CRESCENT MOON ORNAMENT */
body::after {
    content: "🌙";
    position: fixed;
    top: 80px;
    right: 5%;
    font-size: 4rem;
    opacity: 0.15;
    filter: drop-shadow(0 0 20px var(--orange));
    z-index: -1;
    transform: rotate(-15deg);
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== GEOMETRIC PATTERNS ===== */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2v-4h4v-2H6zm30 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.orange-text {
    color: var(--orange);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(15, 23, 30, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-galeri {
    font-weight: 600;
    color: var(--orange);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-acps:hover {
    opacity: 1;
    color: var(--white);
}

@media (max-width: 600px) {
    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link-acps {
        padding-left: 10px;
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo span {
        font-size: 0.9rem;
    }

    .nav-inner {
        gap: 8px;
    }

    .nav-link-galeri span {
        display: none;
    }

    .nav-link-galeri::after {
        content: 'Galeri';
        font-size: 0.85rem;
    }

    .nav-link-galeri::after {
        content: 'Galeri';
        font-size: 0.85rem;
    }
}

/* ===== HERO DEPAN ===== */
.hero-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* Jarak ideal antar logo */
    flex-wrap: wrap;
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--orange);
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--white);
}

.hero-acps-link {
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 1px;
    transition: var(--transition);
}

.hero-acps-link span {
    color: var(--white);
    font-weight: 700;
}

.hero-acps-link:hover {
    color: var(--orange);
}

.hero {
    padding-top: 150px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
}

.badge-alumni {
    display: inline-block;
    background: var(--orange);
    color: #000;
    font-weight: 800;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-bebas);
    font-size: clamp(4rem, 15vw, 8rem);
    line-height: 0.85;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 50px;
}

/* ===== LIVE RELAXATION / WAIT SECTION ===== */
.wait-section {
    padding: 60px 0;
}

.wait-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.count-box {
    background: var(--bg-dark);
    border: 1px solid var(--orange);
    width: 90px;
    height: 90px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.count-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.count-unit {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
    margin-top: 5px;
}

/* ===== PHOTO UPLOAD SECTION ===== */
.upload-section {
    padding: 40px 0;
}

.upload-card {
    background: var(--bg-card);
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.upload-card:hover {
    border-color: var(--orange);
}

.btn-upload {
    background: var(--orange);
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-upload:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(243, 146, 0, 0.4);
}

.hidden-input {
    display: none;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--grey);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 20px;
    display: none;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--orange);
    width: 0%;
    transition: width 0.3s ease;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .count-box {
        width: 70px;
        height: 70px;
    }

    .count-val {
        font-size: 1.5rem;
    }
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    user-select: none;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: 0.3s;
}

.lightbox-close:hover {
    background: var(--orange);
    color: #000;
}

.lightbox-download {
    position: absolute;
    top: 30px;
    right: 90px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: 0.3s;
}

.lightbox-download:hover {
    background: #1ab87a;
    color: #fff;
}

/* ===== VIDEO GALLERY STYLES ===== */
.video-item {
    position: relative;
    cursor: pointer;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(243, 146, 0, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1.8rem !important;
    box-shadow: 0 0 25px rgba(243, 146, 0, 0.6) !important;
    transition: var(--transition);
    pointer-events: none;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-item:hover .play-icon {
    background: var(--orange);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 35px rgba(243, 146, 0, 0.8);
}

.lightbox-video {
    width: 100%;
    max-height: 85vh;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    display: none;
    outline: none;
}

.lightbox.active #lightbox-video[src] {
    display: block;
}