/* Estilos generales */
:root {
    --primary-color: #ff6f61;
    --secondary-color: #333;
    --background-light: #f9f9f9;
    --text-color: #333;
    --white: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
    background-size:center; /* Ajusta la imagen para cubrir toda la pantalla */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    
    
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}



/* Hero Section */
.hero {
    background: url('../photo/fondo.jpg') no-repeat center center/cover;
    color: var(--white);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 10px;
    animation: fadeIn 2s ease-in-out;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 20px;
    animation: fadeIn 3s ease-in-out;
}

.hero .btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #ff4a3d;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2em;
}

/* Destinos Destacados */
.destinos-destacados {
    padding: 80px 0;
    background: var(--white);
}

.destinos-destacados h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.destino {
    background: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.destino:hover {
    transform: translateY(-10px);
}

.destino img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destino-info {
    padding: 20px;
    text-align: center;
}

.destino-info h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
}

.destino-info p {
    font-size: 1em;
    color: #666;
}

.destino-info .btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.destino-info .btn:hover {
    background: #ff4a3d;
}

/* Experiencias */
.experiencias {
    padding: 80px 0;
    background: var(--background-light);
}

.experiencias h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.experiencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.experiencia {
    background: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.experiencia:hover {
    transform: translateY(-10px);
}

.experiencia i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.experiencia h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.experiencia p {
    font-size: 1em;
    color: #666;
}

/* Blog */
.blog {
    padding: 80px 0;
    background: var(--white);
}

.blog h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.post {
    background: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-10px);
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post h3 {
    padding: 15px;
    font-size: 1.5em;
    margin: 0;
}

.post p {
    padding: 0 15px 15px;
    font-size: 1em;
    color: #666;
}

.post .btn {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    margin: 15px;
    transition: background 0.3s ease;
}

.post .btn:hover {
    background: #ff4a3d;
}

/* Pie de página */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul {
    font-size: 1em;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}