/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* =========================
   BODY (FONDO VISIBLE)
========================= */
body {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(15,42,68,0.45),
            rgba(15,42,68,0.45)
        ),
        url("../img/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F5F7FA;
}

/* =========================
   SIDEBAR (GLASS)
========================= */
.sidebar {
    position: fixed;
    width: 240px;
    height: 100vh;
    padding: 25px;

    background: linear-gradient(
        180deg,
        rgba(15,42,68,0.75),
        rgba(28,46,74,0.75)
    );

    backdrop-filter: blur(10px);
}

.sidebar h2 {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 30px;
    font-size: 22px;
}

.sidebar a {
    display: block;
    color: #F5F7FA;
    text-decoration: none;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 12px;
    transition: 0.3s;
}

.sidebar a:hover {
    background: rgba(177,18,38,0.35);
    border-left: 4px solid #D4AF37;
    padding-left: 16px;
}

/* =========================
   CONTENT
========================= */
.content {
    margin-left: 260px;
    padding: 40px;
    min-height: 100vh;

    background: rgba(28,46,74,0.35);
    backdrop-filter: blur(6px);
}

/* =========================
   TÍTULO
========================= */
.content h1 {
    margin-bottom: 30px;
    padding-left: 15px;
    font-size: 30px;
    color: #D4AF37;
    border-left: 5px solid #B11226;
}

/* =========================
   GALERÍA
========================= */
.gallery-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.gallery-full img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;

    border: 2px solid rgba(212,175,55,0.35);
    transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-full img:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 45px rgba(212,175,55,0.35);
}

/* =========================
   MODAL
========================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15,42,68,0.85);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 999;
}

.modal-img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 14px;
    border: 3px solid rgba(212,175,55,0.5);
    box-shadow: 0 25px 55px rgba(0,0,0,0.8);
}

/* =========================
   MODAL BOTONES
========================= */
.modal-actions {
    margin-top: 25px;
    display: flex;
    gap: 18px;
}

.btn-modal {
    padding: 12px 26px;
    border-radius: 30px;
    border: none;

    background: linear-gradient(
        135deg,
        #B11226,
        #D4AF37
    );

    color: #FFFFFF;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.btn-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212,175,55,0.45);
}

/* =========================
   CERRAR MODAL
========================= */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 38px;
    color: #FFFFFF;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .content {
        margin-left: 0;
        background: rgba(15,42,68,0.55);
    }
}