@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #323B60;
}

header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em;
    color: #27633B;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.5em;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: #27633B;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #27633B;
    cursor: pointer;
}

.hero {
    background: url('https://www.turismo.gob.ec/wp-content/uploads/2017/08/laguna-cajas1.jpg') no-repeat center center/cover;
    color: white;
    padding: 4em 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px); /* Asegurar que ocupe toda la pantalla menos el header */
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta {
    background-color: #27633B;
    color: rgb(248, 248, 248);
    border: none;
    padding: 0.75em 1.5em;
    margin: 0.5em;
    cursor: pointer;
    border-radius: 1em;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta:hover {
    background-color: #27633B;
}

.cta.register {
    background-color: #323B60;
}

.cta.register:hover {
    background-color: #323B60;
}

footer {
    background-color: #323B60;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        background-color: #FFFFFF;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 1em 0;
    }

    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
}
