/* Archivo CSS para estilos personalizados */
:root {
 --bs-primary: #deba42;
 --bs-primary-border-subtle: #B8952E;
 --bs-primary-text-title: #F8F9FA;
 --bs-primary-text: #D1D1D1;
 --bs-active: #000000;
 --bs-backgrund-primary: #040404;
}

/* Estilos globales para toda la página */
*{
  font-family: "Outfit", sans-serif;
 
  font-style: normal;
  
}
h2{
    color: var(--bs-primary-text-title) !important;
}
p{
    color: var(--bs-primary-text) !important;
}
.text-primary{
    color: var(--bs-primary) !important;
}
.border-card{
    border-color: var(--bs-primary-border-subtle) !important;
}
/*Reveal animation*/
/* Estado inicial: oculto y un poco más abajo */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out; /* Duración de la animación */
}

/* Estado final: visible y en su posición original */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Estilos para la sección hero */
.hero-section {
    position: relative; /* Importante para contener el overlay */
    height: 100vh;
    background-image: url('/assets/img/restaurant/restaurant-3.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Evita que el blur se salga de los bordes */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.z-3 {
    z-index: 3; /* Asegura que el texto esté sobre el overlay */
}
.hero-section h1 {
    letter-spacing: -2px; 
    color: var(--bs-primary-text-title) !important;
}
/* Estilos para el botón personalizado */
.btn-outline-light {
    border-color: var(--bs-primary-border-subtle);
    color: var(--bs-primary-text);

    
}
.btn-outline-light:hover {
    background-color: var(--bs-primary-border-subtle);
    border-color: var(--bs-primary-border-subtle);
    color: var(--bs-primary-text);
    transition: all 0.3s ease-in-out;

}
.btn-outline-light:active {
    background-color:var(--bs-active) !important;
    border-color: var(--bs-primary-border-subtle) !important;
    color: var(--bs-primary-text) !important;
}


/*Estilos parrallax*/
.parallax-window {
    height: 300px;
    width: 100%;
    background-image: url('/assets/img/platos/plato-1.1.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; 
    overflow: hidden; 
    margin-top: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}
@media (min-width: 992px) {
    .parallax-window {
        height: 500px; /* En computadoras sube a 500px como querías */
    }
}
/* Inspiration section estilos */
.inspiration-section {
    position: relative;
    height: 70vh; 
    background-image: url('/assets/img/restaurant/restaurant-2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    overflow: hidden;
}

.overlay-inspiration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}
/*Estilos de imagen para reseñas*/
    .div-reseñas {
        width: 100px;
        height: auto;
    }
  /*Estios CTA*/
  .cta-section{
position: relative;
    height: 70vh; 
    background-image: url('/assets/img/restaurant/restaurant-5.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    overflow: hidden;
    
  }
  .cta-overlay{
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
  }

footer div a {
    text-decoration: none;
    color: var(--bs-primary-text);
    transition: all 0.3s ease-in-out;
}
footer div a:hover {
    color: var(--bs-primary);
    transition: color 0.3s ease-in-out;
}
/*whatsapp button flotante*/
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 9999;
    
    /* Efecto de aparición */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* Clase que activa JavaScript */
.whatsapp-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    color: white;
    transform: scale(1.1);
}
.whatsapp-tooltip:hover{
      background-color: var(--bs-primary);
    color: var(--bs-active);
    transition: all 0.6s ease-in-out;
}   
/*whatsapp text tooltip*/
.whatsapp-tooltip {
    position: fixed; 
    bottom: 42px; 
    right: 100px;
    background-color: #1a1a1a;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #D4AF37; 
    z-index: 9999;
    white-space: nowrap;
    
    
  
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* Clase que activa el JavaScript*/
.whatsapp-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Ajustes específicos para móviles */
@media (max-width: 576px) {
    .whatsapp-tooltip {
        right: 85px;      
        bottom: 40px;     
        font-size: 12px;   
        padding: 5px 10px;
        margin-right: 10px; 
    }
}