/* ==========================================
   CV. Cakra Bismaka Maheswara
   Style V2.0
========================================== */

/* ========= GOOGLE FONT ========= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========= RESET ========= */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    font-size:16px;
    color:#334155;
    background:#f8fafc;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button{
    font-family:'Poppins',sans-serif;
    cursor:pointer;
}

/* ========= VARIABLES ========= */

:root{

--primary:#0096DB;
--primary-dark:#0077B6;

--secondary:#00B4D8;

--dark:#0F172A;

--text:#334155;

--gray:#64748B;

--light:#F8FAFC;

--white:#FFFFFF;

--radius:16px;

--shadow:0 10px 30px rgba(0,0,0,.08);

--transition:.35s ease;

}

/* ========= CONTAINER ========= */

.container{

width:90%;

max-width:1200px;

margin:auto;

}

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

section{

padding:90px 0;

}

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:40px;

color:var(--dark);

margin-bottom:15px;

}

.section-title p{

max-width:720px;

margin:auto;

color:var(--gray);

}

/* ========= NAVBAR ========= */

.navbar{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(15px);

    box-shadow:0 4px 18px rgba(0,0,0,.05);

    border-bottom:1px solid rgba(0,0,0,.05);

    z-index:999;

    transition:all .3s ease;

}
.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:82px;

}
.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-weight:700;

    color:var(--primary);

}

.logo img{

    height:48px;

    width:auto;

}
nav{

    display:flex;

    gap:30px;

}

nav a{

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

nav a:hover{

    color:var(--primary);

}

nav a.active{

    color:var(--primary);

}

nav a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    background:var(--primary);

    border-radius:5px;

}


/* ========= BUTTON ========= */

.btn-primary{

display:inline-flex;

align-items:center;

justify-content:center;

padding:14px 30px;

background:var(--primary);

color:#fff;

border-radius:10px;

font-weight:600;

transition:var(--transition);

}

.btn-primary:hover{

background:var(--primary-dark);

transform:translateY(-3px);

box-shadow:0 12px 25px rgba(0,150,219,.3);

}

.btn-secondary{

display:inline-flex;

align-items:center;

justify-content:center;

padding:14px 30px;

border:2px solid var(--primary);

color:var(--primary);

border-radius:10px;

font-weight:600;

transition:var(--transition);

}

.btn-secondary:hover{

background:var(--primary);

color:#fff;

}

.btn-nav{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:42px;
    padding:0 20px;

    background:#0B84D8;
    color:#fff;

    border-radius:50px;

    font-size:14px;
    font-weight:600;

    letter-spacing:.2px;

    box-shadow:0 8px 20px rgba(11,132,216,.18);

    transition:all .3s ease;

}

.btn-nav:hover{

    background:#0A76C2;

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(11,132,216,.25);

}

.btn-glass{

    display:inline-block;

    padding:15px 35px;

    border-radius:12px;

    border:1px solid rgba(13,110,253,.2);

    background:rgba(255,255,255,.35);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    color:#0d6efd;

    font-weight:600;

    transition:.3s;

}

.btn-glass:hover{

    background:#0d6efd;

    color:#fff;

}
/* ==========================================
   HERO SECTION
========================================== */

.hero{

    position:relative;

    min-height:90vh;

    display:flex;

    align-items:center;
   
    margin-top:82px;
   
    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.90) 35%,
        rgba(255,255,255,.45) 65%,
        rgba(255,255,255,.05) 100%
    ),
    url("../img/hero-image.png");

    background-size:cover;

    background-position:right center;

    background-repeat:no-repeat;

}
.hero .container{
    width:75%;
    max-width:900px;
    margin:auto;
}

.hero-content{

    display:flex;

    align-items:center;

    min-height:90vh;

    width:55%;

}

.hero-text{
    max-width:620px;
    margin-left:-50px;
}

.hero-badge{

    font-size:13px;

    padding:8px 18px;

}

.hero h1{

    font-size:56px;

    font-weight:700;

    line-height:1.15;

    color:#0B1F44;

    margin-bottom:24px;

}

.hero p{

    font-size:18px;

    line-height:1.8;

    color:#5B6575;

    max-width:580px;

}

.btn-primary,
.btn-glass{

    padding:14px 28px;

    font-size:15px;

}

.hero-image{
    flex:1;
    min-width:320px;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:520px;
    margin:auto;
}


/* ==========================================
   SEARCH BOX
========================================== */

.product-search{
    padding:50px 0;
    background:#fff;
}

.search-box{
    max-width:750px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:15px;
    background:#fff;
    padding:18px 25px;
    border-radius:60px;
    box-shadow:var(--shadow);
}

.search-box i{
    color:var(--gray);
    font-size:18px;
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
    font-family:'Poppins',sans-serif;
}


/* ==========================================
   PRODUCT GRID
========================================== */

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}


/* ==========================================
   PRODUCT CARD
========================================== */

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

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

.product-info{
    padding:28px;
}

.product-info h3{
    font-size:22px;
    color:var(--dark);
    margin-bottom:15px;
}

.product-info p{
    color:var(--gray);
    margin-bottom:25px;
}


/* ==========================================
   FEATURED PRODUCTS
========================================== */

.featured-products{
    background:#F8FAFC;
}

.featured-products .product-card{
    padding:35px;
}

.featured-products h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:22px;
}

.featured-products p{
    color:var(--gray);
}


/* ==========================================
   CATEGORY ICON
========================================== */

.product-icon{

width:85px;

height:85px;

background:#EAF7FD;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

margin:30px auto 15px;

}

.product-icon i{

font-size:40px;

color:var(--primary);

}


/* ==========================================
   PRODUCT BUTTON
========================================== */

.product-card .btn-primary{

width:100%;

justify-content:center;

}


/* ==========================================
   HOVER EFFECT
========================================== */

.product-card:hover img{

transform:scale(1.05);

transition:.5s;

}

.product-card img{

transition:.5s;

}
/* ==========================================
   BRANDS SECTION
========================================== */

.brands-section{
    background:#ffffff;
}

.brand-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:25px;
    margin-top:40px;
}

.brand-list span{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:22px 15px;
    text-align:center;
    font-weight:600;
    color:var(--dark);
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.brand-list span:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-8px);
}


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

.cta-section{

    background:linear-gradient(135deg,#0096DB,#0077B6);

    color:#fff;

    text-align:center;

}

.cta-section h2{

    font-size:42px;

    margin-bottom:20px;

}

.cta-section p{

    max-width:720px;

    margin:auto;

    margin-bottom:35px;

    opacity:.95;

}

.cta-section .btn-primary{

    background:#fff;

    color:var(--primary);

}

.cta-section .btn-primary:hover{

    background:#F8FAFC;

}


/* ==========================================
   FOOTER
========================================== */

footer{

    background:#0F172A;

    color:#fff;

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

}

.footer-grid h3,
.footer-grid h4{

    margin-bottom:20px;

}

.footer-grid p{

    color:#CBD5E1;

    line-height:1.9;

}

.footer-grid ul{

    list-style:none;

}

.footer-grid li{

    margin-bottom:12px;

}

.footer-grid a{

    color:#CBD5E1;

    transition:var(--transition);

}

.footer-grid a:hover{

    color:#38BDF8;

    padding-left:5px;

}

.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.12);

    text-align:center;

    color:#94A3B8;

}


/* ==========================================
   SOCIAL ICON
========================================== */

.social-icons{

    display:flex;

    gap:12px;

    margin-top:20px;

}

.social-icons a{

    width:42px;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    color:#fff;

    transition:var(--transition);

}

.social-icons a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}


/* ==========================================
   WHATSAPP FLOAT
========================================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    background:#25D366;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:30px;

    box-shadow:0 15px 30px rgba(0,0,0,.25);

    transition:var(--transition);

    z-index:999;

}

.whatsapp:hover{

    transform:scale(1.1);

}


/* ==========================================
   BACK TO TOP
========================================== */

.back-top{

    position:fixed;

    right:25px;

    bottom:105px;

    width:52px;

    height:52px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    opacity:0;

    visibility:hidden;

    transition:var(--transition);

    z-index:998;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}


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

.fade-up{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.shadow-hover{

    transition:var(--transition);

}

.shadow-hover:hover{

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}
/* ==========================================
   RESPONSIVE
========================================== */

/* ========= Laptop ========= */

@media (max-width:1200px){

.container{
    width:95%;
}

.hero-text h1{
    font-size:46px;
}

.section-title h2{
    font-size:36px;
}

}


/* ========= Tablet ========= */

@media (max-width:992px){

.navbar .container{
    height:auto;
    padding:15px 0;
    flex-direction:column;
    gap:20px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
}

.hero,
.products-hero{
    padding:140px 0 80px;
}

.hero-content{
    flex-direction:column;
    text-align:center;
}

.hero-text{
    order:1;
}

.hero-image{
    order:2;
}

.hero-buttons{
    justify-content:center;
}

.hero-text h1{
    font-size:40px;
}

.hero-text p{
    font-size:17px;
}

.product-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.brand-list{
    grid-template-columns:repeat(3,1fr);
}

}


/* ========= Mobile ========= */

@media (max-width:768px){

section{
    padding:70px 0;
}

.hero,
.products-hero{
    padding:130px 0 70px;
}

.hero-text h1{
    font-size:34px;
}

.hero-text p{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
}

.btn-primary,
.btn-secondary,
.btn-nav{
    width:100%;
}

.product-grid{
    grid-template-columns:1fr;
}

.brand-list{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.social-icons{
    justify-content:center;
}

.section-title h2{
    font-size:30px;
}

.cta-section h2{
    font-size:32px;
}

.search-box{
    padding:15px 20px;
}

.search-box input{
    font-size:15px;
}

}


/* ========= Small Mobile ========= */

@media (max-width:480px){

.logo span{
    display:none;
}

.hero-text h1{
    font-size:28px;
}

.section-title h2{
    font-size:26px;
}

.brand-list{
    grid-template-columns:1fr;
}

.product-card img{
    height:200px;
}

.cta-section h2{
    font-size:28px;
}

.whatsapp{
    width:55px;
    height:55px;
    font-size:26px;
    right:18px;
    bottom:18px;
}

.back-top{
    right:18px;
    bottom:88px;
}

}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#F1F5F9;
}

::-webkit-scrollbar-thumb{
    background:#0096DB;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#0077B6;
}


/* ==========================================
   SELECTION
========================================== */

::selection{
    background:#0096DB;
    color:#fff;
}


/* ==========================================
   SMOOTH IMAGE EFFECT
========================================== */

img{
    transition:.35s ease;
}

img:hover{
    opacity:.98;
}


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

.product-card,
.brand-list span,
.card{
    transition:all .35s ease;
}


/* ==========================================
   LOADING EFFECT
========================================== */

.fade{
    animation:fade .8s ease;
}

@keyframes fade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}
/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width:768px){

    @media (max-width:768px){

    /* Navbar */
    .navbar .container{
        height:70px;
        padding:0 15px;
    }

    .logo img{
        height:38px;
    }

    /* Hero */
    .hero{

        margin-top:70px;

        min-height:calc(100vh - 70px);

        padding:40px 0;

        background-position:75% center;

        background-size:cover;

    }

    .hero-content{

        display:block;

        min-height:auto;

    }

    .hero-text{

        max-width:100%;

        margin:0;

    }

    .hero h1{

        font-size:34px;

        line-height:1.2;

        margin-bottom:18px;

    }

    .hero p{

        font-size:16px;

        line-height:1.7;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        gap:12px;

    }

    .btn-primary,
    .btn-glass{

        width:100%;

        text-align:center;

    }

    .hero-stats{

        margin-top:30px;

        display:grid;

        grid-template-columns:repeat(3,1fr);

        gap:10px;

        text-align:center;

    }

    .hero-stats h3{
        font-size:20px;
    }

    .hero-stats span{
        font-size:12px;
    }

}
