body {
    background-color: black;
    color: white;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-image: url(images/IMG_5826\ \(1\).jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#textoprincipal{
   
    font-size: 2.6rem;
    letter-spacing: o.2em;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    text-shadow: 1.2px 1.2px 1.2px rgb(211, 211, 211);
    font-weight: 400;
    
}
    


/* Navbar styles */
.navbar {
    background-color: black !important;
}
.navbar-brand, .nav-link {
    color: white !important;
}
.dropdown-menu {
    background-color: black !important;
}
.dropdown-item {
    color: white !important;
}
.dropdown-item:hover {
    background-color: #333 !important;
}

/* Product grid layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}
/*-------nav productos----------------*/
.navproductos div{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 14px;

}
.navproductos div a{
    list-style: none;
    text-decoration: none;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-weight: 400;
    
}
.navproductos div a:hover{
    font-size: large;
}

/* Product card styles */
.product-card {
    background-color: black;
    border: none;
}


.product-slider {
    margin-bottom: 1rem;
}


.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
}


.product-info {
    text-align: center;
    padding: 1rem 0;
}


.product-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}


.product-price, .product-dimensions {
    color: #888;
    margin-bottom: 0.5rem;
}


.consult-button {
    background: none;
    border: none;
    color: white;
    text-transform: lowercase;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}


.consult-button:hover {
    color: #888;
}

footer {
    text-align: center; /* Centra todo el contenido por defecto */
    padding: 10px;
    background-color: black;
    color: white;
    width: 100%;
    font-family: "Montserrat", sans-serif;

    }

    .footer-info {
    margin-bottom: 20px;
    }

    .footer-info h3, .footer-info p {
    margin: 10px 0;
    }

    .footer-redes {
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    }

    .footer-redes ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    }

    .footer-redes li {
    display: flex;
    flex-direction: column; /* Coloca los íconos uno encima del otro */
    align-items: center;
    margin-bottom: 10px; /* Espacio entre cada icono */
    }

    .footer-copy {
    margin-top: 20px;
    }

    #fotou {
    width: 30px; /* Tamaño ajustado del logo */
    height: auto;
    }

    .logoabajo {
    width: 100px; /* Tamaño más pequeño del logo principal */
    height: auto;
    margin: 0 auto; /* Centra el logo */
    }


  #custom{
    text-align: center;
    color: #333;
    font-family: "Montserrat", sans-serif;
  }  
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.modal-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #f1f1f1;
    font-size: 48px; /* Aumentado el tamaño */
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
}

.modal-prev, .modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    z-index: 1005;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .close {
        font-size: 36px;
        right: 15px;
        top: 15px;
    }

    .modal-prev, .modal-next {
        padding: 12px;
        font-size: 20px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}