body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    height: 100%;
}

body {
    background-image: url(avionesvolando.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

header .logo img {
    height: 150px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
    width: 100%;
    position: relative;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 4em;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-button {
    background-color: yellow;
    border: none;
    color: black;
    padding: 15px 32px;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
}

.hero-right {
    flex: 1;
    text-align: center;
}

.hero-right img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border: 5px solid #B0B0B0;
    border-radius: 10px;
}

.card {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
}

.contact-info {
    text-align: center;
    margin: 30px 0;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 10px;
    color: #25D366;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.images {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.images img {
    width: 45%;
    border-radius: 10px;
}

.additional-content {
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    color: black;
}

.additional-content h2 {
    color: black;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

/* Se ajustó la altura a height fija para uniformar las proporciones */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #555;
}

.nuestras-unidades {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    color: black;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: black;
}

.unidad-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.unidad-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.unidad-card:hover {
    transform: scale(1.05);
}

.unidad-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.unidad-card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: black;
}

.unidad-card p {
    font-size: 1rem;
    color: #555;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 50px;
}

.contact-info {
    flex: 1;
    text-align: center;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    text-align: center;
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 80%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    width: 80%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Nueva sección para nuestros destinos */
.destinations {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

#nuestros-destinos {
    grid-column: span 4;
    text-align: center;
}

.destinations h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.destination-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: scale(1.05);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.destination-card h3 {
    margin: 10px 0 0;
    color: black;
    text-align: center;
    font-size: 1.2em;
}

/* Sección Quiénes Somos */
.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.text-content {
    flex: 1;
    margin-right: 20px;
}

.text-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #000;
}

.text-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Pie de página */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    bottom: 40px;
    right: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
}

.fa-whatsapp {
    font-size: 60px;
}

.float:hover {
    background-color: #28e76e;
}

@media (max-width: 1200px) {
    .hero-left h1 {
        font-size: 3em;
    }

    .card {
        width: 45%;
    }

    .destinations {
        grid-template-columns: repeat(3, 1fr);
    }

    #nuestros-destinos {
        grid-column: span 3;
    }
}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .hero {
        flex-direction: column;
        gap: 30px;
        margin: 30px 0;
    }

    .hero-right {
        order: -1;
    }

    .hero-right img {
        width: 100%;
        max-width: 500px;
    }

    .card {
        position: static;
        width: 80%;
        margin: 20px auto;
        transform: none;
    }

    .about-us {
        flex-direction: column;
        padding: 15px;
    }

    .text-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .contact-section {
        flex-direction: column;
        padding: 30px;
    }

    .destinations {
        grid-template-columns: repeat(2, 1fr);
    }

    #nuestros-destinos {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    header .logo img {
        height: 100px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.5em;
    }

    .service-cards,
    .unidad-cards {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
    }

    .images {
        flex-direction: column;
        gap: 20px;
    }

    .images img {
        width: 100%;
    }

    .destinations {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    #nuestros-destinos {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header .logo img {
        height: 80px;
    }

    .hero-left h1 {
        font-size: 2em;
    }

    .hero-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .card {
        width: 95%;
        padding: 15px;
    }

    .additional-content,
    .nuestras-unidades {
        margin: 30px 0;
        padding: 15px;
    }

    .float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .fa-whatsapp {
        font-size: 50px;
    }
}