@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: "Cambria";
  src: url("../fonts/cambriaa.ttf");
}

::-webkit-scrollbar {width: 0;}
  
:root {
    --smaller: .75;
    --color1: #D2AE6D;
    --color2: #779C83;
    --color3: #FFF;
    --color4: #D1E2D6;
  }

body {
  scrollbar-width: none;
}

p{
  color: var(--color2);
  margin: 0;
}
  
*{
  font-family: 'Montserrat', sans-serif;
}

#playButton {
  position: fixed;
  background-color: var(--color1);
  color: var(--color3);
  padding: 7px 6px;
  border: 2px solid var(--color3);
  cursor: pointer;
  z-index: 1;
  font-size: 20px; /* Tamaño del ícono */
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;}

.aparece {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.aparece.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes updown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}
.flecha {
  z-index: 1;
  height: 20px;
  display: inline-block;
  animation: updown 1.5s ease-in-out infinite;
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}

.header{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.header-img {
    background-repeat: no-repeat; 
    background-position: center top;
    background-size: contain; 
    max-width: 100%;
    min-height: 100vh;
    background-image: url("../img/portada.png");
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.reloj{
    align-items: center;
    /* background-color: var(--color1); */
    color: var(--color2);
    background-color: var(--color4);
    margin: 0 auto;
    text-align: center;
}

.headline{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0;
    font-size: 1em;
}

.frase{
  line-height: 1.5;
}

.doble{
  display: flex;
  justify-content: space-evenly;
}

@media (max-width: 768px) {
  .doble {
    flex-direction: column; /* Cambia a diseño en columna */
  }
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
}

li {
    font-size: 1.2em;
    padding: 1em;
  }
  
  li span {
    display: block;
    font-size: 3.5rem;
    width: 2ch;
    text-align: center;
  }

.inst{
  max-width: 500px;
 }
  
@media all and (max-width: 768px) {
  ul {padding-left: 0;    }
  h2 {font-size: calc(1rem * var(--smaller));}
  li {font-size: calc(.9rem * var(--smaller));}
  li span {font-size: calc(1.9rem * var(--smaller));}
  .inst {width: 90%; }
}

.imagen {
  padding: 20px;
}

.efecto {
  width: 100px; 
  animation: zoom 2s ease-in-out infinite;
}

@keyframes zoom {
  0%, 100% {transform: scale(1);}
  50% {transform: scale(1.05);}
}

.sector{
  text-align: center;
  margin-top: 30px;
}

.headline-sector{
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 20px;
}

.color1{
  color: var(--color2);
}

.color2{
  color: var(--color2);
  background-color: var(--color4);
}

.separador{
  padding-bottom: 40px;
}

.dirsalon{
  display: inline-block;
  padding-bottom: 10px;
}
.click{
  font-size: 0.8em;
  text-align: center;
  padding-bottom: 50px;
}

.nombrecbu {
  font-weight: bold;
}



.boton{
  margin: 30px 0 50px 0;
}

.btn-general{
  color: var(--color3);
  font-size: 0.8em;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 28px;
  background-color: var(--color1);
  transition: all 0.3s ease;
  border: 2px solid var(--color1);
}

.btn-general:hover {
  background: var(--color2);
  color: var(--color1);
  font-weight: bold;   
}

.galeria {
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.imagenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  transition: all .3s ease-in-out;
}

.imagenes a img{
  width: 100%;
  margin-bottom: 5px;
  height: 100%;
  border-radius: 8px;
}
.imagenes a img:hover{
  animation: zoom 2s ease-in-out alternate; 
}

@media (max-width: 768px) {
  .imagenes {grid-template-columns: repeat(2, 1fr); 
    gap: 25px;}
}
@media (max-width: 479px) {
  .imagenes {grid-template-columns: repeat(2, 1fr);}
}

.footer{
  background-color: #aaa9a9;
}

.footer-container{
  padding: 20px;
  text-align: center;
}

.footer-link{
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-img{
  height: 40px;
  margin-bottom: 15px;
}