/* =========================================
   BHAYANGKARA STUDENT COMPETITION 2026
   PREMIUM DESIGN SYSTEM
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    --army-primary: #1a150f;    /* Dark Brownish Charcoal */
    --army-dark: #0d0a07;
    --gold-primary: #d4af37;    /* Classic Gold */
    --gold-light: #f1c40f;
    --gold-hover: #b5952f;
    --bg-body: #fdfdfd;
    --text-main: #2d3436;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-body { font-family: var(--font-body) !important; }
.heading-font { font-family: var(--font-heading) !important; }
.text-gold { color: var(--gold-primary) !important; }

/* --- NAVBAR --- */
.navbar {
    background: rgba(30, 43, 32, 0.98) !important;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--gold-primary);
    padding: 15px 0;
}
.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(30, 43, 32, 0.8), rgba(30, 43, 32, 0.8)), 
                url('https://images.unsplash.com/photo-1544411047-c491e34a2450?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 140px 0;
    position: relative;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-primary);
}
.hero-badge {
    background: var(--gold-primary);
    color: var(--army-primary);
    font-weight: 800;
    letter-spacing: 2px;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}
.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 3px 3px 0px var(--gold-primary), 6px 6px 20px rgba(0,0,0,0.5);
    margin-top: 25px;
}
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
    font-style: italic;
    margin-bottom: 10px;
}

/* --- CARDS (POSTER STYLE) --- */
.poster-card {
    background: #fff;
    border: 3px dotted var(--gold-primary);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}
.poster-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 43, 32, 0.1);
}
.poster-card-title {
    background: var(--gold-primary);
    color: var(--army-primary);
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.poster-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.poster-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-weight: 600;
    color: #333;
}
.poster-list li i {
    color: var(--gold-primary);
    margin-right: 15px;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* --- TIMELINE --- */
.timeline-item {
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    margin-bottom: 15px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--gold-primary);
    border-radius: 50%;
}

/* --- COUNTDOWN --- */
.countdown-container {
    background: var(--army-primary);
    color: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.countdown-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
}
.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* --- DATA SECTION --- */
.premium-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.search-wrapper {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 10px 10px 10px 30px;
    display: flex;
    align-items: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: 0.3s;
}
.search-wrapper:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.search-wrapper input {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    box-shadow: none !important;
}

/* --- TABLE --- */
.table-custom {
    border-collapse: separate;
    border-spacing: 0 10px;
}
.table-custom thead th {
    background: var(--army-primary);
    color: var(--gold-primary);
    border: none;
    padding: 18px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.table-custom thead th:first-child { border-top-left-radius: 15px; border-bottom-left-radius: 15px; }
.table-custom thead th:last-child { border-top-right-radius: 15px; border-bottom-right-radius: 15px; }

.table-custom tbody tr {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.table-custom tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.table-custom tbody td {
    padding: 20px;
    border: none;
    vertical-align: middle;
}

/* --- STATS --- */
.stat-box {
    background: #f8f9fa;
    border-bottom: 4px solid var(--gold-primary);
    transition: 0.3s;
}
.stat-box:hover { transform: translateY(-5px); }
.stat-label { font-weight: 700; color: #777; }
.stat-value { color: var(--army-primary); }

/* --- BUTTONS --- */
.btn-gold {
    background: var(--gold-primary);
    color: var(--army-primary);
    border: none;
    font-weight: 800;
    padding: 12px 35px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-gold:hover {
    background: var(--army-primary);
    color: var(--gold-primary);
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    background: var(--army-primary);
    color: #fff;
    padding: 80px 0 40px;
    border-top: 5px solid var(--gold-primary);
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-primary);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .countdown-container { gap: 15px; padding: 15px; }
    .countdown-value { font-size: 1.8rem; }
}