/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Cabecera */
header {
    background-color: rgb(0, 116, 153);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #f0f0f0;
}

/* Sección Hero (Inicio) */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f5f5f5;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: rgb(0, 116, 153);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: rgb(0, 90, 120);
}

/* Productos */
.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.titulo-productos {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin-bottom: 5px;
}

.descripcion-productos {
    font-size: 16px;
    text-align: center;
    color: #555;
    margin-bottom: 20px;
}

.producto {
    border: 1px solid #ddd;
    padding: 10px;
    background: transparent;
    text-align: center;
}

.producto h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.producto p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.producto strong {
    font-size: 16px;
    color: #000;
    display: block;
    margin-top: 10px;
}

.imagen-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta la imagen dentro del marco sin recortarla */
}

.paginacion button {
    padding: 10px;
    margin: 5px;
    cursor: pointer;
}

.precio {
    color: #ff4a6e;
    font-weight: bold;
    font-size: 18px;
}

/* Libro de Reclamaciones */
.reclamaciones {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.reclamaciones h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.reclamaciones form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reclamaciones label {
    font-weight: bold;
}

.reclamaciones input,
.reclamaciones textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.reclamaciones textarea {
    min-height: 150px;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #f5f5f5;
    margin-top: 2rem;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000;
}

.whatsapp-icon img {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-input {
        width: 100%;
        border-radius: 5px;
    }

    .search-btn {
        border-radius: 5px;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}