@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
  }
  
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
  font-size: 62.5%;
  font-family: 'Roboto', sans-serif;
}


:root {
    --main-color: #c47b68;
    --alternative-main: rgb(234, 234, 234);
    --card-height: 65vh;
    --card-width: calc(var(--card-height) / 1.5);
    --bg-primary: #111;
  --color-primary: #fff;
  --color-accent: #ff3c3c;
  --input-bg: #1e1e1e;
  --icon-color: #ff3c3c;
}
 body {
    height: auto;
    font-family: 'Roboto', sans-serif;
    background-size: cover;
    color: #333;
}

/* Clase para aplicar la animación */
.animate {
    will-change: opacity, transform;
    opacity: 0; /* Oculta el elemento inicialmente */
    transform: translateY(20px); /* Posición inicial */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave */
}

.animate.active {
    animation: fadeInUp 0.8s ease forwards;
}

.container {
    background-color: white;
    height: auto;
    background-size: cover; 
    
}
 
 li {
     list-style: none;
 }
 
 a {
     text-decoration: none;
 }
  


/* aqui empieza el nav */
  
.header {
  border-bottom: 1px solid #ffffff00;
  background-color: rgba(97, 97, 97, 0.1); /* Color negro con transparencia */
  backdrop-filter: blur(20px);
  position: fixed; /* Cambiar a fijo */
  top: 0; /* Asegura que se quede en la parte superior */
  width: 99vw; /* Ocupa todo el ancho */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */ 
  user-select: none;
  height: 60px;
  

}



 .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.5rem 1.5rem;
 }
 
 .responsive {
     display: none;
 }
 
 .bar {
     display: block;
     width: 25px;
     height: 3px;
     margin: 5px auto;
     -webkit-transition: all 0.3s ease-in-out;
     transition: all 0.3s ease-in-out;
     background-color: #fff;
 }
 
 .nav-menu {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }
 
 .nav-item {
     margin-left: 5rem;
 }
 
 .nav-link {
     font-size: 1.4vw;
     font-weight: 400;
     color: #fff;
     position: relative;
     transition: color 0.3s ease-in-out;
 }

 .nav-link::after {
     content: '';
     position: absolute;
     width: 0;
     height: 2px;
     display: block;
     margin-top: 5px;
     right: 0;
     background: #c47b68;
     transition: width 0.3s ease-in-out;
     -webkit-transition: width 0.3s ease-in-out;
 }

 .nav-link:hover {
     color: #c47b68;
 }

 .nav-link:hover::after {
     width: 100%;
     left: 0;
     background: #c47b68;
 }
 
 .nav-logo {
     font-size: 3rem;
     font-weight: 500;
     color: #fff;
 }
 
 @media only screen and (max-width: 768px) {
     .nav-menu {
         position: fixed;
         left: -100%;
         top: 5rem;
         flex-direction: column;
         background-color: rgba(34, 34, 34, 0.8); /* Color negro con transparencia */
         backdrop-filter: blur(50px); /* Efecto difuminado */
         width: 100%;
         border-radius: 10px;
         text-align: center;
         transition: 0.3s;
         box-shadow:
             0 10px 27px rgba(0, 0, 0, 0.05);
     }
 
     .nav-link {
         color: #ffffff;
         font-size: 4vw;
     }
 
     .nav-menu.active {
         left: 0;
     }
 
     .nav-item {
         margin: 2.5rem 0;
     }
 
     .responsive {
         display: block;
         cursor: pointer;
     }
 
     .responsive.active .bar:nth-child(2) {
         opacity: 0;
     }
 
     .responsive.active .bar:nth-child(1) {
         transform: translateY(8px) rotate(45deg);
     }
 
     .responsive.active .bar:nth-child(3) {
         transform: translateY(-8px) rotate(-45deg);
     }
 
 }


 /* aqui termina el nav */


.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 10px 0;
    border: none;
}


/* Aqui empieza el footer */

.footer {
  background-color: #333;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-about,
.footer-contact,
.footer-social {
  flex: 1 1 300px;
}

.footer-about h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #c47b68;
}

.footer-about p,
.footer-contact p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #ddd;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social .social-icons i {
  font-size: 2vw;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icons i:hover {
  transform: scale(1.2);
  color: #c47b68;
}
/* Responsivo para tablets (pantallas medianas: 768px a 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .footer-social .social-icons i {
      font-size: 3vw; /* Aumenta el tamaño del icono en tablets */
  }
}

/* Responsivo para móviles (pantallas pequeñas: 480px a 767px) */
@media (max-width: 767px) and (min-width: 480px) {
  .footer-social .social-icons i {
      font-size: 4vw; /* Iconos más grandes en móviles */
  }
}

/* Responsivo para pantallas extra pequeñas (menos de 480px) */
@media (max-width: 480px) {
  .footer-social .social-icons i {
      font-size: 5vw; /* Iconos aún más grandes en pantallas muy pequeñas */
  }

  .historia p{
      padding: 3vw;
  }
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: #aaa;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-about,
  .footer-contact,
  .footer-social {
      flex: 1 1 100%;
  }
}

.footer-contact a{

  text-decoration: none;
  
}

.footer-contact a:hover{
  
  text-decoration: underline white;

}


/* aqui termina el footer */

/* Animación de aparición */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Comienza ligeramente desplazado hacia abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Termina en su posición original */
    }
}

.cartas{
    justify-content: center;
    display: flex;
    gap: 5000vw;
    height: 28vw;
    height: auto;
    
}

@media (max-width: 767px) {
    .cartas {
        flex-direction: column; /* Cambia la dirección del diseño a columna */
        gap: 4vw; /* Ajusta el espacio entre las cartas */
        height: auto; /* Permite que el contenedor se ajuste automáticamente */
        align-items: center; /* Centra las cartas horizontalmente */
    }
}

/* Responsive para pantallas extra pequeñas (menos de 480px) */
@media (max-width: 480px) {
    .cartas {
        flex-direction: column; /* Mantén las cartas en columna */
        gap: 6vw; /* Aumenta el espacio entre las cartas */
        height: auto; /* Ajusta la altura automáticamente */
        align-items: center; /* Centra las cartas horizontalmente */
    }
}

.Services {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../IMG/estudio\ .jpg');
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
@media (max-width: 768px) {
    .Services {
        height: 30vh;   /* responsive imagen de servicios */
    }
}

.Services h1{
    color: white;
    font-size: 4vw;
    font-family: 'LostaLigera';
    font-weight: lighter;
    text-align: center;
}
@media (max-width: 768px) {
    .Services h1 {
        font-size: 8vw; /* Ajusta el tamaño del texto para pantallas pequeñas */
    }
}

.servicios-content{
    width: 100%;
    height: auto;
    background:#202020;
    display: flex;
    justify-content: center;
}
.section1{
    width: 90%;
    height: auto;
    margin-top: 2.5vw;
}
@media (max-width: 480px) {
    .section1 {
        width: 100%; /* Ocupa el 100% del ancho del contenedor */
        margin-top: 2vw; /* Ajusta el margen superior si es necesario */
    }
}

.section1-h3 {
    font-family: 'Avenir';
    font-size: 2vw;
    color: white;
    text-align: center;
}
@media (max-width: 500px) {
    .section1-h3 {
        font-size: 4vw; /* Ajusta el tamaño del texto para pantallas pequeñas */
        font-family: 'Avenir';
        font-weight: lighter;
    }
}

.h3-center{
    display: flex;
    justify-content: center;
}






/* Aqui inicia el portafolio */
.port-h1  h1{
    font-family: 'LostaBonita';
    font-size: 5vw;
    color: white;
    text-align: center;
    display: flex;
}
.port-h1 {
    width: 100%;
    height: auto;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio {
    width: 100%;
    height: auto;
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }
  
  /* Estilos para los pasos */
  .step-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 80vw;
    width: 100%;
    transition: all 0.3s ease;
  }
  
  .step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2vw;
    position: relative;
  }
  
  .step:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  
  .step:nth-child(even) .step-number {
    left: auto;
    right: -20px;
  }
  
  .step-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 1;
    position: relative;
  }
  
  .step-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
  
  .step-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
    max-width: 600px; /* Máximo ancho */
    max-height: 400px; /* Máximo alto */
    width: 100%; /* Se ajusta al 100% del contenedor */
    height: auto; /* Mantiene la proporción */
    border-radius: 12px;
    object-fit: cover;
  }
  .step-image video {
    max-width: 600px; /* Máximo ancho */
    max-height: 400px; /* Máximo alto */
    width: 100%; /* Se ajusta al 100% del contenedor */
    height: auto; /* Mantiene la proporción */
    border-radius: 12px;
    object-fit: cover;
  }
 
  
  @media (max-width: 768px) {
    .step {
      flex-direction: column !important;
    }
  
    .step-number {
      top: -25px;
      left: 20px;
      right: auto !important;
    }
  }
  
  /* Ver más efecto */
  .collapsed .step:nth-child(n+4) {
    display: none;
  }
  
  .button-container {
    text-align: center;
    margin-top: 30px;
  }
  
  button {
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #c96c55;
  }

/* Aqui termina el portafolio */




                /* Aqui todo el css de contactanos */

/* CONTACT SECTION */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 10%;
    align-items: start;
    background-color: #111111; /* Fondo del contenedor de contacto */

  }

  .titulo-contact{
    width: 100%;
    height: auto;
    background-color: #111;
    

  }

  .titulo-contact h1 {
    color: white;
    text-align: center;
    font-size: 3vw;
    font-family: "lstaBonita";
    padding-top: 1vw;
    text-transform: uppercase;
    
  }

  @media (max-width: 768px) {
    .titulo-contact h1 {
        font-size: 10vw; 
    }
}
  
  .contact-content h2{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.918);
  }
  
  .contact-content span {
    color: var(--main-color);
  }
  
  .contact-content p {
    font-size: 14px;
    font-style: bold;
    margin-bottom: 30px;
    max-width: 400px;
    color: rgb(225, 224, 222);
  }
  
  .contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  
  .contact-info i {
    font-size: 20px;
    color: var(--icon-color);
    margin-right: 15px;
  }
  
  .contact-info h4 {
    margin-bottom: 5px;
    color: var(--main-color);
  }
  
  .social {
    margin-top: 20px;
  }
  
  .social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--main-color);
    color: white;
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .social a:hover {
    background-color: white;
    color: var(--icon-color);
  }
  
  .contact-form {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }
  
  .contact-form label {
    font-size: 14px;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
  }
  .icono{
    font-size: 0.9vw;
  }
  .input-box {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
  }
  
  .input-box i {
    color: #aaa;
    margin-right: 10px;
  }
  
  .input-box input,
  .input-box textarea {
    border: none;
    background: transparent;
    color: white;
    width: 100%;
    outline: none;
    font-size: 14px;
  }
  
  .input-box.textarea {
    align-items: flex-start;
    height: 100px;
  }
  
  .input-box textarea {
    resize: none;
    height: 100%;
  }
  
  .contact-form button {
    margin-top: 15px;
    width: 100%;
    background-color: var(--main-color);
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background-color: #c96c55;
  }
  
  @media (max-width: 768px) {
    .contact {
      grid-template-columns: 1fr;
      padding: 40px 5%;
    }
  
    .contact-content h2 {
      font-size: 24px;
    }
  
    .contact-form {
      margin-top: 20px;
    }
  }

  @media (max-width: 480px) {
    .icono {
      font-size: 3vw;
    }
  }
  /* Aqui termina el css de contactanos */