:root {
    --text-color: #3b2314;
    /* Dark brown based on the design */
    --accent-color: #cda85c;
    /* Golden/yellow accent */
    --bg-color: #fbf5eb;
    --font-main: 'Belleza', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 20px;
    font-family: var(--font-main);
    color: var(--text-color);
    background-image: url('../sprites/FONDO.jpeg');
    background-color: rgba(248, 241, 229, 0.5);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ---------------- HEADER ---------------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(251, 245, 235, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.menu-toggle {
    display: none;
}

.nav-separator {
    display: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.social-links {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ---------------- MAIN SECTIONS ---------------- */
.slide-section {
    min-height: auto;
    padding: 100px 20px 80px;
    /* offset for header */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 1px solid rgba(59, 35, 20, 0.1);
}

.slide-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
    font-weight: normal;
    letter-spacing: 2px;
}

/* ---------------- SECTION 1: INICIO ---------------- */
#inicio {
    min-height: 100vh;
}

.inicio-content {
    text-align: center;
    z-index: 10;
}

.main-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.main-logo-container img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.registered-mark {
    position: absolute;
    top: 0px;
    right: -20px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.inicio-content h2 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: normal;
}

.inicio-content h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: normal;
}

.btn-descubre,
.booking-link {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #f6b73c, #ffeb3b) 1;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease;
}

.booking-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
}

.btn-descubre:hover,
.booking-link:hover {
    background: var(--accent-color);
    color: #fff;
}

/* ---------------- SECTION 2: SERVICIOS ---------------- */
.servicios-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 800px;
    z-index: 10;
}

.servicio-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.servicio-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-top: 5px;
}

.servicio-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.servicio-text ul {
    list-style: none;
}

.servicio-text li {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.watermark-bottom-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 60px;
    opacity: 0.8;
}

/* ---------------- SECTION 3: FILOSOFIA ---------------- */
.filosofia-content {
    text-align: left;
    z-index: 10;
    margin-bottom: 0px;
    width: 100%;
}

.highlight-text.with-decor {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.decor-icon {
    width: 30px;
    height: 30px;
}

.text-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-content .highlight-text {
    font-size: 1.8rem;
    margin-top: 30px;
}

.filosofia-artistas {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    max-width: 800px;
    object-fit: contain;
}

.watermark-top-left {
    position: absolute;
    top: 100px;
    left: 40px;
    width: 40px;
}

.watermark-top-right {
    position: absolute;
    top: 100px;
    right: 40px;
    width: 250px;
}

/* ---------------- SECTION 4: EQUIPO ---------------- */
.equipo-container {
    width: 100%;
    max-width: 1000px;
    z-index: 10;
}

.equipo-header {
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
}

.equipo-header h2 {
    font-size: 3rem;
    font-weight: normal;
    display: inline-block;
}

.equipo-header h3 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-top: -10px;
}

.equipo-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.equipo-text {
    flex: 1;
}

.equipo-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.equipo-text .quote {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    margin: 30px 0;
}

.equipo-photo {
    flex: 0 0 350px;
    position: relative;
}

.equipo-photo img:first-child {
    width: 100%;
    position: relative;
    z-index: 1;
}

.s-perfil-decor {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    z-index: 100;
}

.logos-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.logos-partners img {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s;
}

.logos-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---------------- SECTION 5: CONTACTO ---------------- */
#contacto {
    position: relative;
}

.contacto-bg-artistas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.contacto-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 800px;
    z-index: 10;
}

.contacto-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.contacto-text-group {
    margin-bottom: 40px;
}

.contacto-subtitle {
    font-size: 2.5rem;
    font-weight: normal;
    text-align: left;
    line-height: 1.2;
}

.contacto-inline-sprite {
    width: 35px;
    margin-left: 15px;
}

.contacto-gracias {
    font-size: 1.8rem;
    margin-top: 20px;
    letter-spacing: 2px;
}

.contacto-box {
    border: 2px solid var(--accent-color);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

.contacto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: normal;
}

.contacto-info a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
}

.contacto-socials {
    display: flex;
    gap: 15px;
}

.contacto-socials a {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.contacto-socials a:hover {
    color: var(--accent-color);
}

/* ---------------- SPRITES & ANIMATIONS ---------------- */
.sprite {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotating-sprite {
    animation: spin 30s linear infinite;
}

/* Positioning specific sprites */
.s-inicio-logo {
    top: 15%;
    left: 10%;
    width: 60px;
}

.s-inicio-sol {
    bottom: 25%;
    left: 10%;
    width: 120px;
}

.s-inicio-flor {
    top: 15%;
    right: 15%;
    width: 150px;
}

.s-inicio-anillos {
    bottom: 30%;
    right: 15%;
    width: 150px;
}

.s-equipo {
    top: 15%;
    right: 15%;
    width: 120px;
    opacity: 0.5;
}

.s-perfil-decor {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    z-index: 10;
}

.s-filosofia-1 {
    top: 30%;
    right: 25%;
    width: 250px;
    opacity: 0.7;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    body {
        background-image: none;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: url('../sprites/FONDOMOVIL.png');
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -100;
    }

    #main-header {
        height: 65px;
        padding: 0;
        overflow: hidden;
        transition: height 0.4s ease, background 0.4s ease;
    }

    #main-header.menu-active {
        height: 100vh;
        background: rgba(251, 245, 235, 0.70);
        /* Menos opaco */
        backdrop-filter: blur(12px);
        /* Un poco más de blur para compensar la transparencia */
        overflow-y: auto;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        /* Centrar elementos verticalmente */
        align-items: center;
        gap: 0;
        position: relative;
        padding: 0;
        height: 100%;
        /* Asegurar que ocupe todo el alto para el centrado */
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 17px;
        left: 20px;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
        color: var(--text-color);
    }

    .header-logo {
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 1001;
    }

    .header-logo img {
        height: 45px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        /* Más espacio entre enlaces */
        margin-top: 0;
        /* Eliminado el margen superior, el flex center lo posiciona */
        font-size: 1.8rem;
        /* Letra un poco más grande */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        flex: none;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        flex: none;
    }

    .nav-separator {
        display: block;
        width: 50px;
        height: 2px;
        background-color: var(--accent-color);
        margin: 40px 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    #main-header.menu-active .nav-links,
    #main-header.menu-active .social-links,
    #main-header.menu-active .nav-separator {
        opacity: 1;
        visibility: visible;
    }

    .slide-section {
        padding-top: 100px;
        min-height: auto;
    }

    .equipo-body {
        flex-direction: column-reverse;
    }

    .equipo-photo {
        flex: auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .contacto-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .filosofia-artistas {
        position: relative;
        width: 100%;
        margin-top: 40px;
    }

    .filosofia-content {
        margin-bottom: 0;
    }

    /* Ajustar sprites de inicio para que no tapen el texto */
    .s-inicio-sol {
        width: 60px;
        bottom: 5%;
        left: 2%;
        opacity: 0.2;
    }

    .s-inicio-flor {
        width: 60px;
        top: 15%;
        right: 2%;
        opacity: 0.2;
    }

    .s-inicio-anillos {
        width: 70px;
        bottom: 10%;
        right: 2%;
        opacity: 0.2;
    }
}

/* ---------------- SCROLL REVEAL ---------------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.sprite.reveal {
    transform: translateY(50px) scale(0.8);
}

.sprite.reveal.active {
    transform: translateY(0) scale(1);
}

.simple-footer {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(59, 35, 20, 0.1);
    font-size: 0.8rem;
    color: var(--accent-color);
}