/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

section {
    scroll-margin-top: 90px; /* Altura del nav */ 
}
/* Estilos para la navegación */
.navbar {
    background-color: rgba(153, 148, 148, 0.4); /* Fondo negro con 50% de opacidad */
   
    position: fixed;
    top: -100px; /* Oculta el nav inicialmente */
    width: 100%;
    
    transition: top 0.5s ease, background-color 0.5s ease; /* Transiciones suaves */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.navbar.scrolled {
    background-color: rgba(216, 207, 207, 0.85); /* Fondo más opaco al hacer scroll */
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff !important; /* Color del texto */
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    margin-right: 15px;
    color: #080808 !important; /* Color del texto */
    transition: color 0.3s ease; /
}


.navbar-brand, .navbar-nav .nav-link {
    color: #8a8282 !important; /* Texto blanco */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra para mejorar la legibilidad */
}

.navbar-nav .nav-link:hover {
    color: #000000 !important; /* Cambia el color al hacer hover */
}

.navbar.visible {
    top: 0; /* Muestra la barra de navegación */
}

/* Estilos para el encabezado */
header {
    background: url('') no-repeat center center/cover;
    height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-size: 4rem; /* Tamaño del título */
    font-weight: bold;
    margin-bottom: 20px;
}

header p {
    font-size: 1.5rem;
    margin-top: 10px;
}

#calendar {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    min-height: 500px;
}

/* Estilos para las tarjetas de productos */
.col-md-4 {
    position: relative;
    overflow: visible !important; /* Permite que las tarjetas sobresalgan */
}

.card {
    overflow: visible !important;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.card:hover {
    transform: scale(1.1) translateY(-10px); /* Aumenta el tamaño y se eleva */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.card img {
    width: 100%;
    height: 20vh; /* 20% del alto de la ventana */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.card-container {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}


/* Estilos para el formulario de contacto */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.45); /* Fondo blanco con transparencia */
    backdrop-filter: blur(10px); /* Efecto de vidrio */
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Sombra */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde tenue */
}

.form-container h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;

}

.form-container .form-control {
    margin-bottom: 25px;
    padding: 8px;
    font-size: 0.9rem;
}

.form-container .btn {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
}

/* Pie de página */
footer {
    margin-top: 30px;
    font-size: 0.9rem;
    
}

/*estilos para boton whatsap*/
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #25D366; /* Color de WhatsApp */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Color de WhatsApp al hacer hover */
    text-decoration: none;
}

.destacadas-scroll {
    max-height: 80vh; /* altura máxima (como la del header más o menos) */
    overflow-y: auto; /* permite scroll vertical */
    padding-right: 5px;
}

/* Estilo opcional para scrollbar personalizado */
.destacadas-scroll::-webkit-scrollbar {
    width: 8px;
}
.destacadas-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 10px;
}
.destacadas-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.5);
}

