:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";

    /* accent utama */
    --accent-color: rgb(234 85 5 / 1);   /* #EA5505 */

    /* primary mengikuti nuansa accent */
    --primary-color: #F06A1A;   /* lebih terang & friendly */
    --primary-hover: #C84A04;   /* lebih gelap saat hover */

    --secondary-color: #f8f9fa;
    --text-color: #343a40;
    --light-gray: #e9ecef;
    --accent-color2: #F5D042;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Offset for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden; /* Mencegah horizontal scroll */
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-nav-masuk {
    color: black;
    border-color: var(--primary-color);
    background-color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-nav-masuk:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-nav-daftar {
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-nav-daftar:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
}


/* Hero Section */
/*.hero-section {*/
/*    background: linear-gradient(to bottom, #FFFFFF, var(--primary-color));*/
/*    padding: 100px 0;*/
/*    min-height: 70vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*.hero-section h1 {*/
/*    font-weight: 700;*/
/*    font-size: 2.0rem; !* Ukuran judul dikecilkan *!*/
/*    color: var(--text-color);*/
/*    line-height: 1.2;*/
/*}*/

/* Container Utama untuk Section */
.hero-section {
    width: 100%;
    /* Ubah min-height agar fleksibel jika konten banyak */
    min-height: 100vh;
    height: auto;

    /* Ganti jadi Column agar konten baru turun ke bawah */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Mulai dari atas */

    background: linear-gradient(to bottom, #FFFFFF 0%, var(--primary-color) 100%);
    padding: 20px 0 60px 0; /* Tambah padding bawah */
}

/* Wrapper Bagian Atas (Gambar + Teks) */
.hero-wrapper {
    position: relative;
    width: 100%; /* Sesuaikan lebar */

    /* PENTING: Beri tinggi tetap agar carousel punya ruang */
    height: 60vh;

    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    /* Agar wrapper ini tidak mengecil saat ada konten di bawahnya */
    flex-shrink: 0;
    --bs-gutter-x: 0 !important;
}

/* Styling Carousel agar memenuhi wrapper */
#heroCarousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay & Text tetap sama (Absolute) */
.hero-img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

/* Styling Konten Teks yang menimpa */
.hero-content {
    /* Posisi Absolute untuk menumpuk di atas gambar */
    position: absolute;

    /* Centering Sempurna (Vertikal & Horizontal) */
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);

    /* Layering */
    z-index: 10;

    /* Ukuran Container Teks */
    width: 90%;          /* Lebar 90% di HP agar tidak terlalu mepet */
    max-width: 800px;    /* Batas maksimal lebar di Desktop agar rapi */
    padding: 0 15px;     /* Padding keamanan kiri-kanan */

    /* Styling Teks */
    color: white;
}

/* Styling Judul (H1) Responsive */
.hero-content h1 {
    font-weight: 700;
    /* CLAMP: Font otomatis membesar/mengecil (Min 1.8rem, Ideal 4vw, Max 3rem) */
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 20px;

    /* Text Shadow Tebal agar terbaca di background terang/gelap */
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

/* Styling Paragraf (P) Responsive */
.hero-content p {
    /* CLAMP: Min 1rem, Ideal 1.5vw, Max 1.25rem */
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    font-weight: 400;

    /* Text Shadow sedikit lebih tipis dari H1 */
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    color: white;
    line-height: 1.6;

    /* Agar paragraf tidak terlalu lebar sendirian di desktop */
    max-width: 90%;
    margin-right: auto;
}

/* Penyesuaian Khusus Mobile (Jika diperlukan lebih spesifik) */
@media (max-width: 576px) {
    .hero-content {
        width: 95%; /* Memaksimalkan lebar di layar HP kecil */
        top: 50%;
        left: 50%;
    }

    .hero-content p {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons {
        /* Jika tombol berjejer, di HP jadi atas bawah agar mudah dipencet */
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;       /* Tombol full width di HP */
        max-width: 300px;  /* Tapi jangan kelebaran banget */
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 4vw, 2.8rem);
    }
}

@media (max-width: 1268px) {
    .hero-content {
        width: 95%; /* Memaksimalkan lebar di layar HP kecil */
        top: 50%;
        left: 50%;
    }
}

/* Bagian Konten Tambahan di Bawah */
.hero-addon-content {
    width: 80%; /* Samakan lebar dengan wrapper atau container */
    margin-top: 40px; /* Jarak dari kotak gambar */
    position: relative;
    z-index: 2;
}

/* Penyesuaian Tombol untuk background gelap */
.btn-outline-light:hover {
    color: var(--primary-color, #0d6efd);
}

/* Responsive untuk Layar HP */
@media (max-width: 768px) {
    .hero-wrapper {
        width: 90%;
        height: 60vh; /* Perkecil tinggi gambar di HP */
    }

    .hero-addon-content {
        width: 95%;
    }
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Mencegah tombol menyusut */
}

.hero-buttons .btn .bi {
    margin-right: 8px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 105, 165, 0.2);
}

.btn-primary {
    background-color: var(--accent-color2);
    border-color: var(--accent-color2);
    border: 1px solid var(--accent-color2);
    color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
}

.btn-ajukan {
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}
.btn-ajukan:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
}

.btn-outline-primary {
    color: var(--text-color);
    border-color: var(--light-gray);
    background-color: #fff;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero-image {
    max-width: 100%;
    height: auto;
}

/* Responsive Typography & Buttons */
@media (max-width: 992px) {
    .hero-section .text-lg-start {
        text-align: center !important;
    }
}
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
}
@media (max-width: 576px) {
    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}


/* Main Content Area */
.main-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.layanan-utama-item .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    background-color: #e7f0ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
}

.layanan-persuratan-card {
    background-color: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.layanan-persuratan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 105, 165, 0.1);
}
.layanan-persuratan-card .fs-2 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.layanan-persuratan-card h6 {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sidebar Card */
.card-custom {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background-color: #fff;
}

.card-header-custom {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
}

.pengumuman-item, .sidebar-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}
.pengumuman-item:first-child, .sidebar-item:first-child {
    padding-top: 0;
}
.pengumuman-item:last-child, .sidebar-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.pengumuman-item img, .sidebar-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}
.pengumuman-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.pengumuman-title {
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}
.pengumuman-title:hover {
    color: var(--primary-color);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}
.sidebar-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0.75rem;
}
.sidebar-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}
.sidebar-item-details {
    flex-grow: 1;
}
.sidebar-item-details h6 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.sidebar-item-details .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25em 0.5em;
    background-color: #e7f0ff !important;
    color: var(--primary-color) !important;
}
.sidebar-item-details small {
    font-size: 0.8rem;
}

.btn-lihat-semua {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.btn-lihat-semua:hover {
    background-color: #fff;
    border-color: var(--light-gray);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 105, 165, 0.3);
}

/* Alur Proses Section */
.alur-proses-section {
    padding: 4rem 0;
    background: radial-gradient(ellipse at center, #E0E8F5 0%, #FFFFFF 70%);
}
.step-card {
    text-align: center;
    padding: 2rem;
}
.step-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.step-card h5 {
    font-weight: 600;
    color: var(--text-color);
}
.step-card p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* FAQ Section */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-color);
}
.faq-section .accordion-button:not(.collapsed) {
    background-color: #e7f0ff;
    color: var(--primary-color);
    box-shadow: none;
}
.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(74, 105, 165, 0.25);
}
.faq-section .accordion-item {
    border-radius: 15px !important;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

/* Kontak Section */
#kontak .map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}
#kontak .contact-details {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
}
#kontak .contact-details h5 {
    font-weight: 600;
}
#kontak .contact-details p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 60px 0 20px 0;
}
.footer h5{
    color: #fff !important;
}
.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: white;
}
.footer-links .bi {
    margin-right: 8px;
    font-size: 0.8rem;
}
.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s;
    display: inline-block;
}
.footer-social a:hover {
    transform: scale(1.1);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 40px;
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');
.logo {
    text-decoration: none;
    color: inherit;
    gap: 10px; /* jarak antara gambar dan teks */
    align-items: center;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.logo-img {
    height: 40px; /* sesuaikan ukuran logo */
    width: auto;
    object-fit: contain;
}

.sitename {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.logo:hover .sitename {
    color: var(--accent-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

.sitename-footer {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.logo:hover .sitename-footer {
    color: var(--accent-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* Carousel */
.hero-carousel-container .carousel-inner {
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.hero-carousel-container .carousel-item img {
    border-radius: 20px;
    height: 400px;
    object-fit: cover;
}
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.hero-carousel-container:hover .carousel-control-prev,
.hero-carousel-container:hover .carousel-control-next {
    opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    padding: 1.2rem;
}

.room-card {
    border-radius: 1rem; border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.2) !important;
}
/* UPDATED: Menambahkan sudut tumpul dan bayangan pada gambar */
.room-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0; /* Membuat sudut atas gambar tumpul */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); /* Bayangan halus di bawah gambar */
}
.room-card .card-body {
    display: flex;
    flex-direction: column;
}
.room-card .card-title {
    font-weight: 600; color: #343a40; font-size: 1rem;
}
.room-card .card-text {
    color: #6c757d;
    font-size: 0.8rem;
    flex-grow: 1;
}

.facility-section {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    margin: 0.8rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    scrollbar-width: none;
}
.facility-section::-webkit-scrollbar { display: none; }

.facility-item {
    display: inline-block;
    text-align: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}
.facility-item:last-child { margin-right: 0; }

.facility-item i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}
.facility-item p {
    font-size: 0.65rem;
    margin-bottom: 0;
    color: #495057;
}
.room-card .btn {
    border-radius: 50px; font-weight: 500; padding: 0.4rem 0; font-size: 0.8rem;
    transition: all 0.2s ease-in-out;
}

.ruangan-section {
    background: #ffede2;
    min-height: 100vh;
    display: flex;
}

.bg-label{
    background-color: var(--accent-color);
}

h5{
    line-height: 1.75rem;
    font-size: 1.125rem;
}

.quote-card {
    border-left: 5px solid #f36f21;
    background: rgba(243, 111, 33, 0.05);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    /* efek timbul */
    border-radius: 0.75rem;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.quote-text {
    font-style: italic;
    color: #2f2f2f;              /* lebih kontras & informatif */
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    padding-left: 12px;

    /* efek cerah & bersih */
    text-shadow:
        0 1px 1px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.15);
}

.quote-text::before {
    content: "“";
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -14px;
    font-size: 3.4rem;
    color: rgba(243, 111, 33, 0.45); /* lebih cerah */
}

.quote-text::after {
    content: "”";
    font-family: Georgia, serif;
    position: absolute;
    bottom: -80px;
    right: 0px;
    font-size: 3.4rem;
    color: rgba(243, 111, 33, 0.35);
}

.scrolling-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth; /* Animasi scroll halus */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.scrolling-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.card-product {
    min-width: 250px;
    max-width: 250px;
    margin-right: 20px;
    transition: transform 0.2s;
    height: 100%; /* Pastikan tinggi konsisten */
    box-shadow: 0 10px 20px rgba(234, 85, 5, 0.15);
}
.card-product:hover {
    transform: translateY(-5px);
}

/* Kartu "Lihat Selengkapnya" */
.card-see-more {
    min-width: 250px; /* Lebar sama dengan produk */
    margin-right: 20px;
    background-color: #f8f9fa; /* Warna latar sedikit abu */
    border: 2px dashed #dee2e6; /* Border putus-putus agar beda */
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(234, 85, 5, 0.4);
}
.card-see-more:hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
    color: #0d6efd;
}

/* Posisi Tombol Navigasi */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-prev { left: -20px; }
.btn-next { right: -20px; }

.empty-state {
    background-color: rgba(255 149 86);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}



