/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: rgb(233, 234, 229);
}

/* Imagen de fondo para la página principal */
.hero {
    background: url('../img/bg.png') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Tan Aegean', serif;
    font-size: 30px;
    color: #000;
    max-width: 400px;
}

/* Secciones internas (sin fondo) */
.content-section {
    padding: 6rem 2rem 2rem 2rem;
    min-height: 100vh;
    background-color: rgb(233, 234, 229);
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-block {
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.promo-button {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid black;
    padding: 0.6rem 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

    .promo-button:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

/* Header */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.2);
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .logo img {
        height: 40px;
        width: auto;
    }

.nav {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    align-items: center;
}

    .nav a {
        text-decoration: none;
        color: black;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

.actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.book-btn {
    background: transparent;
    border: 2px solid black;
    padding: 0.4rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.languages {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.flag {
    width: 20px;
    height: 14px;
    cursor: pointer;
}

    .flag.active {
        outline: 2px solid black;
        border-radius: 3px;
    }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 1.2rem;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: black;
    }

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        display: none;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

        .nav.show {
            display: flex;
        }

        .nav .languages {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: auto;
        max-width: 120px;
    }

    .actions {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-book {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-left: 0.5rem;
        border-width: 1.5px;
    }
}

@media (min-width: 769px) {
    .desktop-only {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }

    .mobile-only {
        display: none !important;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Tan+Aegean&display=swap');
