/* FONTS */

/* Chakra Petch */
@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: url('./fonts/ChakraPetch-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Lato */
@font-face {
  font-family: 'Lato';
  src: url('./fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('./fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('./fonts/Lato-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Pixelify Sans */
@font-face {
    font-family: 'Pixelify Sans';
    src: url('./fonts/PixelifySans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pixelify Sans';
    src: url('./fonts/PixelifySans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* GENERAL */

html {
    scroll-behavior: smooth;
    scroll-padding: 10rem;
  }

body{
    font-family: 'Lato', sans-serif;
    color: #F3E8DE;
    font-size: 1.5rem;
    background-color: #1E1E1E;
    line-height: 1.6; 
}

h1 {
    font-size: clamp(2.75rem, 6vw + 1rem, 3.5rem);
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 400; /* Regular */
}

h2 {
    font-size: clamp(2.25rem, 4.5vw + 0.75rem, 2.75rem);
    margin-bottom: 2rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 300; /* Light */
}

h3 {
    font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2rem);
    margin-bottom: 1.75rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 300; /* Light */
}

h4 {
    font-size: clamp(1.6rem, 3.5vw + 0.5rem, 1.75rem);
    margin-bottom: 1.65rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 300; /* Light */
}

main {
    margin-top: 10rem;
}

.texto-color-verde{
    color: #52b299;
}

.texto-color-rojo{
    color: #C44823;
}

.texto-color-amarillo{
    color: #db9941;
}

.texto-color-beige{
    color: #dcc9a9;
}

.texto-color-negro{
    color: #1E1E1E;
}

/* NAV BAR */

.custom-header{
    position: fixed;
    top: 0;
    width: 100%;
    font-size: 1rem;
    z-index: 9999;
    height: auto;
    min-height: 80px;
    background-color: #1E1E1E;
}


.custom-nav-link,
.custom-nav-link:link,
.custom-nav-link:visited,
.custom-nav-link:focus,
.custom-nav-link:active {
  color: #F3E8DE;
  text-decoration: none;
}

.custom-nav-link:hover {
  color: #db9941;
}

/* HERO (INTRO) */

.custom-hero{
    padding-top: 8rem;
    padding-bottom: 28rem;
    max-width: 800px;
}

/* TIEMPO DE TOMAR ACCIÓN*/

.custom-accion{
    padding-top: 0rem;
    padding-bottom: 28rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* SOBRE CARBON BYTE*/

.custom-carbon-byte{
    padding-top: 0rem;
    padding-bottom: 28rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo-carbon-byte {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

.custom-letra-pixel{
    color: #db9941;
    font-family: 'Pixelify Sans';
    font-size:  clamp(2.1rem, 3.5vw + 0.5rem, 2.4rem);
}



/* SERVICIOS */

.custom-servicios{
    padding-top: 0rem;
    padding-bottom: 28rem;
    padding-left: 2rem;
    padding-right: 2rem;
}



.custom-grid-servicios {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr; /* Por defecto: 1 tarjeta por fila */
}

/* Pantallas medianas: 2 columnas */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .custom-grid-servicios {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pantallas grandes: 3 columnas */
@media (min-width: 1200px) {
  .custom-grid-servicios {
    grid-template-columns: repeat(3, 1fr);
  }
}



.servicio-card:nth-child(3) {
    grid-column: auto;
}


.custom-grid-servicios i {
    font-size: 3rem;
}
  
.servicio-card {
    border-radius: 1rem;
    background-color: #3E8472;
    color: #1E1E1E;
    display: flex;
    /* organiza los elementos hijos de arriba hacia abajo */
    flex-direction: column;
    /* empuja el primer hijo hacia arriba y el último hacia abajo */
    justify-content: space-between;
    min-height: 100%;
    max-width: 400px;
    border: #dcc9a9 solid 1px;
    }

.servicio-card h3{
   font-weight: 400; /* Regular */
    }

.custom-saber-mas{
    background-color: #1E1E1E;
    color: #db9941;
    font-family: 'Lato', sans-serif;
    font-weight: 300; /* Regular */
    font-size: 1.2rem;
    border-color: transparent;
    transition: all 0.2s ease-in-out;
}


.custom-saber-mas:hover{
    color: #1E1E1E;
    background-color: #db9941;
}

.custom-servicio-link{
    color: #1E1E1E;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.custom-servicio-link:hover {
    color: #dcc9a9
  }
  

/* CONTACTO */

.custom-contacto{
    padding-top: 0rem;
    padding-bottom: 28rem;
    padding-left: 2rem;
    padding-right: 2rem;
   
}

.custom-seccion-formulario{
    margin-top: 8rem;
}


.custom-reserva {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #db9941; /* color de fondo estático */
  color: #1E1E1E; /* color de texto estático */
  text-decoration: none;
  font-weight: light;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-reserva:hover {
  background-color: #1E1E1E; /* color de fondo al pasar el mouse */
  color: #db9941; /* color de texto al pasar el mouse */
}
 





.custom-footer{
    color: #F3E8DE;
}


/*  */
/*  */
/*  */
/*  *//* PESTAÑA SERVICIOS *//*  */

.custom-titulo-servicio{
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;

}

.custom-pestaña-servicio{
    padding-top: 0rem;
    padding-bottom: 28rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/*  */
/*  */
/*  */
/* ANIMACIONES */

@keyframes fadeIn {
    0% {
      opacity: 0;
      /* Efecto de subida */
      transform: translateY(82px);
    }
    100% {
      opacity: 1;
      /* Posición inicial */
      transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    /* ease-out: parte más rápido y termina lento */
    /* forwards mantiene el estado final de la animación (opacity: 1) */
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.8s;  
  }

.fade-in-scroll {
opacity: 0;
transform: translateY(0px);
transition: opacity 1.5s ease-out;
}

.fade-in-scroll.show {
opacity: 1;
}
  
