/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0px 0;
}

header {
    background-color: #2654ee;
    color: rgb(246, 248, 241);
    padding: 10px 0;
}

nav {
    text-align: center;
    margin-top: 10px;
}

.nav {
    display: inline-block;
    padding: 0;
}

.nav li {
    display: inline;
    margin: 0 15px;
}

.nav li a {
    text-decoration: none;
    color: #eceff1;
    font-weight: bold;
}

.nav li a:hover {
    color: #f5690c;
    text-decoration: underline;
}

main {
    padding: 40px 0;
}

footer {
    background-color: #2654ee;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* Header flex */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 5px;
}

/* Logo */
.logo {
    width: 80px;
    height: auto;
}

.logo-title {
    margin-left: 1rem;
    font-size: 2rem;
}

/* Responsive: Tablets */
@media (max-width: 768px) {
    .logo {
        width: 60px;
    }

    .logo-title {
        font-size: 1.5rem;
        margin-left: 0.8rem;
    }
}

/* Responsive: Celulares */
@media (max-width: 480px) {
    .header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 50px;
    }

    .logo-title {
        margin-left: 0;
        margin-top: 10px;
        font-size: 1.2rem;
    }
}

/* Galería de imágenes */
.galeria-imagenes {
    width: 100%;
    max-width: 100%;
    height: auto;
/*    display: block;
    margin: 0 auto;*/
    text-align:center;
}

.fila-imagenes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Estilo específico para imágenes de productos */
.img-producto {
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-fit: contain;
}

/* Imagen destacada en index */

.imagen-destacada {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;    
}


/* Card para login (si se usa en otro archivo) */
.card {
    background-color: #f7f9fc;
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card h2 {
    color: #0056b3;
    font-weight: bold;
}

.card:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}

/* Ajuste específico para celulares */
@media (max-width: 480px) {
    .imagen-destacada {
        max-width: 100% !important;
        height: auto;
    }
}
