/* ==========================================================================
   SERVICES PAGE - SPECIFIC STYLES (Critical CSS removed - now inline in HTML)
   ========================================================================== */

/* Services Hero Section - Non-critical styles only */
.services-hero {
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.services-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--light-grey);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Sections */
.service-section {
    padding: var(--spacing-xl) 5%;
    background: var(--deep-charcoal-grey);
    position: relative;
}

.service-section:nth-child(even) {
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.service-content,
.service-visual {
    flex: 1;
}

/* Alternate layout for right-aligned services */
.service-right .service-content {
    order: 2;
}

.service-right .service-visual {
    order: 1;
}

/* Service Content */
.service-content {
    padding: var(--spacing-md);
}

.service-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-highlight {
    font-size: 1.125rem;
    color: var(--off-white);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.service-highlight strong {
    color: var(--warm-ochre);
    font-weight: 600;
}

.service-description {
    font-size: 1rem;
    color: var(--light-grey);
    line-height: 1.6;
}

.service-description strong {
    color: var(--off-white);
    font-weight: 600;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: var(--spacing-md);
    background: transparent;
    color: var(--off-white);
    border: 2px solid var(--off-white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
    cursor: pointer;
    width: fit-content;
}

.service-btn:hover {
    background: var(--gradient-primary);
    color: var(--deep-charcoal-grey);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(194, 159, 15, 0.4);
}

.service-btn i {
    transition: transform var(--transition-fast);
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* Service Visual - Image Container */
.service-visual {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.service-image-placeholder.web,
.service-image-placeholder.digital,
.service-image-placeholder.xr,
.service-image-placeholder.ai {
    position: relative;
}

.service-image-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

/* Checkered Pattern - This is covering your background! 
   Remove the .placeholder-pattern div from HTML or comment out this CSS to see your backgrounds */
.placeholder-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    position: absolute;
    top: 0;
    left: 0;
}

.placeholder-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(30px);
}

/* Additional Animation Enhancements */
.service-content.animate-on-scroll,
.service-visual.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-content.animate-on-scroll.is-visible,
.service-visual.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-left .service-content.animate-on-scroll {
    transform: translateX(-40px) translateY(0);
}

.service-left .service-content.animate-on-scroll.is-visible {
    transform: translateX(0) translateY(0);
}

.service-right .service-content.animate-on-scroll {
    transform: translateX(40px) translateY(0);
}

.service-right .service-content.animate-on-scroll.is-visible {
    transform: translateX(0) translateY(0);
}

/* Responsive Design for Services Page */
@media (max-width: 1024px) {
    .service-container {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .service-right .service-content,
    .service-right .service-visual {
        order: 0;
    }

    .service-visual,
    .service-image-placeholder {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 50vh;
        padding: var(--spacing-lg) 5%;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .service-section {
        padding: var(--spacing-lg) 5%;
    }

    .service-content h2 {
        font-size: 2rem;
    }

    .service-visual,
    .service-image-placeholder {
        min-height: 350px;
    }

    .service-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-content {
        padding: var(--spacing-sm);
    }

    .service-highlight,
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-visual,
    .service-image-placeholder {
        min-height: 300px;
    }
}