/* --- CONFIGURACIÓN GENERAL --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-blue: #54baff;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

body {
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- HEADER / NAVBAR --- */
header {
    
    /* --- ESTILOS PARA EL LOGO REAL --- */
.logo a {
    display: inline-block;
}

.logo-img {
    height: 150px;         /* Controla la altura del logo para que encaje perfectamente */
    width: auto;          /* Mantiene la proporción original para que no se estire */
    display: block;
    transition: transform 0.3s ease;
}

/* Efecto opcional: el logo se agranda sutilmente cuando pasas el cursor sobre él */
.logo-img:hover {
    transform: scale(1.03);
}


    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 16px;
    transition: 0.3s;
}

.nav-link.active, .nav-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 4px;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-blue);
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #3ba4eb;
}

/* Galería Ovalada */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 100px; /* Consigue la forma de píldora/óvalo */
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

/* --- FEATURES --- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 20px;
    text-align: center;
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: #e5b382; /* Tono similar al texto descriptivo beige de la imagen */
    line-height: 1.6;
}

/* --- DESTINOS POPULARES --- */
.popular-destinations {
    background-color: var(--primary-blue);
    padding: 60px 0 80px 0;
    color: var(--white);
}

.popular-destinations h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.destination-card {
    background: transparent;
}

.destination-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.destination-info {
    margin-top: 15px;
}

.destination-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.destination-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

/* --- SECCIÓN INSTAGRAM --- */
.instagram-section {
    padding: 80px 20px;
    text-align: center;
}

.instagram-section h2 {
    color: #e1306c; /* Color característico de Instagram */
    font-size: 2rem;
    margin-bottom: 5px;
}

.insta-subtitle {
    color: var(--light-text);
    margin-bottom: 40px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.insta-post {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.insta-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.insta-post:hover .insta-overlay {
    opacity: 1;
}

.insta-post:hover img {
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid #eee;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* --- RESPONSIVE / ADAPTACIÓN A MÓVILES --- */
@media (max-width: 992px) {
    .hero-gallery, .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-gallery .gallery-item {
        height: 300px;
    }
    .features, .destinations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-gallery, .instagram-grid { grid-template-columns: 1fr; }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}