/* ====================================
   CENDANA MOBIL JEMBER
   GLOBAL STYLE
==================================== */

*{
    font-family:'Inter',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

/* ====================================
   COLORS
==================================== */

:root{
    --primary:#dc2626;
    --primary-dark:#b91c1c;
    --secondary:#0f172a;
    --gray:#64748b;
    --light:#f8fafc;
    --white:#ffffff;
}

/* ====================================
   LOGO
==================================== */
.text-white{
    color:white !important;
}
.logo-box {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: radial-gradient(black, transparent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.img-logo {
    padding: 4px;
    object-fit: contain;
}

/* ====================================
   NAVIGATION
==================================== */

header nav a{
    transition:.3s;
}

header nav a:hover{
    color:var(--primary);
}

.nav-active{
    color:var(--primary);
    font-weight:700;
}

/* ====================================
   BUTTONS
==================================== */

.btn-default{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color: black;
    padding:12px 24px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--primary) !important ;
    color:white;
    padding:12px 24px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:2px solid white;
    color:white;
    padding:12px 24px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.btn-secondary:hover{
    background:white;
    color:black;
}

.btn-light{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:white;
    color:#111827;
    padding:14px 28px;
    border-radius:14px;
    font-weight:700;
    margin-top:25px;
    transition:.3s;
}

.btn-light:hover{
    transform:translateY(-3px);
}

/* ====================================
   HERO
==================================== */

.hero-section{
    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.65)
    ),
    url('../images/mobil/IMG_20250807_060631.jpg');
    background-size:cover;
    background-position:center;
    color:white;
}

.hero-badge{
    display:inline-block;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    padding:10px 18px;
    border-radius:999px;
    font-size:14px;
    font-weight:600;
}

.hero-title{
    font-size:clamp(2rem,5vw,4.5rem);
    font-weight:900;
    line-height:1.15;
    margin-top:20px;
}

.hero-description{
    margin-top:20px;
    max-width:700px;
    font-size:18px;
    color:#e2e8f0;
}

/* ====================================
   SECTION
==================================== */

.section-title{
    font-size:clamp(1.8rem,4vw,2.5rem);
    font-weight:800;
}

.section-subtitle{
    margin-top:10px;
    color:var(--gray);
}

/* ====================================
   FEATURE CARD
==================================== */

.feature-card{
    background:white;
    border-radius:24px;
    padding:30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-icon{
    font-size:40px;
    margin-bottom:15px;
}

.feature-card h3{
    font-size:20px;
    font-weight:800;
    margin-bottom:10px;
}

.feature-card p{
    color:var(--gray);
}

/* ====================================
   PROMO BOX
==================================== */

.promo-box{
    background:white;
    padding:30px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-left:6px solid var(--primary);
}

.promo-box h3{
    font-size:24px;
    font-weight:800;
    color:var(--primary);
}

.promo-box p{
    margin-top:10px;
    color:var(--gray);
}

/* ====================================
   CAR CARD
==================================== */

.car-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.car-card:hover{
    transform:translateY(-6px);
}

.car-card img{
    width:100%;
    height:auto;
    object-fit:cover;
}

.car-card h3{
    font-weight:700;
    line-height:1.4;
}

.price{
    margin-top:8px;
    font-size:20px;
    font-weight:800;
    color:var(--primary);
}

/* ====================================
   CTA SECTION
==================================== */

.cta-section{
    background:var(--primary);
    color:white;
    padding:80px 20px;
}

.cta-section h2{
    font-size:clamp(2rem,4vw,3rem);
    font-weight:900;
}

.cta-section p{
    margin-top:15px;
    color:#fecaca;
    font-size:18px;
}

/* ====================================
   FLOATING WHATSAPP
==================================== */
.text-green-500{
    color:#22c55e !important;
}

.floating-wa{
    position:sticky;
    left: 90%;
    bottom:95px;
    width:65px;
    height:65px;
    border-radius:999px;
    background:#22c55e;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.floating-wa:hover{
    transform:scale(1.1);
}

@media(min-width:768px){
    .floating-wa{
        bottom:30px;
    }
}

@media(max-width:768px){
    .floating-wa{
        display:none !important;
    }
}

/* ====================================
   MOBILE NAVIGATION
==================================== */

.mobile-bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:white;
    border-top:1px solid #e5e7eb;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    z-index:998;
    box-shadow:0 -5px 20px rgba(0,0,0,.08);
}

.mobile-bottom-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:10px 0;
    font-size:20px;
    color:#475569;
}

.mobile-bottom-nav span{
    font-size:11px;
    margin-top:2px;
}

.mobile-bottom-nav .active{
    color:var(--primary);
    font-weight:700;
}

/* ====================================
   ANIMATION
==================================== */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* ====================================
   GALLERY
==================================== */

.gallery-card{
    overflow:hidden;
    border-radius:20px;
    background:white;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.gallery-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

/* ====================================
   SOLD UNIT
==================================== */

.sold-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
}

.sold-card img{
    width:100%;
    height:auto;
    object-fit:cover;
}

.sold-badge{
    position:absolute;
    inset:0;
    background:rgba(254, 254, 254, 0.038);
    display:flex;
    align-items:center;
    justify-content:center;
}

.sold-badge span{
    color:white;
    font-size:32px;
    font-weight:900;
    transform:rotate(-15deg);
}

/* ====================================
   CREDIT BOX
==================================== */

.credit-box{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.credit-box h3{
    font-size:22px;
    font-weight:800;
    margin-bottom:20px;
}

.credit-item{
    background:#f8fafc;
    padding:15px;
    border-radius:12px;
    margin-bottom:10px;
}

/* ====================================
   CONTACT
==================================== */

.contact-card{
    background:white;
    padding:35px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}