/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===== Top Banner ===== */
.top-banner {
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.banner-left,
.banner-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-banner a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.top-banner a:hover {
  color: #ffcc00;
}

/* Responsive */
@media(max-width: 768px) {
  .top-banner {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}


/* ===== Header ===== */
.header {
    background: #fff;
    color: #333;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ===== Logo ===== */
.logo img {
    height: 80px;
    /* adjust logo height */
    width: auto;
    /* keep aspect ratio */
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #ffcc00;
}

/* ===== Hamburger Menu ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: 0.3s;
}

/* ===== Responsive Menu ===== */
@media(max-width: 768px) {
    .nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        border-top: 1px solid #f0f0f0;
    }

    .nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        padding: 15px 0;
        gap: 15px;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }
}



/* ===== Hero Section ===== */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('images/hero-car.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1.5s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #eaeaea;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #ffcc00;
    color: #1a1a1a;
    margin-right: 10px;
}

.primary-btn:hover {
    background: #e6b800;
}

.secondary-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.secondary-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

/* ===== Animation ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Hero ===== */
@media(max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}


/* ===== Who We Are Section ===== */
.who-we-are {
    padding: 60px 20px;
    background: #fff;
}

.who-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.who-image {
    flex: 1;
    min-width: 300px;
}

.who-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.who-text {
    flex: 1;
    min-width: 300px;
}

.who-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.who-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.who-text .highlight {
    font-weight: bold;
    color: #ffcc00;
    font-size: 1.1rem;
}

/* Responsive */
@media(max-width: 900px) {
    .who-container {
        flex-direction: column;
        text-align: center;
    }

    .who-text h2 {
        font-size: 1.8rem;
    }
}



/* ===== Featured Cars Section ===== */
.featured-cars {
    padding: 60px 20px;
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1rem;
    color: #666;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.car-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.15);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 20px;
    text-align: center;
}

.car-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.car-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
}

.car-info .price {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
}

.car-btn {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.car-btn:hover {
    background: #ffcc00;
    color: #1a1a1a;
}


/* ===== Inventory Button ===== */
.inventory-btn-container {
    text-align: center;
    margin: 30px 0 60px;
}

.inventory-btn {
    background: #ffcc00;
    color: #1a1a1a;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.inventory-btn:hover {
    background: #e6b800;
}

/* ===== Stats Section ===== */
.stats {
    padding: 60px 20px;
    background: #ffcc00;
    color: #1a1a1a;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    flex: 1 1 200px;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat p {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Partners Section Carousel ===== */
.partners {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.partners h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Slider Container */
.partner-slider {
    overflow: hidden;
    width: 100%;
}

.partner-track {
    display: flex;
    gap: 60px;
    animation: scrollPartners 20s linear infinite;
    align-items: center;
}

.partner-track img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-track img:hover {
    transform: scale(1.1);
}

/* Continuous scroll animation */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* because we duplicated logos */
}

/* Responsive */
@media(max-width: 768px) {
    .partner-track {
        gap: 30px;
    }

    .partner-track img {
        height: 45px;
    }
}

/* ===== WhatsApp CTA ===== */
.whatsapp-cta {
    background: url('images/whatsapp-bg.jpg') center/cover no-repeat;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 12px;
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    margin-top: 15px;
}

.whatsapp-btn:hover {
    background: #1da851;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 10px;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Responsive */
@media(max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}


/* ===== Filters ===== */
.filters {
    background: #f9f9f9;
    padding: 40px 20px;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    animation: fadeSlideDown 1s ease;
}

.filter {
    display: flex;
    flex-direction: column;
}

.filter label {
    margin-bottom: 5px;
    font-weight: 600;
}

.filter select,
.filter input[type="range"] {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Price value display */
#price-value {
    margin-top: 5px;
    font-weight: bold;
}

/* Car Listings Grid */
.car-listings {
    padding: 60px 20px;
    background: #fff;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animate car cards on scroll */
.car-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 20px;
    text-align: center;
}

.car-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.car-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
}

.car-info .price {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
}

.car-btn {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.car-btn:hover {
    background: #ffcc00;
    color: #1a1a1a;
}

/* Hero Section adjustment for pages */
.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Fade Slide Down Animation */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width: 768px) {
    .filters-container {
        flex-direction: column;
        gap: 15px;
    }

    .car-card img {
        height: 180px;
    }
}



