*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #eeeeee;
}

h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #00467f;
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    font-weight: 400;
    color: #666;
    margin-top: 20px;
}

p {
    margin: 15px 0;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding-left: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 70px;
    z-index: 1000;
}
  
.navbar {
    display: flex;
    justify-content: flex-start;
    margin-left: 5%;
    width: 100%;
}
  
.navbar__list {
    display: flex;
    list-style: none;
    gap: 50px;
}
  
.toggle__menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
  
.nav__item a {
    text-decoration: none;
    color: #3a3378;
    padding: 25px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}
  
.nav__text {
    width: 25%;
    margin-left: 10px;
    font-size: 20px;
    color: #6169c3;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}
  
.imagen-principal {
    width: 100vw;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.imagen-principal img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.hr-about{
    margin-bottom: 2.5%;
    height: 2px;
    border: none;
    background-color: black;
}

#about {
    padding: 40px;
    background-color: #f9f9f9;
}

#about h1{
    margin-top: 2.5%;
}
  
#about h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
}

#about p {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    text-align: center;
}
  
.about-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
  
.about-column {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.titulo-flota {
    text-align: center;
    margin-bottom: 30px;
}

.contenedor-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 10%;
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 20px;
    transition: background-color 0.3s ease;
}

.card:hover {
    background-color: #f0f0f0;
}

.imagen-card img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.info-card {
    flex: 1;
}

.info-card h3 {
    margin-bottom: 10px;
}

.info-card p {
    text-align: justify;
    margin: auto;
}

.card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.hr-footer{
    margin-top: 1.5%;
    height: 3px;
    border: none;
    background-color: black;
}

#contact {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10%;
    margin: 0 1%;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.footer-logo{
    display: flex;
    background-color: rgba(255, 255, 255, 0.7); /* Blanco con 50% de transparencia */
    align-items: center;
    color: #6169c3;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.footer-logo span{
    padding-right: 5px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-info {
    text-align: left;
}

.footer-info h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-info p {
    margin: 5px 0;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.body-under-construccion{
    background-color: white;
}

.under-construction {
    display: flex;
    padding: 10%;
    align-items: center;
    text-align: center;
}

.text-container-under-construction {
    background-color: #FFF176;
    border: 5px solid black;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-left: 10%;
    margin-right: 10%;
}

.text-container-under-construction h1 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.text-container-under-construction hr {
    border: none;
    border-top: 3px solid black;
    width: 75%;
    margin:auto;
    margin-bottom: 50px;
}

.text-container-under-construction::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        black 10px,
        black 20px
    );
    opacity: 0.2;
    border-radius: 10px;
    z-index: -1;
}

@media (max-width: 850px) {

    .header {
        display: flex;
        justify-content: space-between; /* Distribuye los elementos para mantener el botón a la derecha */
        align-items: center;
        padding: 0 10px;
    }
    
    .nav__logo {
        order: -1; /* Mueve el logo al principio del contenedor flex */
    }
    
    .toggle__menu {
        display: block;
        padding-right: 50px;
        padding-left: 50px;
        order: 1; /* Asegura que el botón esté al final del contenedor flex */
    }
    
    .navbar__list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 20px;
        box-sizing: border-box;
    }
    
    .navbar__list.active {
        display: flex;
        align-items: flex-start;
        width: 30%;
    }
    
    .navbar__list .nav__item {
        margin: 10px 0;
    }
    
    .navbar__list .nav__item a {
        text-align: center;
        padding: 10px 20px;
        border-radius: 5px;
    }
    
    .nav__text {
        display: none;
    }
    
    .nav__logo {
        width: 60px;
    }    

    #about {
        padding: 40px 5%;
    }

    #about h2 {
        font-size: 28px;
    }

    .about-section p,
    .about-section ul li {
        font-size: 16px;
    }

    .about-content{
        flex-direction: column;
    }

    .contenedor-textos {
        flex-direction: column;
        gap: 15px;
    }

    .contenedor-cards {
        margin: 0 5%;
        align-items: center;
    }
    
    .card {
        flex-direction: column;
        align-items: center;
        width: 70%;
    }
    
    .imagen-card {
        margin-bottom: 10px;
    }

    .footer-contenido {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-info {
        text-align: center;
        margin-top: 20px;
    }
}