/* ===========================================
   PT. RKS HEAVY MACHINERY TRADING
   style.css
=========================================== */

:root{
    --dark:#0d0d0d;
    --dark-2:#151515;
    --red:#e21f1f;
    --red-dark:#b81616;
    --white:#ffffff;
    --gray:#b7b7b7;
    --light-bg:#f6f6f7;
    --font:'Poppins', sans-serif;
    --radius:6px;
    --transition:.35s ease;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:var(--font);
    color:#222;
    line-height:1.7;
    background:var(--white);
    overflow-x:hidden;
}

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

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

ul{
    list-style:none;
}

.container{
    width:92%;
    max-width:1280px;
    margin:0 auto;
}

/* ==========================
   Navbar
========================== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(0,0,0,.35);
    padding:18px 0;
    transition:background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:42px;
}

.menu{
    display:flex;
    align-items:center;
    gap:36px;
}

.menu li a{
    color:var(--white);
    font-size:15px;
    font-weight:500;
    letter-spacing:.3px;
    position:relative;
    padding:6px 0;
    transition:color var(--transition);
}

.menu li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--red);
    transition:width var(--transition);
}

.menu li a:hover,
.menu li a.active{
    color:var(--red);
}

.menu li a:hover::after,
.menu li a.active::after{
    width:100%;
}

.nav-cta{
    background:var(--red);
    color:var(--white);
    padding:11px 26px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    letter-spacing:.3px;
    transition:background var(--transition), transform var(--transition);
}

.nav-cta:hover{
    background:var(--red-dark);
    transform:translateY(-2px);
}

.nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.nav-toggle span{
    width:26px;
    height:2px;
    background:var(--white);
}

/* ==========================
   Navbar Dropdown (Product / Brand)
========================== */

.has-dropdown{
    position:relative;
}

.has-dropdown > a{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.dropdown-caret{
    font-size:10px;
    transition:transform var(--transition);
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown.dropdown-open .dropdown-caret{
    transform:rotate(180deg);
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(8px);
    min-width:190px;
    margin-top:14px;
    background:#111;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    padding:10px;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index:1200;
}

/* invisible bridge so the menu doesn't close moving the cursor up to it */
.dropdown-menu::before{
    content:"";
    position:absolute;
    top:-14px;
    left:0;
    width:100%;
    height:14px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.dropdown-open .dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
}

.dropdown-menu li{
    list-style:none;
}

.dropdown-menu li a{
    display:block;
    padding:10px 14px;
    font-size:14px;
    font-weight:500;
    color:#e6e6e6;
    border-radius:6px;
    white-space:nowrap;
    transition:background var(--transition), color var(--transition);
}

.dropdown-menu li a::after{
    display:none;
}

.dropdown-menu li a:hover{
    background:rgba(226,31,31,.15);
    color:var(--red);
}

/* ==========================
   Hero (Home - Split Layout)
========================== */

.hero-home{
    position:relative;
    min-height:100vh;
    display:flex;
    background:var(--dark);
    overflow:hidden;
}

.hero-home .hero-media{
    position:relative;
    flex:0 0 46%;
    max-width:46%;
    overflow:hidden;
}

.hero-home .hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    min-height:100vh;
}

.hero-home .hero-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}

.hero-home .hero-text{
    flex:1;
    display:flex;
    align-items:center;
    position:relative;
    background:
        radial-gradient(circle at 80% 20%, rgba(226,31,31,.12) 0%, transparent 45%),
        var(--dark);
    padding:0 60px;
}

.hero-home .hero-text-inner{
    max-width:560px;
}

.hero-home .hero-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--red);
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.hero-home .hero-tag::before{
    content:"";
    width:34px;
    height:2px;
    background:var(--red);
}

.hero-home h1{
    color:var(--white);
    font-size:44px;
    font-weight:800;
    line-height:1.25;
    text-transform:uppercase;
    margin-bottom:20px;
}

.hero-home h1 span{
    color:var(--red);
}

.hero-home p{
    color:var(--gray);
    font-size:15.5px;
    margin-bottom:34px;
    max-width:460px;
}

.hero-btns{
    display:flex;
    align-items:center;
    gap:22px;
    margin-bottom:60px;
}

.btn-outline{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 32px;
    border:1.5px solid var(--white);
    color:var(--white);
    font-size:14px;
    font-weight:600;
    letter-spacing:.5px;
    border-radius:2px;
    transition:all var(--transition);
}

.btn-outline:hover{
    background:var(--red);
    border-color:var(--red);
}

.btn-fill{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 32px;
    background:var(--red);
    color:var(--white);
    font-size:14px;
    font-weight:600;
    letter-spacing:.5px;
    border-radius:2px;
    transition:all var(--transition);
}

.btn-fill:hover{
    background:var(--red-dark);
}

.hero-progress{
    display:flex;
    align-items:center;
    gap:14px;
}

.hero-progress .num{
    color:var(--white);
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
}

.hero-progress .bar{
    width:70px;
    height:2px;
    background:rgba(255,255,255,.2);
    position:relative;
    overflow:hidden;
}

.hero-progress .bar::after{
    content:"";
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:45%;
    background:var(--red);
}

.hero-progress .num.total{
    color:rgba(255,255,255,.4);
}

/* vertical quick-contact icon strip */
.hero-icons{
    position:absolute;
    top:0;
    right:0;
    height:100%;
    width:64px;
    display:flex;
    flex-direction:column;
    background:rgba(255,255,255,.04);
    border-left:1px solid rgba(255,255,255,.08);
    z-index:5;
}

.hero-icons a{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--white);
    font-size:16px;
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:background var(--transition), color var(--transition);
}

.hero-icons a:last-child{
    border-bottom:none;
}

.hero-icons a:hover{
    background:var(--red);
}

/* scroll down indicator */
.scroll-down{
    position:absolute;
    left:50%;
    bottom:36px;
    transform:translateX(-50%);
    width:46px;
    height:46px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--white);
    animation:bounce 2s infinite;
    z-index:5;
}

@keyframes bounce{
    0%,100%{transform:translate(-50%,0);}
    50%{transform:translate(-50%,8px);}
}

.hero{
    position:relative;
    display:flex;
    align-items:center;
    background:
        linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)),
        url('../img/hero-worksite.jpeg') center/cover no-repeat;}

/* ==========================
      HERO — CONNECTED WORKSITE
========================== */

.hero-cw{

    position:relative;
    height:100vh;
    min-height:680px;
    background:
        linear-gradient(rgba(5,6,7,.55),rgba(5,6,7,.85)),
        url('img/hero-worksite.jpeg') center 20%/cover no-repeat;
    overflow:hidden;
    display:flex;
    align-items:flex-end;

}

.cw-vignette{

    position:absolute;
    inset:0;
    background:
        radial-gradient(ellipse at 50% 0%,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 75%),
        linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,0) 45%);
    z-index:1;

}

.cw-network{

    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:78%;
    opacity:.9;

}

.cw-line{

    fill:none;
    stroke:rgba(56,224,209,.35);
    stroke-width:1.5;

}

.cw-node{

    fill:#38E0D1;
    filter:drop-shadow(0 0 6px rgba(56,224,209,.9));
    animation:cwPulse 2.6s ease-in-out infinite;
}

@keyframes cwPulse{

    0%,100%{ opacity:.55; r:5.5; }
    50%{ opacity:1; r:7.5; }

}

.cw-toggle{

    position:absolute;
    top:150px;
    left:50%;
    transform:translateX(-50%);
    z-index:3;
    display:flex;
    align-items:center;
    gap:0;
    background:rgba(15,18,20,.75);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    border-radius:60px;
    padding:8px;

}

.cw-toggle-btn{

    background:none;
    border:none;
    color:#cfd3d4;
    font-family:'Poppins',sans-serif;
    font-weight:500;
    font-size:15px;
    padding:16px 34px;
    cursor:pointer;
    transition:.3s;
    border-radius:60px;

}

.cw-toggle-btn.active{

    color:#fff;

}

.cw-toggle-dot{

    width:46px;
    height:46px;
    min-width:46px;
    border-radius:50%;
    background:#fff;
    color:#E30613;
    font-weight:800;
    font-family:'Poppins',sans-serif;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 4px;

}

.cw-rail{

    position:absolute;
    right:40px;
    top:50%;
    transform:translateY(-50%);
    z-index:3;
    display:flex;
    flex-direction:column;
    background:rgba(15,18,20,.7);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(14px);
    border-radius:40px;
    padding:10px;
    gap:6px;

}

.cw-rail a{

    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#cfd3d4;
    font-size:18px;
    border-radius:50%;
    transition:.3s;

}

.cw-rail a:hover{

    background:#E30613;
    color:#fff;

}

.cw-content{

    position:relative;
    z-index:3;
    padding-bottom:90px;
    width:100%;

}

.cw-title{

    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    color:#fff;
    font-size:104px;
    line-height:.98;
    letter-spacing:-2px;
    margin-bottom:36px;

}

.cw-readmore{

    display:inline-flex;
    align-items:center;
    gap:12px;
    background:transparent;
    border:1.5px solid rgba(255,255,255,.4);
    color:#fff;
    font-weight:600;
    padding:18px 32px;
    border-radius:50px;
    transition:.3s;

}

.cw-readmore:hover{

    background:#fff;
    color:#111;
    border-color:#fff;

}

.cw-scroll{

    position:absolute;
    left:50%;
    bottom:150px;
    transform:translateX(-50%);
    z-index:3;
    width:54px;
    height:54px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.35);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    animation:cwBounce 2.2s ease-in-out infinite;

}

@keyframes cwBounce{

    0%,100%{ transform:translateX(-50%) translateY(0); }
    50%{ transform:translateX(-50%) translateY(8px); }

}

.cw-slides{

    position:absolute;
    right:40px;
    bottom:90px;
    z-index:3;
    display:flex;
    gap:26px;

}

.cw-slide-item{

    background:none;
    border:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:0;

}

.cw-slide-bar{

    width:56px;
    height:3px;
    background:rgba(255,255,255,.25);
    border-radius:3px;
    transition:.3s;

}

.cw-slide-item.active .cw-slide-bar{

    background:#E30613;

}

.cw-slide-num{

    color:rgba(255,255,255,.5);
    font-size:13px;
    letter-spacing:1px;
    font-family:'Poppins',sans-serif;

}

.cw-slide-item.active .cw-slide-num{

    color:#fff;

}

@media(max-width:992px){

    .cw-title{ font-size:64px; }
    .cw-rail{ right:16px; }
    .cw-toggle{ top:120px; }

}

@media(max-width:576px){

    .cw-title{ font-size:44px; }
    .cw-toggle{ transform:translateX(-50%) scale(.8); top:110px; }
    .cw-rail{ display:none; }
    .cw-slides{ right:20px; bottom:60px; }
    .cw-scroll{ bottom:180px; }

}

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

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:#E30613;

    font-weight:700;

    letter-spacing:2px;

}

.section-title h2{

    margin-top:15px;

    font-size:42px;

}

/* ==========================
      CATEGORIES ROW
========================== */

.categories{

    background:rgba(255,255,255,.95);
    padding:50px 0;
    border-bottom:1px solid #eee;

}

.cat-row{

    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;

}

.cat-item{

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    text-align:center;
    color:#222;
    transition:.3s;

}

.cat-item:hover{

    transform:translateY(-6px);
    color:#E30613;

}

.cat-icon{

    width:74px;
    height:74px;
    border-radius:50%;
    background:#f8f8f8;
    border:1px solid #eee;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    color:#E30613;
    transition:.3s;

}

.cat-item:hover .cat-icon{

    background:#E30613;
    color:#fff;

}

.cat-item span{

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

}

@media(max-width:768px){

    .cat-row{ grid-template-columns:repeat(3,1fr); row-gap:35px; }

}

@media(max-width:480px){

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

}

/* ==========================
      ABOUT
========================== */

.about{

    padding:120px 0;

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

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image{

    background:#fff;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
    padding:30px;
    display:flex;
    justify-content:center;
    align-items:center;

}

.about-image img{

    max-width:340px;
    width:100%;
    height:auto;

}

/* ===========================================
   ABOUT PHOTO SLIDER
=========================================== */

.about-slider{

    position:relative;
    width:100%;
    max-width:380px;
    border-radius:16px;
    overflow:hidden;

}

.slider-track{

    display:flex;
    transition:transform .5s ease;

}

.slider-slide{

    min-width:100%;
    flex-shrink:0;

}

.slider-slide img{

    width:100%;
    height:420px;
    object-fit:cover;
    display:block;
    border-radius:16px;

}

.slider-arrow{

    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#111;
    font-size:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
    transition:all .3s ease;
    z-index:3;

}

.slider-arrow:hover{

    background:#E30613;
    color:#fff;

}

.slider-prev{ left:14px; }
.slider-next{ right:14px; }

.slider-dots{

    position:absolute;
    bottom:16px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:3;

}

.slider-dot{

    width:9px;
    height:9px;
    border-radius:50%;
    background:rgba(255,255,255,.65);
    border:none;
    cursor:pointer;
    padding:0;
    transition:all .3s ease;

}

.slider-dot.active{

    background:#E30613;
    width:24px;
    border-radius:5px;

}

.about-content span{

    color:#E30613;

    font-weight:700;

}

.about-content h2{

    font-size:42px;

    margin:20px 0;

}

.about-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;

}

.about-list{

    display:grid;

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

    gap:20px;

    margin-top:35px;

}

.about-list div{

    display:flex;

    gap:12px;

    align-items:center;

    font-weight:600;

}

.about-list i{

    color:#E30613;

}
/* ===========================================
   PRODUCT SECTION
=========================================== */

.product{

    padding:120px 0;
    background:rgba(248,248,248,.9);

}

.product-category{

    margin-bottom:80px;

}

.product-category:last-child{

    margin-bottom:0;

}

.product-category-title{

    display:flex;
    align-items:center;
    gap:18px;
    font-size:26px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#222;
    margin-bottom:35px;

}

.product-category-title span{

    white-space:nowrap;

}

.product-category-title::after{

    content:"";
    flex:1;
    height:3px;
    background:linear-gradient(90deg,#E30613,rgba(227,6,19,0));
    border-radius:3px;

}

.product-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;

}

.product-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 35px #fff;
    transition:.4s;
    cursor:pointer;

}

.product-media{

    position:relative;
    overflow:hidden;

}

.product-view-icon{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.7);
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(227,6,19,.92);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    opacity:0;
    transition:.4s;
    pointer-events:none;

}

.product-card:hover .product-view-icon{

    opacity:1;
    transform:translate(-50%,-50%) scale(1);

}

.product-card:hover{

    transform:translateY(-12px);
    box-shadow:0 25px 50px rgba(0,0,0,.18);

}

.product-card img{

    height:350px;
    object-fit:cover;
    transition:.5s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.product-card h3{

    padding:25px 25px 10px;
    font-size:28px;
    color:#222;

}

.product-card p{

    padding:0 25px 25px;
    color:#666;
    line-height:1.8;

}

.product-card a{

    display:inline-block;
    margin:0 25px 30px;
    color:#E30613;
    font-weight:600;
}

.product-placeholder{

    height:350px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#1a1a1a,#333);
    color:#fff;
    font-size:60px;

}

.coming-soon-badge{

    position:absolute;
    top:18px;
    right:18px;
    background:var(--red,#E30613);
    color:#fff;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    padding:7px 16px;
    border-radius:30px;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
    z-index:2;

}

.product-card.coming-soon .product-media{
    position:relative;
}

.product-card.coming-soon h3{
    display:flex;
    align-items:center;
    gap:10px;
}

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

.brand{

    padding:120px 0;
    background:rgba(255,255,255,.93);

}

.brand-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:30px;
    align-items:center;

}

.brand-item{

    background:#fafafa;
    border-radius:15px;
    padding:35px;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.4s;
    border:1px solid #eee;
    cursor:pointer;

}

.brand-item:hover{

    background:#fff;
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.brand-logo{

    font-family:'Poppins',sans-serif;
    font-weight:800;
    font-size:26px;
    letter-spacing:1px;
    color:#333;
    text-align:center;

}

.brand-logo[data-brand="komatsu"]{ color:#FFCC00; -webkit-text-stroke:1px #1c1c1c; }
.brand-logo[data-brand="hyundai"]{ color:#002C5F; font-style:italic; }
.brand-logo[data-brand="doosan"]{ color:#C8102E; }
.brand-logo[data-brand="sany"]{ color:#E2231A; }
.brand-logo[data-brand="kobelco"]{ color:#003DA5; }
.brand-logo[data-brand="sumitomo"]{ color:#E60012; }
.brand-logo[data-brand="cat"]{ color:#FFCD11; -webkit-text-stroke:1.5px #1c1c1c; font-size:32px; }

@media(max-width:480px){

    .brand-logo{ font-size:20px; }
    .brand-logo[data-brand="cat"]{ font-size:26px; }

}

/* ===========================================
   USED EQUIPMENT CTA
=========================================== */

.used-cta{

    background:#111;
    padding:70px 0;

}

.used-cta-grid{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;

}

.used-cta-text span{

    color:#E30613;
    font-weight:700;
    letter-spacing:2px;

}

.used-cta-text h2{

    color:#fff;
    font-size:34px;
    margin:12px 0;

}

.used-cta-text p{

    color:#bbb;
    max-width:600px;
    line-height:1.8;

}

.used-cta-btn{

    white-space:nowrap;

}

/* ===========================================
   WHY CHOOSE US
=========================================== */

.why{

    background:rgba(17,17,17,.88);
    color:#fff;
    padding:120px 0;

}

.why .section-title h2{

    color:#fff;

}

.why-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;

}

.why-card{

    background:#1c1c1c;
    padding:40px 30px;
    border-radius:18px;
    text-align:center;
    transition:.4s;

}

.why-card:hover{

    transform:translateY(-10px);
    background:#E30613;

}

.why-card i{

    font-size:50px;
    margin-bottom:25px;

}

.why-card h3{

    margin-bottom:15px;
    font-size:24px;

}

.why-card p{

    color:#ddd;
    line-height:1.8;

}

/* ===========================================
   COUNTER
=========================================== */

.counter{

    padding:100px 0;
    background:#E30613;
    color:#fff;

}

.counter-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;

}

.counter-box{

    text-align:center;

}

.counter-box h2{

    font-size:56px;
    font-weight:700;

}

.counter-box p{

    margin-top:10px;
    font-size:18px;

}

/* ===========================================
   LATEST NEWS
=========================================== */

.news{

    padding:100px 0;
    background:rgba(248,248,248,.9);

}

.news-list{

    max-width:900px;
    margin:0 auto;

}

.news-item{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:26px 10px;
    border-bottom:1px solid #e2e2e2;
    color:#222;
    font-weight:500;
    font-size:18px;
    transition:.3s;

}

.news-item i{

    color:#E30613;
    transition:.3s;

}

.news-item:hover{

    color:#E30613;
    padding-left:18px;

}

.news-item:hover i{

    transform:translateX(6px);

}

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

.contact{

    padding:120px 0;
    background:rgba(255,255,255,.93);

}

.contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;

}

.contact-info h2{

    font-size:42px;
    margin:15px 0 35px;

}

.contact-item{

    display:flex;
    gap:18px;
    margin-bottom:30px;

}

.contact-item i{

    color:#E30613;
    font-size:28px;
    margin-top:5px;

}

.contact-item p{

    color:#666;
    line-height:1.8;

}

.contact-form{

    background:#fafafa;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    font-family:'Poppins',sans-serif;

}

.contact-form button{

    background:#E30613;
    color:#fff;
    border:none;
    padding:16px 35px;
    border-radius:40px;
    cursor:pointer;
    transition:.3s;

}

.contact-form button:hover{

    background:#b80012;

}
/* ===========================================
   MAP
=========================================== */

.map iframe{
    display:block;
    width:100%;
    border:0;
}

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

footer{

    background:rgba(17,17,17,.92);
    color:#fff;
    padding:80px 0 20px;

}

.footer-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;

}

.footer-grid img.footer-logo{

    height:44px;
    width:auto;
    margin-bottom:20px;

}

.footer-grid h2,
.footer-grid h3{

    margin-bottom:20px;

}

.footer-grid p{

    color:#bbb;
    line-height:1.8;
    margin-bottom:10px;

}

.footer-grid a{

    display:block;
    color:#bbb;
    margin-bottom:12px;
    transition:.3s;

}

.footer-grid a:hover{

    color:#E30613;
    padding-left:8px;

}

.copyright{

    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:50px;
    padding-top:20px;
    color:#999;

}

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

.whatsapp{

    position:fixed;
    bottom:30px;
    right:30px;

    width:60px;
    height:60px;

    background:#25D366;
    color:#fff;

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

    border-radius:50%;
    font-size:28px;

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

    transition:.3s;

    z-index:999;

}

.whatsapp:hover{

    transform:scale(1.1);

}

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

.back-top{

    position:fixed;
    bottom:105px;
    right:30px;

    width:55px;
    height:55px;

    background:#E30613;
    color:#fff;

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

    border-radius:50%;

    font-size:20px;

    transition:.3s;

    z-index:999;

}

.back-top:hover{

    background:#000;
    transform:translateY(-5px);

}

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

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eee;

}

::-webkit-scrollbar-thumb{

    background:#E30613;
    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#b80012;

}

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

.product-card,
.brand-item,
.why-card,
.contact-form,
.about-image img{

    transition:all .4s ease;

}

.about-image img:hover{

    transform:scale(1.03);

}

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

@media(max-width:992px){

    .hero-content{

        width:100%;
        text-align:center;

    }

    .hero-content h1{

        font-size:46px;
        line-height:58px;

    }

    .hero-button{

        justify-content:center;
        flex-wrap:wrap;

    }

    .about-grid,
    .contact-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .navbar .container{

        flex-direction:column;
        gap:20px;

    }

    .menu{

        flex-wrap:wrap;
        justify-content:center;
        gap:18px;

    }

    .hero{

        text-align:center;

    }

    .hero-content h1{

        font-size:38px;
        line-height:50px;

    }

    .section-title h2{

        font-size:34px;

    }

    .about-content h2,
    .contact-info h2{

        font-size:32px;

    }

}

@media(max-width:576px){

    .hero{

        height:auto;
        padding:140px 0 100px;

    }

    .hero-content h1{

        font-size:30px;
        line-height:42px;

    }

    .btn-red,
    .btn-white{

        width:100%;
        text-align:center;

    }

    .product-card img{

        height:200px;

    }

    .counter-box h2{

        font-size:42px;

    }

    .whatsapp,
    .back-top{

        width:50px;
        height:50px;
        font-size:22px;

    }

    .about-image{

        padding:16px;

    }

    .about-slider{

        max-width:100%;

    }

    .slider-slide img{

        height:300px;

    }

    .slider-arrow{

        width:36px;
        height:36px;

    }

}
.hidden{

    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;

}

.show{

    opacity:1;
    transform:translateY(0);

}

.back-top{

    display:none;

}

/* ===========================================
   PRODUCT CATEGORY FILTER
=========================================== */

.product-filter{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin:-10px 0 40px;
}

.filter-btn{
    background:none;
    border:1.5px solid #ddd;
    color:#444;
    font-family:var(--font);
    font-size:14px;
    font-weight:600;
    letter-spacing:.3px;
    padding:10px 26px;
    border-radius:30px;
    cursor:pointer;
    transition:all var(--transition);
}

.filter-btn:hover{
    border-color:var(--red);
    color:var(--red);
}

.filter-btn.active{
    background:var(--red);
    border-color:var(--red);
    color:var(--white);
}

.product-empty{
    display:none;
    text-align:center;
    color:#777;
    font-size:15px;
    margin:-10px 0 40px;
}

/* ===========================================
   BRAND MODEL GALLERY MODAL
=========================================== */

.brand-modal{

    display:none;
    position:fixed;
    inset:0;
    z-index:1000;
    align-items:center;
    justify-content:center;
    padding:30px 20px;

}

.brand-modal.open{

    display:flex;

}

.brand-modal-overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(4px);

}

.brand-modal-box{

    position:relative;
    z-index:1;
    background:#fff;
    border-radius:18px;
    overflow-y:auto;
    max-height:90vh;
    width:100%;
    max-width:900px;
    padding:40px;
    box-shadow:0 25px 60px rgba(0,0,0,.35);
    animation:brandModalIn .3s ease;

}

@keyframes brandModalIn{

    from{ opacity:0; transform:scale(.9); }
    to{ opacity:1; transform:scale(1); }

}

#brandModalTitle{

    font-size:28px;
    margin-bottom:25px;
    padding-right:30px;
    color:#222;

}

.brand-modal-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;

}

.brand-model-card{

    border-radius:14px;
    overflow:hidden;
    background:#fafafa;
    border:1px solid #eee;
    transition:.3s;

}

.brand-model-card:hover{

    transform:translateY(-6px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);

}

.brand-model-card img{

    width:100%;
    height:150px;
    object-fit:cover;

}

.brand-model-card span{

    display:block;
    padding:12px 14px;
    font-weight:600;
    color:#222;
    font-size:15px;

}

.brand-modal-close{

    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    z-index:2;

}

.brand-modal-close:hover{

    background:#E30613;

}

@media(max-width:576px){

    .brand-modal-box{ padding:28px 20px; }
    #brandModalTitle{ font-size:22px; }
    .brand-model-card img{ height:120px; }

}

/* ===========================================
   MODEL DETAIL MODAL (Price & Description)
=========================================== */

.model-detail-modal{

    display:none;
    position:fixed;
    inset:0;
    z-index:1100;
    align-items:center;
    justify-content:center;
    padding:30px 20px;

}

.model-detail-modal.open{

    display:flex;

}

.model-detail-overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.8);
    backdrop-filter:blur(4px);

}

.model-detail-box{

    position:relative;
    z-index:1;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    width:100%;
    max-width:520px;
    max-height:90vh;
    overflow-y:auto;
    box-shadow:0 25px 60px rgba(0,0,0,.4);
    animation:brandModalIn .3s ease;

}

#modelDetailImg{

    width:100%;
    height:280px;
    object-fit:cover;

}

.model-detail-content{

    padding:30px;

}

#modelDetailTitle{

    font-size:26px;
    color:#222;
    margin-bottom:10px;

}

.model-detail-price{

    display:inline-block;
    background:rgba(227,6,19,.1);
    color:#E30613;
    font-weight:700;
    font-size:20px;
    padding:8px 18px;
    border-radius:30px;
    margin-bottom:18px;

}

#modelDetailDesc{

    color:#666;
    line-height:1.8;
    margin-bottom:26px;

}

.model-detail-cta{

    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 30px;

}

.model-detail-close{

    position:absolute;
    top:16px;
    right:16px;
    width:42px;
    height:42px;
    border-radius:50%;
    border:none;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
    z-index:2;

}

.model-detail-close:hover{

    background:#E30613;

}

.brand-model-card{

    cursor:pointer;

}

@media(max-width:576px){

    #modelDetailImg{ height:200px; }
    .model-detail-content{ padding:22px; }
    #modelDetailTitle{ font-size:21px; }

}
