/* ==========================================
   THEME KEDAI JULIANA PRO
   ========================================== */

:root {

    /* WARNA UTAMA */
    --primary-color: #0F4C81;
    --secondary-color: #145DA0;

    /* WARNA AKSEN */
    --accent-color: #F59E0B;
    --success-color: #16A34A;
    --danger-color: #DC2626;

    /* BACKGROUND */
    --bg-color: #F5F7FA;
    --bg-light: #FFFFFF;
    --bg-dark: #1E293B;

    /* TEXT */
    --text-color: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;

    /* BORDER */
    --border-color: #E2E8F0;

    /* SHADOW */
    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

    /* RADIUS */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;

    /* TRANSISI */
    --transition: all .3s ease;
}

/* ==========================================
   BODY
   ========================================== */

body{
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ==========================================
   NAVBAR
   ========================================== */

.navbar{
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-scrolled{
    box-shadow: var(--shadow-md);
}

.navbar-brand{
    font-weight: 700;
    color: var(--primary-color)!important;
}

.nav-link{
    color: var(--text-color)!important;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active{
    color: var(--primary-color)!important;
}

/* ==========================================
   BUTTON
   ========================================== */

.btn-primary-custom{
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover{
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-custom{
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover{
    background: var(--primary-color);
    color: white;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section{
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #eaf3ff 100%
    );
    display: flex;
    align-items: center;
}

.hero-title{
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-title span{
    color: var(--primary-color);
}

.hero-subtitle{
    color: var(--text-light);
    font-size: 1.15rem;
}

.hero-img{
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   SECTION TITLE
   ========================================== */

.section-title{
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading{
    font-size: 2.5rem;
    font-weight: 800;
}

/* ==========================================
   CARD
   ========================================== */

.card,
.product-card,
.value-card{
    border: none;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover,
.product-card:hover,
.value-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   ICON BOX
   ========================================== */

.icon-circle{
    width: 70px;
    height: 70px;
    background: rgba(15,76,129,.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: auto;
    transition: var(--transition);
}

.value-card:hover .icon-circle{
    background: var(--primary-color);
    color: white;
}

/* ==========================================
   PRODUCT
   ========================================== */

.product-img-wrapper{
    height: 230px;
    overflow: hidden;
}

.product-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img{
    transform: scale(1.05);
}

.price-tag{
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-normal{
    text-decoration: line-through;
    color: #999;
}

/* ==========================================
   PRODUK
========================================== */

.produk-card {

    border: none;

    border-radius: 20px;

    overflow: hidden;

    transition: all 0.3s ease;

}

.produk-card:hover {

    transform: translateY(-10px);

}

.produk-card img {

    height: 220px;

    object-fit: cover;

}

.produk-card .card-body {

    padding: 20px;

}

/* ==========================================
   FOOTER
========================================== */

.footer-custom{
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #fff;
    padding: 60px 0;
    transition: .4s;
}

.footer-custom a{
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.footer-custom a:hover{
    color: #fff;
}

/* ==========================================
   WHATSAPP FLOATING
========================================== */

.wa-floating {

    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    background: #25D366;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 30px;

    text-decoration: none;

    z-index: 999;

    box-shadow: 0 5px 15px rgba(0,0,0,.2);

}

.wa-floating:hover {

    color: white;

    transform: scale(1.1);

}

/* ==========================================
   FLOATING THEME SWITCHER
========================================== */

.theme-switcher {

    position: fixed;

    top: 50%;

    right: 15px;

    transform: translateY(-50%);

    background: #fff;

    padding: 12px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0,0,0,.15);

    z-index: 9999;

}

.theme-title {

    font-size: 12px;

    font-weight: 600;

    text-align: center;

    margin-bottom: 10px;

}

.theme-btn {

    width: 35px;

    height: 35px;

    border: none;

    border-radius: 50%;

    display: block;

    margin-bottom: 8px;

    cursor: pointer;

}

/* WARNA */

.orange {

    background: #ff6b35;

}

.green {

    background: #28a745;

}

.blue {

    background: #0d6efd;

}

.red {

    background: #dc3545;

}

.purple {

    background: #7c3aed;

}

/* ==========================================
   BADGE
   ========================================== */

.badge-promo{
    background: var(--danger-color);
    color: white;
}

.badge-stock{
    background: var(--accent-color);
    color: white;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer-modern{
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color:#fff;
    padding:70px 0 20px;
    transition:.4s;
}

footer a{
    color: #cbd5e1;
    transition: var(--transition);
}

footer a:hover{
    color: white;
}

.social-btn{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-btn:hover{
    background: var(--primary-color);
}

/* ==========================================
   UTILITIES
   ========================================== */

.text-primary-theme{
    color: var(--primary-color)!important;
}

.text-accent{
    color: var(--accent-color)!important;
}

.bg-primary-theme{
    background: var(--primary-color)!important;
}

.bg-accent{
    background: var(--accent-color)!important;
}

/* ==========================================
   TENTANG KAMI
========================================== */

#tentang {

    background-color: #f8fafc;

}

/* ==========================================
   CARD KEUNGGULAN
========================================== */

#tentang .card {

    border-radius: 20px;

    transition: all 0.3s ease;

}

#tentang .card:hover {

    transform: translateY(-10px);

}

#tentang .shadow {

    box-shadow:
    0 10px 25px
    rgba(0,0,0,0.08) !important;

}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media(max-width:768px){

    .hero-title{
        font-size: 2.5rem;
    }

    .section-heading{
        font-size: 2rem;
    }

    .hero-img{
        margin-top: 30px;
    }
}

/* ==========================================
   DYNAMIC THEME
========================================== */

/* GREEN */

body[data-theme="green"]{

    --primary-color:#28a745;
    --secondary-color:#1e7e34;

}

/* BLUE */

body[data-theme="blue"]{

    --primary-color:#0d6efd;
    --secondary-color:#0b5ed7;

}

/* RED */

body[data-theme="red"]{

    --primary-color:#dc3545;
    --secondary-color:#bb2d3b;

}

/* PURPLE */

body[data-theme="purple"]{

    --primary-color:#7c3aed;
    --secondary-color:#6d28d9;

}

/* ORANGE */

body[data-theme="orange"]{

    --primary-color:#ff6b35;
    --secondary-color:#e85d2f;

}

.hero-section {
    min-height: 100vh;
}

/* VIDEO BACKGROUND */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* GLASS CARD */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-image {
    max-width: 90%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transform: scale(1);
    transition: 0.4s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

/* GLASS NAVBAR */
.navbar-glass {
    background: rgba(10, 15, 25, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

/* LINK MENU */
.nav-link-pro {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-link-pro:hover {
    color: #fff;
}

/* ACTIVE & HOVER UNDERLINE */
.nav-link-pro::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-link-pro:hover::after,
.nav-link-pro.active::after {
    width: 100%;
}

/* SCROLL EFFECT (optional enhancement) */
.navbar-scrolled {
    background: rgba(10, 15, 25, 0.9) !important;
}

.navbar-right{
    display:flex;
    align-items:center;
    gap:15px;
}

/* SEARCH */
.search-box-pro{
    display:flex;
    align-items:center;
    gap:10px;

    background:rgba(255,255,255,.15);

    padding:10px 15px;

    border-radius:14px;

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.2);
}

.search-box-pro i{
    color:white;
}

.search-box-pro input{
    border:none;
    outline:none;
    background:transparent;
    color:white;
    width:180px;
}

.search-box-pro input::placeholder{
    color:rgba(255,255,255,.8);
}

/* NOTIF */
.nav-icon{
    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:rgba(255,255,255,.15);

    color:white;

    position:relative;

    cursor:pointer;

    transition:.3s;
}

.nav-icon:hover{
    transform:translateY(-3px);
}

.badge-dot{
    width:10px;
    height:10px;

    background:#ff3b30;

    border-radius:50%;

    position:absolute;

    top:10px;
    right:10px;
}

/* USER CARD */
.user-card{
    display:flex;
    align-items:center;
    gap:12px;

    background:rgba(255,255,255,.15);

    padding:8px 15px;

    border-radius:16px;

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.2);

    color:white;

    transition:.3s;
}

.user-card:hover{
    transform:translateY(-3px);
}

.user-avatar{
    width:45px;
    height:45px;

    border-radius:50%;

    background:white;
    color:var(--primary-color);

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    font-size:18px;
}

.user-info{
    line-height:1.2;
}

.user-name{
    font-weight:700;
}

.user-role{
    font-size:12px;
    opacity:.8;
}

/* LOGIN */
.btn-login-pro{
    background:white;
    color:var(--primary-color);

    text-decoration:none;

    padding:10px 18px;

    border-radius:14px;

    font-weight:600;

    transition:.3s;
}

.btn-login-pro:hover{
    transform:translateY(-3px);
}

/* REGISTER */
.btn-register-pro{
    background:#ffc107;
    color:#000;

    text-decoration:none;

    padding:10px 18px;

    border-radius:14px;

    font-weight:700;

    transition:.3s;
}

.btn-register-pro:hover{
    transform:translateY(-3px);
}

/* ==========================
   CHATBOT
========================== */

/* ==========================================
   CHATBOT
========================================== */

.chatbot-btn{

    position:fixed;
    bottom:25px;
    right:25px;

    width:65px;
    height:65px;

    border:none;
    border-radius:50%;

    background:var(--primary-color);
    color:#fff;

    font-size:28px;

    z-index:9999;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

    transition:.3s;
}

.chatbot-btn:hover{

    transform:scale(1.1);
}

.chatbot-box{

    position:fixed;

    bottom:100px;
    right:25px;

    width:350px;
    height:500px;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.2);

    display:none;

    z-index:9999;
}

.chatbot-header{

    background:var(--primary-color);

    color:white;

    padding:15px;

    font-weight:600;
}

.close-chat{

    float:right;

    cursor:pointer;

    font-size:22px;
}

.chatbot-body{

    height:350px;

    overflow-y:auto;

    padding:15px;

    background:#f8fafc;
}

.chatbot-footer{

    padding:15px;

    border-top:1px solid #eee;
}

.user-msg{

    background:var(--primary-color);

    color:white;

    padding:10px 15px;

    border-radius:15px;

    margin-bottom:10px;

    text-align:right;
}

.bot-msg{

    background:#e2e8f0;

    padding:10px 15px;

    border-radius:15px;

    margin-bottom:10px;
}

.chatbot-box{

    position: fixed;

    bottom: 100px;
    right: 25px;

    width: 350px;
    height: 500px;

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0,0,0,.2);

    display: none;

    z-index: 9999;

    cursor: move; /* supaya terlihat bisa digeser */
}

.navbar-pro{
    height:70px;
    padding:0 25px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );

    color:#fff;

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;

    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.navbar-pro .brand{
    display:flex;
    align-items:center;
    gap:10px;

    font-size:20px;
    font-weight:700;
}

.navbar-pro .brand img{
    width:45px;
    height:45px;
    border-radius:50%;
}

.navbar-menu{
    display:flex;
    gap:25px;
}

.navbar-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

.navbar-menu a:hover{
    opacity:.8;
}

.navbar-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.search-box{
    display:flex;
    align-items:center;
    gap:8px;

    background:rgba(255,255,255,.15);
    padding:8px 12px;
    border-radius:12px;
}

.search-box input{
    border:none;
    outline:none;
    background:transparent;
    color:white;
}

.search-box input::placeholder{
    color:rgba(255,255,255,.7);
}

.user-badge{
    background:rgba(255,255,255,.2);

    padding:8px 15px;
    border-radius:12px;

    display:flex;
    align-items:center;
    gap:8px;
}

.hero-section{
    margin-top:80px;
}