/*BASES PARA EL FUNCIONAMIENTO, NO TOCAR*/

.contenedor-principal {
    display: flex;
}

.menu-lateral {
    display: flex;
    flex-direction: column;
}

.menu-item {
    cursor: pointer;
}

.contenido-derecha {
    flex: 1;
}

/* --- CONTENEDOR PRINCIPAL --- */
.contenedor-principal {
    display: flex;
    background: transparent;
}

.panel {
    display: none !important;
}

.panel.activo {
    display: flex !important;
}



/* --- MENÚ LATERAL --- */
.menu-lateral {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    border-right: 2px solid #c8a45a;
    background: transparent;
}



/* --- ÍTEMS DEL MENÚ --- */
.menu-item {
    padding: 14px 20px;
    cursor: pointer;
    color: #c8a45a;
    font-weight: 600;
    position: relative;
    border: 1px solid #c8a45a;
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}



/* Brillo deslizante */
.menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg);
    transition: 0.5s;
}



/* Activación del brillo en hover */
.menu-item:hover::before {
    left: 130%;
}



/* Hover general */
.menu-item:hover {
    background: rgba(200, 164, 90, 0.15);
    box-shadow: 0 0 10px rgba(200, 164, 90, 0.5);
}



/* --- ÍTEM SELECCIONADO --- */
.menu-item.activo {
    background: #c8a45a;
    color: black;
    box-shadow: 0 0 14px rgba(200, 164, 90, 0.75);
}



/* --- CONTENIDO DERECHA --- */
.contenido-derecha {
    flex: 1;
    padding: 20px;
    background: transparent;
}



/* --- PANELS --- */
.panel {
    display: none;
    color: white;
    background: transparent;
}


























/* ----- PANEL GENERAL ----- */
#Nosotros {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}



/* ----- TÍTULO PRINCIPAL ----- */
#Nosotros h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Cinzel', serif;
    margin: 20px 0 40px 0;
    background: radial-gradient(ellipse at center, #3a2a00, #000000 65%);
    font-weight: 400;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: -2%;
}



/* ----- CONTENEDOR INTERNO ----- */
#Nosotros > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}



/* ----- COLUMNA IZQUIERDA (IMAGEN) ----- */
#Nosotros .izquierda {
    width: 30%;
    display: flex;
    justify-content: center;
}



/* Imagen */
#Nosotros .izquierda img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s ease;
}



/* Hover animado sobre la imagen */
#Nosotros .izquierda img:hover {
    transform: scale(1.08) translateY(-6px);
    filter: brightness(1.25);
    box-shadow: 0 4px 20px rgba(200, 164, 90, 0.4);
}



/* ----- COLUMNA DERECHA (DESCRIPCIÓN + BOTÓN) ----- */
#Nosotros .derecha {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}



/* Descripción */
#Nosotros .descripcion {
    color: white;
    line-height: 1.6;
    font-size: 17px;
}



/* ----- BOTÓN (MISMO ESTILO ANTERIOR) ----- */
#Nosotros a button {
    background: #c8a45a;
    color: black;
    border: 2px solid black;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}



/* Brillo deslizante */
#Nosotros a button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg);
    transition: 0.5s;
}



/* Hover del brillo */
#Nosotros a button:hover::before {
    left: 120%;
}



/* Hover general */
#Nosotros a button:hover {
    background: black;
    color: #c8a45a;
    box-shadow: 0 0 14px rgba(200, 164, 90, 0.75);
}



/* Presionado */
#Nosotros a button:active {
    transform: scale(0.97);
}


























/* PANEL CONTACTO — ESTRUCTURA GENERAL */


#Contacto {
    display: none !important;
    opacity: 0 !important;
    width: 100% !important;
    gap: 40px !important;
    align-items: flex-start !important;
    visibility: hidden !important;
}

#Contacto.activo {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* MAPA A LA IZQUIERDA */
#Contacto .mapa {
    width: 50% !important;
    height: 380px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}



/* COLUMNA DERECHA: REDES ARRIBA + FORMULARIO ABAJO */
#Contacto .Contacto {
    width: 45% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}



/* REDES SOCIALES ARRIBA */
#Contacto .Contacto .Redes_Sociales {
    display: flex !important;
    gap: 20px !important;
    justify-content: flex-start !important;
}



/* FORMULARIO ABAJO EN COLUMNA */
#Contacto .Contacto .Formulario {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}



/* Cada grupo de inputs alineado en columna */
#Contacto .Contacto .Formulario form > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}



/* Teléfono: input + código de país en la misma línea */
#Contacto .Contacto .Formulario .Telefono {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}



/* Código de país más angosto */
#Contacto .Contacto .Formulario .Codigo_Pais {
    width: 90px !important;
}






/* --------------------------------------------- */
/* RESPONSIVE — PANTALLAS MENORES A 1000PX       */
/* --------------------------------------------- */
@media (max-width: 1000px) {

    /* CONTENEDOR PRINCIPAL */
    .contenedor-principal {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* MENÚ LATERAL */
    .menu-lateral {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: center !important;
        border-right: none !important;
        border-bottom: 2px solid #c8a45a !important;
        padding-bottom: 15px !important;
        gap: 15px !important;
    }

    .menu-item {
        flex: 1;
        text-align: center;
    }
    
    /* =========================== */
    /*     PANEL — NOSOTROS        */
    /* =========================== */

    #Nosotros {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }

    /* Contenedor interno */
    #Nosotros > div {
        flex-direction: column !important;
        gap: 25px !important;
    }

    /* IMG pasa arriba */
    #Nosotros .izquierda {
        width: 80% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }

    #Nosotros .izquierda img {
        width: 100% !important;
    }

    /* Animación de brillo periódico */
    @keyframes brillo-pulso {
        0%   { filter: brightness(1); }
        50%  { filter: brightness(1.25); }
        100% { filter: brightness(1); }
    }

    #Nosotros .izquierda img {
        animation: brillo-pulso 4s ease-in-out infinite;
    }

    /* Texto y botón debajo */
    #Nosotros .derecha {
        width: 90% !important;
        margin: 0 auto !important;
        align-items: center !important;
        text-align: center !important;
    }

    #Nosotros .derecha a button {
        width: auto !important;
    }

    /* =========================== */
    /*     PANEL — CONTACTO        */
    /* =========================== */

    #Contacto {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }

    /* Mapa arriba */
    #Contacto .mapa {
        width: 100% !important;
        height: 300px !important;
    }

    /* Columna completa para el resto */
    #Contacto .Contacto {
        width: 100% !important;
        align-items: center !important;
    }

    /* Redes sociales centradas */
    #Contacto .Redes_Sociales {
        justify-content: center !important;
    }

    /* Formulario centrado */
    #Contacto .Formulario {
        width: 90% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    /* Inputs full width */
    #Contacto .Formulario form > div input,
    #Contacto .Formulario form > div select,
    #Contacto .Formulario textarea {
        width: 100% !important;
    }

    /* Teléfono en columna */
    #Contacto .Formulario .Telefono {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #Contacto .Formulario .Telefono .Codigo_Pais {
        width: 100% !important;
        height: 30px !important;
    }
}


