/* ========================================
   SERVICES PAGE - PURPLE & BLACK MYSTERY
   Premium Magician Website
   ======================================== */

.page-services {
    background-color: var(--color-black);
}

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-purple-deeper) 0%, var(--color-black) 100%);
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/purple-cards.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-6);
}

.services-hero-title {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: var(--weight-black);
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple), var(--color-purple-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPurple 3s ease-in-out infinite;
}

.services-hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-light);
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
}

/* Service Categories */
.services-categories {
    padding: var(--space-32) 0;
    background: var(--color-black);
}

.service-category {
    margin-bottom: var(--space-32);
    scroll-margin-top: 100px;
}

.service-category-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.service-category-icon {
    font-size: var(--text-7xl);
    display: block;
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 0 30px var(--color-purple-glow));
}

.service-category-title {
    font-family: var(--font-accent);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-purple-light);
    margin-bottom: var(--space-4);
}

.service-category-description {
    font-size: var(--text-lg);
    color: var(--color-gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Cards Grid */
.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-10);
    margin-top: var(--space-12);
}

.service-detail-card {
    position: relative;
    background: linear-gradient(135deg, rgba(90, 24, 154, 0.2), rgba(60, 9, 108, 0.3));
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    overflow: hidden;
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: all var(--transition-slower);
    pointer-events: none;
}

.service-detail-card:hover::before {
    opacity: 1;
    top: -50%;
    left: -50%;
}

.service-detail-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-purple-light);
    box-shadow: var(--shadow-2xl), 0 0 50px rgba(157, 78, 221, 0.4);
}

.service-detail-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--color-purple-light);
    margin-bottom: var(--space-6);
}

.service-detail-description {
    color: var(--color-gray-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.service-detail-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.service-detail-features li {
    padding: var(--space-3) 0;
    padding-left: var(--space-8);
    position: relative;
    color: var(--color-gray-light);
    border-bottom: 1px solid rgba(157, 78, 221, 0.1);
}

.service-detail-features li:last-child {
    border-bottom: none;
}

.service-detail-features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: var(--space-3);
    font-size: var(--text-lg);
}

.service-detail-price {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-purple-light);
    margin-bottom: var(--space-6);
}

/* Process Section */
.services-process {
    padding: var(--space-32) 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-soft) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-8);
    position: relative;
}

.process-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: var(--text-4xl);
    font-weight: var(--weight-black);
    background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple-dark));
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--glow-purple);
}

.process-step-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-purple-light);
    margin-bottom: var(--space-3);
}

.process-step-description {
    color: var(--color-gray-light);
    line-height: var(--leading-relaxed);
}

/* CTA Section */
.services-cta {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, var(--color-black) 100%);
    text-align: center;
}

.services-cta-title {
    font-family: var(--font-accent);
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    color: var(--color-purple-light);
    margin-bottom: var(--space-6);
}

.services-cta-description {
    font-size: var(--text-lg);
    color: var(--color-gray-light);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}