* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#mobile-menu {
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative; /* asegurate que no esté en un contexto separado */
}

/*.shape-circle {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #ff71ce, #01cdfe);
    border-radius: 50%;
    position: absolute;
    top: 60px;
    left: -60px;
    z-index: -1;
}*/

.formas-decorativas {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* Estilo base de los cuartos de círculo */
.forma-cuarto {
    width: 200px;
    height: 200px;
    opacity: 1;
}

/* Forma gris espejada */
.forma-gris {
    transform: scaleX(1) translate(-40px, 0);
    transform-origin: center;
    opacity: 0.3
}

/* Forma rosada, más elevada y con desplazamiento */
.forma-rosada {
    transform: scaleX(-1) translate(45px, 50px);
    opacity: 0.3;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
}

    .whatsapp-float img {
        width: 100%;
        height: 100%;
        padding: 2px;
    }



body {
    color: #2e2e2e;
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
    background-color: #fdf5f7;
}

.decoracion-top {
    position: fixed;
    top: -150px;
    left: -5px;
    width: 250px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

    .decoracion-top img {
        width: 100%;
        height: auto;
        display: block;
    }




h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
}

p, a, button {
    font-family: 'Gotham', sans-serif;
    font-weight: 400;
}



h1 {
    color: #444;
    font-weight: 400;
    /*font-size: 1.4rem;*/
    font-size: clamp(1.5rem, 6vw, 3rem);
    text-align: center;
    margin: 1.5rem 0;
}
h2 {
    font-size: 1.4rem;
    color: #000;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 1.2rem;
}
h5 {
    font-size: 1rem;
}


ul li {
    list-style: none;
}

p {
    margin-bottom: 0;
    font-family: 'Gotham', sans-serif;
}

header {
    /* text-transform: uppercase; */
    /* font-size: 0.7rem;
    margin-top: 15px; */
}

    /* header nav {
  font-size: 0.4rem;
} */
    header .logo img {
        height: 2rem;
    }

    header .redes-sociales {
        text-align: end;
        margin: 10px 0;
    }

        header .redes-sociales .donaciones {
            background-color: #ffe800;
            color: #3f3f3f;
            font-weight: 500;
            padding: 8px 15px;
            margin: 5px;
            border-radius: 25px;
            transition: all 0.4s ease-in-out;
        }

            header .redes-sociales .donaciones:hover {
                background-color: #efda00;
                color: #3f3f3f;
            }

        header .redes-sociales img {
            /* width: 100%; */
            max-height: 30px;
            margin: 0 7px;
            opacity: 0.9;
            display: inline-block;
            /* animation: 2s; */
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

            header .redes-sociales img:hover {
                opacity: 0.7;
                transform: scale(1.1);
            }

        header .redes-sociales a,
        .contacto .redes-sociales a {
            text-decoration: none;
        }

    header .menu {
        /*background-color: #172554;*/
        background-color: #FADADD;
        height: 4rem;
        display: flex;
        align-items: center;
    }

    header .menu nav {
        display: flex;
        justify-content: center;
    }

        header .menu a {
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            color: #832547;
            transition: color 0.3s ease, font-weight 0.3s ease, background-color 0.3s ease;
        }

            header .menu a:hover {
                color: #5B0A2D; /* vino tinto más fuerte */
            }

/* Ver esto */

/* main{
  min-height: 74vh;
} */

main h2 {
    font-weight: 600;
}

    main h2 i {
        border: 2px solid #000;
        border-radius: 25px;
        padding: 6px;
        margin-right: 15px;
    }

main .exposiciones ul li,
main .videos ul li {
    display: inline-block;
}

main .exposiciones img {
    max-height: 300px;
    object-fit: contain;
}

main .videos video {
    max-height: 500px;
    object-fit: contain;
}

.sobre-nosotros p {
    font-size: 0.9rem;
    font-weight: 400;
}

.sobre-nosotros .carousel-inner {
    overflow: hidden;
}

.sobre-nosotros .carousel-item img {
    height: 100%;
    height: 32rem;
    min-height: 32rem;
    width: 100%;
    object-fit: cover;
}

.sobre-nosotros .interes-cultural {
    background-color: #bababa;
}

/* Talleres y Cursos */

.card-taller {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 24px 20px;
    transition: transform 0.25s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    color: #2e2e2e;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card-taller:hover {
        transform: translateY(-5px);
    }

    .card-taller h5 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }

    .card-taller .fecha,
    .card-taller .orientado {
        font-size: 14px;
        color: #777;
        margin: 2px 0;
    }

    .card-taller .docente {
        font-size: 15px;
        color: #555;
        margin-top: 12px;
        margin-bottom: 16px;
    }

    .card-taller .btn-vermas {
        background-color: #f4cbd4;
        border: none;
        color: #2e2e2e;
        padding: 8px 16px;
        border-radius: 12px;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.3s;
    }

        .card-taller .btn-vermas:hover {
            background-color: #e1b2bc;
        }

        .tallerCurso-detalle h2 {
            font-size: 28px;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
            margin-bottom: 0.3em;
            color: #2e2e2e;
        }

        .tallerCurso-detalle h4,
        .tallerCurso-detalle h5 {
            font-size: 18px;
            font-weight: 600;
            color: #444;
            margin-top: 1.5rem;
        }

        .tallerCurso-detalle p {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            margin: 0.5rem 0;
        }

        .tallerCurso-detalle .detalle-horarios p {
            margin-bottom: 0.2rem;
        }

        .tallerCurso-detalle h2::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            background-color: #f4cbd4;
            border-radius: 50%;
            margin-right: 8px;
            vertical-align: middle;
        }



/* End Talleres y Cursos */

/*.exposiciones ul li img {
    max-height: 400px;
    object-fit: cover;
    display: inline-block;
    border-radius: 15px;
    width: 100%;
}*/

/* Cards */
.evento-exp-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: levantarFadeIn 0.8s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .evento-exp-card:hover {
        transform: translateY(-8px) scale(1.015);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    }

@keyframes levantarFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evento-exp-card .rect {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 0;
}

.evento-exp-card .rect-top-left {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    position: absolute;
    background: radial-gradient(circle at 20% 20%, #f4cbd4 10%, transparent 70%);
    z-index: 0;
}

.evento-exp-card .rect-bottom-right {
    background: radial-gradient(circle at 60% 60%, #fce6ea 30%, transparent 70%);
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.btn-volver {
    display: inline-block;
    margin-top: 24px;
    padding: 6px 16px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    .btn-volver:hover {
        background-color: #f7c8d0;
        color: black;
    }
/* end Cards*/

/* Evento y Exposicion */
.evento-exp-detalle .evento-exp-text,
.tallerCurso-detalle .tallerCurso-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .evento-exp-detalle .evento-exp-text .decoracion {
        position: absolute;
        top: -30px;
        left: -30px;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, #f7c8d0 20%, transparent 80%);
        z-index: 0;
        filter: blur(18px);
        opacity: 0.3;
    }
    .evento-exp-detalle .decoracion.decoracion-abajo {
        top: auto;
        left: auto;
        bottom: -40px;
        right: -40px;
        background: radial-gradient(circle, #ffcce0 25%, transparent 75%);
    }

.evento-exp-detalle .titulo h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.evento-exp-detalle .subtitulo h3,
.evento-exp-detalle .subtitulo h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.evento-exp-detalle .fecha h5 {
    font-size: 1rem;
    margin-top: 12px;
    color: #5a5a5a;
}

/* End Evento*/

/* Galeria */
.galeria img {
    width: 200px;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.bm-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.galeria .img-hover-zoom {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.galeria .img-hover-zoom:hover {
    transform: scale(1.05);
}

/* End Galeria*/

.contacto h2{
    font-size: 1rem;
    font-weight: 500;
}

.contacto img {
    height: 20px;
    margin-right: 10px;
}

.contacto p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: #000;
}

    .contacto p span {
        font-weight: 700;
    }

footer {
    /* background-color: #4e616d; */
    background-color: #0f0f0f;
    display: flex;
    align-items: end;
    height: 80px;
    padding: 15px;
    color: #dddddd;
}


    footer .footer-line {
        font-size: 0.8rem;
        font-weight: 700;
    }

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
}

    .whatsapp-float img {
        width: 100%;
        height: 100%;
        padding: 2px;
    }

/* Gotham Book */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-book-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Gotham Book Italic */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-bookitalic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

/* Gotham Light */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

/* Gotham Light Italic */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-lightitalic-webfont.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

/* Gotham Medium */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

/* Gotham Medium Italic */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-mediumitalic-webfont.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}

/* Gotham Bold */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* Gotham Bold Italic */
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/gotham/gotham-bolditalic-webfont.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

/* Usos de fuentes */
/* Uso de Gotham Light */
.light-text {
    font-family: 'Gotham', sans-serif;
    font-weight: 300; /* Light */
}

/* Uso de Gotham Medium */
.medium-text {
    font-family: 'Gotham', sans-serif;
    font-weight: 500; /* Medium */
}

/* Uso de Gotham Bold */
.bold-text {
    font-family: 'Gotham', sans-serif;
    font-weight: 700; /* Bold */
}

/* Uso de las variantes itálicas */
.italic-text {
    font-family: 'Gotham', sans-serif;
    font-style: italic;
}

/* Uso de Gotham Bold Italic */
.bold-italic-text {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-style: italic;
}

/* Estilos para la modal */
.modal {
    display: flex; /* Usar flexbox para centrar */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    position: fixed;
    z-index: 1000; /* Asegura que esté encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo semitransparente */
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    padding: 0;
    width: 80%;
    max-width: 800px;
    overflow: hidden;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001; /* Asegura que el botón esté encima de todo */
}


    .close:hover,
    .close:focus {
        color: rgb(126, 182, 247);
        text-decoration: none;
        cursor: pointer;
    }

@media (max-width: 992px) {
    .tallerCurso-detalle {
        padding-inline: 3rem;
    }


    .evento-exp-detalle .evento-exp-text,
    .tallerCurso-detalle .tallerCurso-text{
        max-width: none;
        width: 100%;
        border-radius: 0;
    }
    .evento-exp-detalle .titulo h2 {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .evento-exp-detalle .subtitulo h3,
    .evento-exp-detalle .subtitulo h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .evento-exp-detalle .fecha h5 {
        font-size: 1rem;
        margin-top: 15px;
        color: #5a5a5a;
    }
}

@media (max-width: 768px) {
    .evento-exp-detalle .decoracion.decoracion-abajo {
        display: none;
    }
}

@media (max-width: 640px) {
    footer {
        height: 120px;
        padding: 10px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .forma-cuarto {
        width: 170px;
        height: 170px;
    }
}





/*Esto va en mainLayout.razor.css*/
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }