/* style.css - VERSIÓN ACTUALIZADA CON NUEVAS FUENTES */

/* ============================================
   FUENTES Y ESTILOS GENERALES
   ============================================ */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
}

header {
    background-color: #232f3e;
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
}

header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

nav.categories {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
}

nav.categories a {
    display: inline-block;
    margin: 0 0.8rem;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: #232f3e;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
}

nav.categories a:hover {
    background-color: #232f3e;
    color: white;
    cursor: pointer;
}

nav.categories a.active {
    background-color: #232f3e;
    color: white;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

main h2 {
    font-size: 2rem;
    color: #232f3e;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

main h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ffd814;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.product-card img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #111;
    font-weight: 600;
    line-height: 1.4;
}

.price {
    color: #B12704;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.5rem 0;
    font-family: 'Poppins', Arial, sans-serif;
}

.product-card a {
    display: inline-block;
    background-color: #ffd814;
    color: #111;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
    margin-top: 10px;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.product-card a:hover {
    background-color: #f7ca00;
    transform: scale(1.02);
}

/* ============================================
   ABOUT US SECTION
   ============================================ */
.about-section {
    background-color: #f9f9f9;
    padding: 4rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-container h2 {
    text-align: center;
    color: #232f3e;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
}

.about-container h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ffd814;
    margin: 0.8rem auto 0;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
}

.about-highlights {
    flex: 1;
    background-color: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.highlight:last-child {
    border-bottom: none;
}

.highlight-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #ffd814;
    color: #232f3e;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER ENHANCED
   ============================================ */
footer {
    background-color: #232f3e;
    color: white;
    margin-top: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    color: #ffd814;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffd814;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #ddd;
    font-size: 0.95rem;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd814;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3a4a5a;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icon:hover {
    background-color: #ffd814;
    color: #232f3e !important;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #1a2632;
    padding: 1.5rem 1rem;
    border-top: 1px solid #3a4a5a;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom p {
    margin: 0.3rem 0;
    color: #aaa;
    font-size: 0.9rem;
}

.affiliate-disclosure {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav.categories a {
        margin: 0.3rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}