:root {
    --primary-color: #000;
    --secondary-color: #E31E24;
    --text-color: #000;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;    
    border-radius: 10px;
    max-width: 800px;
    margin: 0 1rem;
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

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

.carousel-indicator.active {
    background: var(--white);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo img {
    max-height: 100%;
    width: auto;
}

.logo a {
    display: inline-block;
    max-height: 100%; 
    width: auto;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    font-size: large;    
    font-weight: 600;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Vehicles Section */
.vehicles-section {
    padding: 5rem 1rem;
    background-color: var(--light-gray);
}

.vehicles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vehicle-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-5px);
}

.vehicle-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-card h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.vehicle-card p {
    padding: 0 1rem 1rem;
}

.fleet-button-container {
    text-align: center;
    margin-top: 3rem;
}

.fleet-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.fleet-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    padding: 5rem 1rem;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Solutions Section */
.solutions-section {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.solutions-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.solution-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.solution-card:hover i {
    transform: scale(1.1);
}

.solution-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    color: #666;
    line-height: 1.5;
}

/* Nosotros Section */
.nosotros-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2em;
}

.nosotros-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.nosotros-section h3 {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.nosotros-section p {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: justify;
    letter-spacing: 1px; 
}

#ventajas-list {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0;
    list-style: none;
}

#ventajas-list li {
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

#ventajas-list li:hover {
    transform: translateX(10px);
}

#ventajas-list li::before {
    content: "\f1b9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.nosotros-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nosotros-section ul li {
    margin: 0.5em 0;
    display: flex;
    align-items: left;
}

.nosotros-section ul li::before {
    content: "\f1b9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #E31E24;
    margin-right: 0.5em;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    border-color: #E31E24;
    margin-bottom: 3%;
    border-top: 1px;
}

/* Condiciones Section */
.condiciones-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.condiciones-section h3 {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.condiciones-section p {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: justify;
    letter-spacing: 1px; 
    font-size: x-large;
    margin-bottom: 12em;
}

.condiciones-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2em;
}

/* Contact Section */
.contact-section {
    padding: 5rem 1rem;
    background-color: var(--light-gray);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #c0392b;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-info a {
   color: #000;
   text-decoration: none;
}

/* Footer */
footer {
    background-color: #000;
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: inline-flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.centro {
    text-align: center;
}

.derecha {
    text-align: right;
}

.linkfooter {
    color: #fff !important;
    text-decoration: none;
}

/* Estilos para el ícono de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    margin-bottom: 40px;
}

.whatsapp-float i {
    margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.current-lang img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang-option:hover {
    background-color: #f5f5f5;
}

.lang-option img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #E31E24;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    min-width: 300px;
}

.close {
    position: absolute;
    color: #fff;
    top: 0px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .language-selector {
        margin: 1rem 0;
    }
    
    .lang-dropdown {
        position: static;
        width: 100%;
    }
}