/* ==========================================
1. RESET & BASE STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('4.jpg.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: #111e1b;
}

.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 35px;
    position: relative;
    font-weight: 700;
    color: #ffffff;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ffffff;
    margin: 10px auto 0;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background-color: #00503f;
    color: #ffffff;
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
    border: 1px solid #00503f;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-sm {
    display: inline-block;
    background-color: #00503f;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-sm:hover {
    background-color: #007a60;
}

/* ==========================================
2. NAVBAR STYLE (MOBILE FIRST - DEFAULT HP)
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #003a2e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 12px 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* Desain Tombol Titik Tiga Melayang */
.nav-toggle {
    display: block; /* Muncul di HP */
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.nav-toggle:hover {
    color: #e0752e;
}

/* Dropdown Menu Samping Melayang di HP */
.nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 180px;
    background-color: #002b22;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Animasi Sembunyi */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease-in-out;
}

/* Class pemicu saat tombol titik tiga aktif di-klik */
.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 20px;
    display: block;
    text-align: left;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu a:last-child {
    border-bottom: none;
}

.nav-menu a:hover {
    background-color: #00503f;
    color: #e0752e;
}

/* ==========================================
3. HERO SECTION (BERSIH & LEGA DI HP)
========================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px 20px 20px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    z-index: 3;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text-image-container {
    max-width: 220px;
    margin: 15px auto;
    overflow: hidden;
}

.hero-text-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
4. TENTANG KAMI
========================================== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.about-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e0752e;
}

.about-text h4 {
    font-size: 18px;
    margin: 20px 0 10px 0;
    color: #e0752e;
}

.about-text p {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 15px;
    text-align: justify;
}

.about-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}

/* ==========================================
5. JADWAL
========================================== */
.schedule-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.schedule-card {
    background: #00503f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.schedule-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.schedule-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schedule-card-content {
    padding: 15px;
    flex-grow: 1;
}

.schedule-card-day {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.schedule-card-time {
    font-size: 13px;
    color: #dddddd;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
6. LOKASI & KONTAK
========================================== */
.location-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.location-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.location-info h3 {
    color: #ffffff;
    font-size: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-card {
    background: #00503f;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.contact-card i {
    font-size: 35px;
    color: #e0752e;
    margin-bottom: 10px;
}

/* ==========================================
7. MAIN FOOTER & BOTTOM FOOTER
========================================== */
.main-footer {
    background-color: #002b22;
    color: #ffffff;
    width: 100%;
    border-top: 5px solid #e0752e;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.footer-title {
    color: #e0752e;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #dddddd;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.location-text {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.maps-link {
    color: #e0752e;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 25px;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
    color: #aaaaaa;
}

.highlight-orange {
    color: #e0752e;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-links a {
    color: #aaaaaa;
    text-decoration: none;
}

.footer {
    background-color: #001f18;
    color: #777777;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
}

/* ==========================================
8. MEDIA QUERIES: NORMAL DI LAPTOP / KOMPUTER (>= 768px)
========================================== */
@media (min-width: 768px) {
    .navbar {
        padding: 15px 0;
        background-color: rgba(0, 80, 63, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .nav-container {
        width: 90%;
        margin: 0 auto;
        position: static;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    /* Sembunyikan tombol titik tiga di Laptop/PC */
    .nav-toggle {
        display: none;
    }
    
    /* Kembalikan struktur menu berjejer mendatar yang rapi */
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        width: auto;
        padding: 0;
        gap: 25px;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 0;
        border-bottom: none;
    }
    
    .nav-menu a:hover {
        background: none;
        opacity: 0.8;
    }

    .hero-content h1 {
        font-size: 50px;
    }
    
    .hero-text-image-container {
        max-width: 380px;
    }
    
    .schedule-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .location-container {
        flex-direction: row;
    }

    .map-responsive, .location-info {
        flex: 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}