:root {
    /* Tema Hijau Sage Lembut */
    --sage-primary: #78866b;
    --sage-dark: #4a5d4e;
    --sage-light: #b2bcab;
    
    /* Warna Latar Belakang Lembut (Kewarangan/Cream) */
    --bg-cream-light: #fdfaf5;   /* Warna krim sangat lembut */
    --bg-cream-soft: #f7f1e9;    /* Warna krim sedikit pekat untuk selang-seli */
    --text-main: #2c3327;
}

body {
    background-color: var(--bg-cream-light);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .luxury-font {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--sage-dark);
}

.top-marquee {
    background-color: var(--sage-primary);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Navbar Styles --- */
.navbar {
    padding: 25px 0;
    /* Masa di atas (Home): Telus sepenuhnya */
    background: transparent !important; 
    transition: 0.5s;
    z-index: 1050;
    backdrop-filter: none;
}

.navbar.scrolled {
    /* Masa skrol: Tukar ke Sage Green Lembut (Transparent) */
    /* 0.85 bermaksud 85% pekat, nampak sangat premium dengan kesan blur */
    background: rgba(120, 134, 107, 0.85) !important; 
    backdrop-filter: blur(10px); 
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 70px;
    /* Stroke halus pada logo kekal supaya nampak jelas */
    filter: 
        drop-shadow(0.5px 0.5px 0px rgba(0,0,0,0.5)) 
        drop-shadow(-0.5px -0.5px 0px rgba(0,0,0,0.5));
    transition: 0.3s;
}

.nav-link {
    color: #ffffff !important; 
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 15px;
    font-weight: 600;
    transition: 0.3s;
    /* Stroke halus pada teks supaya nampak atas slider gambar */
    text-shadow: 
        0.5px 0.5px 0px rgba(0,0,0,0.5), 
        -0.5px -0.5px 0px rgba(0,0,0,0.5);
}

.nav-link:hover {
    /* Bila hover, teks jadi warna putih susu/terang supaya nampak hidup */
    color: #1A4539 !important;
    opacity: 1;
    transform: translateY(-2px);
}

/* --- Section Tentang dengan Imej Latar Belakang --- */
#tentang {
    padding: 100px 0;
    background-color: var(--bg-cream-light);
    background-image: url('../images/tentang_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

#tentang .container {
    position: relative;
    z-index: 2;
}

/* Layer untuk melembutkan imej garis tadi */
#tentang::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(253, 250, 245, 0.50); 
    z-index: 1;
}

/* --- Hero Slider --- */
#heroSlider .carousel-item { height: 90vh; position: relative; }
#heroSlider img { height: 100%; object-fit: cover; filter: brightness(65%); }
.carousel-caption { bottom: 30%; z-index: 10; }
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.sage-divider {
    height: 2px;
    width: 80px;
    background-color: var(--sage-light);
    margin: 0 auto 30px;
}

/* --- Buttons --- */
.btn-luxury {
    background-color: var(--sage-dark);
    border: 1px solid var(--sage-dark);
    color: #ffffff !important;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    border-radius: 0;
    transition: 0.5s;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}
.btn-luxury:hover {
    background-color: var(--sage-dark);
    opacity: 0.65; /* Nampak pudar sikit tapi tak hilang */
    color: white !important;   
    box-shadow: 0 10px 30px rgba(120, 134, 107, 0.2);
}

/* --- Product Card --- */
.product-card {
    background: #ffffff; /* Card kekal putih supaya timbul di atas latar krim */
    border: 1px solid rgba(120, 134, 107, 0.1);
    padding: 5px;
    text-align: center;
    transition: 0.5s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.product-card:hover {
    border-color: var(--sage-primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(120, 134, 107, 0.15);
}
.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
}
.product-card h5 { color: var(--sage-dark); margin-bottom: 15px; }

.wa-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: 0.3s;
}

/* --- Layout --- */
.section-padding { padding: 60px 0; }
.section-title { color: var(--sage-dark); margin-bottom: 40px; font-size: 3rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: 1s all ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Visi Misi Styles --- */
.vm-card {
    background: #ffffff;
    border: 1px solid rgba(120, 134, 107, 0.15);
    padding: 40px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 15px; /* Menyamakan gaya dengan card produk/aktiviti */
}

/* Gambar Latar Belakang dengan Animasi */
.vm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pngtree.png');
    
    /* TETAPAN UNTUK KECILKAN DAN JANGAN BERULANG */
    background-size: 60%;        /* Kecilkan gambar ikut kesesuaian (contoh: 60%) */
    background-repeat: no-repeat; /* INI PENTING: supaya gambar tak berulang */
    background-position: center;  /* Letak di tengah-tengah */
    
    opacity: 0.12;
    filter: blur(2px);            /* Kurangkan sedikit blur jika gambar kecil */
    z-index: -1;
    transition: all 0.8s ease;
}

/* Kesan Hover pada Kad */
.vm-card:hover { 
    background: #ffffff; 
    border-color: var(--sage-primary); 
    transform: translateY(-10px); /* Kad naik ke atas */
    box-shadow: 0 15px 30px rgba(120, 134, 107, 0.15); /* Bayang lebih lembut */
}

/* Animasi Gambar semasa Hover (Zoom & Rotate) */
.vm-card:hover::before {
    opacity: 0.2;
    filter: blur(1px); /* Gambar jadi lebih jelas sedikit */
    transform: scale(1.1) rotate(2deg); /* Kesan zoom & pusing sedikit */
}

.vm-label {
    font-family: 'Cormorant Garamond', serif;
    color: var(--sage-primary);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    transition: 0.4s ease;
}

/* Label VISI/MISI bergerak sedikit ke atas semasa hover */
.vm-card:hover .vm-label {
    transform: translateY(-5px);
    letter-spacing: 6px; /* Jarak huruf melebar sedikit */
}

.vm-text { 
    font-weight: 400; 
    line-height: 1.8; 
    font-size: 0.95rem; 
    color: #555; 
    position: relative;
    transition: 0.4s ease;
}

footer {
    padding: 80px 0;
    background-color: var(--bg-cream-soft);
    border-top: 1px solid var(--sage-light);
    text-align: center;
}

.custom-nav {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    z-index: 999;
    border: 1px solid var(--sage-primary);
    margin: 0 20px;
}
.custom-nav i { color: var(--sage-primary); font-size: 1.5rem; }
.custom-nav:hover { background: var(--sage-primary); }
.custom-nav:hover i { color: #fff; }

/* --- Style untuk bahagian carian --- */
.search-wrapper { 
    max-width: 600px; 
    margin: 0 auto 40px; 
}
.search-box {
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(120, 134, 107, 0.2);
    display: flex;
}
.search-box input { 
    border: none; 
    padding: 10px 20px; 
    width: 100%; 
    border-radius: 50px; 
    outline: none; 
    background: transparent; 
}
.search-box button { 
    background: var(--sage-primary); 
    color: white; 
    border: none; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 600;
}

.filter-btn {
    border: 1px solid var(--sage-primary);
    color: var(--sage-primary);
    border-radius: 50px;
    padding: 6px 20px;
    transition: 0.3s;
    text-decoration: none;
    margin: 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}
.filter-btn.active, .filter-btn:hover { 
    background: var(--sage-primary); 
    color: white; 
}

/* --- TESTIMONI VIDEO CARD --- */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%; /* Penting untuk d-flex align-items-stretch */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(120, 134, 107, 0.1);
    padding: 1.2rem !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(120, 134, 107, 0.15) !important;
    border-color: var(--sage-primary);
}

/* Frame Video Menegak */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Kekalkan bentuk telefon */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video penuh dalam frame */
}

.client-name {
    color: var(--sage-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 10px;
}
/* --- CUSTOM BTN--- */
.btn-custom-sage {
        border-radius: 30px;
        border: 1px solid var(--sage-primary);
        color: var(--sage-primary);
        background-color: transparent;
        transition: all 0.3s ease;
    }

    /* Gaya semasa tetikus di atas butang (Hover) */
    .btn-custom-sage:hover {
        background-color: var(--sage-primary);
        color: white !important;
        box-shadow: 0 5px 15px rgba(125, 142, 123, 0.3);
    }

    /* MENGALANG WARNA GELAP: Pastikan bila diklik (active/focus) ia tidak jadi hitam */
    .btn-custom-sage:focus, 
    .btn-custom-sage:active,
    .btn-custom-sage:visited {
        background-color: transparent; /* Tetap transparent atau tukar ke warna sage lembut */
        color: var(--sage-primary);
        border-color: var(--sage-primary);
        box-shadow: none; /* Buang glow biru/hitam default browser */
    }