/* Categories Section - Completely Different from Hero */
.top-categories {
    background: linear-gradient(135deg, #f8f4f0 0%, #e8f4f8 100%);
    padding: 15px 0;
    position: relative;
}

.top-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23c8a882" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Products Header - Different from Hero */
.products-header {
    text-align: left;
    margin-bottom: 0px;
}

.products-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a4a4a;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    position: relative;
} 

/* Categories Header - Different from Hero */
.categories-header {
    text-align: center;
    margin-bottom: 20px;
}

.categories-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a4a4a;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a4a4a, #c8a882);
    border-radius: 2px;
}

.categories-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
    margin-top: 25px;
}

/* Categories Grid - Different Layout */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Category Cards - Unique Design */
.category-card {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-12px);
}

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

/* Category Image Wrapper - Circular Design */
.category-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid #c8a882;
    box-shadow: 0 12px 30px rgba(26, 74, 74, 0.15);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #1a4a4a, #2d5a5a);
}

.category-card:hover .category-image-wrapper {
    border-color: #1a4a4a;
    box-shadow: 0 20px 40px rgba(26, 74, 74, 0.25);
    transform: scale(1.05);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

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

/* Category Title - Different Typography */
.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a4a4a;
    margin: 0;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.category-card:hover .category-title {
    color: #c8a882;
    transform: scale(1.05);
}

/* Animation on Load */
.category-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Categories */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .top-categories {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .category-image-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .categories-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        gap: 25px;
    }
    
    .category-image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .category-title {
        font-size: 1rem;
    }
}
