/* =========================================================
   RESPONSIVE.CSS
   Archivo optimizado y completo con ajustes para dispositivos móviles
   y pantallas mayores.
========================================================= */

/* =========================================================
   RESPONSIVE: MOBILE (max-width: 767px)
========================================================= */
@media only screen and (max-width: 767px) {

  /* Modal Música (Modal #modalMusica) */
  #modalMusica .modal-content p {
    font-size: 50px;
    line-height: 55px;
  }
  #modalMusica .modal-content h3 {
    font-size: 75px;
    line-height: 75px;
  }
  #modalMusica .modal-content p span {
    font-size: 23px;
  }
  #modalMusica .modal-content .boton {
    margin-bottom: 15px;
  }
  #modalMusica .adorno {
    width: 100%;
  }
  #modalMusica .adorno.adorno-2 {
    margin-top: 20px;
  }
  #modalMusica .modal-content span.aclara-musica {
    font-size: 20px;
    line-height: 20px;
  }

  /* Títulos y Subtítulos */
  .title {
    font-size: 30px;
    line-height: 35px;
    padding: 0 15px;
  }
  .subtitle {
    font-size: 22px;
    line-height: 25px;
    padding: 0 15px;
    margin-top: 10px;
  }

  /* Sección Portada */
  section.portada .adorno {
    width: 100%;
    top: -1px;
  }
  section.portada .adorno-portada {
    margin-bottom: 15px;
  }
  section.portada .content-portada h4 {
    font-size: 25px;
    line-height: 40px;
  }
  section.portada .content-portada h1 {
    font-size: 55px;
    line-height: 50px;
  }
  section.portada .box-nombres-fecha-portada h1 span {
    font-size: 35px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 15px;
  }
  section.portada .content-portada span.fecha:before {
    right: -40px;
  }
  section.portada .content-portada span.fecha:after {
    left: -40px;
  }
  section.portada .content-portada {
    width: 95%;
  }
  section.portada .content-portada span.fecha {
    font-size: 25px;
    margin-bottom: 20px;
  }
  section.portada {
    padding-bottom: 220px;
  }
  section.portada .box-frase-portada p {
    font-size: 25px;
    line-height: 28px;
  }
  section.portada .box-frase-portada {
    margin-top: 25px;
  }
  section.portada::after {
    bottom: -2%;
  }

  /* Sección Cuenta Regresiva */
  section.cuenta-regresiva .box-aros {
    top: -225px;
    width: 100%;
    max-width: 380px;
    max-height: 380px;
    min-width: 320px;
    min-height: 320px;
  }
  section.cuenta-regresiva .box-aros .box-circulo span.falta {
    font-family: 'ToyFont', sans-serif !important;
    font-size: 30px;
    margin-top: 0;
  }
  section.cuenta-regresiva .reloj-col span.number {
    font-family: 'ToyFont', sans-serif !important;
    font-size: 20px;
  }
  section.cuenta-regresiva .reloj-col span.time {
    font-family: 'ToyFont', sans-serif !important;
    font-size: 15px;
  }
  section.cuenta-regresiva .box-aros .box-circulo {
    padding: 20px 0;
    height: 70%;
    width: 70%;
  }
  section.cuenta-regresiva {
    height: 240px;
  }
  section.cuenta-regresiva p.fin-cuenta {
    padding: 20px 0 0 0;
  }

  /* Sección Footer */
  section.footer h4 {
    font-size: 60px;
    line-height: 60px;
  }
  section.footer h5 {
    font-size: 25px;
    line-height: 25px;
    padding: 25px;
  }
  section.footer h4 span {
    font-size: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  section.footer .col-acciones-footer ul {
    padding: 0;
    margin: 0;
    text-align: center;
    margin-top: 55px;
  }
  section.footer .col-acciones-footer ul li {
    text-align: center;
    font-size: 15px;
  }
  section.footer .addeventatc {
    font-size: 15px;
  }
  section.footer {
    padding-top: 30%;
    padding-bottom: 20%;
  }

  /* Sección Ceremonia y Fiesta */
  section.ceremonia-fiesta .adorno {
    width: 130px;
    top: 875px;
    left: -40px;
  }
  section.ceremonia-fiesta .col-ceremonia h3,
  section.ceremonia-fiesta .col-fiesta h3 {
    padding: 12px 30px 12px;
    font-size: 50px;
  }
  section.ceremonia-fiesta .col-ceremonia .anim-anillos,
  section.ceremonia-fiesta .anim-fiesta {
    width: 50%;
    height: auto;
    max-width: 175px;
  }
  section.ceremonia-fiesta:after {
    bottom: -2px;
  }
  section.ceremonia-fiesta .info-col .info-box h6 {
    font-size: 35px;
  }
  section.ceremonia-fiesta .info-col .info-box a.boton {
    min-width: 80%;
  }
  section.ceremonia-fiesta {
    padding-bottom: 35%;
  }

  /* Sección Fiesta */
  section.fiesta {
    padding-top: 35%;
    padding-bottom: 35%;
    background-position-y: 50px;
  }
  section.fiesta .item-fiesta h3 {
    font-size: 30px;
  }
  section.fiesta .item-fiesta .adorno-1 {
    position: absolute;
    top: -60px;
    left: -30px;
    z-index: -1;
    width: 150px;
  }
  section.fiesta:after {
    bottom: -35px;
  }
  section.fiesta .item-fiesta a.boton {
    min-width: 100%;
  }

  /* Sección Regalos */
  section.regalos {
    padding-top: 120px;
    padding-bottom: 25%;
  }
  section.regalos .adorno {
    width: 110px;
    top: 200px;
    left: -40px;
  }

  /* Sección Instagram */
  section.instagram {
    padding-top: 40%;
    padding-bottom: 50%;
  }
  section.instagram:before {
    top: -2px;
  }
  section.instagram .hashtag {
    font-size: 35px;
  }
  section.instagram:after {
    bottom: 0;
  }

  /* Modal Mapa y Modales generales */
  #modalMapa .modal-header .modal-title {
    font-size: 23px;
  }
  .modal-dialog .modal-icon {
    top: -55px;
  }
  .modal-card .img-top-modal {
    height: 90px;
  }
  .modal-card .form-group .form-check label {
    font-size: 17px;
  }
  .modal-card .modal-header .modal-title {
    font-size: 25px;
    line-height: 30px;
  }
  .modal-card .img-top-modal .adorno-1 {
    width: 90%;
    min-width: 280px;
    max-width: 400px;
    top: -130px;
  }

  /* Controlador y Ícono de Música */
  #controlador-musica {
    top: initial;
    bottom: 65px !important;
      right: 36px !important;
  }
  .music-anim-icon {
    width: 80px;
    height: 80px;
    cursor: pointer;
  }

  /* GLOBOS (BALLOONS) - Ajustes para MOBILE */
  .balloons-container .balloon {
    width: 60px;
    animation-duration: 7s; /* un poco más largo en mobile, si lo deseas */
  }
  .balloons-container .balloon:nth-child(1) {
    left: 20%;
    bottom: 35%;
  }
  .balloons-container .balloon:nth-child(2) {
    left: 50%;
    bottom: 15%;
  }
  .balloons-container .balloon:nth-child(3) {
    left: 75%;
    bottom: 25%;
  }
  .balloons-container .balloon:nth-child(4) {
    left: 30%;
    bottom: 10%;
  }

  /* Ajustes para la animación de globos "mejorada" */
  :root {
    --balloon-size: clamp(30px, 8vw, 60px);
  }
  .balloon-animation-wrapper .balloon-container .balloon {
    width: var(--balloon-size);
  }
}

/* =========================================================
   RESPONSIVE: TABLET TO DESKTOP (min-width: 992px)
========================================================= */
@media only screen and (min-width: 992px) {
  .content-fotos .shadow-left {
    display: block;
    position: absolute;
    left: 0;
    z-index: 999;
    height: 150%;
    width: 6%;
    background: url('../img/img_sombraGaleria_izq.svg') left center no-repeat;
    top: -27%;
  }
  .content-fotos .shadow-right {
    display: block;
    position: absolute;
    right: 0;
    z-index: 999;
    height: 150%;
    width: 6%;
    background: url('../img/img_sombraGaleria_der.svg') right center repeat-y;
    top: -27%;
  }
}

/* =========================================================
   OTRAS BREAKPOINTS - TABLET EXACTA, ETC.
   (opcional si lo requieres)
========================================================= */
/* Ejemplo: para tablets entre 768px y 1024px */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  :root {
    --balloon-size: clamp(35px, 6vw, 60px);
  }
  .balloon-animation-wrapper .balloon-container .balloon {
    width: var(--balloon-size);
  }
}


/* Fondo para el modal en pantallas móviles */
@media (max-width: 767px) {
  .modal {
    background: url('../img/fondo-mobile-cumples.webp') no-repeat center center !important;
    background-size: cover; /* Se asegura de cubrir todo el contenedor */
  }
}
