/* --- MENGUNCI PALET WARNA (MAGENTA) & FONT (HEEBO) --- */
:root {
    --mhu-magenta: #b94870; /* Warna Magenta Utama */
    --mhu-magenta-hover: #8e2e50; 
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
}

/* Menerapkan Font Heebo Secara Global */
body { 
    font-family: 'Heebo', sans-serif; 
    color: var(--text-dark); 
    background-color: var(--bg-light);
}

/* Bar Peringatan Agen */
.agent-disclaimer { background-color: #212529; color: #fff; font-size: 13px; text-align: center; padding: 5px; font-weight: 400; }

/* --- NAVBAR --- */
.navbar-brand img { height: 60px; }
.nav-link { color: var(--text-dark) !important; font-weight: 500; font-size: 15px; margin: 0 10px; }
.btn-login { background-color: var(--mhu-magenta); color: #fff !important; border-radius: 4px; padding: 8px 20px; font-weight: 700; }
.btn-login:hover { background-color: var(--mhu-magenta-hover); }

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero/mekkah.webp') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--bg-light);
    text-align: center;
}
.hero-title { font-size: 3rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.btn-outline-magenta { 
    border: 0px solid var(--mhu-magenta);
    color: var(--mhu-magenta); background: transparent; padding: 10px 30px; border-radius: 4px; font-weight: 700; }
.btn-outline-magenta:hover { background: var(--mhu-magenta); color: white; }
.title-banner h1 {font-size: 40px;line-height: normal; }
.hero-q p {font-size: inherit !important; line-height: 1.6; margin: 0;}
.hero-desc {font-size: 30px;font-weight: 500;line-height: 33px;color: rgb(255, 255, 255);background-color: rgba(0, 0, 0, 0);text-transform: uppercase;text-align: center;vertical-align: baseline;}
/* --- LAYANAN KAMI --- */
.section-title { text-align: center; font-weight: 700; margin-bottom: 40px; }
.service-card { text-align: center; padding: 30px 20px; border: 1px solid #eee; border-radius: 8px; transition: 0.3s; background: #fff; height: 100%; }
.service-card h5 { font-weight: 700; }
.service-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-icon { font-size: 40px; color: var(--mhu-magenta); margin-bottom: 15px; }

/* --- FILTER PENCARIAN --- */
.filter-bar { background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-top: -40px; position: relative; z-index: 10; }
.btn-search { background-color: var(--mhu-magenta); color: white; width: 100%; font-weight: 700; }
.btn-search:hover { background-color: var(--mhu-magenta-hover); color: white; }

/* --- KARTU PAKET --- */
.package-card { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fff; }
.package-img { width: 100%; height: 200px; object-fit: cover; }
.package-body { padding: 20px; }
.package-title { font-size: 16px; font-weight: 700; min-height: 48px; }
.package-date { color: var(--mhu-magenta); font-weight: 700; font-size: 14px; margin-bottom: 15px; }
.hotel-info { font-size: 13px; color: var(--text-gray); margin-bottom: 5px; }
.package-price { font-size: 20px; font-weight: 800; color: #d9534f; }
.btn-detail { background-color: var(--mhu-magenta); color: #fff; width: 100%; font-weight: 700; border-radius: 4px; }
.btn-detail:hover { background-color: var(--mhu-magenta-hover); color: white; }

/* --- MENGAPA MEMILIH KAMI --- */
.feature-list { list-style: none; padding-left: 0; }
.feature-list li { margin-bottom: 15px; font-size: 16px; display: flex; align-items: center; }
.feature-list li i { color: var(--mhu-magenta); font-size: 20px; margin-right: 15px; }

/* --- LEGALITAS --- */
/* Pastikan section legalitas berada di lapisan yang benar */
.legalitas-section {
    position: relative;
    z-index: 1000;
}

.logo-box {
    position: relative;
    background: none;
    color: var(--mhu-magenta-hover);
    border-radius: 2px;
    height: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* KUNCI UTAMA: Memaksa area klik seluas kotak logo */
.logo-box a {
    position: relative;
    z-index: 20; /* Lebih tinggi dari box */
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer !important; /* Pastikan kursor berubah jadi tangan */
}

.logo-legalitas {
    max-height: auto;
    pointer-events: none; /* Biarkan klik menembus ke tag <a> di belakangnya */
}

.logo-box:hover {
    border-color: var(--mhu-magenta);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================================
   STYLE Fasilitas
========================================= */
/* --- Styling Section Fasilitas (Update Warna) --- */
.fasilitas-section { 
    background-color: var(--bg-light); 
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Judul dengan warna mhu-magenta */
.fasilitas-section .section-title {
    color: var(--mhu-magenta);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

/* Garis aksen bawah judul (Opsional, tetap magenta) */
.fasilitas-section .section-title::after {
    background-color: var(--mhu-magenta);
    
}

/* Sub-judul dengan warna #424242 */
.fasilitas-section .section-subtitle {
    color: #424242;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Kartu Fasilitas */
.fasilitas-card {
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.fasilitas-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: var(--mhu-magenta);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #fdf2f5;
    color: var(--mhu-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 24px;
}

.fasilitas-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #211a1d;
}

.fasilitas-card p {
    font-size: 14px;
    color: #666666; /* Warna deskripsi agar kontras dengan judul */
    line-height: 1.5;
}
/* =========================================
   STYLE UNTUK MAIN FOOTER (4 KOLOM)
========================================= */
.main-footer {
    background-color: #211a1d; 
    color: #e1e1e1;
    padding-top: 80px;  /* Memberi ruang nafas di atas */
    padding-bottom: 40px;
}
.main-footer .footer-logo { height: 60px; }

.footer-divider {
    border-top: 1px solid #f9f9f9; /* Gunakan warna yang tidak jauh dari background */
    padding: 5px 5px;
}

/* Garis Pembatas Tengah (Divider) */
.footer-divider-top {
    border-top: 1px solid #211a1d; 
    margin: 0;
}

.main-footer .footer-heading {
    color: #f9f9f9;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Membuat teks terlihat lebih rapi */
    margin-bottom: 25px;
}

/* Kolom Kontak */
.main-footer .contact-info li { font-size: 15px; line-height: 1.6; color: #e1e1e1; }
.main-footer .contact-icon { width: 20px; color: var(--mhu-magenta); margin-right: 10px; margin-top: 4px; }
.main-footer .contact-text { color: #e1e1e1; }

/* Kolom Link List (Informasi & Layanan) */
.main-footer .footer-list { padding-left: 0; }
/* .main-footer .footer-list li { margin-bottom: 12px; } */
.main-footer ul li {font-size: 14px;font-weight: 300;margin-bottom: 10px;}
.main-footer .footer-list a { color: #e1e1e1; text-decoration: none; font-size: 15px; transition: color 0.3s; }
.main-footer .footer-list a:hover { color: white; }
.arrow-magenta { color: var(--mhu-magenta); font-size: 12px; margin-right: 8px; }

/* Jam Operasional */
.main-footer .ops-list { padding-left: 0; font-size: 15px; line-height: 2; color: #e1e1e1; }
.main-footer .ops-list .dot { display: inline-block; width: 5px; height: 5px; background-color: #e1e1e1; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* Copyright & Link Bawah */
.bottom-footer-row { margin-top: 20px; padding-top: 20px;}
.bottom-links a { color: white; text-decoration: none; font-size: 14px; font-weight: 500; }
.bottom-links a:hover { color: var(--mhu-magenta); }
.footer-copyright { font-size: 14px; color: #e1e1e1; }

/* Kotak Sosial Media dengan Image Asli */
.main-footer .social-links { display: flex; gap: 15px; }
.main-footer .social-icon img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.main-footer .social-icon:hover img {
    transform: translateY(-5px); /* Efek melompat saat di-hover */
    opacity: 0.8;
}

/* =========================================
   STYLE UNTUK FLOATING BUTTONS (WA & GO TOP)
========================================= */
.floating-container {
    position: fixed; bottom: 0px; right: 35px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; align-items: flex-end;
}
.btn-go-top-square {
    width: 45px; height: 45px; background-color: var(--mhu-magenta); color: white; border: none; border-radius: 4px;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.2);

}
.btn-go-top-square.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-go-top-square:hover { background-color: var(--mhu-magenta-hover); color: white; }

.btn-floating-wa {
    width: 55px; height: 55px; background-color: #25d366; color: white !important; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    text-decoration: none; transition: transform 0.3s ease;
}
.btn-floating-wa:hover { transform: scale(1.1); color: white; }

.footer-info-section { background-color: #ffffff; }



/* --- Profil Manajemen & Agen (Auto Crop & Sejajar) --- */
.management-section {
    background-color: #f9f9f9;
}

/* Memastikan grid row menggunakan flexbox agar tinggi kolom sama */
.management-section .row {
    display: flex;
    align-items: stretch; /* Membuat semua kolom setinggi kolom tertinggi */
}

.profile-card {
    background: var(--bs-light);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    
    /* Gunakan flexbox di dalam card agar konten terdistribusi rapi */
    display: flex;
    flex-direction: column;
    height: 100%; /* Wajib agar card memenuhi tinggi kolom */
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--mhu-magenta);
}

/* --- AUTO CROP GAMBAR --- */
.profile-img {
    width: 100%;
    height: 500px; /* TINGGI PASTI: Atur angka ini jika ingin foto lebih pendek/tinggi */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0; /* Mencegah gambar mengecil dari tinggi aslinya */
}

.profile-img img {
    width: 100%;
    height: 100%;
    /* Ini rahasianya: auto crop gambar agar memenuhi kotak tanpa gepeng */
    object-fit: cover; 
    object-position: top; /* Fokus ke wajah pimpinan/agen */
}

/* --- Styling Teks --- */
.profile-info {
    flex-grow: 1; /* Mendorong teks agar mengisi ruang kosong */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h5 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #211a1d;
    margin-bottom: 5px;
}

.profile-info .role {
    color: var(--mhu-magenta);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.reg-number {
    display: inline-block;
    background: #fdf2f5;
    color: #424242;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #fce4ec;
    margin-top: auto; /* Mendorong badge ke bagian paling bawah */
}

/* Penyesuaian khusus kartu pimpinan agar lebih lebar secara visual */
.profile-card.pimpinan {
    border-top: 5px solid var(--mhu-magenta);
}

/* --- HERO SECTION --- */
.hero-tentang {
        background: linear-gradient(rgba(185, 72, 112, 0.85), rgba(33, 26, 29, 0.9)), url('../img/hero/hero-tentang.webp') center/cover;
    padding: 80px 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--bg-light);
    text-align: center;
}

@media (max-width: 768px) {
    .main-footer { text-align: center; }
    .social-links { justify-content: center; margin-bottom: 20px; }
    .contact-info { align-items: center; }
}

/* MEDIA QUERY: Mencegah teks bertabrakan di HP */
@media (max-width: 767px) {
    .footer-heading {
        font-size: 0.95rem;
        margin-top: 15px;
    }
    
    /* Membuat kolom Alamat & Jam memakan lebar penuh di HP */
    .col-md-12 {
        text-align: left;
    }
    
    /* Mengurangi padding agar muat di layar sempit */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Container pembungkus utama */
.footer-container {
  display: flex;
  flex-wrap: wrap; /* Kunci responsif: elemen akan turun ke baris baru jika sempit */
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto; /* Posisi ke tengah */
}

/* Bagian teks/informasi */
.footer-info {
  flex: 1;
  min-width: 250px; /* Lebar minimum sebelum turun ke baris bawah */
}

.footer-info h3 {
  color: #D4AF37; /* Warna Emas */
  margin-top: 0;
}

/* Container khusus untuk Map */
.footer-map {
  flex: 1;
  min-width: 300px;
  width: 100%;
}

/* Kunci utama agar Iframe Responsif */
.footer-map iframe {
  width: 100%; /* Memaksa iframe mengikuti lebar container */
  height: 100%;
  min-height: 250px; /* Tinggi minimum agar map tidak terlalu pipih */
  border-radius: 8px; /* Sudut melengkung agar lebih manis (opsional) */
  aspect-ratio: 16 / 9; /* Menjaga proporsi peta tetap bagus di berbagai layar */
}