/* Products Page Specific Styles */

/* Products Hero Section */
.productsHero {
    width: 100vw;
    height: 50vh;
    min-height: 350px;
    margin: 0;
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, #780A1D 0%, #ef6e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.productsHeroContent {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.productsHeroContent h1 {
    animation: fadeInUp 1s ease;
}

.productsHeroContent p {
    animation: fadeInUp 1.2s ease;
}

/* Products Introduction */
.productsIntro {
    text-align: center;
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.productsIntro h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.productsIntro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6f6c6c;
}

/* Product Categories Section */
.productCategoriesSection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 85%;
    margin: 4rem auto;
    padding: 2rem 0;
}

.productCategory {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.productCategory:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.productCategoryImage {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.productCategoryImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.3s ease;
}

.productCategory:hover .productCategoryImage img {
    transform: scale(1.05);
}

.categoryOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(120, 10, 29, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.productCategory:hover .categoryOverlay {
    opacity: 1;
}

.viewDetailsBtn {
    padding: 0.75rem 2rem;
    background: #fff;
    color: #780A1D;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.productCategory:hover .viewDetailsBtn {
    transform: translateY(0);
}

.viewDetailsBtn:hover {
    background: #ef6e50;
    color: #fff;
}

.productCategoryContent {
    padding: 1.5rem 2rem 2rem;
}

.productCategoryContent h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ef6e50;
    text-align: left;
}

.productCategoryContent p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6f6c6c;
}

/* Active menu item */
.menuItem.active {
    color: #ef6e50;
    font-weight: 600;
}

/* Why Choose Section */
.whyChooseSection {
    background: #f8f8f8;
    padding: 4rem 2rem;
    margin: 6rem 0;
}

.whyChooseSection h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.whyChooseGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.whyChooseItem {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whyChooseItem:hover {
    transform: translateY(-5px);
}

.whyChooseItem img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
}

.whyChooseItem h4 {
    font-size: 1.25rem;
    font-family: "Raleway", sans-serif;
    color: #780A1D;
    margin-bottom: 1rem;
}

.whyChooseItem p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6f6c6c;
}

/* Products CTA Section */
.productsCTA {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(120, 10, 29, 0.05) 0%, rgba(239, 110, 80, 0.05) 100%);
    border-radius: 1rem;
    margin: 4rem auto;
    width: 85%;
}

.productsCTA h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.productsCTA p {
    font-size: 1.1rem;
    color: #6f6c6c;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ctaButton {
    display: inline-block;
    padding: 1rem 3rem;
    background: #780A1D;
    color: #fff;
    text-decoration: none;
    border-radius: 3rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 10, 29, 0.3);
}

.ctaButton:hover {
    background: #ef6e50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 110, 80, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .productCategoriesSection {
        width: 90%;
        gap: 2rem;
    }
    
    .productsIntro h2,
    .whyChooseSection h2,
    .productsCTA h2 {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .productsHero {
        height: 40vh;
        min-height: 300px;
    }
    
    .productsHeroContent h1 {
        font-size: 2rem !important;
    }
    
    .productsHeroContent p {
        font-size: 1rem !important;
    }
    
    .productCategoriesSection {
        grid-template-columns: 1fr;
        width: 90%;
        gap: 2rem;
    }
    
    .productCategoryImage {
        height: 250px;
    }
    
    .productsIntro {
        margin: 3rem auto;
    }
    
    .productsIntro h2 {
        font-size: 1.75rem;
    }
    
    .productsIntro p {
        font-size: 1rem;
    }
    
    .whyChooseSection {
        padding: 3rem 1rem;
        margin: 4rem 0;
    }
    
    .whyChooseSection h2 {
        font-size: 1.75rem;
    }
    
    .whyChooseGrid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .productsCTA {
        width: 90%;
        padding: 3rem 1.5rem;
    }
    
    .productsCTA h2 {
        font-size: 1.75rem;
    }
    
    .productsCTA p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .productsHero {
        height: 35vh;
        min-height: 250px;
    }
    
    .productsHeroContent h1 {
        font-size: 1.75rem !important;
    }
    
    .productsHeroContent p {
        font-size: 0.9rem !important;
    }
    
    .productCategoriesSection {
        width: 95%;
        gap: 1.5rem;
    }
    
    .productCategoryImage {
        height: 220px;
    }
    
    .productCategoryContent {
        padding: 1.25rem 1.5rem 1.75rem;
    }
    
    .productCategoryContent h3 {
        font-size: 1.25rem;
    }
    
    .productCategoryContent p {
        font-size: 0.9rem;
    }
    
    .productsIntro h2,
    .whyChooseSection h2,
    .productsCTA h2 {
        font-size: 1.5rem;
    }
    
    .whyChooseItem {
        padding: 1.5rem;
    }
    
    .whyChooseItem img {
        width: 3rem;
        height: 3rem;
    }
    
    .ctaButton {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
}