/* Hero Section */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

.hero {
    background: url('../images/NUEVAGUINEA.jpg') center/cover no-repeat;
    text-align: center;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero .btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ee670d;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #d14f4f;
}

/* Destinos */
.section {
    padding: 2rem 1rem;
}

.section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.destino-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.destino-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Galería - Carrusel */
.carrusel {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
}

.carrusel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carrusel-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Botones del Carrusel */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1;
    border-radius: 50%;
}

.carrusel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Ajustes Responsivos */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .carrusel {
        max-width: 100%;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero .btn-primary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .destinos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .carrusel {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero .btn-primary {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .destinos-grid {
        grid-template-columns: 1fr;
    }

    .carrusel {
        aspect-ratio: 3/4;
    }

    .carrusel-btn {
        font-size: 1.5rem;
        padding: 0.4rem;
    }
}
