/* ===== CATALOG SPECIFIC STYLES ===== */

/* Floating WhatsApp Button */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.floating-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Banner Styles */
.banner {
    height: fit-content;
    width: 50%;
    background-image: url(bnr/Catalog/1.jpg);
    background-size: cover;
    background-position: bottom left;
}

.bnrtxt {
    display: none;
    color: #F8F8F8;
    width: 60%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(255, 255, 255, 0));
    align-content: center;
}

.bnrtxt h1 {
    width: 90%;
    margin: 0 5%;
    font-size: 4rem;
    font-family: "mulish";
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Filter Styles */
.filter {
    height: fit-content;
    text-align: center;
}

.filter p {
    padding: 1% 0;
    margin: 0;
    font-size: 1.3rem;
    font-family: "mulish";
    color: var(--gris);
    font-weight: 800;
}

.filter ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: var(--slvr1) 3px solid;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .10), rgba(255, 255, 255, 0));
}

.filter li {
    flex: 0 0 calc( - 20px);
    margin: 0 10px;
    list-style: none;
    display: flex;
    padding: 2%;
}

.filter img {
    width: 100%;
}

.fltr {
    /* Filter specific styles */
}

/* Car Cards */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.v1 {
    margin: 2%;
    width: 380px;
    border-radius: 8px;
    background-color: var(--azul);
    height: fit-content;
    align-content: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.cat {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.v1:hover {
    cursor: pointer;
}

.car {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Proporción 4:3 (3/4 = 0.75) */
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.car img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v1 h3 {
    text-align: center;
    align-self: center;
    height: fit-content;
    margin: 0;
    padding: 2% 0;
    font-family: "Sofia sans semi condensed";
    font-weight: bold;
    color: #F8F8F8;
}

.v1 article li#auto {
    display: none;
}
.
.v1 article li#camioneta {
    display: none;
}

.v1 article li#deportivo {
    display: none;
}

.char {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    height: fit-content;
    background-color: #F8F8F8;
}

.char a {
    text-decoration: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    align-content: center;
}



.v1 article img {
    height: 40px;
    width: ;
    padding: 5% 0;
    margin: 0%;
    object-fit: contain;
}

.v1 article img#motor {
    height: 40px;
    
    padding: 2% 0;
    margin: 0%;
    object-fit: contain;
}

.v1 article {
    width: calc(50% - 10%);
    padding: 2% 0;
    font-family: "Sofia sans semi condensed";
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    height: fit-content;
}

.v1 li {
    color: var(--azul);
    padding: 1% 0;
    font-size: 1rem;
    margin: 0;
}

.v1 li#motor {
    color: var(--azul);
    padding: 3% 0;
    font-size: 1rem;
    margin: 0;
    height: 20%;
    width: 90%;
    text-align: center;
}

.vb1 {
    margin: 0;
    margin-top: 5%;
    width: 100%;
    height: 4rem;
    border-color: transparent;
    color: var(--snow);
    background-color: rgb(37, 128, 96);
    font-family: "bentonsans book";
    font-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.vb1:hover {
    background-color: var(--eblue);
}

/* Car Detail Modal */
.car-detail-info {
    padding: 30px;
}

.car-detail-info h2 {
    color: var(--azul);
    font-family: "Libre Caslon Text";
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.technical-sheet {
    margin-bottom: 30px;
}

.technical-sheet h3 {
    color: var(--azul);
    font-family: "Libre Caslon Text";
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--rojo);
    padding-bottom: 10px;
}

.tech-section {
    margin-bottom: 25px;
    background-color: rgba(6, 0, 58, 0.05);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--rojo);
}

.tech-section h4 {
    color: var(--rojo);
    font-family: "Libre Caslon Text";
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: var(--snow);
    border-radius: 8px;
    border: 1px solid rgba(162, 38, 26, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background-color: rgba(162, 38, 26, 0.05);
    border-color: var(--rojo);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tech-item label {
    font-weight: 600;
    color: var(--azul);
    font-size: 0.95rem;
    margin: 0;
}

.tech-item span {
    color: var(--gris);
    font-weight: 500;
    text-align: right;
    font-size: 0.95rem;
}

/* Estilos específicos para secciones de equipamiento */
.feature-item {
    background-color: rgba(6, 0, 58, 0.03);
    border: 1px solid rgba(6, 0, 58, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background-color: rgba(6, 0, 58, 0.08);
    border-color: var(--azul);
}

.feature-item span {
    color: var(--azul);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Estilos para características especiales */
#carDetailSpecialFeaturesSection .tech-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

#carDetailSpecialFeaturesSection .feature-item {
    background-color: rgba(162, 38, 26, 0.05);
    border: 1px solid rgba(162, 38, 26, 0.2);
}

#carDetailSpecialFeaturesSection .feature-item:hover {
    background-color: rgba(162, 38, 26, 0.1);
    border-color: var(--rojo);
}

#carDetailSpecialFeaturesSection .feature-item span {
    color: var(--rojo);
    font-weight: 600;
}

.car-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--rojo);
    border-radius: 10px;
    color: var(--snow);
}

.car-price img {
    width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.car-price span {
    font-size: 1.5rem;
    font-weight: bold;
}

.car-payment {
    text-align: center;
    margin-bottom: 25px;
    color: var(--gris);
}

.car-payment span {
    font-weight: bold;
    color: var(--rojo);
}

.car-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-btn, .whatsapp-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.contact-btn {
    background-color: var(--azul);
    color: var(--snow);
}

.contact-btn:hover {
    background-color: var(--eblue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos específicos para el modal del catálogo */
#carDetailModal {
    position: fixed !important;
    z-index: 1050 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    overflow-y: auto !important;
    display: none !important;
}

#carDetailModal.show,
#carDetailModal[style*="display: block"] {
    display: block !important;
}

#carDetailModal .modal-content {
    background-color: var(--snow) !important;
    margin: 2% auto !important;
    padding: 0 !important;
    border-radius: 10px !important;
    width: 90% !important;
    max-width: 900px !important;
    position: relative !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
}

#carDetailModal .close {
    position: absolute !important;
    top: 15px !important;
    right: 25px !important;
    color: var(--snow) !important;
    font-size: 35px !important;
    font-weight: bold !important;
    z-index: 1051 !important;
    cursor: pointer !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    background: none !important;
    border: none !important;
}

#carDetailModal .close:hover {
    color: var(--rojo) !important;
}

/* Carrusel de imágenes */
#carDetailModal .car-carousel {
    position: relative;
    width: 100%;
    background-color: var(--drk);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    height: 400px;
}

#carDetailModal .carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carDetailModal .carousel-images {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carDetailModal .carousel-images img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

#carDetailModal .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--snow);
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#carDetailModal .carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

#carDetailModal .carousel-btn.prev {
    left: 20px;
}

#carDetailModal .carousel-btn.next {
    right: 20px;
}

#carDetailModal .carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    gap: 10px;
}

#carDetailModal .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#carDetailModal .indicator.active {
    background-color: var(--rojo);
}