/* ============================================
   PART 1: BASE MOBILE (max-width: 575px)
   FIXED VERSION - Copy ke responsive.css
   ============================================ */

@media (max-width: 575px) {
    
    /* === GLOBAL === */
    body {
        padding-top: 70px !important;
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* === NAVIGATION - COLLAPSED BY DEFAULT === */
    nav.navbar {
        height: 70px !important;
        padding: 10px 0 !important;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar-toggler {
        display: block !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        background: rgba(210, 105, 30, 0.3) !important;
    }
    
    .navbar-toggler-icon {
        width: 24px !important;
        height: 24px !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    /* CRITICAL: Menu collapsed by default */
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
        position: static !important;
        transform: none !important;
        background: rgba(93, 41, 6, 0.98) !important;
        margin-top: 15px !important;
        border-radius: 12px !important;
        padding: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .nav-item {
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    
    .nav-link {
        width: 100% !important;
        text-align: left !important;
        padding: 14px 18px !important;
        height: auto !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
    }
    
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        margin: 8px 0 0 0 !important;
        border: none !important;
        background: rgba(139, 69, 19, 0.8) !important;
        border-radius: 10px !important;
    }
    
    .dropdown-item {
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        margin: 3px 8px !important;
    }
    
    .dropdown-item i.bi {
        width: 28px !important;
        height: 28px !important;
        font-size: 1.2rem !important;
    }
    
    /* === MUSIC PLAYER === */
    .fixed-social-container {
        bottom: 20px;
        right: 20px;
    }
    
    .music-player-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .music-tooltip {
        display: none !important;
    }
    
    /* === HERO SECTION - FULL HEIGHT === */
    #hero.hero-video-section {
        min-height: 100vh !important;
        height: 100vh !important;
        margin-top: -70px !important;
    }
    
    .hero-content {
        padding: 120px 15px 100px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-greeting {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .hero-logo-container {
        margin: 15px 0 25px;
    }
    
    .hero-logo-text {
        max-width: 280px;
        width: 90%;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        margin-top: 25px;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 25px !important;
        font-size: 0.95rem !important;
    }
    
    .scroll-indicator {
        display: none !important;
    }

    
    
    /* === ABOUT SECTION === */
    @media (max-width: 991px) {
    #about.about-3d-section {
        padding: 60px 0;
        overflow: visible;
    }

    .rotating-image-container {
        width: 85%;
        height: 300px;
        margin: 0 auto 30px;
    }

    .image-3d-card {
        width: 75%;
        height: 80%;
        top: 10%;
        left: 12%;
    }

    #about .col-lg-6:last-child {
        text-align: center;
        padding-left: 15px;
    }

    #about .mt-4.mb-5 {
        display: flex;
        justify-content: center;
    }

    .section-title-light {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    #about .text-light {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.6;
    }

    .btn-orange-here {
        padding: 12px 28px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .rotating-image-container {
        width: 90%;
        height: 260px;
    }

    .image-3d-card {
        width: 80%;
        height: 82%;
        top: 9%;
        left: 10%;
    }
}
    
    

 /* === HAPPY SECTION === */
@media (max-width: 767px) {
    .happy-section {
        padding: 50px 0 40px;
    }

    .happy-section .text-center {
        margin-bottom: 28px !important;
        padding: 0 8px;
    }

    .happy-section .section-title {
        font-size: 1.55rem;
        line-height: 1.3;
    }

    .happy-section .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-top: 18px;
    }

    .happy-scroll-track {
        gap: 14px;
        padding: 12px 16px 20px;
        /* snap per card di mobile */
        scroll-snap-type: x mandatory;
    }

    .hcard {
        /* 1 card per view: 100vw - 32px padding kiri+kanan */
        flex: 0 0 calc(100vw - 64px);
        min-height: 320px;
        padding: 28px 20px 24px;
        scroll-snap-align: center;
    }

    .hcard-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .hcard-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .hcard-desc {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .scroll-hint {
        font-size: 0.78rem;
        margin-top: 10px;
    }
}


/* ========== MOBILE KECIL (max-width: 375px) ========== */
@media (max-width: 375px) {
    .happy-section {
        padding: 40px 0 30px;
    }

    .happy-section .section-title {
        font-size: 1.35rem;
    }

    .hcard {
        flex: 0 0 calc(100vw - 48px);
        min-height: 300px;
        padding: 24px 16px 20px;
    }

    .hcard-icon {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .hcard-title  { font-size: 0.98rem; }
    .hcard-desc   { font-size: 0.83rem; }
}

    
    /* === MENU SECTION - 1 CARD PER SLIDE === */
   /* ================================================
   MENU SECTION — RESPONSIVE TABLET & MOBILE
   
   PENDEKATAN: Override radio-button slider menjadi
   native horizontal scroll di tablet & mobile.
   Semua 12 card tampil dalam 1 baris horizontal.
   Tidak ada tombol prev/next — geser manual.
   ================================================ */


/* ===== TABLET (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 768px) {

    .menu-section {
        padding: 60px 0;
    }

    .menu-section .section-title-light {
        font-size: 2rem;
        padding: 0 16px;
    }

    .menu-section .section-subtitle-light {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Container: lepas height fixed, biarkan auto */
    .menu-slider-container {
        height: auto;
        overflow: visible;
        padding: 0;
        max-width: 100%;
    }

    /*
     * KRITIS: Override semua translateX dari radio selector.
     * Wrapper berubah jadi horizontal scroll container.
     */
    #menu-slide-1:checked ~ .menu-cards-wrapper,
    #menu-slide-2:checked ~ .menu-cards-wrapper,
    #menu-slide-3:checked ~ .menu-cards-wrapper,
    #menu-slide-4:checked ~ .menu-cards-wrapper {
        transform: none;
    }

    .menu-cards-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        height: auto;
        overflow-x: auto;
        overflow-y: visible;
        gap: 0;
        padding: 12px 16px 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* Sembunyikan scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        transition: none;
    }

    .menu-cards-wrapper::-webkit-scrollbar {
        display: none;
    }

    .menu-cards-wrapper:active {
        cursor: grabbing;
    }

    /* Tiap .menu-slide jadi grup 3 card berderet */
    .menu-slide {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        min-width: auto;
        height: auto;
        gap: 16px;
        padding: 0;
        padding-right: 16px;
        flex-shrink: 0;
        align-items: stretch;
        scroll-snap-align: start;
    }

    /* Card: fixed width 240px */
    .menu-photo-card {
        width: 240px;
        min-width: 240px;
        height: 360px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Sembunyikan tombol navigasi */
    .menu-navigation {
        display: none;
    }

    /* Sembunyikan dots */
    .menu-pagination {
        display: none;
    }

    /* Scroll hint */
    .menu-slider-container::after {
        content: '← Geser untuk melihat semua menu →';
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.8rem;
        margin-top: 10px;
        letter-spacing: 0.4px;
    }

    .btn-view-all {
        padding: 12px 30px;
        font-size: 1rem;
    }
}


/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

    .menu-section {
        padding: 50px 0;
    }

    .menu-section .section-title-light {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 12px;
        margin-bottom: 10px;
    }

    .menu-section .section-subtitle-light {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 16px;
        margin-bottom: 2rem;
    }

    /* Container: lepas semua constraint desktop */
    .menu-slider-container {
        height: auto;
        overflow: visible;
        padding: 0;
        max-width: 100%;
    }

    /*
     * KRITIS: Batalkan semua translateX dari radio button selector.
     * Ini yang bikin cuma 1 slide kelihatan di desktop.
     * Di mobile kita pakai scroll biasa.
     */
    #menu-slide-1:checked ~ .menu-cards-wrapper,
    #menu-slide-2:checked ~ .menu-cards-wrapper,
    #menu-slide-3:checked ~ .menu-cards-wrapper,
    #menu-slide-4:checked ~ .menu-cards-wrapper {
        transform: none;
    }

    /*
     * Wrapper: jadi horizontal scroll container.
     * Semua 12 card tampil dalam 1 baris, bisa digeser.
     */
    .menu-cards-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        height: auto;
        overflow-x: auto;
        overflow-y: visible;
        gap: 0;
        padding: 10px 16px 16px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transition: none;
    }

    .menu-cards-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Tiap .menu-slide: inline flex row, tidak wrap */
    .menu-slide {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        min-width: auto;
        height: auto;
        gap: 14px;
        padding: 0;
        padding-right: 14px;
        flex-shrink: 0;
        align-items: stretch;
    }

    /*
     * Card: lebar penuh viewport dikurangi padding wrapper (16px × 2)
     * Tepat 1 card per tampilan, tidak ada card lain yang bocor
     */
    .menu-photo-card {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        height: 340px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .photo-container {
        height: 100%;
    }

    .photo-container img {
        height: 100%;
        object-fit: cover;
    }

    /* Sembunyikan tombol navigasi */
    .menu-navigation {
        display: none;
    }

    /* Sembunyikan dots */
    .menu-pagination {
        display: none;
    }

    /* Scroll hint */
    .menu-slider-container::after {
        content: '← Geser untuk melihat semua menu →';
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.78rem;
        margin-top: 8px;
        letter-spacing: 0.3px;
    }

    .btn-view-all {
        padding: 11px 26px;
        font-size: 0.92rem;
        margin-top: 12px;
    }

    /* Rapatkan jarak tombol ke area card */
    .menu-section .text-center.mt-5 {
        margin-top: 12px !important;
        padding-top: 0 !important;
    }
}


/* ===== MOBILE KECIL (max-width: 375px) ===== */
@media (max-width: 375px) {

    .menu-section {
        padding: 40px 0;
    }

    .menu-section .section-title-light {
        font-size: 1.3rem;
        padding: 0 10px;
    }

    .menu-section .section-subtitle-light {
        font-size: 0.85rem;
        padding: 0 14px;
    }

    .menu-photo-card {
        width: calc(100vw - 28px);
        min-width: calc(100vw - 28px);
        height: 300px;
    }

    .btn-view-all {
        padding: 10px 22px;
        font-size: 0.88rem;
    }
}
    
    /* === TESTIMONIAL SECTION - 1 CARD PER SLIDE === */
    /* ===== TABLET RESPONSIVE (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .testimonial-section {
        padding: 70px 0;
        min-height: auto;
    }
    
    .testimonial-section .section-title-light {
        font-size: 2.2rem !important;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .testimonial-section .section-subtitle-light {
        font-size: 1.1rem !important;
        padding: 0 30px;
        margin-bottom: 3rem;
        line-height: 1.6;
    }
    
    .testimonial-slider-container {
        height: 540px;
        padding: 0 20px;
    }
    
    /* PENTING: Tampilkan 2 card per slide di Tablet */
    .testimonial-slide {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 20px !important;
        justify-content: center !important;
        align-items: start !important;
    }
    
    .testimonial-photo-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 480px !important;
        flex-shrink: 0 !important;
    }
    
    /* Sembunyikan card ke-3 di setiap slide untuk tablet */
    .slide-1 .card-3,
    .slide-2 .card-6,
    .slide-3 .card-9,
    .slide-4 .card-12 {
        display: none !important;
    }
    
    /* Rating */
    .testimonial-rating {
        gap: 6px;
        padding: 10px 18px;
        margin-bottom: 15px;
    }
    
    .rating-star {
        font-size: 16px;
    }
    
    .rating-score {
        font-size: 0.95rem;
        padding: 5px 12px;
        min-width: 50px;
    }
    
    /* Text */
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 2rem;
    }
    
    .testimonial-name {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }
    
    .testimonial-role {
        font-size: 0.9rem;
    }
    
    /* Navigation Buttons - Coklat */
    .testimonial-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        background: rgba(139, 69, 19, 0.95) !important;
        color: #fff !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .testimonial-btn:hover {
        background: rgba(160, 82, 45, 1) !important;
        transform: scale(1.05);
    }
    
    .testimonial-btn.prev-btn {
        left: 10px;
    }
    
    .testimonial-btn.next-btn {
        right: 10px;
    }
    
    .testimonial-pagination {
        gap: 10px;
        margin-top: 35px;
    }
    
    .testimonial-dot {
        width: 11px;
        height: 11px;
    }
}

/* ===== MOBILE RESPONSIVE (Max 767px) ===== */
@media (max-width: 767px) {
    .testimonial-section {
        padding: 50px 0;
        min-height: auto;
        overflow: hidden;
    }
    
    /* Section Title & Subtitle */
    .testimonial-section .section-title-light {
        font-size: 1.6rem !important;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 12px;
    }
    
    .testimonial-section .section-subtitle-light {
        font-size: 0.95rem !important;
        padding: 0 25px;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
    
    /* Testimonial Slider Container */
    .testimonial-slider-container {
        height: auto;
        min-height: 520px;
        padding: 0 10px;
        overflow: visible;
        position: relative;
    }
    
    /* PENTING: Tampilkan 1 card per slide di Mobile */
    .testimonial-slide {
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    /* Sembunyikan semua card kecuali yang pertama di setiap slide */
    .testimonial-slide .testimonial-photo-card {
        display: none !important;
    }
    
    /* Tampilkan hanya 1 card per slide */
    .slide-1 .card-1,
    .slide-2 .card-4,
    .slide-3 .card-7,
    .slide-4 .card-10 {
        display: block !important;
    }
    
    /* Testimonial Card */
    .testimonial-photo-card {
        width: 100% !important;
        max-width: 340px !important;
        height: 500px !important;
        flex-shrink: 0 !important;
        margin: 0 auto !important;
    }
    
    /* Photo Container */
    .photo-container {
        height: 100%;
    }
    
    .photo-container img {
        object-fit: cover;
        height: 100%;
    }
    
    /* Rating */
    .testimonial-rating {
        gap: 6px !important;
        padding: 10px 16px !important;
        margin-bottom: 15px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rating-star {
        font-size: 16px !important;
    }
    
    .rating-score {
        font-size: 0.9rem !important;
        padding: 4px 10px !important;
        min-width: 45px !important;
    }
    
    /* Testimonial Text */
    .testimonial-text {
        font-size: 0.92rem !important;
        margin-bottom: 20px !important;
        padding: 0 12px !important;
        line-height: 1.6 !important;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 2rem !important;
    }
    
    /* Name & Role */
    .testimonial-name {
        font-size: 1.28rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3;
    }
    
    .testimonial-role {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }
    
    /* Navigation Buttons - Coklat */
    .testimonial-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
        background: rgba(139, 69, 19, 0.95) !important;
        color: #fff !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
        z-index: 100 !important;
    }
    
    .testimonial-btn:hover,
    .testimonial-btn:active {
        background: rgba(160, 82, 45, 1) !important;
        transform: scale(1.05);
    }
    
    .testimonial-btn.prev-btn {
        left: 5px !important;
    }
    
    .testimonial-btn.next-btn {
        right: 5px !important;
    }
    
    /* Pagination Dots */
    .testimonial-pagination {
        gap: 10px !important;
        margin-top: 30px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .testimonial-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
}

/* ===== VERY SMALL MOBILE (Max 375px) ===== */
@media (max-width: 375px) {
    .testimonial-section {
        padding: 40px 0;
    }
    
    .testimonial-section .section-title-light {
        font-size: 1.4rem !important;
        padding: 0 15px;
    }
    
    .testimonial-section .section-subtitle-light {
        font-size: 0.88rem !important;
        padding: 0 20px;
    }
    
    .testimonial-slider-container {
        min-height: 490px;
        padding: 0 5px;
    }
    
    .testimonial-photo-card {
        max-width: 310px !important;
        height: 480px !important;
    }
    
    .testimonial-text {
        font-size: 0.88rem !important;
        padding: 0 10px !important;
    }
    
    .testimonial-name {
        font-size: 1.2rem !important;
    }
    
    .testimonial-role {
        font-size: 0.82rem !important;
    }
    
    .testimonial-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
    
    .testimonial-btn.prev-btn {
        left: 3px !important;
    }
    
    .testimonial-btn.next-btn {
        right: 3px !important;
    }
    
    .testimonial-dot {
        width: 9px !important;
        height: 9px !important;
    }
}

/* ===== FIX OVERFLOW ===== */
.testimonial-section .container {
    overflow: hidden;
    max-width: 100%;
}





    /* === GALLERY SECTION - 1 CARD PER SLIDE === */
    /* ===== TABLET RESPONSIVE (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 768px) {
    .gallery-section {
        padding: 70px 0;
    }
    
    .gallery-section .section-title-light {
        font-size: 2.2rem !important;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .gallery-section .section-subtitle-light {
        font-size: 1.1rem !important;
        padding: 0 30px;
        margin-bottom: 3rem;
        line-height: 1.6;
    }
    
    .gallery-slider-container {
        height: 440px;
        padding: 0 20px;
    }
    
    /* PENTING: Tampilkan 2 card per slide di Tablet */
    .gallery-slide {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 20px !important;
        justify-content: center !important;
        align-items: start !important;
    }
    
    .gallery-photo-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 380px !important;
        flex-shrink: 0 !important;
    }
    
    /* Sembunyikan card ke-3 di setiap slide untuk tablet */
    .slide-1 .card-3,
    .slide-2 .card-6,
    .slide-3 .card-9 {
        display: none !important;
    }
    
    /* Photo Info */
    .photo-title {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }
    
    .photo-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Navigation Buttons - Coklat */
    .gallery-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        background: rgba(139, 69, 19, 0.95) !important;
        color: #fff !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .gallery-btn:hover {
        background: rgba(160, 82, 45, 1) !important;
        transform: scale(1.05);
    }
    
    .gallery-btn.prev-btn {
        left: 10px;
    }
    
    .gallery-btn.next-btn {
        right: 10px;
    }
    
    .gallery-pagination {
        gap: 10px;
        margin-top: 35px;
    }
    
    .gallery-dot {
        width: 11px;
        height: 11px;
    }
}

/* ===== MOBILE RESPONSIVE (Max 767px) ===== */
@media (max-width: 767px) {
    .gallery-section {
        padding: 50px 0;
        overflow: hidden;
    }
    
    /* Section Title & Subtitle */
    .gallery-section .section-title-light {
        font-size: 1.6rem !important;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 12px;
    }
    
    .gallery-section .section-subtitle-light {
        font-size: 0.95rem !important;
        padding: 0 25px;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
    
    /* Gallery Slider Container */
    .gallery-slider-container {
        height: auto;
        min-height: 420px;
        padding: 0 10px;
        overflow: visible;
        position: relative;
    }
    
    /* PENTING: Tampilkan 1 card per slide di Mobile */
    .gallery-slide {
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    /* Sembunyikan semua card kecuali yang pertama di setiap slide */
    .gallery-slide .gallery-photo-card {
        display: none !important;
    }
    
    /* Tampilkan hanya 1 card per slide */
    .slide-1 .card-1,
    .slide-2 .card-4,
    .slide-3 .card-7 {
        display: block !important;
    }
    
    /* Gallery Card */
    .gallery-photo-card {
        width: 100% !important;
        max-width: 340px !important;
        height: 400px !important;
        flex-shrink: 0 !important;
        margin: 0 auto !important;
    }
    
    /* Photo Container */
    .photo-container {
        height: 100%;
    }
    
    .photo-container img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
    
    /* Photo Info Overlay */
    .photo-info-overlay {
        padding: 20px;
    }
    
    .photo-title {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3;
    }
    
    .photo-desc {
        font-size: 0.88rem !important;
        line-height: 1.5;
    }
    
    /* Navigation Buttons - Coklat */
    .gallery-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
        background: rgba(139, 69, 19, 0.95) !important;
        color: #fff !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
        z-index: 100 !important;
    }
    
    .gallery-btn:hover,
    .gallery-btn:active {
        background: rgba(160, 82, 45, 1) !important;
        transform: scale(1.05);
    }
    
    .gallery-btn.prev-btn {
        left: 5px !important;
    }
    
    .gallery-btn.next-btn {
        right: 5px !important;
    }
    
    /* Pagination Dots */
    .gallery-pagination {
        gap: 10px !important;
        margin-top: 30px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .gallery-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
}

/* ===== VERY SMALL MOBILE (Max 375px) ===== */
@media (max-width: 375px) {
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-section .section-title-light {
        font-size: 1.4rem !important;
        padding: 0 15px;
    }
    
    .gallery-section .section-subtitle-light {
        font-size: 0.88rem !important;
        padding: 0 20px;
    }
    
    .gallery-slider-container {
        min-height: 390px;
        padding: 0 5px;
    }
    
    .gallery-photo-card {
        max-width: 310px !important;
        height: 380px !important;
    }
    
    .photo-title {
        font-size: 1.15rem !important;
    }
    
    .photo-desc {
        font-size: 0.85rem !important;
    }
    
    .gallery-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
    
    .gallery-btn.prev-btn {
        left: 3px !important;
    }
    
    .gallery-btn.next-btn {
        right: 3px !important;
    }
    
    .gallery-dot {
        width: 9px !important;
        height: 9px !important;
    }
}

/* ===== FIX OVERFLOW ===== */
.gallery-section .container {
    overflow: hidden;
    max-width: 100%;
}

    
    /* === VIDEO DOCUMENTATION === */
/* ================================================
   VIDEO DOC SECTION — RESPONSIVE TABLET & MOBILE
   
   Struktur HTML:
   .video-gallery-wrapper
     button.scroll-btn.scroll-left   ← HIDDEN di mobile & tablet
     .video-grid-scroll
       .video-item × 10
         .video-card
           .video-player-wrapper
           .video-info
     button.scroll-btn.scroll-right  ← HIDDEN di mobile & tablet
   
   Mobile : 1 card penuh, swipe manual
   Tablet : 2 card terlihat, swipe manual
   ================================================ */


/* ===== TABLET (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 768px) {

    .video-doc-section {
        padding: 60px 0;
    }

    .video-doc-section .section-title-light {
        font-size: 2rem;
        padding: 0 16px;
    }

    .video-doc-section .section-subtitle-light {
        font-size: 1rem;
        padding: 0 24px;
        margin-bottom: 2rem;
    }

    /* Sembunyikan tombol scroll — swipe manual */
    .scroll-btn {
        display: none;
    }

    /* Wrapper: hapus padding tombol */
    .video-gallery-wrapper {
        padding: 0;
    }

    /* Scroll container */
    .video-grid-scroll {
        gap: 16px;
        padding: 12px 20px 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .video-grid-scroll::-webkit-scrollbar {
        display: none;
    }

    /*
     * 2 card per viewport
     * (100vw - Bootstrap container padding 24px - gap 16px - scroll padding 40px) / 2
     * Sederhananya: calc(50vw - 28px)
     */
    .video-item {
        width: calc(50vw - 28px);
        min-width: calc(50vw - 28px);
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .video-card {
        width: 100%;
        height: 390px;
    }

    .video-player-wrapper {
        height: 210px;
    }

    .video-info {
        padding: 16px;
    }

    .video-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .video-meta {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .video-desc {
        font-size: 0.87rem;
        line-height: 1.5;
    }

    /* Scroll hint */
    .video-gallery-wrapper::after {
        content: '← Geser untuk melihat video lainnya →';
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.78rem;
        margin-top: 8px;
    }
}


/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

    .video-doc-section {
        padding: 50px 0 40px;
    }

    .video-doc-section .section-title-light {
        font-size: 1.45rem;
        line-height: 1.3;
        padding: 0 12px;
        margin-bottom: 10px;
    }

    .video-doc-section .section-subtitle-light {
        font-size: 0.88rem;
        line-height: 1.6;
        padding: 0 16px;
        margin-bottom: 1.5rem;
    }

    /* Sembunyikan tombol scroll — swipe manual */
    .scroll-btn {
        display: none;
    }

    /* Wrapper: hapus semua padding */
    .video-gallery-wrapper {
        padding: 0;
    }

    /*
     * Scroll container:
     * padding 0 16px → breathing room kiri kanan
     * snap per card
     */
    .video-grid-scroll {
        gap: 14px;
        padding: 10px 16px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .video-grid-scroll::-webkit-scrollbar {
        display: none;
    }

    /*
     * 1 card penuh per viewport
     * 100vw - padding kiri(16) - padding kanan(16) = 100vw - 32px
     */
    .video-item {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .video-card {
        width: 100%;
        height: auto;
        min-height: 370px;
    }

    .video-player-wrapper {
        height: 210px;
    }

    .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .play-btn {
        width: 54px;
        height: 54px;
        font-size: 1.8rem;
    }

    .video-info {
        padding: 16px;
    }

    .video-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.35;
    }

    .video-meta {
        font-size: 0.83rem;
        margin-bottom: 8px;
        gap: 6px;
    }

    .video-desc {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    /* Scroll hint */
    .video-gallery-wrapper::after {
        content: '← Geser untuk melihat video lainnya →';
        display: block;
        text-align: center;
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.75rem;
        margin-top: 8px;
    }

    /* Modal */
    .modal-container {
        width: 95%;
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-header h3 {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .modal-video {
        height: 210px;
    }

    .modal-info {
        padding: 14px 16px;
    }

    .modal-meta {
        font-size: 0.83rem;
        margin-bottom: 8px;
    }

    .modal-info p {
        font-size: 0.86rem;
        line-height: 1.5;
    }
}


/* ===== MOBILE KECIL (max-width: 375px) ===== */
@media (max-width: 375px) {

    .video-doc-section {
        padding: 40px 0 30px;
    }

    .video-doc-section .section-title-light {
        font-size: 1.25rem;
        padding: 0 10px;
    }

    .video-doc-section .section-subtitle-light {
        font-size: 0.84rem;
        padding: 0 12px;
    }

    .video-grid-scroll {
        padding: 10px 12px 14px;
        gap: 12px;
    }

    .video-item {
        width: calc(100vw - 24px);
        min-width: calc(100vw - 24px);
    }

    .video-player-wrapper {
        height: 195px;
    }

    .video-title { font-size: 1rem; }
    .video-desc  { font-size: 0.83rem; }

    .modal-video { height: 185px; }
}
    
    /* === LOCATION SECTION - 1 CARD PER SLIDE === */
   /* ================================================
   LOCATION SECTION — RESPONSIVE
   Menggunakan !important untuk override Bootstrap
   dan CSS sebelumnya di responsive.css
   ================================================ */


/* ===== TABLET (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 768px) {

    #location-preview.location-orange-section {
        padding: 60px 0 80px !important;
    }

    .location-orange-section .section-title-light {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        padding: 0 16px !important;
        margin-bottom: 12px !important;
    }

    .location-orange-section .section-subtitle-light {
        font-size: 1rem !important;
        padding: 0 24px !important;
        margin-bottom: 2.5rem !important;
    }

    #locationCarousel.carousel-3cards {
        padding: 0 44px 56px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #locationCarousel .carousel-inner .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        justify-content: center !important;
        align-items: stretch !important;
        margin: 0 !important;
        width: 100% !important;
    }

    #locationCarousel .carousel-inner .col-md-4 {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        padding: 0 !important;
        display: flex !important;
    }

    #locationCarousel .carousel-item .col-md-4:nth-child(3) {
        display: none !important;
    }

    #locationCarousel .location-card-carousel {
        width: 100% !important;
        min-height: auto !important;
        padding: 20px 18px 18px !important;
    }

    .carousel-control-prev.location-prev,
    .carousel-control-next.location-next {
        top: 45% !important;
        transform: translateY(-50%) !important;
        bottom: auto !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(139, 69, 19, 0.95) !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
    }

    .carousel-control-prev.location-prev { left: 2px !important; }
    .carousel-control-next.location-next { right: 2px !important; left: auto !important; }

    .carousel-indicators.location-pagination {
        bottom: -44px !important;
    }
}


/* ===== MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

    #location-preview.location-orange-section {
        padding: 50px 0 80px !important;
    }

    .location-orange-section .section-title-light {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        padding: 0 12px !important;
        margin-bottom: 10px !important;
    }

    .location-orange-section .section-subtitle-light {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        padding: 0 16px !important;
        margin-bottom: 1.8rem !important;
    }

    /*
     * KUNCI: Bootstrap .container punya padding 12px kiri-kanan
     * carousel-3cards padding 38px — card pakai sisa lebar penuh
     */
    #locationCarousel.carousel-3cards {
        padding: 0 38px 50px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #locationCarousel .carousel-inner {
        width: 100% !important;
        overflow: hidden !important;
    }

    #locationCarousel .carousel-inner .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    #locationCarousel .carousel-inner .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        min-width: 0 !important;
    }

    #locationCarousel .carousel-item .col-md-4:nth-child(2),
    #locationCarousel .carousel-item .col-md-4:nth-child(3) {
        display: none !important;
    }

    #locationCarousel .location-card-carousel {
        width: 100% !important;
        min-height: auto !important;
        padding: 20px 16px 18px !important;
        box-sizing: border-box !important;
    }

    .location-header {
        min-height: 46px !important;
        margin-bottom: 14px !important;
    }

    .location-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.2rem !important;
    }

    .location-badge {
        font-size: 0.7rem !important;
        padding: 5px 11px !important;
    }

    .location-name {
        font-size: 1.15rem !important;
        min-height: auto !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }

    .location-address {
        font-size: 0.86rem !important;
        min-height: auto !important;
        margin-bottom: 14px !important;
        line-height: 1.5 !important;
    }

    .location-info {
        margin-bottom: 12px !important;
    }

    .location-info p {
        font-size: 0.84rem !important;
        padding: 7px 10px !important;
        margin-bottom: 7px !important;
        min-height: 34px !important;
    }

    .location-info i {
        width: 20px !important;
        font-size: 0.95rem !important;
        margin-right: 8px !important;
    }

    .btn-location-detail {
        padding: 10px 22px !important;
        font-size: 0.88rem !important;
        min-width: 150px !important;
        height: 42px !important;
        margin-top: 14px !important;
    }

    .carousel-control-prev.location-prev,
    .carousel-control-next.location-next {
        top: 45% !important;
        transform: translateY(-50%) !important;
        bottom: auto !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(139, 69, 19, 0.95) !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
    }

    .carousel-control-prev.location-prev { left: 1px !important; }
    .carousel-control-next.location-next { right: 1px !important; left: auto !important; }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .carousel-indicators.location-pagination {
        bottom: -36px !important;
        margin: 0 !important;
    }

    .carousel-indicators.location-pagination button {
        width: 9px !important;
        height: 9px !important;
        margin: 0 4px !important;
        border-radius: 50% !important;
    }
}


/* ===== MOBILE KECIL (max-width: 375px) ===== */
@media (max-width: 375px) {

    #location-preview.location-orange-section {
        padding: 40px 0 75px !important;
    }

    .location-orange-section .section-title-light {
        font-size: 1.3rem !important;
        padding: 0 10px !important;
    }

    .location-orange-section .section-subtitle-light {
        font-size: 0.84rem !important;
        padding: 0 12px !important;
    }

    #locationCarousel.carousel-3cards {
        padding: 0 36px 48px !important;
    }

    #locationCarousel .location-card-carousel {
        padding: 18px 14px 16px !important;
    }

    .location-name    { font-size: 1.05rem !important; }
    .location-address { font-size: 0.82rem !important; }

    .location-info p {
        font-size: 0.8rem !important;
        padding: 6px 9px !important;
    }

    .btn-location-detail {
        font-size: 0.84rem !important;
        min-width: 140px !important;
        height: 40px !important;
    }

    .carousel-control-prev.location-prev,
    .carousel-control-next.location-next {
        width: 34px !important;
        height: 34px !important;
    }
}


    
    
    /* Footer */
    .footer-modern {
        padding: 70px 0 25px;
    }
    
    .footer-modern .col-lg-4,
    .footer-modern .col-lg-3,
    .footer-modern .col-lg-2,
    .footer-modern .col-md-6 {
        padding: 0 15px;
        margin-bottom: 35px;
        text-align: center;
    }
}

/* ===== MOBILE RESPONSIVE (Max 767px) ===== */
@media (max-width: 767px) {
    #location-preview.location-orange-section {
        padding: 50px 0;
    }
    
    .location-orange-section .section-title-light {
        font-size: 1.6rem !important;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 12px;
    }
    
    .location-orange-section .section-subtitle-light {
        font-size: 0.95rem !important;
        padding: 0 25px;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
    
    .carousel-3cards {
        padding: 0 55px 40px;
    }
    
    /* PENTING: 1 card per slide di Mobile */
    .carousel-inner .row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: center;
    }
    
    .carousel-inner .col-md-4 {
        flex: 0 0 100%;
        max-width: 340px;
        width: 100%;
    }
    
    /* Sembunyikan card ke-2 dan ke-3 di mobile */
    .carousel-inner .carousel-item .col-md-4:nth-child(2),
    .carousel-inner .carousel-item .col-md-4:nth-child(3) {
        display: none;
    }
    
    .location-card-carousel {
        height: auto;
        min-height: 440px;
        padding: 20px 18px 15px;
    }
    
    .location-header {
        min-height: 50px;
        margin-bottom: 15px;
    }
    
    .location-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .location-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .location-name {
        font-size: 1.2rem;
        height: auto;
        min-height: 2.5em;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .location-address {
        font-size: 0.9rem;
        height: auto;
        min-height: 3em;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .location-info {
        min-height: auto;
        margin-bottom: 12px;
    }
    
    .location-info p {
        font-size: 0.85rem;
        padding: 6px 8px;
        margin-bottom: 6px;
    }
    
    .location-info i {
        width: 20px;
        font-size: 0.95rem;
        margin-right: 6px;
    }
    
    .btn-location-detail {
        padding: 10px 22px;
        font-size: 0.85rem;
        min-width: 150px;
        height: 38px;
    }
    
    /* Carousel Controls - Coklat */
    .carousel-control-prev.location-prev,
    .carousel-control-next.location-next {
        width: 45px;
        height: 45px;
        top: 45%;
        background: rgba(139, 69, 19, 0.95) !important;
        border: 2px solid rgba(160, 82, 45, 0.8) !important;
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-control-prev.location-prev:hover,
    .carousel-control-next.location-next:hover {
        background: rgba(160, 82, 45, 1) !important;
        transform: scale(1.05);
    }
    
    .carousel-control-prev.location-prev {
        left: 5px;
    }
    
    .carousel-control-next.location-next {
        right: 5px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }
    
    .carousel-indicators.location-pagination {
        bottom: -30px;
        gap: 8px;
    }
    
    .carousel-indicators.location-pagination button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
        border-radius: 50%;
    }
    
    /* Footer - Center Aligned */
    .footer-modern {
        padding: 50px 0 20px;
    }
    
    .footer-modern .row {
        margin: 0;
    }
    
    .footer-modern .col-lg-4,
    .footer-modern .col-lg-3,
    .footer-modern .col-lg-2,
    .footer-modern .col-md-6 {
        padding: 0 15px;
        margin-bottom: 35px;
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
}

/* ===== VERY SMALL MOBILE (Max 375px) ===== */
@media (max-width: 375px) {
    #location-preview.location-orange-section {
        padding: 40px 0;
    }
    
    .location-orange-section .section-title-light {
        font-size: 1.4rem !important;
        padding: 0 15px;
    }
    
    .location-orange-section .section-subtitle-light {
        font-size: 0.88rem !important;
        padding: 0 20px;
    }
    
    .carousel-3cards {
        padding: 0 50px 35px;
    }
    
    .carousel-inner .col-md-4 {
        max-width: 310px;
    }
    
    .location-card-carousel {
        min-height: 420px;
        padding: 18px 15px 12px;
    }
    
    .location-name {
        font-size: 1.15rem;
    }
    
    .location-address {
        font-size: 0.88rem;
    }
    
    .carousel-control-prev.location-prev,
    .carousel-control-next.location-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev.location-prev {
        left: 3px;
    }
    
    .carousel-control-next.location-next {
        right: 3px;
    }
    
    .carousel-indicators.location-pagination button {
        width: 7px;
        height: 7px;
    }
}
    
    /* Logo & Description - CENTER */
    .footer-modern .col-lg-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-modern img[alt*="Logo"] {
        height: 45px;
        margin-bottom: 15px;
    }
    
    .footer-modern p.text-white-50 {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer-modern .social-links {
        gap: 12px;
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-modern .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    /* Menu, Layanan, Kontak - CENTER */
    .footer-modern h5.text-white {
        font-size: 1.2rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-modern h5.text-white::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-modern .footer-links,
    .footer-modern .footer-contact {
        text-align: center;
    }
    
    .footer-modern .footer-links a {
        display: inline-block;
        font-size: 0.95rem;
        padding-left: 0 !important;
    }
    
    .footer-modern .footer-links a::before {
        display: none;
    }
    
    .footer-modern .footer-links a:hover {
        padding-left: 0 !important;
    }
    
    .footer-modern .footer-contact li {
        font-size: 0.95rem;
        margin-bottom: 12px;
        justify-content: center;
    }
    
    .footer-modern .footer-contact li i {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .footer-modern .footer-divider {
        margin: 40px 0 20px;
    }
    
    .footer-modern .text-center.text-white-50 {
        font-size: 0.85rem;
    }
}

/* END OF PART 1 */

/* ============================================
   PART 2: TABLET & DESKTOP + SPECIAL CASES
   FIXED VERSION - Copy ke responsive.css (SETELAH Part 1)
   ============================================ */

/* ========================================
   MOBILE LANDSCAPE (576px - 767px)
   ======================================== */

@media (min-width: 576px) and (max-width: 767px) {
    
    body {
        padding-top: 75px !important;
    }
    
    .container {
        max-width: 540px;
    }
    
    nav.navbar {
        height: 75px !important;
    }
    
    .navbar-brand img {
        height: 42px !important;
    }
    
    /* Menu tetap collapsed */
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
    
    /* HERO - Full Height */
    #hero.hero-video-section {
        min-height: 100vh !important;
        height: 100vh !important;
    }
    
    .hero-content {
        min-height: 100vh;
    }
    
    .hero-greeting {
        font-size: 1.5rem;
    }
    
    .hero-logo-text {
        max-width: 320px;
    }
    
    .section-title-light {
        font-size: 2.2rem !important;
    }
    
    .section-subtitle-light {
        font-size: 1.05rem !important;
    }
    
    /* Cards tetap 1 per slide */
    .menu-photo-card,
    .testimonial-photo-card,
    .gallery-photo-card {
        max-width: 360px;
    }
    
    .happy-card {
        flex: 0 0 300px;
        height: 370px;
    }
    
    .video-item {
        width: 300px;
    }
    
    .modal-video {
        height: 280px;
    }
    
    .location-card-carousel {
        min-height: 450px;
    }
    
    /* Footer - Center */
    .footer-modern .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
}

/* ========================================
   TABLET PORTRAIT (768px - 991px)
   ======================================== */

@media (min-width: 768px) and (max-width: 991px) {
    
    body {
        padding-top: 80px !important;
    }
    
    .container {
        max-width: 720px;
    }
    
    /* NAVIGATION - Keep Hamburger */
    nav.navbar {
        height: 80px !important;
    }
    
    .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    /* Menu collapsed by default */
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: block !important;
        position: static !important;
        transform: none !important;
        background: rgba(93, 41, 6, 0.98) !important;
        margin-top: 15px !important;
        padding: 25px !important;
        border-radius: 12px !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .nav-link {
        width: 100%;
        text-align: left !important;
        padding: 16px 20px !important;
        font-size: 1.05rem !important;
    }
    
    /* HERO - Full Height */
    #hero.hero-video-section {
        min-height: 100vh !important;
        height: 100vh !important;
    }
    
    .hero-content {
        min-height: 100vh;
    }
    
    .hero-greeting {
        font-size: 1.8rem;
    }
    
    .hero-logo-text {
        max-width: 400px;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }
    
    /* ABOUT */
    .rotating-image-container {
        width: 90%;
        height: 340px;
        margin: 0 auto 40px;
    }
    
    /* SECTIONS */
    .happy-section,
    .menu-section,
    .testimonial-section,
    .gallery-section,
    .video-doc-section {
        padding: 80px 0;
    }
    
    .section-title-light {
        font-size: 2.5rem !important;
    }
    
    .section-subtitle-light {
        font-size: 1.15rem !important;
    }
    
    /* CAROUSEL SECTIONS - 2 CARDS PER SLIDE */
    .happy-carousel-container,
    .menu-slider-container,
    .testimonial-slider-container,
    .gallery-slider-container {
        padding: 0 80px;
    }
    
    .happy-slide {
        gap: 25px;
    }
    
    .happy-card {
        flex: 0 0 320px;
        height: 390px;
    }
    
    /* MENU - 2 cards per slide */
    .menu-slide {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    .menu-photo-card {
        width: calc(50% - 15px);
        max-width: calc(50% - 15px);
        height: 450px;
    }
    
    .menu-slider-container {
        height: auto;
        min-height: 520px;
    }
    
    /* TESTIMONIAL - 2 cards per slide */
    .testimonial-slide {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    .testimonial-photo-card {
        width: calc(50% - 15px);
        max-width: calc(50% - 15px);
        height: 450px;
    }
    
    .testimonial-slider-container {
        height: auto;
        min-height: 520px;
    }
    
    /* GALLERY - 2 cards per slide */
    .gallery-slide {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    .gallery-photo-card {
        width: calc(50% - 15px);
        max-width: calc(50% - 15px);
        height: 380px;
    }
    
    .gallery-slider-container {
        height: auto;
        min-height: 450px;
    }
    
    /* VIDEO */
    .video-gallery-wrapper {
        padding: 0 60px;
    }
    
    .video-item {
        width: 340px;
    }
    
    .video-card {
        height: 400px;
    }
    
    .modal-container {
        width: 85%;
        max-width: 700px;
    }
    
    .modal-video {
        height: 350px;
    }
    
    /* LOCATION - 2 cards per slide */
    .carousel-3cards {
        padding: 0 80px 50px;
    }
    
    .carousel-inner .row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }
    
    .carousel-inner .col-md-4 {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .location-card-carousel {
        height: 470px;
    }
    
    .carousel-control-prev.location-prev {
        left: 15px;
    }
    
    .carousel-control-next.location-next {
        right: 15px;
    }
    
    /* FOOTER - Center Aligned */
    .footer-modern .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .footer-modern .col-lg-3,
    .footer-modern .col-lg-2,
    .footer-modern .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        text-align: center;
    }
    
    .footer-modern h5.text-white::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-modern .footer-links,
    .footer-modern .footer-contact {
        text-align: center;
    }
    
    .footer-modern .footer-links a {
        padding-left: 0 !important;
    }
    
    .footer-modern .footer-links a::before {
        display: none;
    }
    
    .footer-modern .footer-links a:hover {
        padding-left: 0 !important;
    }
    
    .footer-modern .footer-contact li {
        justify-content: center;
    }
}

/* ========================================
   TABLET LANDSCAPE (992px - 1199px)
   ======================================== */

@media (min-width: 992px) and (max-width: 1199px) {
    
    .container {
        max-width: 960px;
    }
    
    .section-title-light {
        font-size: 2.6rem !important;
    }
    
    /* ABOUT */
    .rotating-image-container {
        width: 85%;
        height: 380px;
    }
    
    /* CAROUSEL - 3 COLUMN (Desktop-like) */
    .happy-card {
        flex: 0 0 280px;
    }
    
    /* Return to 3 cards per slide for desktop */
    .menu-slide,
    .testimonial-slide,
    .gallery-slide {
        gap: 25px;
    }
    
    .menu-photo-card,
    .testimonial-photo-card {
        width: calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    
    .gallery-photo-card {
        width: calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    
    /* LOCATION - 3 COLUMN */
    .carousel-inner .row {
        gap: 25px;
    }
    
    .carousel-inner .col-md-4 {
        flex: 0 0 calc(33.333% - 17px);
        max-width: calc(33.333% - 17px);
    }
    
    .location-card-carousel {
        height: 480px;
    }
}

/* ========================================
   DESKTOP FIXES (1200px+)
   ======================================== */

@media (min-width: 1200px) {
    
    .container {
        max-width: 1140px;
    }
    
    /* Ensure desktop navbar works */
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION FIX (All Devices)
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
    
    body {
        padding-top: 60px !important;
    }
    
    nav.navbar {
        height: 60px !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    #hero.hero-video-section {
        min-height: 100vh !important;
        height: 100vh !important;
        margin-top: -60px !important;
    }
    
    .hero-content {
        padding: 80px 15px 60px;
        min-height: 100vh;
    }
    
    .hero-greeting {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .hero-logo-text {
        max-width: 240px;
    }
    
    .scroll-indicator {
        display: none !important;
    }
    
    .section-title-light {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle-light {
        font-size: 1rem !important;
    }
}

/* ========================================
   IPAD SPECIFIC FIXES
   ======================================== */

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
    
    /* iPad Portrait */
    @media (orientation: portrait) {
        .menu-photo-card,
        .testimonial-photo-card,
        .gallery-photo-card {
            width: calc(50% - 15px);
            max-width: calc(50% - 15px);
        }
        
        .carousel-inner .col-md-4 {
            flex: 0 0 calc(50% - 15px);
            max-width: calc(50% - 15px);
        }
    }
    
    /* iPad Landscape */
    @media (orientation: landscape) {
        .menu-photo-card,
        .testimonial-photo-card {
            width: calc(33.333% - 20px);
            max-width: calc(33.333% - 20px);
        }
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    
    nav.navbar,
    .fixed-social-container,
    .scroll-indicator,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators,
    .menu-btn,
    .happy-carousel-nav,
    .testimonial-btn,
    .gallery-btn,
    .scroll-btn,
    .video-overlay,
    .play-btn {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .hero-video,
    .happy-video-bg,
    .video-background {
        display: none !important;
    }
    
    .section-title-light,
    .section-subtitle-light,
    .text-light {
        color: black !important;
    }
    
    .footer-modern {
        border-top: 2px solid black;
    }
    
    .photo-info-overlay {
        position: relative !important;
        opacity: 1 !important;
        background: transparent !important;
    }
}

/* ========================================
   ACCESSIBILITY - HIGH CONTRAST
   ======================================== */

@media (prefers-contrast: high) {
    
    .nav-link,
    .dropdown-item,
    .btn,
    .btn-order,
    .btn-view-all,
    .btn-location-detail {
        border: 2px solid currentColor !important;
    }
    
    .section-title-light,
    .section-subtitle-light {
        text-shadow: none !important;
    }
    
    .happy-card,
    .menu-photo-card,
    .testimonial-photo-card,
    .gallery-photo-card,
    .location-card-carousel {
        border-width: 3px !important;
    }
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .rotating-3d-image {
        animation: none !important;
    }
    
    .floating-element {
        animation: none !important;
    }
    
    .music-wave span {
        animation: none !important;
    }
    
    .happy-card:hover,
    .menu-photo-card:hover,
    .testimonial-photo-card:hover,
    .gallery-photo-card:hover {
        transform: none !important;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    
    /* Larger tap targets */
    .nav-link,
    .dropdown-item,
    .btn,
    .menu-btn,
    .happy-carousel-nav,
    .testimonial-btn,
    .gallery-btn,
    .scroll-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects */
    .happy-card:hover,
    .menu-photo-card:hover,
    .testimonial-photo-card:hover,
    .gallery-photo-card:hover,
    .video-card:hover,
    .location-card-carousel:hover {
        transform: none !important;
    }
    
    /* Always show overlays on touch */
    .photo-info-overlay {
        opacity: 0 !important;
    }
    
    .menu-photo-card:active .photo-info-overlay,
    .testimonial-photo-card:active .photo-info-overlay,
    .gallery-photo-card:active .photo-info-overlay {
        opacity: 1 !important;
    }
    
    /* Disable complex animations */
    .rotating-3d-image {
        animation-play-state: paused !important;
    }
    
    /* Better scrolling */
    .happy-carousel,
    .video-grid-scroll {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .happy-card,
    .video-item {
        scroll-snap-align: start;
    }
}

/* ========================================
   RETINA DISPLAY OPTIMIZATIONS
   ======================================== */

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    
    .menu-photo-card,
    .testimonial-photo-card,
    .gallery-photo-card,
    .location-card-carousel {
        border-width: 1px;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .hero-logo-text,
    .navbar-brand img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* ========================================
   SAFE AREA INSETS (iPhone X+)
   ======================================== */

@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .fixed-social-container {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* ========================================
   VERY SMALL SCREENS (< 360px)
   ======================================== */

@media (max-width: 359px) {
    
    .hero-logo-text {
        max-width: 240px;
    }
    
    .hero-greeting {
        font-size: 1.1rem;
    }
    
    .section-title-light {
        font-size: 1.6rem !important;
    }
    
    .happy-card {
        flex: 0 0 260px;
    }
    
    .menu-photo-card,
    .testimonial-photo-card,
    .gallery-photo-card {
        max-width: 280px;
    }
    
    .video-item {
        width: 260px;
    }
}

/* ========================================
   EXTRA LARGE SCREENS (1920px+)
   ======================================== */

@media (min-width: 1920px) {
    
    .container {
        max-width: 1600px;
    }
    
    .section-title-light {
        font-size: 3.5rem !important;
    }
    
    .section-subtitle-light {
        font-size: 1.4rem !important;
    }
    
    .happy-card {
        flex: 0 0 320px;
    }
    
    .menu-photo-card,
    .testimonial-photo-card {
        max-width: 380px;
    }
}

/* END OF RESPONSIVE.CSS */