/* ========================================
NEW SUPPLEMENTS HERO SECTION
======================================== */
.supplements-hero {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height as needed */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 80px; /* Offset for fixed navbar */
}

/* Dark overlay for readability */
.supplements-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    color: var(--light-color);
    max-width: 600px;
    padding: 0 1.5rem;
    margin-right: calc((100% - 1200px) / 2 + 1.5rem);
}

.hero-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
MISSION SECTION (Original)
======================================== 
.mission-section {
    padding: 4rem 0;
    text-align: center;
}

.mission-text {
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #443931;
    max-width: 700px;
    margin: 0 auto;
}
*/



/* ========================================
PRODUCTS GRID SECTION (New)
======================================== */
.products-section {
    padding: 2rem 1.5rem 5rem;
    background-color: var(--bg-color);
}

.products-title {
    font-family: 'EB Garamond', serif;
    font-size: 3.0rem;
    color: #443931;
    margin-top: 3rem;
    text-align: left;
}

.products-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: #443931;
    max-width: 1000px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--light-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.product-image-container {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: #443931;
    margin-bottom: 1.5rem;
}

.product-descripcion-productos {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #443931;
    margin-bottom: 1.5rem;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #443931;
    margin-bottom: 1.5rem;
}



/* ========================================
SECONDARY HERO SECTION
======================================== */
.secondary-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-image: url('/img/landing/suplementos2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0 0 0;
}

.secondary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.secondary-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-color);
    max-width: 800px;
    padding: 0 2rem;
}

.secondary-hero-content p {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .secondary-hero {
        min-height: 300px;
        margin: 2rem 0 0 0;
    }
    
    .secondary-hero-content p {
        font-size: 1.5rem;
    }
}
/* ========================================
RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }

}

@media (max-width: 768px) {
    
    .supplements-hero {
        height: 50vh;
        align-items: flex-end;      /* Keep bottom alignment */
        justify-content: center; /* Keep left alignment */
    }
    .hero-content h2 {
        font-size: 1.75rem;
    }
    .products-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* ========================================
ANIMATIONS
======================================== */


.supplements-hero,
.products-section {
    animation: fadeIn 0.8s ease-out;
}