/* Custom styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff5e00;
    --whatsapp-color: #25D366;
}

body {
    font-family: 'Arial', sans-serif;
}

/* Navbar styles */
/* Navbar styles */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar-scrolled {
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-link {
    color: white !important;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Media queries for responsive design */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .navbar-toggler {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

/* Hero section and Carousel */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
}

.hero-content {
    position: relative;
    padding-top: 25vh;
    max-width: 800px;
    color: white;
    
}

.hero h1 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
    background-color: #128C7E;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #fa760a;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 20vh;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
}

/* Previous styles remain the same */
.cars-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}
.card-body {
    padding: 1rem;
  }

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
  }

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-img-top {
    width: 100%;
    height: 180px; /* Altura ligeramente menor */
    object-fit:contain; /* Mantiene la proporción recortando lo que no encaje */
    object-position: center; /* Centra la imagen */
    image-rendering: auto; /* Permite que el navegador aplique su algoritmo de suavizado */
    -webkit-filter: blur(0.3px); /* Suavizado sutil para evitar pixelado */
    filter: blur(0.3px);
    transform: scale(0.98); /* Escala ligeramente para evitar bordes duros */
    transition: all 0.2s ease-in-out;
  }
  .card .card-img-container {
    overflow: hidden;
    background-color: #e9e9e9; /* Fondo neutro */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
  }
  .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }
  .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }  
  
  .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

/* Search Section Styles */
.search-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.search-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.search-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.input-group {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.input-group-text {
    background: white;
    border: none;
    color: #666;
}

.search-input {
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
}

.search-input:focus {
    box-shadow: none;
    outline: none;
}

.btn-search {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border: none;
    min-width: 120px;
}

.btn-search:hover {
    background-color: #f8750a;
    color: white;
}

.btn-search:disabled,
.search-input:disabled {
    background-color: #f59220;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .search-container {
        margin: 0 1rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
    }
    
    .btn-search {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }
}
.logo-img {
    max-height: 100px; /* Ajusta la altura según necesites */
    width: auto; /* Mantiene la proporción */
}
.cars-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.car-thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.car-details-content {
    padding: 20px;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.detail-section {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.social-media-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.social-media-toggle {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.social-media-toggle i {
    color: white;
    font-size: 24px;
}

.social-media-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.social-button:hover {
    transform: scale(1.1);
}

.whatsapp { background-color: #25d366; }
.facebook { background-color: #3b5998; }
.instagram { background-color: #e4405f; }
.tiktok { background-color: #000000; }

.show-buttons .social-media-buttons {
    display: flex;
}

.show-buttons .social-media-toggle {
    transform: rotate(45deg);
}
.footer-section {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}
.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color) !important;
    text-decoration: none;
}


.social-links a {
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-logo {
        text-align: center;
        display: block;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-section h5 {
        margin-top: 1.5rem;
    }
}
#ubicacion {
    scroll-margin-top: 100px; /* Ajusta según la altura de tu navbar */
}
.historia-section {
    padding: 80px 0;
}

.experience-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.icon-container i {
    font-size: 2rem;
    color: #0d6efd;
}
.client-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.client-card:hover {
    transform: translateY(-10px);
}

.client-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-orange);
}

.client-card .card-body {
    padding: 20px;
}

.client-card .card-title {
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-weight: bold;
}
.news-card {
    height: 100%;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.news-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-date {
    font-size: 0.8rem;
    color: #666;
}

.news-excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.styled-textarea {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: white;
    white-space: pre-wrap; /* Mantiene los saltos de línea */
    line-height: 1.5; /* Espaciado entre líneas */
}