/* Paleta de Colores CFC Autos - Negro y Amarillo */
:root {
    --primary-yellow: #F29E03;
    --dark-black: #1a1a1a;
    --light-black: #2d2d2d;
    --text-gray: #666;
    --white: #ffffff;
    --hover-yellow: #d98b02;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-black);
    overflow-x: hidden;
}

/* Navbar Personalizado */
.navbar-custom {
    background-color: var(--dark-black) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-custom .navbar-brand {
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-custom .navbar-brand span {
    color: var(--primary-yellow);
}

.navbar-custom .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-yellow) !important;
}

.phone-button {
    background-color: var(--primary-yellow);
    color: var(--dark-black) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.phone-button:hover {
    background-color: var(--hover-yellow);
    transform: scale(1.05);
}

.phone-icon {
    width: 35px;
    height: 35px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--dark-black) 0%, var(--light-black) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero-title .luxury {
    color: var(--primary-yellow);
}

.hero-car-image {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    max-width: 900px;
    z-index: 2;
    animation: carSlide 1.5s ease-out;
}

@keyframes carSlide {
    from {
        right: -500px;
        opacity: 0;
    }
    to {
        right: -100px;
        opacity: 1;
    }
}

.hero-car-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

/* Filtros de Búsqueda */
.search-filters {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.filter-label {
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-select {
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-select:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(242, 158, 3, 0.25);
}

.btn-view-all {
    background-color: var(--primary-yellow);
    color: var(--white);
    font-weight: 700;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-view-all:hover {
    background-color: var(--hover-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(242, 158, 3, 0.4);
}

/* Sección de Servicios */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-black);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
}

.service-card {
    background: var(--white);
    border: none;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card h5 {
    color: var(--dark-black);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Cards de Vehículos */
.vehicle-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.vehicle-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.vehicle-card:hover img {
    transform: scale(1.1);
}

.vehicle-card .card-body {
    padding: 20px;
}

.vehicle-card h5 {
    font-weight: 700;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.vehicle-badge {
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-black) !important;
    color: var(--white);
}

footer h5, footer h6 {
    color: var(--primary-yellow);
    font-weight: 700;
    margin-bottom: 15px;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .hero-section {
        height: auto;
        min-height: 600px;
        padding: 60px 0;
    }
    
    .hero-car-image {
        position: relative;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
        transform: none;
        animation: none;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-filters {
        padding: 20px;
        margin-top: 20px;
    }
    
    .phone-button {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-number {
        font-size: 2rem !important;
    }
    
    .service-card .card-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 40px 0;
    }
    
    .hero-car-image {
        margin-top: 20px;
    }
    
    .hero-content h4 {
        font-size: 1.2rem !important;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .btn {
        width: 100%;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .col-6 h2 {
        font-size: 2rem !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
