/* =========================================
   KONFIGURASI VARIABEL WARNA & FONT
   ========================================= */
:root {
    --primary-green: #145c3e;   /* Hijau Utama */
    --dark-green: #0e3d26;      /* Hijau Gelap (Footer) */
    --accent-gold: #d4af37;     /* Emas Elegan */
    --text-dark: #2c3e50;        /* Warna Teks Utama */
    --text-muted: #6c757d;       /* Warna Teks Sekunder */
    --bg-light: #f8f9fa;        /* Background Abu Muda */
}

/* Font Setup (Pastikan Font sudah diload di HTML) */
body {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================================
   NAVBAR (Navbar Custom)
   ========================================= */
.navbar-custom {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(20, 92, 62, 0.3);
    transition: all 0.3s ease;
}

/* Efek saat discroll nanti (bisa ditambahkan via JS) */
.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: #fff !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 15px !important;
    margin: 0 5px;
}

/* Animasi Garis Bawah Emas saat Hover */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 70%;
}

/* =========================================
   HERO SECTION (Parallax & Animasi)
   ========================================= */
.hero-section {
    position: relative;
    height: 85vh; /* Tinggi 85% Layar */
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://picsum.photos/seed/school_building/1920/1080');
    background-size: cover;
    background-position: center;
    /* Efek Parallax */
    background-attachment: fixed; 
    opacity: 0.6;
    /* Animasi Zoom Pelan */
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(20, 92, 62, 0.8), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* =========================================
   BUTTONS (Elegan & Pill Shape)
   ========================================= */
.btn-elegan {
    background-color: var(--accent-gold);
    color: white;
    padding: 12px 30px;
    border-radius: 50px; /* Pill Shape */
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-elegan:hover {
    background-color: #bfa13d; /* Emas lebih gelap */
    transform: translateY(-3px); /* Efek naik sedikit */
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.6);
    color: white;
}

/* =========================================
   SECTIONS & CARDS
   ========================================= */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Bingkai Emas (Dipakai di Sambutan Kepsek) */
.gold-border-frame {
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 3px solid var(--accent-gold);
    z-index: 0;
}

/* Garis Emas Pendek (Dipakai di Judul) */
.gold-line {
    width: 80px; height: 3px; background: var(--accent-gold);
    margin: 10px auto;
}

/* Card Umum */
.card-header-border {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    background: #fff;
}

.card-header-border:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(20, 92, 62, 0.15);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--dark-green);
    color: #fff;
    padding-top: 70px;
    /* Garis Emas di atas */
    border-top: 5px solid var(--accent-gold);
}

footer h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

/* Hover efek teks link footer menjadi emas */
.hover-gold:hover {
    color: var(--accent-gold) !important;
    padding-left: 5px;
}

/* =========================================
   FORMS & INPUTS
   ========================================= */
.form-label {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control:focus, .form-select:focus {
    border-color: #2a9d8f; /* Warna Hijau Tosca */
    box-shadow: 0 0 0 0.25rem rgba(42, 157, 143, 0.25);
}

/* =========================================
   RESPONSIVE (HP COMPATIBLE)
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Hero lebih pendek di HP */
    }
    /* Matikan Parallax di HP agar performa lancar */
    .hero-bg {
        background-attachment: scroll; 
    }
    .display-3 {
        font-size: 2.5rem; /* Ukuran font hero mengecil */
    }
    .gold-border-frame {
        display: none; /* Sembunyikan frame rumit di HP agar rapi */
    }
}