/* RESET DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #000000cc; /* Hijau Tua Elegan */
    --secondary-color: rgba(219, 156, 20, 0.904); /* Emas Mewah */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update pada class .logo agar gambar dan teks sejajar */
.logo {
    font-size: 24px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.87);
    text-decoration: none;
    display: flex;
    align-items: center; 
    gap: 10px; /* Jarak antara logo dan teks */
}

/* Class baru khusus untuk gambar logo */
.logo-img {
    width: 45px;        /* Atur lebar logo (sesuaikan kebutuhan) */
    height: 45px;       /* Tinggi harus sama dengan lebar */
    border-radius: 50%; /* INI YANG MEMBUAT JADI LINGKARAN */
    object-fit: cover;  /* Agar gambar tidak gepeng/penyok */
    border: 2px solid #d4af37; /* Opsional: List warna emas di pinggir lingkaran */
}
.text-gold {
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

/* BUTTON LOGIN/LOGOUT */
.btn-auth {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-auth.login {
    background-color: rgba(219, 156, 20, 0.904);
    color: white !important;
}

.btn-auth.logout {
    background-color: #c0392b;
    color: white !important;
}

/* --- BAGIAN YANG DIUBAH --- */
/* HERO SECTION */
.hero {
    height: 100vh;
    background-image: url('../kakbah.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}
/* -------------------------- */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient hijau tua transparan agar tulisan terbaca */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(165, 118, 18, 0.658));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background-color: rgb(179, 129, 23);
}

/* FEATURES SECTION */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* FOOTER */
footer {
    background-color: rgba(0, 0, 0, 0.932);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* --- TAMBAHAN PENTING AGAR MENU KE KANAN --- */

/* 1. Sembunyikan ikon garis tiga di tampilan Laptop/PC */
.menu-toggle {
    display: none;
}

/* 2. Pastikan Menu Navigasi muncul mendatar */
.nav-links {
    display: flex;
    gap: 30px;
}

/* --- CSS RESPONSIF MOBILE (Versi Rapi & Fix Tombol) --- */
/* --- CSS RESPONSIF MOBILE (Versi Rapat) --- */
/* --- CSS RESPONSIF MOBILE (Versi Ramping & Scrollable) --- */
@media screen and (max-width: 768px) {
    
    /* 1. TOMBOL MENU */
    .menu-toggle {
        display: block; 
        font-size: 26px;
        cursor: pointer;
        color: var(--text-dark);
        position: relative; 
        z-index: 9999; 
    }

    /* 2. PANEL MENU */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        
        position: fixed;
        top: 0;
        right: -100%;
        
        /* PERBAIKAN 1: Lebar dikurangi jadi 60% biar lebih ramping */
        width: 60%;
        
        height: 100vh;
        background-color: white;
        
        justify-content: flex-start; /* Mulai dari atas */
        align-items: center;
        
        /* PERBAIKAN 2: Tambahkan SCROLL jika menu kepanjangan */
        overflow-y: auto; 
        
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 9998;
        
        padding-top: 100px; 
        
        /* PERBAIKAN 3: Jarak bawah agar tombol paling bawah tidak kepotong */
        padding-bottom: 50px;
    }

    .nav-links.active {
        right: 0; 
    }

    .nav-links li {
        margin: 10px 0; 
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 16px; 
        color: #333;
        display: block; 
        padding: 5px 0;
    }

    .btn-auth {
        display: block; /* Pastikan blok agar margin auto jalan */
        width: auto;    /* Biarkan lebar menyesuaikan isi atau padding */
        min-width: 150px; /* Lebar minimal supaya gak kekecilan */
        max-width: 80%; /* Lebar maksimal supaya gak nempel pinggir */
        margin-top: 20px; 
        margin-bottom: 20px;
        margin-left: auto;  /* Dorong ke tengah dari kiri */
        margin-right: auto; /* Dorong ke tengah dari kanan */
        padding: 10px 25px; /* Padding dalam tombol */
        text-align: center;
    }

    /* 3. HERO */
    .hero {
        margin-top: 0;
        height: auto;
        min-height: 100vh;
        padding-top: 140px; 
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    /* Lain-lain */
    table { min-width: 600px; }
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding: 15px; }

    .news-grid, .footer-grid, .about-wrapper, .location-wrapper, .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slider-btn, .prev-btn, .next-btn {
        display: none;
    }
    
    .slider-container, .container {
        padding: 0 20px;
    }
    .booking-form-card { overflow-x: auto; }
}

/* --- HALAMAN LOGIN (MODERN STYLE) --- */
.login-page {
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 15px; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(165, 118, 18, 0.658)), url('../kakbah.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Agar background tetap diam saat discroll */
}

.login-card {
    background: white;
    width: 100%;
    max-width: 450px; /* Sedikit diperlebar agar lega */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    /* Margin auto sudah dihandle oleh flex container, jadi aman */
}

.login-header h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 24px;
}

.login-header p {
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- CSS UNTUK INPUT GROUP (Updated) --- */

.input-group {
    position: relative;
    width: 100%;
}

/* Ikon Kiri (Gembok & Amplop) */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    z-index: 10; 
    font-size: 16px; /* Ukuran ikon disesuaikan */
}

/* Input Field - Diberi padding kiri besar agar teks tidak menabrak ikon */
.input-group input {
    width: 100%;
    padding: 12px 45px 12px 45px; /* Kiri 45px, Kanan 45px */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    outline: none;
    box-sizing: border-box; /* Pastikan padding dihitung dalam lebar */
}

/* Ikon Kanan (Mata) */
.toggle-password {
    position: absolute;
    right: 15px; 
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.toggle-password:hover {
    color: var(--secondary-color);
}

.input-group input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: rgb(187, 134, 19);
}

.alert-error {
    background-color: #ffdddd;
    color: #c0392b;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 20px;
    border-left: 4px solid #c0392b;
}

.back-link {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.back-link:hover {
    color: var(--secondary-color);
}

/* --- STYLE TAMBAHAN UNTUK REGISTER LINK --- */
.register-link {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.register-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --- HALAMAN PAKET (HEADER) --- */
/* --- UPDATE: MEMPERBAIKI HEADER AGAR NEMPEL NAVBAR --- */

.page-header {
    width: 92%;               /* Lebar tidak 100% agar ada sisa kiri-kanan */
    max-width: 1200px;        /* Batas lebar maksimal agar rapi di layar besar */
    margin: 110px auto 40px;  /* Atas: 110px (biar gak ketutup navbar), Kanan-Kiri: Auto (Tengah), Bawah: 40px */
    height: 350px;            /* Tinggi kotak desktop */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(165, 118, 18, 0.7)), url('../kakbah.jpg'); 
    background-size: cover;
    background-position: center;
    border-radius: 20px;      /* Sudut melengkung */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Efek bayangan biar 'ngangkat' */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Styling Teks Judul */
.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Styling Teks Deskripsi */
.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- KHUSUS MODE HP (MOBILE) --- */
@media (max-width: 768px) {
    .page-header {
        /* PERBAIKAN DI SINI AGAR NGAMBANG DI HP: */
        margin-top: 110px;      /* Jarak dari atas DITAMBAH supaya turun dari navbar */
        width: 90%;             /* Lebar diperkecil sedikit biar celah kiri-kanan lebih jelas */
        height: 200px;          /* Tinggi dikecilkan proporsional */
        border-radius: 15px;
        padding: 20px;          /* Padding dalam biar teks aman */
    }

    .page-header h1 {
        font-size: 1.5rem;      /* Font judul lebih kecil */
        margin-bottom: 5px;
    }

    .page-header p {
        font-size: 0.85rem;     /* Font deskripsi lebih kecil */
        line-height: 1.4;
    }
}

/* --- GRID KARTU PAKET --- */
.paket-section {
    padding-bottom: 80px;
}

.paket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.paket-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    border: 1px solid #eee;
}

.paket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.paket-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.paket-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paket-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.paket-body {
    padding: 20px;
}

.paket-body h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.4;
}

.paket-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.paket-info i {
    color: var(--secondary-color);
    width: 20px;
}

.paket-price {
    margin-top: 15px;
    margin-bottom: 15px;
}

.paket-price small {
    display: block;
    font-size: 12px;
    color: #999;
}

.paket-price h4 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-detail {
    display: block;
    text-align: center;
    background-color: #000000dc;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-detail:hover {
    background-color: #c79611;
}

/* --- HALAMAN DETAIL --- */
.detail-container {
    margin-top: 100px; /* Jarak dari navbar */
    margin-bottom: 80px;
}

.back-text {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
}

.back-text:hover {
    color: var(--primary-color);
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Kiri lebih lebar dari kanan */
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .detail-wrapper {
        grid-template-columns: 1fr; /* Di HP jadi satu kolom */
    }
}

.detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* SIDEBAR KANAN */
.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    position: sticky; /* Agar ikut turun saat discroll */
    top: 100px;
}

.sidebar-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.sidebar-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sidebar-price span {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.info-item span {
    color: #777;
}

.btn-booking {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-booking:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
}

.btn-booking.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* --- HALAMAN TENTANG KAMI --- */

/* Section Profil */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h4.sub-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legalitas-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    margin-top: 20px;
}

.legalitas-box i {
    color: var(--primary-color);
    font-size: 24px;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Visi Misi */
.visi-misi-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.vm-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.icon-vm {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.vm-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.vm-card ul {
    list-style: none;
    padding-left: 0;
}

.vm-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.vm-card ul li::before {
    content: '\f00c'; /* Kode FontAwesome Centang */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Section Lokasi (Maps) */
.location-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info Kontak lebih kecil dari Peta */
    gap: 30px;
}

.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-row i {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-row h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-row p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.map-box iframe {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsif untuk HP */
@media screen and (max-width: 768px) {
    .about-wrapper, .vm-grid, .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1; /* Gambar pindah ke atas di HP */
    }
}

/* --- HALAMAN KONTAK --- */

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Form lebih lebar dari info */
    gap: 50px;
}

/* Info Kiri */
.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateX(10px); /* Efek geser kanan saat dihover */
}

.contact-item i {
    font-size: 28px;
    color: var(--secondary-color);
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.contact-item p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* Form Kanan */
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-card h3 {
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--text-dark);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.contact-form-card input, 
.contact-form-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
}

.contact-form-card input:focus, 
.contact-form-card textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #c59512;
}

/* Alert Messages */
.alert-success-msg {
    background: #d1e7dd;
    color: #0f5132;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #0f5132;
}

.alert-error-msg {
    background: #f8d7da;
    color: #842029;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #842029;
}

/* Responsif HP */
@media screen and (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Jadi satu kolom memanjang */
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- LAYOUT ADMIN DASHBOARD --- */
.admin-body {
    background-color: #f4f6f9; /* Warna latar abu muda */
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR (Panel Kiri) */
.sidebar {
    width: 260px;
    background-color:rgb(172, 123, 19); /* Warna Hijau Tua Utama */
    color: white;
    flex-shrink: 0;
    padding-top: 20px;
    position: fixed; /* Agar sidebar tetap diam saat discroll */
    height: 100%;
}

.sidebar-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.sidebar-header h3 {
    font-size: 18px;
    margin: 10px 0 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 25px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu li a:hover, 
.sidebar-menu li a.active {
    background-color: rgba(0,0,0,0.2);
    color: white;
    border-left-color: #d4af37; /* Aksen Emas */
}

.sidebar-menu li a i {
    width: 25px;
    margin-right: 10px;
}

/* MAIN CONTENT (Sebelah Kanan) */
.main-content {
    flex: 1;
    margin-left: 260px; /* Memberi jarak selebar sidebar */
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* KARTU STATISTIK */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-info p {
    color: #888;
    font-size: 14px;
}

.stat-icon {
    font-size: 40px;
    color: #ddd;
}

/* Tombol Tutup di dalam Sidebar */
    .sidebar-close-btn {
        display: none !important; 
    }

/* --- TAMBAHAN UNTUK TABEL ADMIN DI HP --- */
@media screen and (max-width: 768px) {

    /* --- CSS SIDEBAR ADMIN (MOBILE) --- */
    
    /* Sidebar default (Tersembunyi di kiri layar) */
    .sidebar {
        display: block !important; /* Paksa tampil agar bisa di-slide */
        position: fixed;
        top: 0;
        left: -100%; /* Sembunyikan total di kiri */
        width: 260px; /* Lebar sidebar */
        height: 100vh;
        background-color: rgb(172, 123, 19); /* Warna Emas/Hijau Tua */
        transition: 0.3s ease-in-out; /* Animasi halus */
        z-index: 10000; /* Paling atas di atas segalanya */
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        overflow-y: auto;
    }

    
    /* Tampilkan tombol tutup hanya di mobile */
    @media screen and (max-width: 768px) {

        .sidebar-close-btn {
            display: block !important;
            position: absolute; /* Agar nempel di pojok */
            top: 15px;
            right: 15px;
            color: white;
            font-size: 22px;
            cursor: pointer;
            z-index: 200; /* Di atas elemen lain */
        }
        
        .sidebar-close-btn:hover {
            color: #ddd;
        }

        .sidebar.active {
        left: 0; /* Geser masuk ke layar */
        }
    }

    /* Main Content (Tetap di tempat, jangan geser) */
    .main-content {
        margin-left: 0 !important;
        padding: 15px;
        width: 100%;
    }

    /* Opsional: Overlay gelap saat sidebar aktif */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999; /* Di bawah sidebar, di atas konten */
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .hide-mobile {
        display: none; /* Sembunyikan teks "Web" di tombol Lihat Website */
    }

    .main-content {
        margin-left: 0; /* Konten jadi full lebar */
        padding: 15px;
    }

    /* Agar tabel bisa discroll ke samping jika layar sempit */
    .booking-form-card {
        overflow-x: auto;
    }
    
    table {
        min-width: 600px; /* Paksa tabel lebar agar scroll muncul */
    }
}