/* =============================
   ADMIN DASHBOARD MODERN STYLE
   ============================= */
.dashboard {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(40,40,40,0.10), 0 1.5px 6px 0 rgba(40,40,40,0.08);
    padding: 40px 32px;
    margin: 48px auto;
    max-width: 950px;
}
.dashboard h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.section {
    background: #f8f9fb;
    border-radius: 14px;
    box-shadow: 0 1px 4px 0 rgba(40,40,40,0.04);
    padding: 28px 24px 20px 24px;
    margin-bottom: 32px;
}
.section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b89442;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px 0 rgba(40,40,40,0.04);
    margin-bottom: 16px;
    font-size: 1rem;
}
.admin-table th {
    background: #f3e7c9;
    color: #7a5c1c;
    font-weight: 700;
    padding: 12px 10px;
    border-bottom: 2px solid #e7d6b0;
    text-align: left;
}
.admin-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover {
    background: #f9f6ef;
    transition: background 0.2s;
}
.actions button {
    background: #b89442;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.98rem;
    font-weight: 600;
    margin-right: 6px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px 0 rgba(40,40,40,0.08);
}
.actions button:last-child {
    margin-right: 0;
    background: #e74c3c;
}
.actions button:hover {
    background: #7a5c1c;
    color: #fff;
}
.actions button:last-child:hover {
    background: #c0392b;
}
.add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 8px;
}
.add-form input,
.add-form textarea {
    flex: 1 1 180px;
    border: 1.5px solid #e7d6b0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s;
}
.add-form input:focus,
.add-form textarea:focus {
    border: 1.5px solid #b89442;
    outline: none;
}
.add-form button {
    background: #b89442;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 8px;
    box-shadow: 0 1px 2px 0 rgba(40,40,40,0.08);
}
.add-form button:hover {
    background: #7a5c1c;
}
@media (max-width: 700px) {
    .dashboard {
        padding: 18px 4px;
    }
    .section {
        padding: 16px 6px 12px 6px;
    }
    .admin-table th, .admin-table td {
        font-size: 0.95rem;
        padding: 8px 4px;
    }
    .add-form button {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset untuk fixed navbar agar section tidak tertutup saat scroll */
}

/* NAVBAR UTAMA (Update ke Fixed & tambah Transition) */
.navbar {
    position: fixed; /* UBAH DARI absolute JADI fixed agar selalu ikut scroll */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 15px 50px;
    background: transparent;
    z-index: 1000; /* Pastikan angkanya besar agar tidak tertutup gambar lain */
    transition: all 0.3s ease-in-out; /* Efek halus saat ganti warna */
}

/* =========================================
   LOGO IMAGE STYLING
   ========================================= */
.logo img {
    height: 70px; /* Atur angka ini (misal 40px atau 60px) kalau logonya kekecilan/kebesaran */
    width: auto;  /* Biarkan auto agar gambar tidak gepeng */
    display: block;
    position: relative;
    top: -6px; /* Geser ke atas */
}

.logo-text {
    color: #b89442; /* Warna emas */
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* WADAH NAVIGASI & TOMBOL DI KANAN */
.nav-container {
    display: flex;
    align-items: center;
    gap: 35px; /* Jarak antara menu "KONTAK" dengan tombol "Booking" */
}

/* MENU NAVIGASI */
.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px; /* Jarak antar teks menu (HOME ke TENTANG KAMI) */
}

.navbar ul li a {
    text-decoration: none;
    color: #d4a742; /* Warna emas terang sesuai gambar */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

/* Garis bawah pada menu yang sedang aktif (HOME) */
.navbar ul li a.active {
    border-bottom: 2px solid #d4a742;
    padding-bottom: 5px;
}

/* TOMBOL BOOKING */
.btn-booking {
    background-color: #d4a742;
    color: #000;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 5px; /* Sedikit kotak sesuai gambar */
    font-size: 14px;
    transition: 0.3s;
}

.btn-booking:hover {
    background-color: #b89442;
}

/* =========================================
   PERBAIKAN DROPDOWN - HAPUS BACKGROUND KOTAK
   ========================================= */

/* 1. Induk menu (SERVICES/LAYANAN) */
.navbar ul li.dropdown {
    position: relative;
    cursor: pointer;
}

/* 2. Kotak Dropdown:DEFAULT SEMBUNYI & TRANSPARAN TOTAL */
.dropdown-menu {
    display: none !important; /* Pakai !important untuk memastikan dia sembunyi */
    position: absolute;
    top: 100%; /* Pas di bawah tulisan SERVICES */
    left: 0;
    
    /* HAPUS BACKGROUND HITAM SEBELUMNYA */
    background-color: transparent !important; /* Kotak jadi tembus pandang */
    
    min-width: 250px;
    padding: 10px 0; /* Ruang sedikit agar tidak menempel */
    z-index: 9999;
    flex-direction: column;
    gap: 0 !important;
}

/* 3. TAMPILKAN saat menu SERVICES disentuh kursor (hover) */
.navbar ul li.dropdown:hover .dropdown-menu {
    display: flex !important; /* Memaksa kotak muncul saat di-hover */
}

/* 4. Pengaturan Teks di dalam kotak Dropdown */
.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu li a {
    padding: 8px 0; /* Rapatkan jarak antar teks (atas-bawah) */
    display: block;
    font-size: 14px;
    
    /* WARNA TEKS TETAP EMAS AGAR TERBACA JELAS DI ATAS GEDUNG */
    color: #d4a742; 
    
    transition: 0.3s;
    margin: 0 !important;
    text-align: left;
    background-color: transparent !important; /* Pastikan tidak ada background di teks */
}

/* 5. Efek saat sub-menu dipilih */
.dropdown-menu li a:hover {
    color: #ffffff !important; /* Berubah jadi PUTIH saat disorot */
    text-decoration: underline; /* Sedikit efek garis bawah agar terlihat interaktif */
}

/* =========================================
   PERBAIKAN: PAPAN BACKGROUND TIPIS, LOGO TETAP BESAR
   ========================================= */

/* 1. Paksa papan background (navbar) jadi tipis */
.navbar.scrolled {
    background-color: #3e2009;
    height: 75px !important; /* INI KUNCINYA: Tinggi papan dipaksa kecil (ganti angka ini kalau masih kurang pas) */
    padding: 0 50px !important; /* Hapus padding atas-bawah supaya tidak makin tebal */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 2. Logo dibiarkan tetap besar sesuai ukuran aslinya */
.navbar.scrolled .logo img {
    height: 70px !important; /* Ukuran logomu tidak diganggu gugat */
    /* Karena papannya cuma 75px tapi logonya 70px, logonya akan otomatis sedikit menonjol keluar. Keren! */
}

/* 3. Tulisan Navigasi Jadi Putih */
.navbar.scrolled ul li a {
    color: #ffffff !important; 
}

/* 4. Garis Bawah Menu Aktif */
.navbar.scrolled ul li a.active {
    border-bottom: 2px solid #ffffff;
}

/* 5. Hover Effect (Teks Putih ke Emas) */
.navbar.scrolled ul li a:hover {
    color: #d4a742 !important; 
}

/* 6. Background Dropdown saat discroll */
.navbar.scrolled .dropdown-menu {
    background-color: #3e2009 !important;
}

/* =========================================
   HAMBURGER MENU FOR MOBILE
   ========================================= */

/* Hamburger button - always hidden */
.hamburger {
    display: none !important;
}

/* Mobile Navigation Styles - Always show horizontal nav */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
    }

    .nav-container {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-container::-webkit-scrollbar {
        display: none;
    }

    .navbar nav {
        position: static;
        width: 100%;
        height: auto;
        background: transparent;
        display: block;
        left: auto;
    }

    .navbar nav ul {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 14px;
        text-align: center;
        justify-content: center;
        padding: 8px 0;
        overflow-x: visible;
    }

    .navbar nav ul li a {
        font-size: 11px;
        color: #d4a742;
        padding: 6px 0;
        display: block;
        white-space: nowrap;
    }

    /* Dropdown in mobile */
    .dropdown-menu {
        position: static !important;
        background: rgba(40, 40, 40, 0.8) !important;
        margin-top: 15px;
        border-radius: 8px;
        padding: 15px 0;
        display: none !important;
    }

    .navbar ul li.dropdown:hover .dropdown-menu {
        display: none !important;
    }

    /* Mobile dropdown toggle */
    .navbar ul li.dropdown.active .dropdown-menu {
        display: flex !important;
    }

    /* Adjust booking button for mobile */
    .btn-booking {
        font-size: 16px;
        padding: 12px 30px;
    }

    /* Adjust navbar padding on mobile */
    .navbar {
        padding: 15px 20px;
    }

    /* Logo size adjustment for mobile */
    .logo img {
        height: 50px;
    }
    
    /* Hero sections mobile responsiveness */
    .hero-contact, .hero-about, .hero-academic, .hero-non-academic, .hero-gallery {
        min-height: 70vh;
        padding: 0 20px;
    }
    
    .hero-about-content, .hero-contact-content, .hero-academic-content, .hero-non-academic-content, .hero-gallery-content {
        max-width: 95%;
        padding: 30px 15px;
    }
    
    .hero-about-content h1, .hero-contact-content h1, .hero-academic-content h1, .hero-non-academic-content h1, .hero-gallery-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero-about-content p, .hero-contact-content p, .hero-academic-content p, .hero-non-academic-content p, .hero-gallery-content p {
        font-size: 0.9rem !important;
        line-height: 1.6;
    }
}

/* Additional mobile improvements for forms and content */
@media (max-width: 768px) {
    /* General content padding */
    .container, .content-section {
        padding: 40px 20px;
    }
    
    /* Buttons mobile sizing */
    .btn, .btn-primary, .btn-secondary {
        font-size: 14px;
        padding: 12px 24px;
        width: 100%;
        margin: 5px 0;
    }
    
    /* Typography adjustments */
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.3rem !important; }
    h4 { font-size: 1.1rem !important; }
    
    /* Text content */
    p, li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Contact forms and input fields */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control, input, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        width: 100%;
    }
    
    /* Tables responsive */
    .table-responsive table {
        font-size: 0.85rem;
    }
    
    .table-responsive th, .table-responsive td {
        padding: 8px 5px;
    }
}

/* HERO SECTION - Tempat gambar utama */
.hero {
    position: relative;
    height: 100vh;
    background: url('./images/awal.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Mencegah video keluar dari area hero */
}

/* STYLING UNTUK VIDEO BACKGROUND YOUTUBE EMBED */
.hero-video-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none; /* Mencegah video terklik atau dipause oleh pengguna */
    border: none;
}

/* Memastikan iframe video bersifat "Cover" merespons rasio layar (16:9) */
@media (min-aspect-ratio: 16/9) {
    .hero-video-embed { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    .hero-video-embed { width: 177.78vh; }
}

/* Lapisan hitam tipis agar gambar tidak terlalu terang */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1; /* Pastikan overlay hitam berada di atas video */
}

/* =========================================
   HERO SECTION (INDEX)
   ========================================= */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1000px; /* Sedikit dilebarkan agar teks deskripsi tidak terlalu panjang ke bawah */
    padding: 0 20px;
    text-align: center; /* Memastikan teks persis di tengah */
    margin: 0 auto;
    margin-top: 60px; /* Turunkan konten hero sedikit */
}

.hero-content h1 {
    font-size: 3.5rem; /* Dikecilkan dari sebelumnya agar lebih rapi */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    max-width: 850px; /* Menjaga agar paragraf tidak terlalu melebar ke tepi layar */
}

/* Tombol About Us di tengah */
.btn-about {
    background-color: #c19330;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
}

/* SECTION SERVICES */
.services {
    padding: 80px 60px;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #0f0500;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase;
}

/* Garis kecil di bawah judul */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #b89442;
    margin: 15px auto 0;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    max-width: 500px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


.service-info h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-info {
    padding: 25px;
}


.service-info p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-info .btn-learn-more {
    display: inline-block;
    padding: 10px 28px;
    background-color: #b89442;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.service-info .btn-learn-more:hover {
    background-color: #d4a742;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 148, 66, 0.3);
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .service-card {
        max-width: 90%;
        margin: 0 auto 20px;
    }
    
    .service-card img {
        height: 200px;
    }
    
    .service-info {
        padding: 20px 15px;
    }
    
    .service-info h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .navbar {
        padding: 15px 20px;
    }

    /* Hero section responsive */
    .hero {
        padding: 0 20px;
        min-height: 80vh;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .btn-about {
        font-size: 13px;
        padding: 12px 25px;
    }
    
    /* Services section mobile */
    .services {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
        margin: 12px auto 0;
    }
}

/* =========================================
   EXCELLENCE SECTION (REVISI SEJAJAR & CENTER)
   ========================================= */
.excellence-section {
    padding: 80px 10%;
    background-color: #fcfcfc; /* Warna putih dengan sedikit corak abu sangat muda */
    display: flex;
    justify-content: center;
}

.excellence-section .container {
    display: flex;
    align-items: center; /* Kunci utama: Menyejajarkan teks & gambar secara vertikal */
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}

/* Kolom Teks */
.excellence-section .text-content {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Menengahkan tombol */
    text-align: center; /* Menengahkan teks */
}

.excellence-section h2 {
    font-size: 2.2rem; /* Huruf dikecilkan */
    color: #1a1a1a;
    line-height: 1.3; /* Jarak antar baris dirapatkan */
    margin-bottom: 20px;
    font-weight: 800;
}

.excellence-section h2 span {
    color: #b89442; /* Warna Emas */
}

.excellence-section p {
    font-size: 0.95rem; /* Huruf paragraf dikecilkan */
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tombol */
.excellence-section .btn-booking {
    background-color: #d4a742;
    color: #000;
    padding: 12px 35px; /* Sedikit dilebarkan sesuai gambar */
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(212, 167, 66, 0.3);
}

/* Kolom Gambar */
.excellence-section .image-content {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.excellence-section .image-content img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px; /* Siku gambar dibuat melengkung halus */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Efek bayangan kotak */
    object-fit: cover;
}

/* Responsif untuk layar Tablet & HP */
@media (max-width: 992px) {
    .excellence-section .container {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   FOOTER STYLING (Diperbarui Lebih Gelap & Rapat)
   ========================================= */
.main-footer {
    background-color: #e5e5e5; /* Abu-abu agak digelapkan dari sebelumnya */
    padding: 40px 10% 20px; /* Padding atas-bawah diperkecil drastis */
    color: #444; /* Warna teks agak gelap */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-brand {
    margin-bottom: 12px; /* Dibuat lebih rapat */
    margin-top: -10px; /* Angkat logo agar sejajar dengan header kolom lain */
}

.footer-brand img {
    height: 60px; /* Ukuran logo di footer */
    width: auto;
    display: block;
}

.footer-desc {
    line-height: 1.5;
    margin-bottom: 15px; /* Dibuat lebih rapat */
    font-size: 0.9rem;
    color: #555;
}

.footer-col h4 {
    color: #b89442;
    margin-bottom: 15px; /* Jarak judul ke list dirapatkan */
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px; /* Jarak antar teks menu dirapatkan */
}

.footer-col ul li a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #b89442;
}

/* Ikon Sosial Media */
.social-icons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #b89442;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #b89442;
    font-weight: bold;
    font-size: 0.8rem;
    transition: 0.3s;
}

.icon-circle:hover {
    background-color: #b89442;
    color: white;
}

/* =========================================
   IKON SOSIAL MEDIA (TEMA PUTIH EMAS KHAS AJMN)
   ========================================= */

.social-icon-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px; /* Lebar lingkaran dikecilkan */
    height: 35px; /* Tinggi lingkaran dikecilkan */
    border-radius: 50%; /* Membuatnya bulat sempurna */
    background-color: #e5e5e5; /* Background abu-abu seperti footer */
    border: 2px solid #b89442; /* Garis tepi warna emas khas kita */
    color: #b89442; /* Warna logo ikonnya (emas) */
    font-size: 1rem; /* Ukuran logo dikecilkan */
    text-decoration: none;
    transition: all 0.3s ease; /* Efek transisi halus */
}

.social-icon-gold img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* Efek saat ikon disentuh kursor (Hover) */
.social-icon-gold:hover {
    background-color: #b89442; /* Background jadi emas */
    color: #ffffff; /* Logo jadi putih */
    transform: translateY(-3px); /* Sedikit terangkat */
    box-shadow: 0 5px 15px rgba(184, 148, 66, 0.3); /* Bayangan emas tipis */
}

/* Kontak Info */
.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 8px; /* Jarak antar info dirapatkan */
    line-height: 1.45;
    color: #555;
    display: flex;
    align-items: flex-start; /* Sejajarkan icon dan teks */
    gap: 8px;
}

/* Icon dengan lebar tetap agar teks sejajar */
.contact-info .contact-icon {
    width: 20px;
    display: inline-block;
    text-align: center;
    flex-shrink: 0; /* Pastikan icon tidak menyusut */
}

.contact-info .contact-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
    margin-top: 2px;
}

/* Text wrapper agar bisa wrap dengan baik */
.contact-info p span:not(.contact-icon) {
    flex: 1;
    line-height: 1.45;
}

/* Bagian Bawah Copyright */
.footer-bottom {
    margin-top: 30px; /* Jarak pemisah ke atas diperkecil (awalnya 50px) */
    text-align: center;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #d5d5d5; /* Warna garis dibuat agak gelap dikit */
    margin-bottom: 15px; /* Jarak garis ke tulisan dirapatkan */
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #777;
}

.footer-copyright a {
    color: #777;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #b89442;
}

/* Responsif HP */
@media (max-width: 768px) {
    .main-footer {
        padding: 30px 20px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-col {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    /* Footer brand styling for mobile */
    .footer-brand {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-brand img {
        height: 50px;
        margin: 0 auto;
    }
    
    .footer-desc {
        text-align: center;
        font-size: 0.85rem;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    /* Headers styling for mobile */
    .footer-col h4 {
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 15px;
        padding-bottom: 5px;
        border-bottom: 1px solid #d5d5d5;
    }
    
    /* Contact info mobile styling */
    .contact-info {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-info p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        align-items: center;
        padding: 4px 0;
    }
    
    .contact-info .contact-icon {
        width: 25px;
        font-size: 1.1rem;
        margin-right: 5px;
    }

    .contact-info .contact-icon img {
        width: 17px;
        height: 17px;
        margin-top: 0;
    }
    
    /* Social icons mobile styling */
    .social-icons {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-icon-gold {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .social-icon-gold img {
        width: 20px;
        height: 20px;
    }
    
    /* Footer links mobile styling */
    .footer-col ul {
        text-align: center;
    }
    
    .footer-col ul li {
        margin-bottom: 12px;
    }
    
    .footer-col ul li a {
        font-size: 0.9rem;
        padding: 5px 0;
        display: inline-block;
    }
    
    /* Footer bottom mobile styling */
    .footer-bottom {
        margin-top: 25px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* Adjust nav container for mobile footer spacing */
    .nav-container {
        justify-content: space-between;
        width: 100%;
    }
}

/* =========================================
   HERO SECTION - TENTANG KAMI 
   ========================================= */
.hero-about {
    position: relative;
    height: 100vh;
    background: url('./images/aboutus.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =========================================
   HERO SECTION - GALLERY 
   ========================================= */
.hero-gallery {
    position: relative;
    height: 100vh;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =========================================
   HERO SECTION - KONTAK 
   ========================================= */
.hero-contact {
    position: relative;
    height: 100vh;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =========================================
   HERO SECTION - AKADEMIK VENTURE 
   ========================================= */
.hero-academic {
    position: relative;
    height: 100vh;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.academic-detail-hero {
    position: relative;
    height: 52vh;
    min-height: 320px;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =========================================
   HERO SECTION - NON-AKADEMIK VENTURE 
   ========================================= */
.hero-non-academic {
    position: relative;
    height: 100vh;
    background: url('./images/Amphi1.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Overlay agar gambar background agak gelap (mirip gambar referensi) */
.hero-about .overlay,
.academic-detail-hero .overlay,
.hero-academic .overlay,
.hero-non-academic .overlay,
.hero-gallery .overlay,
.hero-contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-about-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-about-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.academic-detail-hero .hero-about-content h1 {
    max-width: 1200px;
    margin: 0 auto;
    font-size: clamp(1.8rem, 4.8vw, 3.8rem);
    line-height: 1.12;
    letter-spacing: 1.2px;
    text-wrap: balance;
    word-break: break-word;
}

.academic-detail-hero .hero-about-content h1.hero-title-compact {
    font-size: clamp(1.45rem, 3.6vw, 2.9rem);
    line-height: 1.16;
}

/* =========================================
   ACADEMIC CARD SECTION
   ========================================= */
.academic-services {
    padding: 80px 5%;
    background: #f1f2f4;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.academic-services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.academic-service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.academic-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.academic-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.academic-service-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.academic-service-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    margin-bottom: 14px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.3em * 2);
}

.academic-service-content h3.long-title {
    font-size: 1.05rem;
}

.academic-service-content h3.title-strong {
    font-weight: 800;
}

.academic-service-content p {
    color: #5b6472;
    font-size: 1.03rem;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.academic-service-action {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.academic-btn-learn {
    display: inline-block;
    background: #c19b44;
    color: #ffffff;
    padding: 12px 34px;
    border-radius: 9px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease;
}

.academic-btn-learn:hover {
    background: #a88537;
}

/* =========================================
   ACADEMIC DETAIL PAGE
   ========================================= */
.academic-detail-page {
    padding: 80px 5%;
    background: #f6f6f6;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.academic-detail-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: stretch;
}

.academic-detail-wrapper.gallery-layout {
    grid-template-columns: 1fr;
    gap: 28px;
}

.academic-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    display: block;
}

.academic-detail-media.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.academic-detail-media.gallery-strip img {
    width: 100%;
    height: 210px;
    min-height: 0;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    background: transparent;
    padding: 0;
    margin: 0;
}

.academic-detail-media.compact-image img {
    width: 78%;
    max-width: 460px;
    min-height: 420px;
    margin: 0 auto;
    object-fit: contain;
    background: #ffffff;
    padding: 18px;
}

.academic-detail-text {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.academic-detail-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #b89442;
    font-weight: 700;
    margin-bottom: 16px;
}

.academic-detail-text h1 {
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1f2937;
    margin-bottom: 18px;
}

.academic-detail-text h1.title-strong {
    font-weight: 800;
}

.academic-detail-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #5b6472;
    margin-bottom: 18px;
}

#academicDetailDescription {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#academicDetailDescription .detail-intro,
#academicDetailDescription .detail-closing,
#academicDetailDescription .detail-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

#academicDetailDescription .detail-section {
    border-top: 1px solid #ece2cb;
    padding-top: 14px;
}

#academicDetailDescription .detail-section h3 {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 10px;
}

#academicDetailDescription .detail-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#academicDetailDescription .detail-chip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

#academicDetailDescription .detail-chip-list.detail-chip-list-single {
    grid-template-columns: 1fr;
}

#academicDetailDescription .detail-chip-list li {
    position: relative;
    padding: 0 0 0 16px;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.6;
}

#academicDetailDescription .detail-feature-list {
    display: grid;
    gap: 10px;
}

#academicDetailDescription .detail-feature-list li {
    position: relative;
    padding: 0 0 0 16px;
    color: #1f2937;
    line-height: 1.7;
}

#academicDetailDescription .detail-chip-list li::before,
#academicDetailDescription .detail-feature-list li::before {
    content: '';
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #c19b44;
}

#academicDetailDescription .detail-feature-list li::before {
    top: 0.7em;
}

#academicDetailDescription strong {
    color: #1f2937;
    font-weight: 400;
}

#academicDetailDescription p {
    color: #1f2937;
}

#academicDetailDescription .detail-closing p,
#academicDetailDescription .detail-intro p {
    margin-bottom: 0;
}

#academicDetailDescription .detail-closing {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid #ece2cb;
}

.academic-detail-action {
    margin-top: auto;
    padding-top: 18px;
}

.academic-register-btn {
    display: inline-block;
    padding: 14px 34px;
    background: #c19b44;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.academic-register-btn:hover {
    background: #a88537;
    transform: translateY(-2px);
}

/* Responsif untuk HP agar teks tidak kebesaran */
@media (max-width: 768px) {
    .hero-about-content h1 {
        font-size: 3rem;
    }

    .academic-detail-hero .hero-about-content h1 {
        max-width: 92vw;
        font-size: clamp(1.35rem, 5.8vw, 2.15rem);
        line-height: 1.2;
        letter-spacing: 0.4px;
    }

    .academic-detail-hero .hero-about-content h1.hero-title-compact {
        font-size: clamp(1.2rem, 5.2vw, 1.85rem);
    }

    .academic-detail-hero {
        height: 36vh;
        min-height: 240px;
    }

    .academic-services {
        padding: 60px 6%;
    }

    .academic-services-container {
        grid-template-columns: 1fr;
    }

    .academic-service-content h3 {
        font-size: 1.15rem;
    }

    .academic-service-content h3.long-title {
        font-size: 1rem;
    }

    .academic-detail-page {
        padding: 60px 6%;
    }

    .academic-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .academic-detail-media.gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .academic-detail-media.gallery-strip img {
        height: 160px;
    }

    .academic-detail-media img {
        min-height: 280px;
    }

    .academic-detail-media.compact-image img {
        width: 90%;
        min-height: 250px;
        padding: 12px;
    }

    .academic-detail-text {
        padding: 28px 24px;
    }

    .academic-detail-text h1 {
        font-size: 2rem;
    }

    #academicDetailDescription .detail-intro,
    #academicDetailDescription .detail-closing,
    #academicDetailDescription .detail-section {
        padding: 0;
    }

    #academicDetailDescription .detail-chip-list li {
        width: auto;
    }

    #academicDetailDescription .detail-chip-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .academic-services-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   PROFILE SECTION - TENTANG KAMI
   ========================================= */
.profile-section {
    padding: 80px 10% 20px;
    background-color: #f8f9fb;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.profile-text {
    flex: 1;
    color: #222;
    max-width: 900px;
    text-align: center;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.profile-text h2 {
    font-size: 2.6rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.profile-text h2 span {
    color: #b89442;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 22px;
    text-align: justify;
    text-align-last: center;
}

@media (max-width: 992px) {
    .profile-container {
        flex-direction: column;
        text-align: left;
    }

    .profile-text {
        padding: 40px 25px;
        text-align-last: left;
    }
}

/* =========================================
   VENUE SECTION (NON-ACADEMIC VENTURE)
   ========================================= */

.venue-section {
    padding: 80px 10%;
    background-color: #fcfcfc;
}

.venue-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.venue-card {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek sedikit terangkat saat disentuh kursor */
.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.venue-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.venue-info {
    padding: 35px 30px;
}

.venue-info h3 {
    font-size: 1.1rem;
    color: #b89442; /* Warna coklat emas seperti di homepage */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-align: center; /* Judul ditengah */
}

.venue-info-tight-title h3 {
    line-height: 1.08;
    margin-bottom: 6px;
}

.venue-info-tight-title h3:last-of-type {
    margin-bottom: 20px;
}

.venue-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    text-align: justify; /* Rata kanan kiri */
    text-align-last: left; /* Baris terakhir rata kiri */
    text-justify: inter-word; /* Distribusi spasi yang lebih natural */
    word-spacing: -0.05em; /* Kurangi sedikit jarak antar kata untuk menghindari rongga besar */
    margin-bottom: 25px;
}

.btn-learn-more {
    display: inline-block;
    padding: 10px 28px;
    background-color: #b89442;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-learn-more:hover {
    background-color: #d4a742;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 148, 66, 0.3);
}

/* Responsif untuk Layar Tablet dan HP */
@media (max-width: 992px) {
    .venue-container {
        flex-direction: column;
    }

    .venue-card {
        margin-bottom: 20px;
    }
}

/* =========================================
   BALLROOM Y15 DETAIL SECTION (WHITE THEME)
   ========================================= */

.ballroom-detail-section {
    padding: 80px 5%;
    background-color: #f8f8f8; /* Background abu-abu sangat terang */
}

.container-detail {
    max-width: 1100px;
    margin: 0 auto;
}

/* Gambar Utama */
.main-hero-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Teks Judul & Deskripsi */
.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-header h2 {
    font-size: 2.8rem;
    color: #b89442; /* Emas */
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.detail-header p {
    font-size: 1.05rem;
    color: #555; /* Abu-abu gelap agar terbaca jelas di putih */
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* 3 Gambar Galeri */
.detail-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    flex: 1;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 3px solid #d4a742; /* Garis tepi emas khas AJMN sesuai gambar */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Bagian Fasilitas */
.facilities-wrapper {
    text-align: center;
}

.facilities-wrapper h3 {
    font-size: 2rem;
    color: #b89442; /* Emas */
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.facilities-grid {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 50px;
    background-color: #fcfcfc; /* Warna background sedikit abu sangat terang untuk list */
    padding: 45px 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.facility-column {
    flex: 1;
}

.facility-category {
    font-size: 1.3rem;
    color: #3e2009;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d4a742;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.facility-list {
    list-style: none;
}

.facility-list > li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.facility-list > li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #b89442;
    font-size: 0.8rem;
    top: 5px;
}

.facility-label {
    font-weight: 600;
    color: #3e2009;
    display: inline-block;
    min-width: 160px;
}

.facility-value {
    color: #555;
    font-weight: 400;
}

/* Sub-list untuk Area Details */
.sub-list {
    list-style: none;
    margin-top: 10px;
    margin-left: 0;
    padding-left: 20px;
}

.sub-list li {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 6px;
    font-weight: 400;
    position: relative;
    padding-left: 15px;
}

.sub-list li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: #b89442;
    font-size: 0.7rem;
    top: 3px;
}

/* Responsif HP & Tablet */
@media (max-width: 768px) {
    .detail-gallery {
        flex-direction: column;
    }
    .gallery-item img {
        height: 250px;
    }
    .facilities-grid {
        flex-direction: column;
        padding: 25px 20px;
        gap: 35px;
    }
    .facility-category {
        font-size: 1.1rem;
    }
    .facility-label {
        min-width: 140px;
        font-size: 0.9rem;
    }
    .detail-header h2 {
        font-size: 2.2rem;
    }
}

/* =========================================
   SEMINAR ROOM SECTION
   ========================================= */

.seminar-room-section {
    padding: 80px 5%;
    background-color: #f8f8f8;
}

/* =========================================
   AMPHITHEATER SECTION
   ========================================= */

.amphitheater-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

/* Info/Facility Wrapper */
.info-wrapper {
    text-align: center;
    margin-top: 60px;
}

.info-wrapper h3 {
    font-size: 2rem;
    color: #b89442;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-grid {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 50px;
    background-color: #fcfcfc;
    padding: 45px 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Reuse facility-column and facility-category from ballroom section */
.info-grid .facility-column {
    flex: 1;
}

.info-grid .facility-category {
    font-size: 1.2rem;
    color: #3e2009;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d4a742;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-grid .facility-category:first-child {
    margin-top: 0;
}

.info-grid .facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-grid .facility-list > li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.info-grid .facility-list > li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #b89442;
    font-size: 0.8rem;
    top: 5px;
}

.info-grid .facility-label {
    font-weight: 600;
    color: #3e2009;
    display: inline-block;
    min-width: 150px;
}

.info-grid .facility-value {
    color: #555;
    font-weight: 400;
}

/* Generic bullet list for rates section */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.bullet-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #b89442;
    font-size: 0.8rem;
    top: 3px;
}

/* Rates Section */
.rates-wrapper {
    margin-top: 60px;
}

.rates-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.rate-box {
    flex: 1;
    background-color: #fcfcfc;
    padding: 40px 35px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.rate-box h3 {
    font-size: 1.5rem;
    color: #3e2009;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a742;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Left Box - Ambulance Rates */
.ambulance-item {
    margin-bottom: 30px;
}

.ambulance-item:last-child {
    margin-bottom: 0;
}

.ambulance-item h4 {
    font-size: 1.1rem;
    color: #b89442;
    font-weight: 700;
    margin-bottom: 15px;
}

.ambulance-item .bullet-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Right Box - Rental Fee */
.right-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.price-highlight {
    font-size: 2rem;
    color: #b89442;
    font-weight: 700;
    margin: 20px 0 10px 0;
    line-height: 1.3;
}

.sub-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.fee-notes {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.fee-notes p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Responsive Amphitheater */
@media (max-width: 768px) {
    .info-grid {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
    }
    
    .info-grid .facility-category {
        font-size: 1.05rem;
        margin-top: 20px;
    }
    
    .info-grid .facility-category:first-child {
        margin-top: 0;
    }
    
    .info-grid .facility-label {
        min-width: 130px;
        font-size: 0.88rem;
    }
    
    .rates-grid {
        flex-direction: column;
        gap: 25px;
    }
    
    .price-highlight {
        font-size: 1.6rem;
    }
}
/* =========================================
   FILTER MENU GALERI (Pita Cokelat)
   ========================================= */

.gallery-filter-bar {
    background-color: #2a1608; /* Cokelat sangat gelap khas tema */
    padding: 25px 5%;
    display: flex;
    justify-content: center;
    border-top: 2px solid #3e2009; /* Sedikit garis batas atas */
}

.filter-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Memastikan tombol otomatis turun ke bawah jika dibuka di HP */
    justify-content: center;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid #777; /* Garis abu-abu untuk menu yang tidak aktif */
    color: #ccc; /* Teks abu-abu terang */
    padding: 10px 25px;
    border-radius: 30px; /* Bentuk tombol lonjong (pill shape) */
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Menghilangkan underline untuk anchor tag */
    display: inline-block; /* Agar padding bekerja dengan baik untuk anchor */
}

/* Tampilan untuk tombol yang sedang aktif (Contoh: "Semua") */
.filter-btn.active {
    border-color: #d4a742; /* Garis tepi emas */
    color: #d4a742; /* Teks emas */
}

/* Efek saat tombol disentuh kursor */
.filter-btn:hover {
    border-color: #d4a742;
    color: #ffffff; /* Teks jadi putih saat dihover */
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    .gallery-filter-bar {
        padding: 15px 5%;
    }
}
/* =========================================
   GALERI GRID SECTION (5 KOLOM x 2 BARIS)
   ========================================= */

.gallery-grid-section {
    padding: 60px 3%; /* Padding kiri-kanan lebih kecil agar 5 gambar muat dengan lega */
    background-color: #111111; /* Background gelap seperti what's on */
    color: #fff;
}

/* Category Block Wrapper */
.gallery-category-block {
    margin-bottom: 80px;
}

.gallery-category-block:last-child {
    margin-bottom: 0;
}

/* Judul Kategori */
.gallery-category-title {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-category-title h2 {
    font-size: 2.2rem;
    color: #b89442; /* Emas khas AJMN */
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Garis hiasan kecil di bawah judul */
.title-line {
    width: 60px;
    height: 4px;
    background-color: #d4a742;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Container Grid Utama (Membagi 5 Kolom) */
.gallery-grid-5x2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* KUNCI: Memaksa 5 gambar dalam 1 baris */
    gap: 15px; /* Jarak rapi antar gambar */
}

/* Kotak Foto & Efek Hover Khas Kita */
.gallery-item-box {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3; /* Memastikan semua foto bentuknya persegi panjang landscape seragam */
    border: 3px solid transparent; /* Bingkai transparan agar tidak goyang saat dihover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Foto dipotong pas agar tidak gepeng */
    transition: transform 0.4s ease;
}

/* Efek saat foto disentuh (Bingkai Emas & Zoom) */
.gallery-item-box:hover {
    border-color: #d4a742; /* Muncul bingkai emas */
    transform: translateY(-5px); /* Sedikit terangkat */
    box-shadow: 0 10px 25px rgba(212, 167, 66, 0.25); /* Bayangan membesar */
}

.gallery-item-box:hover img {
    transform: scale(1.1); /* Zoom halus pada foto di dalam kotak */
}

/* =========================================
   RESPONSIF (Agar tetap rapi di layar kecil)
   ========================================= */

/* Di layar Laptop/Tablet besar, jadikan 4 kolom agar tidak kekecilan */
@media (max-width: 1200px) {
    .gallery-grid-5x2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Di Tablet, jadikan 3 kolom */
@media (max-width: 992px) {
    .gallery-grid-5x2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Di HP, jadikan 2 kolom */
@media (max-width: 600px) {
    .gallery-grid-5x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-category-title h2 {
        font-size: 1.8rem;
    }
}
/* Jarak antar blok kategori galeri */
.gallery-category-block {
    margin-bottom: 80px; /* Memberikan ruang kosong ke bawah sebelum kategori selanjutnya */
}
/* =========================================
   CONTACT SECTION (WHITE & GOLD THEME)
   ========================================= */

.contact-section {
    padding: 80px 5%;
    background-color: #ffffff; /* Tema Background Putih Bersih */
}

.container-contact {
    max-width: 1100px;
    margin: 0 auto;
}

/* Layout 2 Kolom */
.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Agar tinggi kolom kiri dan kanan sama */
    gap: 50px;
    background-color: #fcfcfc; /* Warna background kotak sedikit abu sangat terang */
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Bayangan halus khas kita */
    padding: 40px;
}

/* =========================================
   KOLOM KIRI: MAPS
   ========================================= */
.map-container {
    flex: 1;
    min-height: 400px; /* Tinggi minimum map */
    border-radius: 8px;
    overflow: hidden; /* Agar ujung iframe melengkung mengikuti wadah */
    border: 3px solid #d4a742; /* Bingkai emas di sekeliling map */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================
   KOLOM KANAN: INFORMASI KONTAK
   ========================================= */
.contact-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Teks otomatis berada di tengah secara vertikal */
}

/* Logo AJMN */
.contact-logo {
    width: 180px; /* Ukuran logo disesuaikan */
    margin-bottom: 25px;
}

.contact-info-container h3 {
    font-size: 1.6rem;
    color: #b89442; /* Emas Khas AJMN */
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.address-text {
    font-size: 1.05rem;
    color: #444; /* Abu-abu gelap agar elegan dan mudah dibaca */
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-detail {
    margin-bottom: 25px;
}

.contact-detail h4 {
    font-size: 1.1rem;
    color: #b89442; /* Emas */
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-detail p {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

.contact-hours {
    margin-top: 10px;
    padding-top: 25px;
    border-top: 1px solid #ddd; /* Garis batas halus sebelum jam operasional */
}

.contact-hours p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

.contact-hours p strong {
    color: #333;
}

/* =========================================
   RESPONSIF UNTUK HP DAN TABLET
   ========================================= */
@media (max-width: 992px) {
    .contact-grid {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }
    
    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 50px 5%;
    }
    
    .contact-info-container h3 {
        font-size: 1.4rem;
    }
}

/* =========================================
   HERO SECTION - WHAT'S ON
   ========================================= */
.hero-whatson {
    position: relative;
    height: 100vh;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-whatson .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-whatson .hero-about-content p {
    color: #e0c97a;
    font-size: 1.1rem;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* =========================================
   WHAT'S ON FILTER BAR
   ========================================= */
.whatson-filter-bar {
    background-color: #111;
    padding: 20px 50px;
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 2px solid #d4a742;
}

.whatson-filter-bar .filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.whatson-filter-bar .filter-btn {
    background: transparent;
    border: 1.5px solid #d4a742;
    color: #d4a742;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.whatson-filter-bar .filter-btn:hover,
.whatson-filter-bar .filter-btn.active {
    background-color: #d4a742;
    color: #000;
}

/* =========================================
   WHAT'S ON EVENTS SECTION
   ========================================= */
.whatson-section {
    background-color: #fff;
    padding: 70px 8%;
}

.whatson-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

/* =========================================
   EVENT CARD
   ========================================= */
.event-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(212, 167, 66, 0.2);
    border-color: #d4a742;
}

.event-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-img-wrap img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #d4a742;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 3px;
}

.event-badge.ongoing {
    background-color: #28a745;
    color: #fff;
}

.event-badge.promo {
    background-color: #e74c3c;
    color: #fff;
}

.event-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.event-date {
    color: #d4a742;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-category-tag {
    background: rgba(212, 167, 66, 0.15);
    color: #d4a742;
    border: 1px solid #d4a742;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
}

.event-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-desc {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
    margin-top: auto;
}

.event-location {
    color: #888;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-event {
    background-color: #d4a742;
    color: #000;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-event:hover {
    background-color: #b89442;
}

/* =========================================
   NO EVENTS MESSAGE
   ========================================= */
.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.no-events i {
    font-size: 3.5rem;
    color: #d4a742;
    margin-bottom: 20px;
    display: block;
}

.no-events p {
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================
   WHAT'S ON CTA SECTION
   ========================================= */
.whatson-cta {
    text-align: center;
    padding: 70px 20px;
    border-top: 1px solid #2a2a2a;
    margin-top: 20px;
}

.whatson-cta h2 {
    color: #d4a742;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.whatson-cta p {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-cta-whatson {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-cta-whatson:hover {
    background-color: #1da851;
}

@media (max-width: 1200px) {
    .whatson-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .whatson-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================================
   RESPONSIVE - WHAT'S ON
   ========================================= */
@media (max-width: 768px) {
    .hero-whatson {
        min-height: 70vh;
    }

    .whatson-filter-bar {
        padding: 15px 20px;
        top: 70px;
    }

    .whatson-filter-bar .filter-btn {
        font-size: 10px;
        padding: 7px 14px;
    }

    .whatson-section {
        padding: 50px 5%;
    }

    .whatson-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .event-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatson-cta h2 {
        font-size: 1.5rem;
    }
}


/* =========================================
   OUR TENANTS SECTION
   ========================================= */
.tenants-section {
    padding: 80px 8%;
    background-color: #f9f9f9;
    text-align: center;
}

.tenants-subtitle {
    color: #777;
    font-size: 0.95rem;
    margin-top: -20px;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.tenants-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.tenants-grid::-webkit-scrollbar {
    display: none;
}

.tenants-grid.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.tenant-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 20px;
    aspect-ratio: 3 / 2;
    flex: 0 0 220px;
    overflow: hidden;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tenant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #d4a742;
}

.tenant-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(30%);
}

.tenant-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.partners-section .tenant-card {
    cursor: default;
}

.partners-section .tenant-card:hover {
    transform: none;
}

.partners-section .tenants-grid {
    cursor: grab;
    user-select: none;
}

.partners-section .tenants-grid.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.partner-placeholder {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #a0a7b4;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .tenants-grid {
        gap: 16px;
    }

    .tenant-card {
        flex-basis: 200px;
    }
}

@media (max-width: 640px) {
    .tenants-section {
        padding: 60px 5%;
    }

    .tenants-grid {
        gap: 14px;
        padding-bottom: 14px;
    }

    .tenant-card {
        padding: 18px 12px;
        flex-basis: 170px;
    }
}


/* =========================================
   TENANT MODAL
   ========================================= */
.tenant-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tenant-modal-overlay.active {
    display: flex;
}

.tenant-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.tenant-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #555;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.tenant-modal-close:hover {
    color: #000;
}

.tenant-modal-body {
    display: flex;
    gap: 0;
}

/* Left column: logo + meta info */
.tenant-modal-left {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    padding: 40px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #fafafa;
    border-radius: 12px 0 0 12px;
}

.tenant-modal-left img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
}

.tenant-modal-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.82rem;
    color: #555;
    line-height: 1.6;
}

.tenant-modal-meta p {
    margin: 0;
}

.btn-tenant-web {
    display: block;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    padding: 9px 14px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 6px;
    transition: background 0.2s;
}

.btn-tenant-web:hover {
    background: #d4a742;
    color: #000;
}

.btn-tenant-loc {
    display: block;
    text-align: center;
    border: 1px solid #ccc;
    color: #555;
    padding: 9px 14px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-tenant-loc:hover {
    border-color: #d4a742;
    color: #d4a742;
}

/* Right column: name, category, description */
.tenant-modal-right {
    flex: 1;
    padding: 40px 35px 30px;
}

.tenant-modal-right h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.modal-category {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.tenant-modal-right p:last-child {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Responsive modal */
@media (max-width: 640px) {
    .tenant-modal-body {
        flex-direction: column;
    }

    .tenant-modal-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        border-radius: 12px 12px 0 0;
        padding: 30px 20px 20px;
    }

    .tenant-modal-right {
        padding: 25px 20px;
    }

    .tenant-modal-right h2 {
        font-size: 1.3rem;
    }
}


/* =========================================
   TENANT DETAIL PAGE
   ========================================= */
.tenant-hero {
    position: relative;
    height: 45vh;
    min-height: 280px;
    background: url('./images/bg-ruangan.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 8% 40px;
}

.tenant-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-tenant-name {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.tenant-hero-content {
    position: relative;
    z-index: 2;
}

.tenant-hero-breadcrumb {
    color: #ccc;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.tenant-hero-breadcrumb a {
    color: #d4a742;
    text-decoration: none;
}

.tenant-hero-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- Detail Section ---- */
.tenant-detail-section {
    background: #fff;
    padding: 60px 8% 80px;
}

.tenant-detail-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* SIDEBAR */
.tenant-detail-sidebar {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px;
}

.tenant-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tenant-logo-box img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.tenant-info-block h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tenant-info-block p {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.btn-tenant-detail-web,
.btn-tenant-detail-loc,
.btn-tenant-back {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.btn-tenant-detail-web {
    background: #1a1a1a;
    color: #fff;
}

.btn-tenant-detail-web:hover {
    background: #d4a742;
    color: #000;
}

.btn-tenant-detail-loc {
    border: 1.5px solid #ccc;
    color: #555;
}

.btn-tenant-detail-loc:hover {
    border-color: #d4a742;
    color: #d4a742;
}

.btn-tenant-back {
    border: 1.5px solid #e0e0e0;
    color: #999;
    font-size: 0.75rem;
}

.btn-tenant-back:hover {
    border-color: #d4a742;
    color: #d4a742;
}

/* CONTENT */
.tenant-detail-content {
    flex: 1;
    min-width: 0;
}

.tenant-detail-category {
    color: #d4a742;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tenant-detail-name {
    font-size: 2.4rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

.tenant-detail-divider {
    height: 3px;
    width: 60px;
    background: #d4a742;
    border-radius: 2px;
    margin-bottom: 30px;
}

.tenant-detail-desc p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 16px;
    text-align: justify;
}

/* Photo gallery inside detail page */
.tenant-gallery-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tenant-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tenant-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.tenant-gallery-item img:hover {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
    .tenant-detail-container {
        flex-direction: column;
    }

    .tenant-detail-sidebar {
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px;
    }

    .tenant-logo-box {
        width: 160px;
        flex-shrink: 0;
    }

    .btn-tenant-detail-web,
    .btn-tenant-detail-loc,
    .btn-tenant-back {
        width: auto;
        display: inline-block;
    }

    .tenant-detail-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .tenant-detail-section {
        padding: 40px 5% 60px;
    }

    .tenant-detail-sidebar {
        flex-direction: column;
    }

    .tenant-logo-box {
        width: 100%;
    }

    .tenant-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tenant-detail-name {
        font-size: 1.5rem;
    }
}

/* =========================================
   VIEWPORT SCALE MODE (PHONE)
   ========================================= */
html.scaled-mobile,
body.scaled-mobile {
    overflow-x: hidden;
}

html.scaled-mobile .hamburger,
body.scaled-mobile .hamburger {
    display: none !important;
}

html.scaled-mobile .navbar nav,
body.scaled-mobile .navbar nav {
    position: static !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    display: block !important;
}

html.scaled-mobile .navbar nav ul,
body.scaled-mobile .navbar nav ul {
    flex-direction: row !important;
    gap: 25px !important;
    text-align: left !important;
}

html.scaled-mobile .dropdown-menu,
body.scaled-mobile .dropdown-menu {
    position: absolute !important;
    background-color: transparent !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
}

html.scaled-mobile .hero,
html.scaled-mobile .hero-about,
html.scaled-mobile .hero-contact,
html.scaled-mobile .hero-academic,
html.scaled-mobile .hero-non-academic,
html.scaled-mobile .hero-gallery,
html.scaled-mobile .hero-whatson,
html.scaled-mobile .academic-detail-hero,
html.scaled-mobile .tenant-hero {
    height: 50vh !important;
    min-height: 280px;
}

html.scaled-mobile .services,
html.scaled-mobile .academic-services,
html.scaled-mobile .venue-section,
html.scaled-mobile .whatson-section,
html.scaled-mobile .gallery-section,
html.scaled-mobile .contact-section,
html.scaled-mobile .profile-section,
html.scaled-mobile .ballroom-detail-section,
html.scaled-mobile .seminar-room-section,
html.scaled-mobile .amphitheater-section,
html.scaled-mobile .tenant-detail-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

html.scaled-mobile .whatson-cta {
    margin-top: 48px !important;
}

/* =========================================
   ABOUT PAGE - VISION, PURPOSE & SERVICES
   ========================================= */
.vision-purpose-section {
    padding: 80px 10%;
    background-color: #f8f9fb;
}

.vp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.vp-box {
    background: #ffffff;
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border-bottom: 4px solid #b89442;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vp-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.vp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(184, 148, 66, 0.15) 0%, rgba(184, 148, 66, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #d4a742;
    margin-bottom: 30px;
}

.vp-box h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.vp-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.purpose-list {
    list-style: none;
    padding: 0;
}

.purpose-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

.purpose-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #b89442;
    font-size: 1.2rem;
}

.purpose-list li strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.about-services-section {
    padding: 100px 10%;
    background-color: #ffffff;
}

.about-services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-services-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a1a;
    position: relative;
}

.about-services-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #b89442;
    margin: 20px auto 0;
    border-radius: 2px;
}

.about-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-service-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 50px 45px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.about-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #b89442;
    transition: height 0.4s ease;
}

.about-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #fff;
}

.about-service-card:hover::before {
    height: 100%;
}

.card-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(184, 148, 66, 0.15) 0%, rgba(184, 148, 66, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #b89442;
    margin-bottom: 30px;
}

.about-service-card h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.about-service-card ul {
    list-style: none;
    padding: 0;
}

.about-service-card ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.about-service-card ul li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #b89442;
    font-size: 1.1rem;
    top: 2px;
}

.about-service-card ul li strong {
    color: #1a1a1a;
    font-weight: 700;
}

@media (max-width: 992px) {
    .vp-grid, .about-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .vision-purpose-section {
        padding: 0 5% 60px;
    }
    .about-services-section {
        padding: 60px 5%;
    }
    .vp-box, .about-service-card {
        padding: 25px;
    }
}

/* =========================================
   EMBED MODE (?embed=1)
   ========================================= */
html.embed-mode .main-footer {
    padding-top: 26px !important;
}

html.embed-mode .hero,
html.embed-mode .hero-about,
html.embed-mode .hero-contact,
html.embed-mode .hero-academic,
html.embed-mode .hero-non-academic,
html.embed-mode .hero-gallery,
html.embed-mode .hero-whatson {
    height: 70vh !important;
    min-height: 420px;
}

html.embed-mode .services,
html.embed-mode .academic-services,
html.embed-mode .venue-section,
html.embed-mode .whatson-section,
html.embed-mode .gallery-section,
html.embed-mode .contact-section,
html.embed-mode .profile-section,
html.embed-mode .tenant-detail-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

html.embed-mode .map-container {
    min-height: 260px !important;
}

html.embed-mode .map-container iframe {
    min-height: 260px;
}

/* =========================================
   GALLERY LIGHTBOX (SWEETALERT2 CUSTOM)
   ========================================= */
.swal2-popup.gallery-lightbox {
    background: transparent !important;
    padding: 0 !important;
    justify-content: center !important; /* KUNCI: Memaksa pop-up selalu di tengah */
}

.swal2-image.gallery-lightbox-image {
    max-width: 90vw !important;
    max-height: 85vh !important;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 3px solid #d4a742;
}

.swal2-title.gallery-lightbox-title {
    color: #fff !important;
    margin-top: 15px !important;
}

/* Customisasi Tombol Close ('x') pada Lightbox Galeri */
.swal2-close {
    color: #ffffff !important; /* Warna ikon 'x' jadi putih */
    font-size: 2rem !important; /* Ukuran ikon 'x' dikecilkan */
    transition: transform 0.2s ease, color 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.swal2-close:hover {
    transform: scale(1.2); /* Sedikit membesar saat disentuh */
}
