/* =========================================
   1. HERO BANNER SLIDER
   ========================================= */
.hero-slider-container {
    position: relative;
    width: 100%;
    /* Ubah height kepada min-height supaya tak lari bila mobile */
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* PENTING: Tambah padding-top supaya tak tertindih dengan Navbar */
    /* Anggap navbar anda tinggi 80px-100px */
    padding-top: 80px;
}

/* Blurred Background Layers */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.4);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

    .hero-bg.active {
        opacity: 1;
    }

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    /* Margin top dikurangkan sebab kita dah ada padding pada container */
    margin-top: 20px;
}

/* Left Side Text */
.hero-text {
    width: 45%;
    color: #fff;
}

    .hero-text h1 {
        font-family: 'Playfair Display', serif;
        font-size: 60px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

/* Hero Description (Hook) */
.hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
    max-width: 400px;
    position: relative;
    padding-bottom: 15px;
}

    .hero-desc::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: #c2a45d;
        position: absolute;
        bottom: 0;
        left: 0;
    }

.hero-quote {
    font-style: italic;
    color: #bfa15f;
    margin-bottom: 5px;
}

/* Right Side Image Card */
.hero-card-container {
    width: 45%;
    position: relative;
}

.hero-card {
    display: none;
    background-color: #bfa15f;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeIn 0.8s ease;
}

    .hero-card.active {
        display: block;
    }

    .hero-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 15px;
        margin-bottom: 20px;
        transform: rotate(-2deg);
        border: 5px solid #fff;
    }

.card-info {
    text-align: center;
    color: #fff;
}

    .card-info h3 {
        font-family: 'Playfair Display', serif;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .card-info p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.5;
        color: #fdfdfd;
    }

.card-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-card-dark {
    background-color: #1c1c1e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.btn-card-outline {
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

    .btn-card-outline:hover {
        background-color: #fff;
        color: #bfa15f;
    }

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .dot.active {
        background-color: #fff;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   2. TRUSTED BY SECTION
   ========================================= */
.trusted-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

    .trusted-section h3 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 24px;
        color: #1c1c1e;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 40px;
        position: relative;
        display: inline-block;
    }

        .trusted-section h3::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: #c2a45d;
            margin: 10px auto 0;
        }

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

    .logos-grid img {
        height: 130px;
        width: auto;
        filter: grayscale(100%);
        opacity: 0.6;
        transition: all 0.3s ease;
    }

        .logos-grid img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
        }

/* =========================================
   3. ABOUT US (VIDEO BG & CARDS)
   ========================================= */
.about-video-section {
    position: relative;
    height: 600px; /* Default Desktop Height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#aboutVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.video-overlay-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

    .about-content h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 36px;
        color: #ffffff;
        margin-bottom: 50px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        position: relative;
        display: inline-block;
    }

        .about-content h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: #c2a45d;
            margin: 15px auto 0;
        }

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 50px;
}

.about-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

    .about-card:hover {
        transform: translateY(-10px);
    }

.icon-box {
    font-size: 40px;
    margin-bottom: 20px;
    color: #1c1c1e;
}

.about-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #bfa15f;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.about-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   4. FEATURED ARTWORK GRID
   ========================================= */
.featured-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

    .featured-section h3 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 32px;
        color: #1c1c1e;
        margin-bottom: 50px;
        position: relative;
        display: inline-block;
    }

        .featured-section h3::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: #c2a45d;
            margin: 15px auto 0;
        }

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin: 0;
}

.featured-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

    .featured-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        display: block;
    }

    .featured-item:hover img {
        transform: scale(1.1);
    }

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: #fff;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

/* =========================================
   5. COFFEE CHAT
   ========================================= */
.coffee-section {
    padding: 50px 50px;
    background-color: #fff;
}

.coffee-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.coffee-video-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.coffee-video {
    width: 100%;
    height: auto;
    display: block;
}

.coffee-text {
    flex: 1;
}

    .coffee-text h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 28px;
        line-height: 1.4;
        color: #1c1c1e;
        margin-bottom: 30px;
        padding-bottom: 15px;
        position: relative;
    }

        .coffee-text h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: #c2a45d;
            position: absolute;
            bottom: 0;
            left: 0;
        }

.coffee-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: fit-content;
}

.btn-book-coffee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    border: 1px solid #1c1c1e;
    border-radius: 50px;
    color: #1c1c1e;
    font-weight: 600;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s;
}

    .btn-book-coffee.filled {
        background-color: #bfa15f;
        border-color: #bfa15f;
        color: #fff;
    }

    .btn-book-coffee:hover {
        background-color: #c2a45d;
        border-color: #c2a45d;
        color: #f5f5f5;
    }

/* =========================================
   6. SLIDER NAVIGATION BUTTONS (BASE)
   ========================================= */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-btn {
    display: none; /* Disembunyikan pada paparan Desktop */
}


/* =========================================
   7. RESPONSIVE DESIGN (UPDATED)
   ========================================= */
@media (max-width: 900px) {
    /* HERO */
    .hero-slider-container {
        min-height: 120vh;
        padding-top: 160px;
        padding-bottom: 80px;
        display: flex;
        align-items: flex-start;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        margin-top: 0;
        gap: 30px;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 30px;
    }

        .hero-text h1 {
            font-size: 48px;
            line-height: 1.2;
            margin-top: 10px;
        }

    .hero-desc {
        margin: 15px auto 30px auto;
    }

        .hero-desc::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .hero-card-container {
        width: 100%;
    }

    .hero-card img {
        height: 250px;
    }

    /* KAWALAN BUTANG KIRI KANAN (HANYA AKTIF DI MOBILE/TABLET) */
    .slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 10;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background-color: rgba(194, 164, 93, 0.95);
        color: #fff;
        border: 2px solid #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .slide-btn:hover {
            background-color: #1c1c1e;
        }

        .slide-btn.prev-btn {
            left: -5px;
        }

        .slide-btn.next-btn {
            right: -5px;
        }

    /* TRUSTED BY */
    .logos-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 50px;
        padding: 20px 40px !important; /* Tambah padding kiri kanan untuk butang */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

        .logos-grid::-webkit-scrollbar {
            display: none;
        }

        .logos-grid img {
            height: 90px;
            width: auto;
            flex-shrink: 0;
        }

    /* ABOUT US */
    .about-video-section {
        height: auto;
        padding: 80px 0;
    }

    .about-cards-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding: 20px 40px 50px 40px !important; /* Tambah padding kiri kanan untuk butang */
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

        .about-cards-grid::-webkit-scrollbar {
            display: none;
        }

    .about-card {
        min-width: 280px;
        max-width: 300px;
        margin: 0;
        flex-shrink: 0;
    }

    /* FEATURED ARTWORK */
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .featured-item {
        height: 240px;
        border-radius: 12px;
    }

    /* COFFEE CHAT */
    .coffee-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .coffee-section {
        padding: 60px 0;
    }

    .coffee-buttons {
        align-items: center;
        width: 100%;
    }

    .coffee-text h2::after, .coffee-text p::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    /* Mobile Phone Adjustments */
    .hero-slider-container {
        padding-top: 140px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .featured-item {
        height: 160px;
        border-radius: 10px;
    }

    .btn-book-coffee {
        width: 100%;
    }
}


/* =========================================
   8. UX ANIMATIONS & INTERACTIONS
   ========================================= */

/* SCROLL REVEAL BASE CLASS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Stagger Delay */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* HERO TEXT ENTRANCE */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    animation: slideUpFade 1s ease-out forwards;
}

.hero-desc {
    opacity: 0;
    animation: slideUpFade 1s ease-out 0.3s forwards;
}

.card-buttons {
    opacity: 0;
    animation: slideUpFade 1s ease-out 0.6s forwards;
}

/* PREMIUM BUTTON HOVER EFFECT */
.btn-book-coffee, .btn-card-dark, .btn-card-outline {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-book-coffee::before, .btn-card-dark::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: 0.5s;
        z-index: -1;
    }

    .btn-book-coffee:hover::before, .btn-card-dark:hover::before {
        left: 100%;
    }

/* LOGO HOVER PULSE */
.logos-grid img {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
}

    .logos-grid img:hover {
        transform: scale(1.15) translateY(-5px);
        filter: grayscale(0%);
        cursor: pointer;
    }

/* ABOUT CARD HOVER LIFT */
.about-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

    .about-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
