/**
 * Services Pages - Apple-Inspired Magical Design
 * TKDK, KKYDP, KOSGEB sayfaları için büyüleyici stiller
 */

/* ============================================
   SERVICE HERO SECTION
   ============================================ */
.service-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%);
    padding: 140px 0 80px;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.service-hero-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.service-hero-background .orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.service-hero-background .orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: -0.1px;
}

.service-hero-badge i {
    color: var(--primary-color);
}

.service-hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.service-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: -0.2px;
}

.service-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-hero-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    letter-spacing: -0.2px;
}

.service-hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
    color: white;
}

.service-hero-button-primary i {
    transition: transform 0.3s;
}

.service-hero-button-primary:hover i {
    transform: translateX(4px);
}

.service-hero-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: -0.2px;
}

.service-hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

/* ============================================
   SERVICE FEATURES SECTION
   ============================================ */
.service-features-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-feature-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
}

.service-feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 57, 70, 0.2);
}

.service-feature-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
}

.service-feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    transition: all 0.3s;
}

.service-feature-card:hover .service-feature-icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.service-feature-icon {
    position: relative;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 1;
}

.service-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.service-feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* ============================================
   SERVICE BENEFITS SECTION
   ============================================ */
.service-benefits-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.service-benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.service-benefits-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-benefits-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.service-benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.service-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-benefits-list li i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-benefits-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-benefits-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.service-stat-card {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.service-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    color: white;
    font-size: 1.5rem;
}

.service-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.service-stat-label {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

.service-stat-card:nth-child(3) {
    grid-column: 1 / -1;
}

/* ============================================
   SERVICE CTA SECTION
   ============================================ */
.service-cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--bg-white);
}

.service-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.service-cta-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(255, 107, 157, 0.08) 100%);
}

.service-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.service-cta-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 48px;
}

.service-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    letter-spacing: -0.2px;
}

.service-cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
    color: white;
}

.service-cta-button-primary i {
    transition: transform 0.3s;
}

.service-cta-button-primary:hover i {
    transform: translateX(4px);
}

.service-cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: -0.2px;
}

.service-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   COMMON SECTION STYLES (for reuse)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.1px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-medium);
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(135deg, #e63946 0%, #ff6b9d 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .service-benefits-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .service-benefits-text,
    .service-benefits-visual {
        transform: translateY(30px);
    }
    
    .service-benefits-text.animate-in,
    .service-benefits-visual.animate-in {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .service-hero-section {
        min-height: 60vh;
        padding: 120px 0 60px;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-benefits-visual {
        grid-template-columns: 1fr;
    }
    
    .service-stat-card:nth-child(3) {
        grid-column: 1;
    }
    
    .service-hero-cta,
    .service-cta-buttons {
        flex-direction: column;
    }
    
    .service-hero-button-primary,
    .service-hero-button-secondary,
    .service-cta-button-primary,
    .service-cta-button-secondary {
        width: 100%;
        justify-content: center;
    }
}
