/* Reseteo global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header & Navegación Base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffa601fb;
}

.logo span {
    color: #ffb703;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0077b6;
}

.btn-nav {
    background-color: #0077b6;
    color: white !important;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    transition: background 0.3s !important;
}

.btn-nav:hover {
    background-color: #0096c7;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), 
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem 1.5rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Se encoge y agranda dinámicamente */
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ffb703;
    color: #1d3557;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    background-color: #fb8500;
    transform: translateY(-3px);
}

/* Sección Destinos */
.destinos {
    padding: 3.5rem 5%;
    text-align: center;
}

.destinos h2, .servicios h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 2rem;
    color: #0077b6;
}

.destinos-grid {
    display: grid;
    /* Adapta las columnas según el ancho del dispositivo automáticamente */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.2rem;
    text-align: left;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: #1d3557;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-card {
    display: inline-block;
    color: #0077b6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sección Servicios */
.servicios {
    background-color: #e0f3fe;
    padding: 3.5rem 5%;
    text-align: center;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.servicio-box {
    background: white;
    padding: 1.8rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.servicio-box .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.servicio-box h3 {
    margin-bottom: 0.5rem;
    color: #023e8a;
    font-size: 1.1rem;
}

.servicio-box p {
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
footer {
    background-color: #023e8a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.85rem;
}

footer p {
    margin: 0.3rem 0;
}

/* ==========================================
   AJUSTES ESPECÍFICOS PARA CELULARES (RESPONSIVE)
   ========================================== */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 60vh;
        padding: 1.5rem 1rem;
    }

    .destinos, .servicios {
        padding: 2.5rem 1rem;
    }

    .btn-primary {
        width: 100%; /* El botón ocupa todo el ancho en pantallas muy chicas */
        padding: 0.8rem 0;
    }
    .fa-bus {
    color: #0077b6; /* Tu azul principal */
    margin-right: 8px; /* Espacio con el texto */
    font-size: 1.2rem;
}
}