:root {
    --primary: #005353;
    --primary-dark: #003d3d;
    --primary-light: #007070;
    --accent-gold: #f59e0b;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --light: #ffffff;
    --gray: #f5f5f5;
    --text-muted: #737373;
    --border-light: #e5e5e5;
    --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

/* Offset otomatis untuk anchor section */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: var(--navbar-offset, 70px);
}

img {max-width: 100%;}

body {
    font-family: "Nunito", system-ui, -apple-system, sans-serif;
    background-color: var(--light);
    color: #171717;
    /* overflow-x: hidden; */
    /* padding-bottom: 70px; */
}
body,
.btn,
.form-control,
.form-select {
    font-size: 15px;
}
@media (min-width: 1200px) {
    .container,
    .container-lg {
        max-width: 1000px;
    }
}
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.fw-extrabold {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}
.text-primary-brand {
    /* color: var(--primary) !important; */
}
.bg-primary-brand {
    background-color: var(--primary) !important;
    color: var(--light) !important;
}
.text-gold {
    color: var(--accent-gold) !important;
}
.bg-darker {
    background-color: var(--darker);
}
.bg-gray {
    background-color: var(--gray);
}
.btn {
    /* font-weight: 600;
    border-radius: 50px;
    padding: 6px 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease; */
}
.btn-success {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-success:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
}
.btn-outline-success {
    /* color: var(--light) !important; */
    border-color: var(--primary) !important;
}
.btn-outline-success:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light) !important;
}

/* .btn-brand {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: var(--light);
}
.btn-brand:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 83, 83, 0.5);
} */
.btn-outline-brand {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-brand:hover {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 0 30px rgba(0, 83, 83, 0.5);
    transform: translateY(-3px);
}
.btn-wa {
    background-color: #25d366;
    border: 2px solid #25d366;
    color: #fff;
}
.btn-wa:hover {
    background-color: transparent;
    color: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}
.topbar {
    background-color: var(--primary);
    font-size: 0.85rem;
    color: #d4d4d4;
    min-height: 40px;
    display: flex;
    align-items: center;
}
.topbar a {
    color: #d4d4d4;
    text-decoration: none;
}
.topbar a:hover {
    color: var(--accent-gold);
}
.navbar {
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #262626;
    min-height: 80px;
}
.navbar .nav-link {
    color: #d4d4d4 !important;
    font-weight: 600;
    transition: 0.2s;
    font-size: 14px;
}
.navbar .nav-link:hover {
    color: var(--primary-light) !important;
}
.navbar-brand {
    font-size: 1.8rem;
    color: var(--light) !important;
}
.navbar-brand .brand-dot {
    color: var(--primary-light);
}

/* ===== HERO SWIPER ===== */
.hero-swiper {
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 520px;
    position: relative;
}
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 83, 83, 0.35), rgba(0, 0, 0, 0.85));
    z-index: 1;
}
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 83, 83, 0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: 0.3s;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--primary);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 700;
}
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-light);
    opacity: 1;
}

.product-card {
    /* background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%; */
}
.product-card:hover {
    /* transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary); */
}
.product-img {
    /* width: 100%;
    height: 0;
    padding-bottom: 75%; */
    /* aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
    display: block; */
}
.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card .product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 3rem;
    font-family: "Rajdhani", sans-serif;
    color: var(--primary);
    border-left: solid 2px var(--primary);
    padding-left: 1rem;
    margin-bottom: 8px;
}
.promo-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}
.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    background: #e5e5e5;
    transition: 0.3s;
}
.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.portfolio-item:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
.swiper {
    /* padding: 0 0 3rem; */
}
.mySwiperTestimonial .swiper-pagination-bullet-active {
    background: var(--primary);
}
.testimonial-card {
    border-radius: 24px;
    gap: 1rem;
}
.testimonial-card img, 
.testimonial-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}
.testimonial-avatar-placeholder {
    background-color: var(--primary);
    color: var(--light);
    font-size: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--light);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 83, 83, 0.3);
}
footer {
    background: var(--dark);
    color: #a3a3a3;
}
footer a {
    color: #a3a3a3;
    text-decoration: none;
}
footer a:hover {
    color: var(--primary-light);
}
.social-icon {
    display: inline-block;
}
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--primary);
    color: var(--light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1040;
    opacity: 0;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.back-to-top.show {
    opacity: 1;
}
.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0px;
    line-height: 18px;
}
.ratio {
    position: relative;
    width: 100%;
    display: block;
}
.ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.grab-scroll::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* ===== Mobile Bottom Action Bar (4 tombol) ===== */
.mobile-action-bar {
    /* display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: var(--dark);
    border-top: 1px solid #262626;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3); */
}
.mobile-action-bar .action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 2px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-right: 1px solid #262626;
    transition: 0.2s;
    font-family: "Rajdhani", sans-serif;
    text-align: center;
}
.mobile-action-bar .action-btn:last-child {
    border-right: none;
}
.mobile-action-bar .action-btn i {
    font-size: 1.25rem;
    line-height: 1;
}
.mobile-action-bar .action-btn.testdrive {
    background: var(--primary);
}
.mobile-action-bar .action-btn.testdrive:active {
    background: var(--primary-dark);
}
.mobile-action-bar .action-btn.tel {
    background: var(--dark);
}
.mobile-action-bar .action-btn.tel:active {
    background: #000;
}
.mobile-action-bar .action-btn.wa {
    background: #25d366;
}
.mobile-action-bar .action-btn.wa:active {
    background: #1da851;
}
.mobile-action-bar .action-btn.pricelist {
    background: var(--accent-gold);
    color: var(--dark);
}
.mobile-action-bar .action-btn.pricelist:active {
    background: #d97706;
}
@media (max-width: 767.98px) {
    /* .mobile-action-bar {
        display: flex;
    } */
    body {
        padding-bottom: 45px;
    }
    .back-to-top {
        bottom: 80px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .hero-swiper {
        height: calc(100vh - 120px);
        min-height: 460px;
    }
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}

/* ===== Modal Brosur ===== */
#brosurModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
#brosurModal .modal-header {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 20px;
}
#brosurModal .modal-title {
    font-family: "Rajdhani", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
#brosurModal .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.9;
}
#brosurModal .brosur-img {
    width: 100%;
    height: auto;
    display: block;
}
#brosurModal .modal-body {
    padding: 0;
    background: #f5f5f5;
}
#brosurModal .modal-footer {
    border: none;
    padding: 14px 20px;
    background: #fff;
}



a {
    color: var(--primary);
    text-decoration: none;
}


/* widget */

.widget-post.layout-list {}
.widget-post.layout-list a.thumbnail {
    width: 80px;
    height: 80px;
    display: block;
}
.widget-post.layout-list a.thumbnail img {}


.widget-post.layout-list .post-title {
    font-size: 16px;
    line-height: 1;
}
.widget-post.layout-list .post-title a {}


.post-meta {
    font-size: 12px;
    opacity: 0.5;
}







.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: #f5f5f5;
}






.glightbox-clean .gslide-title {
    font-weight: 600;
    font-family: var(--font-body) !important;
    margin-bottom: 5px !important;
}
















/* ==========================================
   1. RATIO DASAR (DEFAULT / DESKTOP-FIRST)
   ========================================== */

/* --- Horizontal / Landscape --- */
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-21x9 { aspect-ratio: 21 / 9; } /* Ultrawide */
.ratio-2x1  { aspect-ratio: 2 / 1;  }
.ratio-4x3  { aspect-ratio: 4 / 3;  } /* Kamera / TV standar */
.ratio-3x2  { aspect-ratio: 3 / 2;  } /* Foto DSLR */

/* --- Vertical / Portrait --- */
.ratio-9x16 { aspect-ratio: 9 / 16; } /* Reel / Story / TikTok */
.ratio-1x2  { aspect-ratio: 1 / 2;  }
.ratio-3x4  { aspect-ratio: 3 / 4;  }
.ratio-2x3  { aspect-ratio: 2 / 3;  }
.ratio-4x5  { aspect-ratio: 4 / 5;  } /* Feed Instagram */

/* --- Square --- */
.ratio-1x1  { aspect-ratio: 1 / 1;  }


/* ==========================================
   2. MEDIA QUERIES (DESKTOP-FIRST / MAX-WIDTH)
   Urutan: Terbesar -> Terkecil
   ========================================== */

/* Extra Large Screen (Di bawah 1200px / maks 1199.98px) */
@media screen and (max-width: 1199.98px) {
    /* Horizontal */
    .ratio-xl-16x9 { aspect-ratio: 16 / 9; }
    .ratio-xl-21x9 { aspect-ratio: 21 / 9; }
    .ratio-xl-2x1  { aspect-ratio: 2 / 1;  }
    .ratio-xl-4x3  { aspect-ratio: 4 / 3;  }
    .ratio-xl-3x2  { aspect-ratio: 3 / 2;  }
    /* Vertical */
    .ratio-xl-9x16 { aspect-ratio: 9 / 16; }
    .ratio-xl-1x2  { aspect-ratio: 1 / 2;  }
    .ratio-xl-3x4  { aspect-ratio: 3 / 4;  }
    .ratio-xl-2x3  { aspect-ratio: 2 / 3;  }
    .ratio-xl-4x5  { aspect-ratio: 4 / 5;  }
    /* Square */
    .ratio-xl-1x1  { aspect-ratio: 1 / 1;  }
}

/* Large Screen (Di bawah 1000px / maks 999.98px) */
@media screen and (max-width: 999.98px) {
    /* Horizontal */
    .ratio-lg-16x9 { aspect-ratio: 16 / 9; }
    .ratio-lg-21x9 { aspect-ratio: 21 / 9; }
    .ratio-lg-2x1  { aspect-ratio: 2 / 1;  }
    .ratio-lg-4x3  { aspect-ratio: 4 / 3;  }
    .ratio-lg-3x2  { aspect-ratio: 3 / 2;  }
    /* Vertical */
    .ratio-lg-9x16 { aspect-ratio: 9 / 16; }
    .ratio-lg-1x2  { aspect-ratio: 1 / 2;  }
    .ratio-lg-3x4  { aspect-ratio: 3 / 4;  }
    .ratio-lg-2x3  { aspect-ratio: 2 / 3;  }
    .ratio-lg-4x5  { aspect-ratio: 4 / 5;  }
    /* Square */
    .ratio-lg-1x1  { aspect-ratio: 1 / 1;  }
}

/* Medium Screen (Di bawah 768px / maks 767.98px) */
@media screen and (max-width: 767.98px) {
    /* Horizontal */
    .ratio-md-16x9 { aspect-ratio: 16 / 9; }
    .ratio-md-21x9 { aspect-ratio: 21 / 9; }
    .ratio-md-2x1  { aspect-ratio: 2 / 1;  }
    .ratio-md-4x3  { aspect-ratio: 4 / 3;  }
    .ratio-md-3x2  { aspect-ratio: 3 / 2;  }
    /* Vertical */
    .ratio-md-9x16 { aspect-ratio: 9 / 16; }
    .ratio-md-1x2  { aspect-ratio: 1 / 2;  }
    .ratio-md-3x4  { aspect-ratio: 3 / 4;  }
    .ratio-md-2x3  { aspect-ratio: 2 / 3;  }
    .ratio-md-4x5  { aspect-ratio: 4 / 5;  }
    /* Square */
    .ratio-md-1x1  { aspect-ratio: 1 / 1;  }
}

/* Small Screen (Di bawah 576px / maks 575.98px) */
@media screen and (max-width: 575.98px) {
    /* Horizontal */
    .ratio-sm-16x9 { aspect-ratio: 16 / 9; }
    .ratio-sm-21x9 { aspect-ratio: 21 / 9; }
    .ratio-sm-2x1  { aspect-ratio: 2 / 1;  }
    .ratio-sm-4x3  { aspect-ratio: 4 / 3;  }
    .ratio-sm-3x2  { aspect-ratio: 3 / 2;  }
    /* Vertical */
    .ratio-sm-9x16 { aspect-ratio: 9 / 16; }
    .ratio-sm-1x2  { aspect-ratio: 1 / 2;  }
    .ratio-sm-3x4  { aspect-ratio: 3 / 4;  }
    .ratio-sm-2x3  { aspect-ratio: 2 / 3;  }
    .ratio-sm-4x5  { aspect-ratio: 4 / 5;  }
    /* Square */
    .ratio-sm-1x1  { aspect-ratio: 1 / 1;  }
}







.card {
    border-radius: 14px !important;
}