:root {
    --primary: #f26522;
    /* Vibrant Orange from flyer */
    --primary-dark: #d5531d;
    --secondary: #1a2a44;
    /* Navy Blue from flyer */
    --accent: #e31e24;
    /* Red from flyer */
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

span.highlight {
    color: var(--primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(26, 42, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #0c1a30 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(242, 101, 34, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
}

.hero-image img {
    width: 130%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

/* Stats Bar */
.stats-bar {
    background: var(--white);
    padding: 40px 0;
    box-shadow: var(--shadow);
    margin-top: -50px;
    position: relative;
    z-index: 5;
    border-radius: 15px;
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subheading {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(242, 101, 34, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 5px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-visual {
    background: url('hero_cars_skyline.png') center/cover;
    /* Reusing hero visual bg style */
    height: 500px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
}

.glass-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
}

/* Inventory Grid */
.inventory {
    padding: 100px 0;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-10px);
}

.car-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.car-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover img {
    transform: scale(1.05);
}

.car-info {
    padding: 30px;
}

.car-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.car-specs i {
    color: var(--primary);
    margin-right: 5px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.inventory-grid.extra-hidden {
    display: none;
}

.view-more-container {
    text-align: center;
    margin-top: 50px;
}

#view-more-btn i {
    transition: transform 0.3s ease;
}

#view-more-btn.active i {
    transform: rotate(180deg);
}

/* Services */
.services {
    background-color: #f1f5f9;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Brands */
.brands {
    padding: 80px 0;
    background: var(--white);
}

.brand-track {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
    transition: var(--transition);
}

.brand-item:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Contact */
.contact {
    padding: 120px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--secondary);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-info {
    padding: 60px;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary) 0%, #0c1a30 100%);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(242, 101, 34, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.info-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 5px;
}

.info-item p {
    font-weight: 600;
}

.contact-form {
    padding: 60px;
    background: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background: #0c1a30;
    color: var(--white);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.footer-brand span span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--primary);
}

.footer-socials a:hover {
    color: var(--primary);
}

/* Scroll Reveal Effect */
.card:not(.hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        margin: 0 auto 35px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .hero-image img {
        width: 100%;
        margin-top: 20px;
    }

    .stats-bar .container {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 50%;
        height: 1px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 40px 20px;
    }

    /* Mobile Menu Styles */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .car-info h3 {
        font-size: 1.2rem;
    }
}