/* Services Module Styles */

.services-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.02) 0%, rgb(var(--accent) / 0.02) 100%);
}

/* Hero Section */
.services-hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.1) 0%, rgb(var(--accent) / 0.05) 100%);
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(120,119,198,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,193,7,0.1) 0%, transparent 40%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgb(var(--card) / 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgb(var(--border));
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: rgb(var(--primary));
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: rgb(var(--foreground));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgb(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-search {
    max-width: 56rem;
    margin: 0 auto 2.5rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgb(var(--card) / 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(var(--border));
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgb(0 0 0 / 0.15);
    transition: all 0.3s ease;
}

.search-form:hover {
    transform: scale(1.02);
    box-shadow: 0 32px 64px rgb(0 0 0 / 0.2);
}

@media (min-width: 768px) {
    .search-form {
        flex-direction: row;
        align-items: center;
    }
}

.search-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
}

.search-field input {
    flex: 1;
    border: none;
    background: transparent;
    color: rgb(var(--foreground));
    font-size: 1rem;
    outline: none;
    padding: 0.5rem 0;
}

.search-field input::placeholder {
    color: rgb(var(--muted-foreground));
}

.search-field i {
    color: rgb(var(--primary));
    width: 1.5rem;
    height: 1.5rem;
}

.search-divider {
    width: 1px;
    height: 2rem;
    background-color: rgb(var(--border));
    display: none;
}

@media (min-width: 768px) {
    .search-divider {
        display: block;
    }
}

.search-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgb(var(--primary) / 0.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgb(var(--muted-foreground));
    font-weight: 500;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(var(--foreground));
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgb(var(--muted-foreground));
    max-width: 32rem;
    margin: 0 auto;
}

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

.category-card {
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--border));
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.05), rgb(var(--accent) / 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgb(0 0 0 / 0.15);
    text-decoration: none;
    color: inherit;
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.1), rgb(var(--accent) / 0.1));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgb(var(--primary) / 0.2), rgb(var(--accent) / 0.2));
}

.category-icon i {
    color: rgb(var(--primary));
    width: 2.5rem;
    height: 2.5rem;
}

.category-title {
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: rgb(var(--primary));
}

.category-description {
    color: rgb(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.category-stat {
    text-align: center;
}

.category-stat-number {
    font-weight: 700;
    font-size: 1.125rem;
    color: rgb(var(--primary));
    display: block;
}

.category-stat-label {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
}

.category-cta {
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-cta {
    opacity: 1;
    transform: translateY(0);
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgb(var(--primary) / 0.4);
    color: white;
    text-decoration: none;
}

/* Featured Services Section */
.featured-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgb(var(--muted) / 0.3) 0%, rgb(var(--background)) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.service-card {
    background-color: rgb(var(--card));
    border: 1px solid rgb(var(--border));
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.15);
    border-color: rgb(var(--primary) / 0.5);
}

.service-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.1), rgb(var(--accent) / 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: rgb(var(--foreground));
    line-height: 1.4;
}

.service-description {
    color: rgb(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgb(var(--muted-foreground));
}

.service-meta-item i {
    width: 1rem;
    height: 1rem;
    color: rgb(var(--primary));
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--border));
}

.service-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: rgb(var(--primary));
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: rgb(var(--muted-foreground));
    font-size: 0.875rem;
}

.rating-stars {
    color: #fbbf24;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgb(var(--primary) / 0.05) 0%, rgb(var(--accent) / 0.05) 100%);
}

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

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgb(var(--primary)), rgb(var(--accent)));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: rgb(var(--foreground));
}

.step-description {
    color: rgb(var(--muted-foreground));
    line-height: 1.6;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 3rem 0;
    }

    .search-form {
        padding: 1rem;
        border-radius: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-stats {
        gap: 1rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}