
section{
    /* background-color: rgba(255, 255, 255, 0.8); *//* White with 80% opacity */
    background-color: #011627;
    padding: 20px;
    display: flex;
	  flex-direction: column;
	  justify-content: center;
	  text-align: center;
}
section h2{
    margin-top: 200px;
	  font-size: 50px;
    margin-bottom: 40px;
    padding: 5px;
    font-family: 'Optima';
    color: rgb(235, 229, 229);
}
section p{
	max-width: 800px;
	margin: 0 auto;
	font-size: 25px;
}
section div{
	text-align: left;
}

/* bienvenidos */
#introduccion{
    margin-left: 50px;
    font-family: 'Optima';
}
body{
    font-family: 'Optima';
}
.recital-intro img
{
    max-width: auto;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    align-items: center;
    margin-bottom: 60px;
}
.bio-block-recital
{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1000px; /* optional: limits max width */
    margin-left: auto;
    margin-right: auto; /* centers the block horizontally */
}
.bio-block-recital img{
    /*width: 500px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover; */
    width: 300px;   /* más grande que 500px */
    height: auto;   /* mantiene proporción */
    border-radius: 8px;
}
/* descripcion */
.perfil{
    width: 200px;
    height: 300px;
    margin-left: 30px;
    margin-right: 50px;
    border-radius: 10px;
    float: right;
}
.descripcion{
    display: block;
    flex-direction: column;
    gap: 30px;
}

.bio-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto; /* centers the block horizontally */
}

.bio-block img {
    /*width: 300px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover; */
    width: 300px;   /* más grande que 500px */
    height: auto;   /* mantiene proporción */
    border-radius: 8px;
}

.bio-block p,
.bio-block .parrafo {
    flex: 1;
}

.bio-block .parrafo {
    flex: 1;
    display: flex;
    flex-direction: column; /* parrafos stacks verticalmente */
    gap: 10px; /* Espacio entre parrafos */
}


/* mapa */
.mapswrapper{
    position:relative;
    align-self: center;
}
.mapswrapper iframe{
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
}
.mapswrapper a{
    color:rgba(0,0,0,0);
    position:absolute;
    left:0;
    top:0;
    z-index:0;
}
.portfolio{
  padding: 80px 24px;
  margin-bottom: 96px;
}

#galeria{
  display:grid;
  margin:0 auto;
  max-width:1200px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 260px;
  gap:24px;
}

.box{ overflow:hidden; border-radius: 6px; }

.box img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}

.box:hover img{ transform: scale(2.06); }

/* contacto */
#contacto {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
}

.contacto-contenedor {
    max-width: 900px;
    margin: 0 auto; /* centers the form inside */
    
}
.formulario {
    width: 100%;
    width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    font-family: 'Optima';
    font-size: 20px;
    text-align: center;
    /*margin-left: 90px;*/
}

.contacto-tabla {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-self: center;
    align-content: center;
    gap: 20px;
    width: 100%;
}

.input-group {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
}

.input-group > div {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.contacto-tabla > div {
    width: 100%;
}

label {
    margin-bottom: 5px;
    text-align: left;
}

.input,
.input-msge {
    font-family: 'Optima';
    font-size: 20px;
    color: rgb(178,187,158);
    border-radius: 20px;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
}

.input-msge {
    height: 150px;
    resize: vertical;
}

.bton-enviar {
    font-family: 'Optima';
    font-size: 20px;
    color: #011627;
    background: #ff9f1c;
    border: 4px solid #ff9f1c;
    border-radius: 50px;
    width: 200px;
    height: 50px;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; 
  }

  header .container {
    height: 70px; 
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    max-height: 40px;
  }

  section {
    padding: 15px;
  }

  section h2 {
    margin-top: 120px;
    font-size: 32px;
  }

  section p {
    font-size: 18px;
  }

  .recital-intro img,
  .bio-block-recital img,
  .bio-block img {
    /* width: 100%;
    height: auto; */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .bio-block,
  .bio-block-recital {
    flex-direction: column;
    align-items: center;
  }

  .perfil {
    float: none;
    margin: 0 auto 20px auto;
    display: block;
  }

  .descripcion {
    text-align: center;
  }

  #mapa .parrafo {
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
  }

  .transporte,
  .address-box {
    width: 80%;
    margin: 0 auto;
  }

  .input-group > div {
    flex: 1 1 100%;
  }

  .formulario {
    max-width: 80vw;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  input, textarea, select {
    width: 100%;
    box-sizing: border-box;
  }

  .discografia iframe {
    /* width: 100%; */
    max-width: 80vw;
    height: auto; 
    display: block;
    margin: 0 auto;
  }

  .faq {
    padding: 0 1rem;
    max-width: 90vw;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .album-container .album iframe {
    max-width: 90vw;
    /* width: 100vw; */
  }
  .portfolio{ margin-bottom: 120px; }
  #galeria{ 
    /* grid-auto-rows: 200px; gap:16px;  */
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
  }
  .box:hover img{ transform: none; }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  header .container {
    height: 70px; 
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  button.hamburguesa {
  display: block !important;
  position: absolute;
  top: 15px;
  right: 40px; /* ajusta para que no quede cortado */
  background-color: #011627;
  border-radius: 5px;
  color: white;
  padding: 5px 10px;
  font-size: 28px;
  z-index: 1000;
  cursor: pointer;
  border: none;
}
.menu.desplegable-vertical {
  display: flex !important;
  flex-direction: column;
  position: absolute !important;
  top: 60px !important;
  right: 20px !important;
  width: 200px !important;
  background: #011627 !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
  padding: 10px 0;
  border-radius: 5px;
  z-index: 1000 !important;
}

.menu.desplegable-vertical ul {
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu.desplegable-vertical ul li {
  margin: 0;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

.menu.desplegable-vertical ul li:last-child {
  border-bottom: none;
}

.menu.desplegable-vertical ul li a {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.menu.desplegable-vertical ul li a:hover {
  background-color: #f28ab2;
  color: white;
  border-radius: 3px;
}

nav.menu {
  display: none; /* menú oculto en tablet */
  position: absolute; /* para desplegar tipo dropdown */
  top: 60px;
  right: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  width: 250px;
  z-index: 100;
}
  .logo {
    max-height: 40px;
  }

  section {
    padding: 15px;
  }

  section h2 {
    margin-top: 120px;
    font-size: 32px;
  }

  section p {
    font-size: 18px;
  }

  .recital-intro img,
  .bio-block-recital img,
  .bio-block img {
    /*width: 100%;
    height: auto; */
    width: 420px;
    height: auto;
    object-fit: contain;
  }

  .bio-block,
  .bio-block-recital {
    flex-direction: column;
    align-items: center;
  }

  .perfil {
    float: none;
    margin: 0 auto 20px auto;
    display: block;
  }

  .descripcion {
    text-align: center;
  }
  .portfolio{ margin-bottom: 120px; }
   .input-group > div {
    flex: 1 1 100%;
  }

  .formulario {
    max-width: 80vw;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  input, textarea, select {
    width: 100%;
    box-sizing: border-box;
  }

  .album-container .album iframe {
    max-width: 90vw;
    /* width: 100vw; */
  }
  #galeria{ 
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;  /* más alto para apreciar mejor */
    gap: 20px;
  }
}
