
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding-top: 50px; 
}

.contenedor {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}


header {
    width: 100%;
    height: 50px;
    background-color: black;
    position: fixed; 
    top: 0;
    left: 0;
    color: aliceblue;
    z-index: 1000;
}

header .contenedor {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    height: 50px;
}

.logoSitio {
    height: 30px; 
    width: auto;
    display: block;
    transition: transform 0.3s;
}

#menu_bar {
    display: none; 
}

header label {
    cursor: pointer;
    font-size: 25px;
    color: white;
    line-height: 50px;
}

.menu {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    transition: all 0.3s ease;
    transform: translateX(-100%); 
}

.menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 15px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.menu a:hover {
    background-color: #036bfd;
}

#menu_bar:checked ~ .menu {
    transform: translateX(0%);
}


@media (min-width: 1200px) {
    header label { display: none; }
    .menu {
        position: static;
        width: auto;
        transform: translateX(0);
        display: flex;
        background: none;
    }
    .menu a {
        border: none;
        padding: 0 20px;
    }
}


.headerProductos {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    z-index: 1;
}

.bannerCatalogo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlayTexto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    justify-content: center;
    align-items: center;
}


.catalogo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gridProductos {
    display: grid;
  
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    justify-items: center;
}

.tarjetaProducto {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.tarjetaProducto:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.tarjetaProducto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.tarjetaProducto:hover img {
    transform: scale(1.1);
}

.info {
    padding: 20px;
}

.info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    border-left: 5px solid #f39c12; 
    padding-left: 12px;
}

.precio {
    display: block;
    margin-top: 15px;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.3rem;
}


button, .btn-cotizar {
    background-color: #036bfd;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background-color: #0256cc;
}

.fa {
    margin: 10px;
    transition: transform 0.3s;
}

.fa:hover {
    transform: scale(1.2);
}

hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #ddd;
}
.btn-tarjeta {
    display: block;
    background-color: #036bfd; 
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s;
}

.btn-tarjeta:hover {
    background-color: #0256cc;
    transform: scale(1.05); 
}
footer {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

.redes-sociales i {
    font-size: 25px;
    margin: 0 12px;
    transition: transform 0.3s;
    cursor: pointer;
}


.fa-facebook { color: #3b5998; }
.fa-instagram { color: #e1306c; }
.fa-whatsapp { color: #25d366; }

.redes-sociales i:hover {
    transform: translateY(-5px);
}