/* Fuente externa */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Degradado lineal */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Maquetación Grid Área */
.contenedor-grid {
    display: grid;
    grid-template-areas: 
        "encabezado"
        "contenido"
        "pie";
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

.encabezado {
    grid-area: encabezado;
    text-align: center;
    padding: 2rem;
    color: white;
}

.contenido-principal {
    grid-area: contenido;
    padding: 2rem;
}

.pie-pagina {
    grid-area: pie;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
}

/* Animación con Keyframes */
@keyframes animacionTitulo {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.titulo-animado {
    animation: animacionTitulo 3s infinite;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 3 Columnas */
.tres-columnas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.columna {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.columna img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Banner animado */
.contenedor-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.activo {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Formulario */
.formulario-viaje input,
.formulario-viaje select,
.formulario-viaje button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.formulario-viaje button {
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.formulario-viaje button:hover {
    background: #764ba2;
}

/* Pie de página */
.contenido-pie {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.enlaces-sociales a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.enlaces-sociales a:hover {
    text-decoration: underline;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .tres-columnas {
        grid-template-columns: 1fr;
    }
    
    .contenido-pie {
        flex-direction: column;
        gap: 1rem;
    }
    
    .titulo-animado {
        font-size: 2rem;
    }
}