/* Categories Page Styles */
.categories-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.categories-page .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.categories-page .page-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.categories-page .page-header p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category-card-large {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card-large:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.category-content {
    padding: 25px;
    position: relative;
}

.category-icon {
    position: absolute;
    top: -30px;
    left: 25px;
    background: #2ecc71;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.category-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-left: 70px;
}

.category-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.category-link {
    display: inline-block;
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s;
}

.category-link:hover {
    color: #27ae60;
}

.category-link i {
    margin-left: 5px;
}

.special-categories {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.special-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.special-card:hover {
    background: white;
    border-color: #2ecc71;
    transform: translateY(-5px);
}

.special-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2ecc71;
}

.special-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.special-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .special-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .category-icon {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 15px;
    }
}