/* assets/css/styles.css */



/* Estilos generales */

.hero-banner {

    background-size: cover;

    background-position: center;

    padding: 4rem 1rem;

}



.hero-banner h1 {

    font-family: 'Poppins', sans-serif;

    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);

    letter-spacing: 0.5px;

}



.hero-banner .btn {

    padding: 0.75rem 1.5rem;

    border-radius: 50px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

}



.hero-banner .btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0,0,0,0.3);

}



.form-select, .form-control {

    border-radius: 8px;

    padding: 0.75rem;

    font-size: 0.9rem;

}



.form-control:focus {

    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);

    border-color: #ffc107;

}



.colortext {

    color: #212529 !important;

}



.hero-banner p {

    font-size: 1.25rem;

    margin-bottom: 1.5rem;

}



.dropdown-menu .dropdown-item {

    color: #1A1A1A !important;

    font-weight: normal !important;

}



.dropdown-menu .dropdown-item:hover,

.dropdown-menu .dropdown-item:focus {

    background-color: #FFD700 !important;

    color: #1A1A1A !important;

}



.dropdown-toggle {

    color: #1A1A1A !important;

    font-weight: normal !important;

    text-align: left !important;

}





.vehicle-text {

    white-space: normal;

    line-height: 1.25;

    font-size: 0.95rem;

    flex: 1;

}



.vehicle-select-btn {

    border-radius: 999px;           /* píldora perfecta */

    padding: 14px 18px;

    text-align: left;



    display: flex;

    align-items: center;



    white-space: normal;            /* permite wrap */

}



.vehicle-select-btn span {

    display: -webkit-box;

    -webkit-line-clamp: 2;          /* MÁXIMO 2 líneas */

    -webkit-box-orient: vertical;

    overflow: hidden;



    line-height: 1.25;

}





.dropdown-toggle::after {

    margin-left: 0.5rem;

}



/* Estilos para el formulario más compacto */

.form-control {

    padding: 8px 12px !important;

    font-size: 0.9rem !important;

    border-radius: 8px !important;

}



.form-step {

    display: none;

}



.form-step.active {

    display: block;

}



.vehicle-select-btn {

    min-height: 56px;

    border-radius: 14px;

    padding: 12px;

    background: #fff;

}



.vehicle-text {

    white-space: normal;

    line-height: 1.2;

}



.btn-warning {

    background: #FFD700 !important;

    color: #1A1A1A !important;

    border: none !important;

    font-weight: bold !important;

    transition: all 0.3s ease !important;

}



.btn-warning:hover {

    background: #FFCC00 !important;

    color: #1A1A1A !important;

}



/* Estilos para las tarjetas de marcas y tipos */

.brand-card, .type-card {

    background-color: #fff;

    border: 1px solid #dee2e6;

    border-radius: 8px;

    padding: 1rem;

    text-align: center;

    transition: transform 0.2s, box-shadow 0.2s;

    cursor: pointer;

}



.brand-card img {

    filter: grayscale(10%) brightness(90%);

}



.brand-card:hover img {

    filter: grayscale(0%) brightness(100%);

}



.brand-card:hover, .type-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}



.brand-card i, .type-card i {

    font-size: 2rem;

    margin-bottom: 0.5rem;

}



/* Estilos para los SVG de tipos de vehículos */

.type-card img {

    filter: invert(40%) sepia(100%) saturate(700%) hue-rotate(180deg) brightness(90%) contrast(90%);

}



.type-card:hover img {

    filter: invert(20%) sepia(100%) saturate(700%) hue-rotate(180deg) brightness(100%) contrast(100%);

}

/* Estilos para las tarjetas de vehículos */

.card {

    transition: transform 0.2s ease, box-shadow 0.2s ease;

    border-radius: 1rem !important;

}



.card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;

}



.card-img-top {

    border-top-left-radius: 1rem !important;

    border-top-right-radius: 1rem !important;

}



.card-body {

    padding: 1rem !important;

}



/* Botones */

.btn-outline-primary {

    border-color: #0d6efd;

    color: #0d6efd;

    font-size: 0.85rem;

    padding: 0.4rem 0.6rem;

    border-radius: 0.5rem;

}



.btn-outline-primary:hover {

    background-color: #0d6efd;

    color: white;

}



.btn-success {

    background-color: #28a745;

    border-color: #28a745;

    font-size: 0.85rem;

    padding: 0.4rem 0.6rem;

    border-radius: 0.5rem;

}



.btn-success:hover {

    background-color: #218838;

    border-color: #218838;

}



/* Iconos de características */

.card-body .text-secondary {

    font-size: 0.9rem;

}



/* Alineación de iconos y texto */

.d-flex.align-items-center i {

    font-size: 0.85rem;

}



/* Estilos para la sección de estadísticas */



.stat-card {

    background: #fff;

    border-radius: 20px; /* Bordes muy redondeados */

    padding: 1.5rem;

    text-align: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    transition: all 0.4s ease;

    position: relative;

    opacity: 0;

    transform: translateY(30px);

    cursor: default;

    border: 2px solid transparent;

}



.stat-card.animate-in {

    opacity: 1;

    transform: translateY(0);

}



.stat-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2); /* Sombra amarilla suave */

    border-color: #ffc107; /* Borde amarillo al hover */

    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);

}



/* Icono circular con fondo amarillo claro */

.icon-wrapper {

    background: #fff;

    width: 70px;

    height: 70px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 1rem;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);

    transition: all 0.3s ease;

    border: 2px solid #ffc107; /* Borde amarillo */

}



.stat-card:hover .icon-wrapper {

    transform: scale(1.1);

    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.15);

    background: #fff;

}



.icon-wrapper i {

    font-size: 1.8rem;

    color: #ffc107; /* Icono amarillo */

    transition: color 0.3s ease;

}



.stat-card:hover .icon-wrapper i {

    color: #ff6b00; /* Naranja vibrante al hover */

}



/* Número estadístico grande */

.stat-number {

    font-size: 2.5rem;

    font-weight: 800;

    color: #ffc107; /* Amarillo principal */

    position: relative;

    display: inline-block;

    line-height: 1.2;

}



.stat-number.plus::after {

    content: '+';

    position: absolute;

    right: -12px;

    top: -8px;

    font-size: 1.2rem;

    color: #ffc107;

}



.stat-label {

    font-size: 0.9rem;

    color: #6c757d;

    letter-spacing: 0.5px;

    margin-top: 0.5rem;

    font-weight: 500;

}



/* Efecto de esquina amarilla (opcional pero llamativo) */





.stat-card::after {

    content: '';

    position: absolute;

    bottom: 0;

    right: 0;

    width: 3px;

    height: 40px;

    background: #ffc107;

    z-index: 1;

}



.stat-card {

    overflow: hidden; /* Para que el triángulo no se salga del borde redondeado de la tarjeta */

}



/* Para móviles */

@media (max-width: 768px) {

    .stat-card {

        padding: 1.2rem;

        border-radius: 16px;

    }

    .stat-number {

        font-size: 2rem;

    }

    .icon-wrapper {

        width: 60px;

        height: 60px;

    }

}



/* ===== SECCIÓN ABOUT US ===== */



.about-section {

    background: #fff;

}



.image-wrapper {

    position: relative;

    height: 400px;

    overflow: hidden;

    transition: transform 0.3s ease;

}



.image-wrapper:hover {

    transform: scale(1.02);

}



.image-wrapper img {

    transition: transform 0.4s ease;

}



.image-wrapper:hover img {

    transform: scale(1.05);

}



/* Botón blanco con sombra */

.btn-white {

    background: #fff;

    border: none;

    color: #212529;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



.btn-white:hover {

    background: #f8f9fa;

    box-shadow: 0 6px 15px rgba(0,0,0,0.15);

}



/* Badge de año vertical */

.year-badge {

    background: #ffc107;

    color: #212529;

    font-weight: bold;

    text-align: center;

    z-index: 10;

    min-width: 60px;

}



.year-badge span:first-child {

    font-size: 0.8rem;

    letter-spacing: 1px;

}



/* Checkmarks en lista */

.list-unstyled li i {

    color: #ffc107;

}



.list-unstyled li:hover i {

    color: #ff6b00;

    transform: scale(1.1);

}



/* Botón "Read More" */

.btn-outline-primary {

    border-color: #0d6efd;

    color: #0d6efd;

    font-weight: 600;

    padding: 0.6rem 1.5rem;

    transition: all 0.3s ease;

}



.btn-outline-primary:hover {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 992px) {
    .year-badge {
        position: static;
        margin-top: -11rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .image-wrapper {
        height: 300px;
    }
}



/* Estilos para el footer */

footer {

    background-color: #212529;

    color: white;

    padding-top: 2rem;

    padding-bottom: 1rem;

}



footer a {

    color: white;

    text-decoration: none;

}



footer a:hover {

    color: #ffc107;

}



/* Estilos para botones de WhatsApp */

.whatsapp-btn {

    background-color: #25D366;

    color: white;

    border: none;

    padding: 0.5rem 1rem;

    border-radius: 5px;

    font-weight: bold;

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

}



.whatsapp-btn:hover {

    background-color: #128C7E;

}