﻿/*==================================================
PLATINUM AUTO HUB
STYLE.CSS
Version : 2.0
==================================================*/

/*==============================
GOOGLE FONT
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==============================
RESET
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#ffffff;

    color:#222;

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/*==============================
COLORS
==============================*/

:root{

    --primary:#d4af37;

    --secondary:#111111;

    --white:#ffffff;

    --light:#f8f8f8;

    --gray:#666666;

    --border:#ececec;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:12px;

}

/*==============================
BUTTONS
==============================*/

.btn{

    display:inline-block;

    background:var(--primary);

    color:#111;

    padding:14px 32px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(0,0,0,.15);

}

.btn-outline{

    display:inline-block;

    border:2px solid #fff;

    color:#fff;

    padding:14px 30px;

    border-radius:50px;

    margin-left:15px;

    transition:.3s;

}

.btn-outline:hover{

    background:#fff;

    color:#111;

}

/*==============================
SECTION
==============================*/

section{

    padding:90px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-subtitle{

    color:var(--primary);

    font-weight:700;

    letter-spacing:2px;

    font-size:14px;

}

.section-title h2{

    font-size:40px;

    margin:15px 0;

    color:var(--secondary);

}

.section-title p{

    color:var(--gray);

    max-width:700px;

    margin:auto;

}

/*==============================
HEADER
==============================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#fff;

    z-index:999;

    box-shadow:0 3px 20px rgba(0,0,0,.05);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo img{

    height:60px;

}

.navbar ul{

    display:flex;

    gap:30px;

}

.navbar a{

    color:#222;

    font-weight:500;

    transition:.3s;

}

.navbar a:hover{

    color:var(--primary);

}

.menu-btn{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/*==============================
HERO
==============================*/

.hero{

    height:100vh;

    background:url("../images/hero/hero.jpg") center/cover;

    position:relative;

    display:flex;

    align-items:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.60);

}

.hero-content{

    position:relative;

    z-index:2;

    color:#fff;

    max-width:700px;

}

.hero-content span{

    color:var(--primary);

    font-weight:700;

    letter-spacing:2px;

}

.hero-content h1{

    font-size:60px;

    margin:20px 0;

    line-height:1.2;

}

.hero-content p{

    font-size:18px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

}
/*==================================================
ABOUT SECTION
==================================================*/

.about{

    background:var(--light);

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    width:100%;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.about-content h2{

    font-size:42px;

    color:var(--secondary);

    margin:15px 0 25px;

}

.about-content p{

    color:var(--gray);

    margin-bottom:20px;

}

.about-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin:35px 0;

}

.feature-box{

    background:#fff;

    padding:20px;

    border-radius:12px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.feature-box:hover{

    transform:translateY(-8px);

}

.feature-box h3{

    font-size:18px;

    color:var(--secondary);

    margin-bottom:10px;

}

.feature-box p{

    font-size:15px;

    color:var(--gray);

    margin:0;

}

/*==================================================
SERVICES
==================================================*/

.services{

    background:#fff;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.service-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.service-card h3{

    padding:25px 25px 10px;

    font-size:24px;

    color:var(--secondary);

}

.service-card p{

    padding:0 25px 30px;

    color:var(--gray);

}

/*==================================================
INSURANCE
==================================================*/

.insurance{

    background:var(--light);

}

.insurance-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.insurance-image img{

    border-radius:16px;

    box-shadow:var(--shadow);

}

.insurance-content h2{

    font-size:40px;

    margin:15px 0 25px;

    color:var(--secondary);

}

.insurance-content p{

    color:var(--gray);

    margin-bottom:25px;

}

.insurance-list{

    margin-bottom:35px;

}

.insurance-list li{

    margin-bottom:14px;

    color:var(--secondary);

    font-weight:500;

}

/*==================================================
WHY CHOOSE US
==================================================*/

.why-us{

    background:#fff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.why-card{

    background:#fff;

    text-align:center;

    padding:40px 30px;

    border-radius:16px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.why-card:hover{

    transform:translateY(-10px);

}

.why-card .icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

}

.why-card h3{

    margin-bottom:15px;

    color:var(--secondary);

}

.why-card p{

    color:var(--gray);

}
/*==================================================
GALLERY
==================================================*/

.gallery-home{

    background:var(--light);

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:20px;

}

.gallery-grid img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:16px;

    box-shadow:var(--shadow);

    transition:.35s;

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:scale(1.05);

}

.center-btn{

    text-align:center;

    margin-top:50px;

}

/*==================================================
BRANDS
==================================================*/

.brands{

    background:#fff;

}

.brand-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.brand-item{

    background:var(--light);

    padding:25px;

    text-align:center;

    border-radius:14px;

    font-weight:600;

    color:var(--secondary);

    box-shadow:var(--shadow);

    transition:.3s;

}

.brand-item:hover{

    background:var(--primary);

    color:#111;

    transform:translateY(-8px);

}

/*==================================================
REVIEWS
==================================================*/

.reviews{

    background:var(--light);

}

.review-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.review-card{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.review-card:hover{

    transform:translateY(-8px);

}

.stars{

    color:#f4b400;

    font-size:22px;

    margin-bottom:18px;

}

.review-card p{

    color:var(--gray);

    margin-bottom:20px;

    line-height:1.8;

}

.review-card h4{

    color:var(--secondary);

    font-size:18px;

}

/*==================================================
COUNTER
==================================================*/

.counter{

    background:linear-gradient(135deg,#111,#222);

    color:#fff;

}

.counter-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    text-align:center;

}

.counter-box{

    padding:40px 20px;

}

.counter-box h2{

    font-size:52px;

    color:var(--primary);

    margin-bottom:10px;

}

.counter-box p{

    font-size:18px;

    color:#ddd;

}
/*==================================================
BOOKING
==================================================*/

.booking{
    background:var(--light);
}

.booking-form{
    max-width:900px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.booking-form input,
.booking-form textarea{

    width:100%;
    padding:16px 18px;
    border:1px solid var(--border);
    border-radius:12px;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    outline:none;
    transition:.3s;

}

.booking-form input:focus,
.booking-form textarea:focus{

    border-color:var(--primary);

}

.booking-form textarea{

    grid-column:1/-1;
    min-height:180px;
    resize:vertical;

}

.booking-form button{

    grid-column:1/-1;
    justify-self:start;

}

/*==================================================
CONTACT
==================================================*/

.contact-home{

    background:#fff;

}

.contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;

}

.contact-home h2{

    margin:15px 0 20px;
    color:var(--secondary);

}

.contact-home p{

    margin-bottom:15px;
    color:var(--gray);

}

.contact-grid iframe{

    border-radius:16px;
    box-shadow:var(--shadow);

}

/*==================================================
CTA
==================================================*/

.cta{

    background:linear-gradient(135deg,#111,#222);
    color:#fff;
    text-align:center;

}

.cta h2{

    font-size:42px;
    margin-bottom:20px;

}

.cta p{

    max-width:700px;
    margin:0 auto 35px;

}

/*==================================================
FOOTER
==================================================*/

.footer{

    background:#0b0b0b;
    color:#ccc;
    padding:70px 0 30px;
    text-align:center;

}

.footer-logo img{

    height:70px;
    margin:0 auto 20px;

}

.footer-links{

    margin:30px 0;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;

}

.footer-links a{

    color:#fff;
    transition:.3s;

}

.footer-links a:hover{

    color:var(--primary);

}

.copyright{

    border-top:1px solid rgba(255,255,255,.08);
    margin-top:30px;
    padding-top:25px;
    font-size:14px;

}

/*==================================================
WHATSAPP FLOAT
==================================================*/

.whatsapp-float{

    position:fixed;
    right:25px;
    bottom:95px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;

}

.whatsapp-float:hover{

    transform:scale(1.1);

}

/*==================================================
BACK TO TOP
==================================================*/

.back-to-top{

    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#111;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:999;
    transition:.3s;

}

.back-to-top:hover{

    transform:translateY(-5px);

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px){

    .about-grid,
    .insurance-grid,
    .contact-grid{

        grid-template-columns:1fr;

    }

    .hero-content h1{

        font-size:46px;

    }

    .booking-form{

        grid-template-columns:1fr;

    }

    .booking-form textarea,
    .booking-form button{

        grid-column:auto;

    }

}

@media(max-width:768px){

    section{

        padding:70px 0;

    }

    .navbar{

        display:none;

    }

    .menu-btn{

        display:block;

    }

    .hero{

        text-align:center;
        padding:0 20px;

    }

    .hero-content h1{

        font-size:36px;

    }

    .hero-buttons{

        justify-content:center;
        gap:15px;

    }

    .btn-outline{

        margin-left:0;

    }

    .section-title h2{

        font-size:30px;

    }

    .about-content h2,
    .insurance-content h2,
    .cta h2{

        font-size:30px;

    }

}

@media(max-width:480px){

    .container{

        width:92%;

    }

    .hero-content h1{

        font-size:30px;

    }

    .service-grid,
    .review-grid,
    .gallery-grid{

        grid-template-columns:1fr;

    }

    .about-features{

        grid-template-columns:1fr;

    }

    .brand-grid{

        grid-template-columns:repeat(2,1fr);

    }

}
/* Fade Animation */

.hidden{

opacity:0;

transform:translateY(50px);

transition:all .8s ease;

}

.show{

opacity:1;

transform:translateY(0);

}

/* Sticky Header */

.header.sticky{

background:#ffffff;

box-shadow:0 10px 30px rgba(0,0,0,.12);

}
/*==========================================
AI CHATBOT
==========================================*/

#chatbot-icon{

position:fixed;

bottom:30px;

left:30px;

width:60px;

height:60px;

background:#d4af37;

color:#111;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

font-size:28px;

cursor:pointer;

z-index:9999;

box-shadow:0 10px 30px rgba(0,0,0,.2);

}

#chatbot-box{

display:none;

position:fixed;

bottom:100px;

left:30px;

width:300px;

background:#fff;

border-radius:15px;

overflow:hidden;

box-shadow:0 20px 40px rgba(0,0,0,.2);

z-index:9999;

}

#chat-header{

background:#111;

color:#fff;

padding:15px;

font-weight:600;

}

#chat-body{

padding:20px;

}

#chat-body p{

margin-bottom:15px;

}

#chat-body button{

width:100%;

padding:12px;

margin-bottom:10px;

border:none;

background:#d4af37;

cursor:pointer;

border-radius:8px;

font-weight:600;

}
``