/* ========================================================= */
/* RESET & BASE */
/* ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================================= */
/* FONT CUSTOM */
/* ========================================================= */
@font-face {
    font-family: 'Custom';
    src: url('/fonts/Comfortaa-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Custom';
    src: url('/fonts/Comfortaa-Light.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ========================================================= */
/* APPLY FONT */
/* ========================================================= */
*:not(i):not(.fas):not(.far):not(.fab):not(.fa) {
    font-family: 'Custom', 'Segoe UI', sans-serif;
}

/* KHUSUS UNTUK ICON FONT AWESOME */
i, .fas, .far, .fab, .fa {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 6 Pro' !important;
    font-size: 16px;
}
a.btn-detail{   background: linear-gradient(135deg, #d4af37, #8a5a19);}
.card-header{   background: linear-gradient(135deg, #d4af37, #8a5a19);}
.bg-primary{   background: linear-gradient(135deg, #d4af37, #8a5a19);}
.btn.btn-primary{   background: linear-gradient(135deg, #d4af37, #8a5a19)!important;}
.btn.btn-outline-primary:hover{ background: linear-gradient(135deg, #d4af37, #8a5a19)!important;color:#ffffff}
.btn.btn-outline-primary{ border:0px; color: #7c5231;}
/* ========================================================= */
/* BODY STYLES */
/* ========================================================= */
body {
    font-family: 'Custom', sans-serif !important;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-attachment: fixed;
    color: #1a1a2e;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
}
 .share-btn-fb {
        width: 32px;
        height: 32px;
        padding: 0;
         color: #1877f2;
        border-radius: 50%;
        border: 1.5px solid #e0e0e0;
        background: #ffffff;
        transition: all 0.25s ease;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .share-btn-fb i {
        font-size: 14px;

    }
    .share-btn-fb i:hover {

        color: #fff;
    }
    .share-btn-fb:hover {
        background: #1877f2;
        border-color: #1877f2;
        color:#ffffff!important;
        transform: scale(1.08);
        box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
    }
/* ========================================================= */
/* WRAPPER CONTENT */
/* ========================================================= */
.content-wrapper {
    flex: 1 0 auto;
}

/* ========================================================= */
/* FOOTER STYLES (FIXED) */
/* ========================================================= */
 /* ========================================================= */
/* FOOTER STYLES (FIXED) */
/* ========================================================= */
footer {
       background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    color: black!important;
    border-radius: 32px 32px 0 0;
    width: 100%;
    padding: 12px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
}

/* SHIMMER EFFECT - SIMPLE SEPERTI SHINE-BUTTON */
 footer:after {
    content: '';
    top: 0;
     color: black!important;
    transform: translateX(100%);
    width: 100%;
    height: 220px;
    position: absolute;
    z-index: 1;
    animation: slideShimmerPause 7s ease-in-out infinite;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    -webkit-filter: blur(3px);
    filter: blur(3px);
    pointer-events: none;
}

@keyframes slideShimmerPause {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    /* Bergerak (1.5 detik) */

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Container footer di atas efek */
footer .container {
    position: relative;
    z-index: 3;
}

/* Warna teks footer */
footer .text-white {
    color: #000 !important;
}

footer a.text-white {
    color: #000 !important;
    transition: all 0.3s ease;
}

footer a.text-white:hover {
   color: #000 !important;
    transform: scale(1.1);
}

footer .small {
    color: #000 !important;font-size:13px;
}

footer span {
    color: #000 !important; font-size:14px;
}


/* ========================================================= */
/* NAVBAR STYLES */
/* ========================================================= */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar-brand h2 {
    margin: 0;
    display: inline-block;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0rem;
    border-radius: 12px;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
 color:black;
    background: rgba(52, 152, 219, 0.08);
}

/* ========================================================= */
/* NAVBAR ACTIVE PAGE */
/* ========================================================= */
.navbar-nav .nav-link.active {

    background: rgba(52, 152, 219, 0.12);
    font-weight: 600;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
      background: linear-gradient(135deg, #1b4d29, #43a047);
    border-radius: 4px;
}

/* ========================================================= */
/* DESKTOP STYLES (default) */
/* ========================================================= */
.mobile-menu-overlay,
.mobile-menu-close,
.sidebar-divider {
    display: none;
}

.navbar-collapse {
    display: flex !important;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
}

/* ========================================================= */
/* ELEMENT EFFECT */
/* ========================================================= */
.element::before,
.element::after {
    content: '';
    position: absolute;
    top: -30%;
    width: 120px;
    height: 160%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 245, 180, 0.7),
            rgba(255, 235, 120, 0.9),
            rgba(255, 245, 180, 0.7),
            transparent);
    color: white;
    padding: 15px 0;
    margin-top: 0;
    transform: rotate(35deg);
    filter: blur(8px);
    pointer-events: none;
}

.element::before {
    left: 20%;
}

.element::after {
    left: 55%;
}

/* ========================================================= */
/* MOBILE STYLES (max-width: 991px) */
/* ========================================================= */
@media (max-width: 991px) {
    /* Navbar Toggler */
    .navbar-toggler {
        border: 0px solid #2c3e50;
        background: #ffffff;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232c3e50' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Active Page di Mobile */
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.25) !important;

        font-weight: 600;
        border-left: 3px solid #ffffff;
        border-radius: 8px;
        padding-left: 13px;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    /* Overlay untuk mobile */
    .mobile-menu-overlay {
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* SIDEBAR UTAMA */
    .navbar-collapse {
        position: fixed;
        top: 10px;
        left: 0;
        margin-left: -5px;
        bottom: 0;
        width: 280px;
        height: 83vh;
           background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        line-height: 0.5em;
        padding: 70px 16px 20px;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        border-top: 2px dashed #ffffff;
        border-bottom: 2px dashed #ffffff;
        border-right: 2px dashed #ffffff;
        box-shadow: 0 0 0 2px #7c5231, 0 0 0 2px #7c5231;
        display: block !important;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* Tombol close di sidebar - TAMPIL DI MOBILE */
    .mobile-menu-close {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: black;
        font-size: 18px;
        cursor: pointer;
        z-index: 1060;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
        color: black;
        transform: rotate(90deg);
    }

    /* WRAPPER MENU */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* STYLE MENU ITEMS - PERBAIKI WARNA */
    .navbar-nav .nav-item {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .nav-link {
     color: black;
        padding: 12px 16px;
        border-radius: 12px;
        margin: 0;
        transition: all 0.2s ease;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 12px;
        background: transparent;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
         color: black;


    }
     .nav-link.active {

         color: black;


    }

    .navbar-nav .nav-link i {
        width: 24px;
        font-size: 1.2rem;
        text-align: center;
    }

    /* DIVIDER - TAMPIL DI MOBILE */
    .sidebar-divider {
        display: block;

        border-top: 1px dashed black;
        margin: 0px 0;
        opacity: 0.6;
    }
}

/* ========================================================= */
/* MARQUEE ANIMATION */
/* ========================================================= */
.marquee-up {
    height: 24px;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    position: relative;
    animation: slideUpWithPause 12s ease-in-out infinite;
}

.marquee-content span {
    display: block;
    height: 24px;
    line-height: 24px;
    white-space: nowrap;
    padding: 0 5px;
}

@keyframes slideUpWithPause {
    0%,
    41% {
        transform: translateY(0);
    }
    45%,
    54% {
        transform: translateY(-24px);
    }
    58%,
    100% {
        transform: translateY(-24px);
    }
}

/* ========================================================= */
/* WHATSAPP FLOATING BUTTON */
/* ========================================================= */
.wa-float {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 999;
}

.wa-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: waPulse 2s infinite;
}

.wa-float a:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.wa-float i {
    font-size: 30px;
    color: white;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================================= */
/* CARD STYLES */
/* ========================================================= */
.card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.12);
}

/* ========================================================= */
/* BUTTON STYLES */
/* ========================================================= */
.btn {
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #1b4d29, #43a047);
    border: none;
}

.btn-primary:hover {
     background: linear-gradient(135deg, #1b4d29, #43a047);
    transform: translateY(-2px);
}

/* ========================================================= */
/* HERO BANNER - VIDEO BACKGROUND */
/* ========================================================= */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.hero-content .btn:hover {
    background: #2980b9;
}

/* ========================================================= */
/* HERO SECTION (ALTERNATIVE) */
/* ========================================================= */
.hero-section {
    border-radius: 32px;
    margin: 2rem 1rem;
    padding: 80px 20px;
    color: white;
}

/* ========================================================= */
/* SECTION TITLE */
/* ========================================================= */
.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1b4d29, #43a047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================= */
/* SLIDER TEKS */
/* ========================================================= */
#textSlider {
    position: relative;
    min-height: 180px;
}

.slide {
    display: none;
    animation: fadeEffect 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 10px;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
 /* ========================================================= */
/* GALERI CARD - HOVER SLIDE UP EFFECT */
/* ========================================================= */
.galeri-card-wrapper {
    margin-bottom: 24px;
    padding: 0 12px;
}

.galeri-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    height: 250px;
    width: 100%;
    background: #f0f0f0;
}

.galeri-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease;
    border-radius: 16px;
}

.galeri-card:hover img {
    transform: scale(1.08);
}

.galeri-card .galeri-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-end;
    min-height: 80px;
    border-radius: 0 0 16px 16px;
}

.galeri-card:hover .galeri-overlay {
    transform: translateY(0);
}

.galeri-card .galeri-overlay .galeri-title {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    width: 100%;
    text-align: left;
    line-height: 1.4;
}

.galeri-card:hover .galeri-overlay .galeri-title {
    opacity: 1;
    transform: translateY(0);
}

/* Icon zoom di pojok */
.galeri-card .galeri-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    cursor: pointer;
    border: none;
}

.galeri-card:hover .galeri-zoom {
    opacity: 1;
    transform: scale(1);
}

.galeri-card .galeri-zoom i {
    color: #1a1a2e;
    font-size: 16px;
}

/* ========================================================= */
/* RESPONSIVE GALERI CARD */
/* ========================================================= */
@media (max-width: 768px) {
    .galeri-card {
        height: 180px;
    }

    .galeri-card-wrapper {
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .galeri-card .galeri-overlay {
        padding: 30px 15px 15px;
        min-height: 60px;
    }

    .galeri-card .galeri-overlay .galeri-title {
        font-size: 0.8rem;
    }

    .galeri-card .galeri-zoom {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .galeri-card .galeri-zoom i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .galeri-card {
        height: 140px;
    }

    .galeri-card-wrapper {
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .galeri-card .galeri-overlay {
        padding: 20px 10px 10px;
        min-height: 45px;
    }

    .galeri-card .galeri-overlay .galeri-title {
        font-size: 0.7rem;
    }
}

/* ========================================================= */
/* RESPONSIVE UMUM */
/* ========================================================= */
@media (max-width: 768px) {
    .hero-section {
        margin: 1rem;
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .wa-float {
        bottom: 80px;
        right: 15px;
    }

    .wa-float a {
        width: 45px;
        height: 45px;
    }

    .wa-float i {
        font-size: 24px;
    }
}