:root {
    --primary-color: #D90429;
    /* Deep Red */
    --primary-hover: #EF233C;
    /* Lighter Red */
    --secondary-color: #2B2D42;
    /* Dark Blue/Grey */
    --accent-color: #FFD60A;
    /* Yellow */
    --text-color: #333333;
    --text-light: #8D99AE;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1A1A;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    gap: 8px;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #3d405b;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn-accent:hover {
    background-color: #ffc300;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--white);
    z-index: 1001;
    padding: 20px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.mobile-nav-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bmw-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    margin-left: 0;
    /* Align left */
    padding-left: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Section */
.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-list {
    margin: 30px 0;
}

.sobre-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.sobre-list i {
    color: var(--primary-color);
}

.sobre-image img {
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Veículos Section */
.veiculos {
    background-color: var(--bg-light);
}

.veiculos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.car-info {
    padding: 20px;
}

.car-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.car-details {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Vender Section */
.vender {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.text-white {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: #d1d5db;
}

/* Locação Section */
.locacao-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.locacao-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition);
}

.locacao-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.locacao-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.locacao-card h3 {
    margin-bottom: 10px;
}

/* Depoimentos */
.depoimentos {
    background-color: var(--bg-light);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.depoimento-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--primary-color);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(rgba(217, 4, 41, 0.9), rgba(217, 4, 41, 0.9)), url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 214, 10, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 214, 10, 0);
    }
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 15px;
    display: block;
}

.footer-info p {
    max-width: 300px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {

    .header-btn,
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .sobre-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-left: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .features-grid {
        flex-direction: column;
    }
}