/* Estilos globales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

/* Header */
 header {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    text-align: center;
} 

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.banner-content{
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner {
    background: url('img/logo.jpg') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

#titulo-banner{
    color: #fff;
    font-size: larger;
    font-weight: bold;
    line-height: 1.5;

}

/* Sección de productos */
h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 4fr));
    gap: 20px;
    padding: 20px;
}

.producto {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background-color: #fff;
}

.producto img {
    max-width: 95%;
    height: auto;
    border-radius: 8px;
}

.add-cart {
    background-color: #ff0; /* Amarillo */
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.add-cart:hover {
    background-color: #ffa500; /* Naranja */
    color: #fff;
}

/* Modal del carrito */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
}

#clear-cart, #buy-cart{
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#clear-cart:hover {
    background-color: darkred;
}


/* Footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Media query para pantallas menores a 600px */
@media (max-width: 600px) {
    .banner {
        background: url('img/logo.jpg') no-repeat center center/cover;
        height: 50vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
    }
}

/* Estilos del botón flotante */
.floating-button {
    position: fixed; /* Fija la posición en la pantalla */
    bottom: 20px; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde la parte derecha */
    width: 70px;
    height: 70px;
    background-color: rgb(17, 171, 29); /* Color de fondo del botón */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para darle efecto de elevación */
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

/* Icono dentro del botón */
.floating-button i {
    font-size: 50px;
    color: #fff; /* Color del icono */
    width: 100%;
}

/* Efecto hover para mayor elevación */
.floating-button:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Aumenta la sombra en hover */
}

/* Efecto activo cuando se hace clic */
.floating-button:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Disminuye la sombra al presionar */
}

#mapa{
    align-items: center;
    width: 100%;
}

#cocuyotec{
    color: orange;
}

#email-contact{
    margin-bottom: 40px;
}

