/* ================================
   RESET / GENERALES
================================ */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #c5c5c5;
    color: #222;
    width: 85%;
    height: auto;
    margin: auto;
}

/* ================================
   HEADER
================================ */


.desktop-header {
 
    width: 100%;
    height: auto;
    background: #000000;
    color: #fff;
    padding-bottom: 1rem;
    text-align: center;
   
}

.desktop-header h1 {
    margin: 0;
    font-size: 4rem;
    padding-top: 2.6rem;
    font-family: 'Courier New', Courier, monospace;
}

.mobile-header h1{
    margin: 0;
    font-size: 4rem;
    padding-top: 0.5rem;
    font-family: 'Courier New', Courier, monospace;}

section h2 {
    margin-top: 3rem;
    font-size: 1.9rem;
    border-left: 6px solid #111;
    padding-left: 10px;
    text-shadow: 7px 5px 4px #a7a7a7;
}

/* ================================
   MENÚ
================================ */

.desktop-nav {
    background: #000;
    width: 100%;
    height: auto;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.desktop-nav ul li {
    margin: 0;
}

.desktop-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #d0d1e2;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    transition: 0.4s;
}

.desktop-nav ul li a:hover {
    background: #041e66;
    color: #ffffff;
    border-radius: 0.4rem;
}

/* ================================
   CONTENEDOR PRINCIPAL / MAIN
================================ */

.ContPrinc {
    width: 100%;
    height: auto;
    background-color: rgb(255, 244, 201);
}

.ContPrinc2 {
    width: 100%;
    height: auto;
    background-color: rgb(201, 225, 255);
}

main {
    
    width: 100%;
    margin: 2rem auto;
}

/* ================================
   FOOTER
================================ */

footer {
    padding: 1.5rem 1rem;
    background: #000000;
    color: #fff;
    margin-top: 3rem;
   
}

footer p {
    text-align: center;
    text-indent: 0 !important;
    margin: 0 auto;
    
}

/* ================================
   ICONOS / LOGOS
================================ */

.logo img {
    width: 40px;
    height: 40px;
}

.spotify {
    color: #1DB954;
}

.youtube {
    color: #FF0000;
}

/* ================================
   TEXTO / PÁRRAFOS
================================ */

p {
    text-align: justify;
    text-indent: 2rem;
    line-height: 1.4rem;
    margin-bottom: 1rem;
}

.img-izq {
    float: left;
    width: 250px;
    margin: 0 15px 10px 0;
    border-radius: 4px;
}

.centro {
    line-height: 1.4rem;
    margin-top: 1rem;
}

.centro a {
    margin-top: 1rem;
    padding: 0.5rem;
}

section {
    width: 95%;
    height: auto;
    padding: 0.5rem;
    margin: auto;
}

.verde{
    color: #006f27;
}

.rojo{
     color: #6f0000;

}

/* ================================
   CATÁLOGO
================================ */

.tiuloCat {
    font-size: 1.5rem;
    margin-top: 1rem;
     color: #05305b;
}

.catalogo-scroll {
    overflow-x: auto;
    margin: 2rem 0;
    padding-bottom: 0.5rem;
}

.catalogo-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.catalogo-table thead {
    background: #222;
    color: #fff;
}

.catalogo-table th {
    padding: 0.8rem;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #444;
}

.catalogo-table td {
    padding: 0.7rem;
    border-bottom: 1px solid #ddd;
     text-align: center;
}

.catalogo-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.catalogo-table tbody tr:hover {
    background: #e9f3ff;
}

.catalogo-table a {
    color: #005bb5;
    font-weight: bold;
    text-decoration: none;
}

.catalogo-table a:hover {
    text-decoration: underline;
}


/* ========== MODAL PARA PORTADAS ========== */

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}


.modal-content-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}



.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
}

.noti iframe{
    width: 90%;
    height: 30rem;
}

.fotosExtra {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap; /* Opcional, por si querés que bajen en pantallas chicas */
    justify-content: center;
}

.fotoExtra {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 250px;
   margin: auto;
}

.fotoExtra img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

/* asegúrate de colocarlo después de la regla global p { ... } */
.descripcionFoto {
    display: block;       /* hace que ocupe línea propia */
    width: 100%;          /* ocupa todo el ancho del .fotoExtra */
    margin-top: .5rem;
    font-size: 1rem;
    color: #000000;
    text-align: center;   /* centra el texto */
    font-weight: 700;

    /* reset de propiedades globales que te pueden estar rompiendo */
    text-indent: 0;       /* elimina la sangría heredada */
    text-align-last: center; /* refuerza centrado en algunos browsers */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.25rem; /* opcional: evita que el texto pegue a bordes */
    padding-right: 0.25rem;
}



.portadaLibro {
    width: 5rem;        /* igual que antes */
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s;
}

.portadaLibro:hover {
    transform: scale(1.05);
}

/* ================================
   VIDEOS
================================ */
.videos{
    display: flex;
    flex-direction: row;
   
}
.video-container {
    display: flex;
    position: relative;
    width: 90%;
    max-width: 600px; /* podés ajustar este valor */
    margin: 1rem;
    padding-bottom: 2rem;
    flex-direction: column;
   
}

.video-container::before {
    content: "";
    display: block;
    padding-bottom: 56.25%; /* relación 16:9 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0.6rem;
}
.video-block {
    width: 100%;
    max-width: 600px;   /* el mismo máximo que el video */
    margin: 0 auto 2rem auto;
    text-align: center;
}

.video-title {
    margin-top: 0.7rem;
    font-size: 1rem;
    color: #333;
}




/* ================================
   NOTICIAS / INDEX
================================ */

.noti {
    width: 75%;
    height: auto;
    text-align: center;
    margin: auto;
    border: 2px solid #111;
    padding: 0.5rem;
    border-radius: 1.5rem;
    background-color: #c2c2c2;
}

.imagen1 {
    width: 100%;
    height: auto;
    text-align: center;
}

.imagen1 img {
    width: 30%;
    height: auto;
}

.imagen2 {
    width: 100%;
    height: auto;
    text-align: center;
}

.imagen2 img {
    width: 50%;
    height: auto;
}

/* ================================
   FOTOS - GRID
================================ */
.tituloFoto{
    font-size: 1.5rem;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #020021;
  text-shadow: 7px 5px 4px #a7a7a7;
  padding: 0.5rem;
    
    

}
.carrousel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
}

@media (max-width: 768px) {
    .carrousel-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CARRUSEL
================================ */

.carrousel {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.carrousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: black;
}

/* Texto dentro del carrusel */

.caption{
    width: 100%;
    height: 4.5rem;
    font-size: 1.4rem;
    background-color: #c2c2c2;
    text-align: center;
    padding: 0.6rem;
   border-radius: 0.4rem;
   font-weight: 1000;
   overflow: auto;
 
}


.carrousel .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0,0,0,0.45);
    text-align: center;
    z-index: 20;
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgba(0,0,0,0.40);
    border: none;
    color: white;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

.arrow:hover {
    background: rgba(0,0,0,0.70);
}

/* ================================
  MÚSICA
================================ */

.music-section {
  margin-bottom: 60px;
  border-radius: 12px;
}

.player-wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}

.cover {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.coverIniciacion {
  width: 100%;            /* ocupa todo el ancho disponible */
  max-width: 300px;       /* hacela más grande (podés subir este valor) */
  aspect-ratio: 3 / 2.2;  /* proporción más alta; cambiable según la imagen */
  background-size: cover; /* llena el contenedor */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  margin: 1rem;         /* centra la imagen */
}
.coverIniciacion2 {
  width: 100%;            /* ocupa todo el ancho disponible */
  max-width: 400px;       /* hacela más grande (podés subir este valor) */
  aspect-ratio: 3.8 / 2.7;  /* proporción más alta; cambiable según la imagen */
  background-size: cover; /* llena el contenedor */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  margin: 1rem;         /* centra la imagen */
}

.playlist {
  width: 250px;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #d0cee6;
  padding: 10px;
  box-shadow: 8px 10px 10px #9a9a9a;
}

.playlist div {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: 0.5s;
}

.playlist div:hover {
  background: #c19dff;
}

.playlist2 {
  width: 250px;
  max-height: 1000px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #d0cee6;
  padding: 10px;
  box-shadow: 8px 10px 10px #9a9a9a;
}

.playlist2 div {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: 0.5s;
}

.playlist2 div:hover {
  background: #c19dff;
}

.info {
  max-height: 200px;
  overflow-y: auto;
  background:  #edecff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 10px;
}



.audioControl{
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 1rem;
}
.audioControl audio{
    width: 50%;
    height: 1.5rem;
}

/* ================================
 CONTACTOS
================================ */
.contact-section {
  max-width: 600px;
  margin: 5px auto;
  padding: 20px;
  backdrop-filter: none;
}

.contact-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-form {
    width: 60%;
    height: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: auto;
}

.contact-form label {
  font-weight: 300;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 80%;
  padding: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.8rem;
  transition: 0.3s ease;
  background-color: #e9f1ff;
  margin: auto;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #888;
  outline: none;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.contact-form button {
    width: 80%;
    height: auto;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  background: #222;
  color: #fff;
  margin: auto;
}

.contact-form button:hover {
  background: #444;
}


/* RESPONSIVE */
@media (max-width: 700px) {
  .cover {
    max-width: 100%;
    aspect-ratio: 1 / 1; /* mantiene cuadrado */
  }
}


/* ================================
   RESPONSIVE
================================ */



@media (max-width: 600px) {

    body {
        width: 100%;
        height: auto;
        margin: auto;
    }

    .mobile-nav ul {
        flex-direction: column;
    }

  .mobile-nav ul li a {
        text-align: center;
        padding: 0.8rem;
    }

    .mobile-header h1 {
        font-size: 5rem;
    }

    .catalogo-table {
        font-size: 0.85rem;
        min-width: 650px;
    }

    .videos{

    flex-direction:column;
}

   .video-container {
    position: relative;
    width: 90%;
   
    margin: 0.5rem;
    padding-bottom: 1rem;
   
}

    .imagen1 img {
        width: 65%;
        height: auto;
    }

    .carrousel {
        height: 220px;
    }

    .noti {
    width: 95%;
    height: auto;
    }
    header nav{
        display: none;
    }

    .caption{
        width: 100%;
        height: auto;
        overflow: auto;
    }

    .contact-form {
    width: 100%;
    height: auto;

    
    
}


}

a{
    text-decoration: none;
    font-size: 1.1rem;
    color: #384870;
    font-weight: bold;
    transition: 0.5s;
   
}
a:hover{
    color: #6e88cb;
}


li{
    margin-top: 0.5rem;
}



/* ============================================
   MENÚ RESPONSIVE – FUNCIONAL Y SIN CONFLICTOS
============================================ */

/* Ocultar header móvil por defecto */
.mobile-header {
    display: none;
}

/* Menú móvil cerrado por defecto */
.mobile-nav {
    display: none;
    width: 100%;
    background: #000;
    padding: 0;
    margin: 0;
    z-index: 2000;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #333;
}

.mobile-nav a {
    display: block;
    padding: 14px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: #111;
}

/* Botón hamburguesa */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    right: 15px;
    top: 15px;
}

.menu-btn .bar {
    width: 30px;
    height: 4px;
    background: #fff;
    transition: 0.3s ease;
}

/* Efecto X */
.menu-btn.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Cuando el menú se abre */
.mobile-nav.open {
    display: block;
}


/*IONIZACIÓN*/

.info2 {
  width: 50%;
height: auto;
  background:  #edecff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 10px;
}

.info2 iframe{
  width: 100%;
  height: 800px;
}



.modal-content2{
    background: #111;

    width: 98%;
    max-width: 1200px;

    max-height: 90vh;        /* 🔥 clave */
    overflow-y: auto;        /* 🔥 scroll interno */

    padding: 1rem;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    box-sizing: border-box;
}


.modal-content2 img{
    max-width: 100%;
    height: auto;
}




.ion-text{
 width: 85%;
 height: auto;
  background:  #edecff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 10px;
  margin: auto;
}

.ion-text img{
    width: 100%;
    height: auto;
}

.ionMedia{
    width: 100%;
    height: auto;
    margin: auto;
    padding: 1rem;
   text-align: center;
}

.modal-content2 .ionMedia iframe {
  width: 100%;
  max-width: 400px;   /* ajustá a gusto */
  height: 200px;      /* altura del video */
  display: block;
  margin: 0 auto;
}
.modal-content2 .ionMedia video {
 width: 100%;
  max-width: 540px;   /* ← tamaño de preview cómodo */
  height: 260px;      /* ← 16:9 */
  margin: 0 auto;
  display: block;
  margin-bottom: 0.3rem;
}

.modal-content2 .ionMedia img {
  width: 100%;
  max-width: 1200px;   /* ← tamaño de la partitura */
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.3rem;
}

#esquemaModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#esquemaModal img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}



/* ============================================
   RESPONSIVE: activar menú móvil
============================================ */

@media (max-width: 768px) {

  /* =========================
     HEADER
  ========================= */

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #000;
    color: #fff;
  }

  .mobile-header h1 {
    margin: 0;
    text-align: center;
    font-size: 2.5rem;
  }

  /* =========================
     MODAL IONIZACIÓN
  ========================= */

  .modal {
    overflow-y: auto; /* permite scroll */
  }

  .modal-content2 {
    display: flex;
    flex-direction: column;   /* video arriba, texto abajo */
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .modal-content2 .ionMedia {
    width: 100%;
    padding: 0;
  }

  .modal-content2 .ionMedia iframe {
    width: 100%;
    max-width: 100%;
    height: 56.25vw;   /* 16:9 */
    max-height: 60vh;  /* evita desborde */
    display: block;
    margin: 0 auto;
  }
.info2 {
  width: 95%;
height: auto;
}
  /* =========================
     TEXTO
  ========================= */

  .ion-text {
    width: 100%;
    border-radius: 0;
    margin: 0;
    box-sizing: border-box;
  }


}

.creditos{
    width: 75%;
    height: auto;
    padding: 1rem;
    background-color: rgb(255, 244, 201);
    opacity: 5;
}

.creditos p{
    font-size: 1.2rem;
    font-family: 'Courier New', Courier, monospace;
}
.acred{
    text-align: right;
  
}
button{
    background-color: rgb(234, 251, 255);
    transition: 0.5s;
}

button:hover{
    background-color:rgb(176, 212, 220);

}

.desktop-nav ul .matDid > a {
    font-size: 0.78rem;
    background-color: rgb(201, 225, 255);
    color: #222;
    border-radius: 0.5rem;
    transition: 0.5s;
}

.desktop-nav ul .matDid > a:hover {
    background-color:  rgb(166, 206, 255);
    color: #222;
    border-radius: 0.5rem;
}

.mobile-nav ul .matDid > a {
    background-color: rgb(201, 225, 255);
    color: #222;
    border-radius: 0.5rem;
    transition: 0.5s;
}

.mobile-nav ul .matDid > a:hover {
    background-color: rgb(166, 206, 255);
    color: #222;
}


.contenedor-mail{
  text-align:center;
}

.boton-mail{
  display:inline-block;
  padding:12px 20px;
  background:#222;
  color:white;
  text-decoration:none;
  border-radius:8px;
  font-family:Arial;
}





