/* Categories Section Styles */

.categories-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-large {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #00a551 0%, #00a551 50%, #00a551 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 165, 81, 0.2);
    position: relative;
}

.section-title-large::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #ffa8c5 50%, transparent 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    color: #4a5568;
    margin: 1.5rem 0 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: transparent;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00a551 0%, #2c3e50 50%, #8b7355 100%);
}

.category-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.category-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: opacity 0.3s ease;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: none;
}

.category-card:hover .category-name {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .category-image-wrapper {
        height: 240px;
    }
    
    .section-title-large {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 4rem 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .section-title-large {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .categories-section {
        padding: 3rem 0;
    }
    
    .categories-grid {
        gap: 1.25rem;
        padding: 0 0.75rem;
    }
    
    .category-image-wrapper {
        height: 200px;
    }
    
    .section-title-large {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .category-image-wrapper {
        height: 220px;
    }
    
    .section-header-center {
        margin-bottom: 3rem;
    }
    
    .section-title-large {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

