*,
*::before,
*::after {
  box-sizing: border-box;
}
body{
  background: #504c4c;
}
.navbar-personalizado{
    padding: 0;
    width: 100%;
    margin:  0 ;
    background-color: #817f7f;
}
.link{
    text-align: center;
    border-right: 1px solid #817f7f ;
}
.link:hover {
    color: rgb(253, 248, 115);
}
 
/* -----------SECCION ELEGIR SERVICOS ------------------------------*/


  .parallax-section {
      position: relative;
      height: 100vh;
      background-image: url('https://e0.pxfuel.com/wallpapers/917/290/desktop-wallpaper-stock-of-barber-barber-shop-barbershop.jpg');
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

    .overlay-text {
      font-size: 3rem;
      text-align: center;
      z-index: 2;
    }

    .content-section {
      padding: 100px 15px;
      background-color: #f8f9fa;
    }

  /*                      SECCION DE RESERVA                         */
  .contenido-reserva {
    background-color: #111; /* Fondo oscuro */
    color: white;
    padding: 80px 20px;
    text-align: center;
  }
  
  .contenido-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .contenido-texto p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .botones .btn {
    margin: 0 10px;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .botones .btn:hover {
    transform: scale(1.05);
  }
/*--------------------SECCION DE SERVICIOS------------------------------*/
.seccion-servicios {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  flex-wrap: wrap; /* Para mantener responsive */
}

.servicio {
  flex: 1 1 300px; /* Quepan mínimo de 300px antes de hacer wrap */
  max-width: 500px;
  transition: transform 0.3s ease;
}

.servicio:hover {
  transform: scale(1.03);
}

.imagen-servicio {
  position: relative;
  width: 100%;
  padding-top: 60%; /* Aspect ratio 16:9 */
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.imagen-servicio:hover .overlay {
  background-color: rgba(0, 0, 0, 0.6);
}



  /*---------------------------FOOTER--------------------------*/
.footer {
  background-color: #111;
  color: #d4af37;
  padding: 40px 20px 10px;
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-social {
  text-align: center;
  margin: 20px 0;
}

.footer-social a {
  color: #d4af37;
  font-size: 24px;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 14px;
}

  
/*//////////////////////////////////////    BARBERIA.HTML     //////////////////////////////////////*/
#sliderBarberia .carousel-item img {
  width: 100%;
  height: 600px; /* Ajusta esta altura según lo que desees */
  object-fit: cover; /* Mantiene las proporciones de la imagen sin deformarla */
}
/* Control de altura de la tarjeta y sus elementos internos */
.card {
  height: 100%; /* se mantiene, ya lo tienes */
  display: flex;
  flex-direction: column;
}

/* Imagen con altura fija y proporción adecuada */
.card-img-top {
  height: 300px; /* Puedes ajustar la altura según lo que necesites */
  object-fit: cover; /* Esto recorta la imagen para que se mantenga proporcional sin deformarse */
}

/* El cuerpo de la tarjeta crece igual para todas */
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Espacia título, texto y botón */
}

/*//////////////////////////////////////    login.HTML     //////////////////////////////////////*/


  .login-container {
            color: #f4eaea;
            max-width: 400px;
            margin: 100px auto;
            padding: 30px;
            background-color: #8a8787;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
  .login-container h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #ececec;
        }

/*//////////////////////////////////////    registro.HTML     //////////////////////////////////////*/

 .registration-container {
           color: #f4eaea;
            max-width: 400px;
            margin: 100px auto;
            padding: 30px;
            background-color: #8a8787;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .registration-container h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #ececec;
        }

 /*//////////////////////////////////////    reservas.HTML     //////////////////////////////////////*/

.step-box {
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      max-width: 800px;
      margin: auto;
      
    }
.step-box2{
  width: 90%;
  margin: auto;
  padding: 10px;
}
.accordion-body{
  color: #fff;
  background: #959393;
}

/* ///////////////////PRODUCTOS.HTML ///////////////////////// */
.select-estilizado {
  width: 100%;
  max-width: 100%;
  background-color: #111;
  color: rgb(234, 236, 229);
  border: 2px solid rgb(247, 245, 236);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  box-shadow: 0 0 10px rgba(252, 252, 252, 0.3);
  font-weight: bold;
  font-size: 1rem;
  appearance: none; /* Quita estilos nativos */
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none; /* Firefox */
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-estilizado option {
  background-color: #111;
  color: rgb(255, 255, 255);
  white-space: normal;
  padding: 0.5rem;
  font-size: 1rem;
}
.carro{
  margin: 0;
}
.boton_carro{
  margin-top: -40px;
  position: fixed;
   z-index: 9999; 
}
.car{
  background: #000;
}
.text-white{
  z-index: 99999; 
}

/* ///////////////////admin.HTML ///////////////////////// */

.tituloAdmiin{
  margin: 100px 0 0;
}
.adminContenedor div{
  max-width: 600px;
  margin: auto;
}
.zonaAdministrativa{
  padding: 30px;
}
  

  /*-------------------------media query------------------------*/
  @media (max-width: 700px) {
  /* Ajustes para la sección principal */
  .seccion {
    flex-direction: column;
    height: auto;
  }

  .left-image {
    height: 300px !important;
   }

  .over-text {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
    padding: 10px;
  }

  .over-text h1 {
    font-size: 1.5em;
  }

  /* Ajustes para botones en reserva */
  .botones .btn {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  /* Sección servicios en columna */
  .seccion-servicios {
    flex-direction: column;
    gap: 30px;
  }

  .servicio {
    width: 100%;
    max-width: none;
  }
}

  .imagen-servicio {
    height: 100%;
  }

  /* Footer en columna */
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 100%;
    text-align: center;
  }

  .footer-social a {
    margin: 0 10px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* Navbar colapsado centrado */
  .navbar-nav .nav-link {
    text-align: center;
    border: none;
    padding: 10px 0;
  }

  /* ///////////////////////resrvas.html//////////////////////////////////////// */
.step-box{
  width: 100%;
}



/*//////////////////////////////////////    BARBERIA.HTML     //////////////////////////////////////*/
@media (max-width: 700px) {
  #sliderBarberia .carousel-item img {
    height: 250px; /* Ajusta la altura para pantallas más pequeñas */
  }
}

 