/* Estilos generales y reseteo */
:root {
    --primary-color: #1FC2E4; /* Rojo/coral sutil para acentos */
    --secondary-color: #333;
    --background-color: #f7f7f7;
    --text-color: #333;
    --light-text-color: #fff;
    --border-color: #ddd;
    --font-family: 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth; /* Desplazamiento suave para los anclajes */
}

/* Encabezado y Navegación */
.site-header {
    background-color: var(--light-text-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; /* Menú fijo en la parte superior */
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5em;
    color: #1FC2E4;
    letter-spacing: 1px;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #1FC2E4;
    font-weight: 600;
    font-size: 0.9em;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    text-transform: uppercase;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Contenido Principal y Secciones */
main {
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.product-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #666;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.product-card {
    background-color: var(--light-text-color);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-card [Image] { /* Estilo para los tags de imagen */
    display: block;
    width: 100%;
    max-width: 200px; /* Tamaño máximo para las imágenes */
    height: auto;
    margin: 0 auto 15px;
    border-radius: 4px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    height: 2.6em; /* Altura fija para títulos de producto */
    overflow: hidden;
}

.product-description {
    font-size: 0.95em;
    color: #555;
    min-height: 4em; /* Altura mínima para descripciones */
}

/* Pie de Página */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 5%;
    font-size: 0.85em;
    border-top: 5px solid var(--primary-color);
}

.site-footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 10px 5%;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .main-nav ul li {
        margin: 5px 10px;
    }

    .product-section {
        padding: 40px 0;
    }

    .product-list {
        grid-template-columns: 1fr; /* Una columna en móviles */
    }
}
.product-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin-bottom: 15px;
    border-radius: 4px;
    object-fit: contain;
    transform: scale(1.3);
}

.product-card h3 {
    margin: 10px 0;
    color: #333;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}