/* Development Services Page Styles */

/* Services Hero Section Top Margin - Standardized to match home page exactly */
#services-page-wrapper .hero {
    margin-top: 128px !important;
}

/* Remove content-area top padding for services page */
#services-page-wrapper {
    padding-top: 0 !important;
}

/* Services Hero Grid Background Pattern - Force Override */
#services-page-wrapper .hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') !important;
    opacity: 0.3 !important;
    z-index: 0 !important;
}

/* Page Identity Icon - Top Right Corner */
.hero-page-identity {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 5;
    animation: fadeInScale 1s ease-out 0.5s both;
}

.page-identity-icon {
    width: 61px;
    height: 61px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9) 0%, rgba(8, 145, 178, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border: 3px solid rgba(6, 182, 212, 0.4);
    box-shadow: 
        0 8px 25px rgba(6, 182, 212, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.page-identity-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 35px rgba(6, 182, 212, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Services specific styling overrides */
.services-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.services-section {
    margin-bottom: var(--space-16);
}

.services-section:last-child {
    margin-bottom: 0;
}

.services-section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Service Cards */
.service-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    display: block;
}

.service-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.service-description {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Responsive Design - Services Specific */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .services-section {
        margin-bottom: var(--space-12);
    }
    
    /* Responsive Page Identity Icon */
    .hero-page-identity {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .page-identity-icon {
        width: 46px;
        height: 46px;
        font-size: 19px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: var(--space-4);
    }
    
    .service-icon {
        font-size: var(--text-3xl);
    }
    
    /* Extra Small Screen Page Identity Icon */
    .hero-page-identity {
        top: 1rem;
        right: 1rem;
    }
    
    .page-identity-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
} 