﻿/* Categories Page Specific Styles */
.alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 2rem;
    justify-content: center;
}

.alpha-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .alpha-nav-link:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

.category-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-link {
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .category-link:hover {
        color: var(--primary);
        transform: translateX(5px);
    }

.all-categories-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Hero Section - Matching Index1 page */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
    color: white;
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://aislegopher.com/img/ag_hero_pattern.png');
        background-size: cover;
        opacity: 0.1;
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 40px;
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 40px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        background: #0456c8;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

/* Category Cards - Matching Index1 page */
.categories-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--dark);
}

.category-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    height: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.5s ease;
}

.category-card:hover .category-image {
    filter: brightness(0.6);
    transform: scale(1.05);
}

.category-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    z-index: 1;
}

.category-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.category-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* How It Works Section - Matching Index1 page */
.how-it-works-section {
    padding: 5rem 0;
    background-color: white;
}

.step-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-description {
    color: var(--secondary);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .step-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .search-input {
        padding: 12px 15px;
    }

    .search-btn {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
