@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  
}

h1 {
  font-family: "PT Serif", serif;
  color: #ffffff;
}

h2 {
  color: #fff;
  font-family: "PT Serif", serif;
}
h3{
  font-family: "PT Serif", serif;
}
.title h3{
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: #447de6;
  font-size: 40px;
  font-family: "Roboto", sans-serif;
}

/*fondo*/
.main_video {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);

}

#content {
  position: relative;
  z-index: 1;
  color: #030303;
  text-align: center;
  padding: 20px;
}

/* nuevo menu */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #585757ad;
  padding: 10px 20px;
  position: relative;
}
.navbar img {
width: 110px;

}
.navbar .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}
.navbar .menu li {
  margin-left: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.navbar .menu li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  transition: color 0.3s;
}
.navbar .menu li a .icon {
  margin-top: -30px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-10px);
}
.navbar .menu li a:hover {
  color: #447de6;
}
.navbar .menu li a:hover .icon {
  opacity: 1;
  transform: translateY(10px);
}
.navbar .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
}
.navbar .hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar .hamburger.active div:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar .hamburger.active div:nth-child(2) {
  opacity: 0;
}
.navbar .hamburger.active div:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar {
      justify-content: space-between;
  }
  .navbar .menu {
      display: flex;
      flex-direction: column;
      width: 100%;
      background-color: #333333da;
      position: absolute;
      top: 130px;
      left: 0;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
  }
  .navbar .menu.show {
      max-height: 300px;
      opacity: 1;
  }
  .navbar .menu li {
      margin: 10px 0;
      text-align: center;
  }
  .navbar .hamburger {
      display: flex;
  }
}



/* redes sociales  */
.social_main {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;

}

.social-icons {
  display: flex;
  justify-content: space-around;
  width: 200px;

}

.social-icons a {
  color: #447de6;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.3s ease-in-out;
}


.social-icons a:hover {
  transform: scale(1.2);
  text-decoration: underline;
  color: #ffffff;
}

/* banner */
.banner {
  width: 100%;
  border-bottom: #ffffff solid 1px;
  margin: 0 auto;
  /* Centra el banner horizontalmente */
  text-align: center;
  /* Centra el contenido del banner */
  padding: 20px;
  /* Espaciado interno */
}

.banner h1 {
  font-size: 60px;
  color: #ffffff;
}

.banner p {
  font-size: 40px;
  color: #ffffff;
margin-top: -30px;
}
.banner a {
  color: rgba(0, 0, 0, 0.733);
  font-size: 35px;
  border-top: #447de6 solid 1px;
  border-bottom: #447de6  solid 1px;
  border-right: #447de6  solid 1px;
  border-left: #447de6  solid 1px;
  background-color:#447de6;
  border-radius: 16px;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  
}

.banner a:hover {
  color: rgba(0, 0, 0, 0.733);

  border-top: #e5a2b4 solid 1px;
  border-bottom: #e5a2b4 solid 1px;
  border-right: #e5a2b4 solid 1px;
  border-left: #e5a2b4 solid 1px;
  background-color: #ffffff;
  transition: ease-in-out .9;
}


@media screen and (max-width: 768px) {
  .banner {
    max-width: 600px;
    /* Ajusta el ancho máximo para dispositivos de escritorio */
  }

  .banner h1 {
    font-size: 40px;
  }
  .banner p{
    font-size: 25px;
    margin-top: 20px;
  }
}

/* cards */


.info-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.info-btn:hover {
  background-color: #0056b3;
}

@media only screen and (max-width: 600px) {
  .container_2 {
    flex-direction: column;
  }
}






.container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: #030303bb;
}
.card {
  position: relative;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f971;
}
.card img {
  width: 100%;
  border-radius: 5px;
}
.card h2 {
  margin-top: 10px;
  font-size: 30px;
  font-family: "Roboto", sans-serif;
  color: #ffffff ;
  justify-content: center;
  display: flex;
  text-align: center;
}
.card p {
  margin-top: 5px;
  font-size: 16px;
  margin-bottom: 50px;
}
.card a{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background-color: #cdcecf;
  color: #00000083;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}
.card a:hover {
  background-color: #447de6;
}



/* banner rent studio */

.promo-banner {
  background-color: #f7f7f788;
  padding: 30px 20px; /* altura más baja */
}

.promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px;
}

.promo-text {
  flex: 1;
  min-width: 260px;
  max-width: 480px;
  text-align: justify;
}

.promo-text p {
  font-size: 0.95rem; /* texto más pequeño */
  line-height: 1.5;
  color: #333;
  margin-bottom: 10px;
}

.promo-image {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.promo-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  animation: zoomBounce 6s infinite ease-in-out;
}

@keyframes zoomBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Botón reutilizado */
.rent-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: #fff;
  background-color: #111;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.rent-button:hover {
  background-color: #444;
  transform: scale(1.05);
}

/* Responsive: stack en móviles */
@media (max-width: 768px) {
  .promo-content {
    flex-direction: column;
    text-align: center;
  }

  .promo-text {
    order: 2;
  }

  .promo-image {
    order: 1;
  }
}








/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.5s ease-in-out;
  
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente para que la imagen de fondo sea visible pero el contenido sea legible */

  background-size: cover;
  background-position: center;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
}
.modal-content h2{
  color: #000000;
}
.modal-content i{
  color: #000000;
  font-size: 45px;
}
.modal-content a{
  color: #000000;
  font-size: 25px;
}
.modal-content2 a{
  color: #000000;
 font-size: 25px;
}

.close {
  color: #074b83;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
    color: #01062e;
  text-decoration: none;
  cursor: pointer;
}

.icon {
  text-align: center;
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

ul li a {
  color: #bebcbc;
  text-decoration: none;
  font-size: 18px;
}

ul li a:hover {
  text-decoration: underline;
}


/* modal2 */
.modal2 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.5s ease-in-out;
  
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content2 {
  background-color: rgba(255, 255, 255, 0.9); 

  background-size: cover;
  background-position: center;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
}
.modal-content2 h2{
  color: #000000;
}
.modal-content2 i{
  color: #000000;
  font-size: 45px;
}
.modal-content2 p{
  color: #000000;
}

.close2 {
  color: #070707;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.icon2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-content2 ul {
  list-style-type: none;
  padding: 0;
}

.modal-content2 ul li {
  margin-bottom: 10px;
}

.modal-content2 ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
}
.modal-content2 ul li a:hover {
  text-decoration: underline;
}
.modal-content2 a{
  color: #000000;
}

  


/* map */

.containerm {
  max-width: 800px;
  height: 200px;
  margin: 20px auto;
  background-color: #ffffff27;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.textom {
  flex: 1;
  padding: 20px;
}

.textom p {
  line-height: 1.6;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

.iframe {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-top: 75%;
  /* Aspect ratio 4:3 */
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 768px) {
  .containerm {
    flex-direction: column;
    border-radius: 0;
    height: 400px;
  }

  .textom,
  .iframe {
    flex: 1;
  }
}

/* footer */

footer {
  background-color: #3333339d;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  border-top: 1px #447de677 solid;
}

.containerf {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.containerf img{
  width: 80px;
  margin-right: 20px;
}
.footer-info {
  flex: 1;
  text-align: left;

}
.footer-info p a{
  color: #fff;
  text-decoration: none;
}


.footer-links {

  font-family: "Roboto", sans-serif;
  font-size: 18px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #447de6;
  text-decoration: underline;
}

.footer-social {
  flex: 1;
}

.footer-social a {
  color: #fff;
  font-size: 24px;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #447de6;
  text-decoration: underline;

}

/* Media Query para dispositivos móviles */
@media screen and (max-width: 768px) {
  .containerf {
    flex-direction: column;
  }

  .footer-links {
    font-size: 25px;
  }

}