/* ========================================
   ULTRA MODERN SERVICES SECTION 2025
   ======================================== */

/* Section Container */
.modern-services {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f8f9fb 100%);
    overflow: hidden;
}

/* Section Header */
.modern-services .section-header {
    text-align: center !important;
    max-width: 1000px;
    margin: 0 auto 80px !important;
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.modern-services .section-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.08) 0%, rgba(255, 94, 21, 0.03) 100%);
    border-radius: 100px;
    margin: 0 0 24px 0 !important;
    border: 1.5px solid rgba(255, 94, 21, 0.15);
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
    align-self: center !important;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: #ff5e15;
    border-radius: 50%;
}

.badge-icon i {
    font-size: 16px;
    color: #ffffff;
}

.badge-text {
    font-size: 13px;
    font-weight: 700;
    color: #ff5e15;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.modern-services .section-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #002052;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
}

.modern-services .title-gradient {
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline;
    white-space: nowrap;
}

.modern-services .title-navy {
    color: #002052;
    display: inline;
    white-space: nowrap;
}

/* Force single line on desktop */
@media (min-width: 769px) {
    .modern-services .section-title {
        font-size: 42px;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .modern-services .section-title {
        font-size: 44px;
    }
}

@media (min-width: 1200px) {
    .modern-services .section-title {
        font-size: 48px;
    }
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Service Card */
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 48px 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 
        0 32px 64px rgba(255, 94, 21, 0.12),
        0 0 0 1px rgba(255, 94, 21, 0.1);
    border-color: rgba(255, 94, 21, 0.2);
}

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

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Service Number */
.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(0, 32, 82, 0.03);
    line-height: 1;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 94, 21, 0.08);
    transform: scale(1.1);
}

/* Service Icon */
.service-icon-wrapper {
    position: relative;
    margin-bottom: 32px;
    z-index: 2;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 16px 48px rgba(0, 32, 82, 0.15);
}

.service-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: all 0.5s ease;
    /* Beyaz arka planı tamamen kaldır */
    mix-blend-mode: multiply;
}

.service-card:hover .service-icon img {
    /* Hover'da da beyaz arka plan görünmesin */
    mix-blend-mode: multiply;
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.1);
}

/* Service Content */
.service-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #002052;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.service-card:hover .service-title {
    color: #ff5e15;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 28px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff5e15;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(255, 94, 21, 0.06);
    border: 1px solid rgba(255, 94, 21, 0.1);
}

.service-link:hover {
    gap: 14px;
    color: white;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.3);
    border-color: transparent;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Featured Card */
.service-card.featured {
    background: linear-gradient(135deg, #002052 0%, #003875 100%);
    border-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.service-card.featured::before {
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.15) 0%, transparent 100%);
    opacity: 1;
}

.service-card.featured .service-number {
    color: rgba(255, 255, 255, 0.05);
}

.service-card.featured:hover .service-number {
    color: rgba(255, 94, 21, 0.15);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: white;
}

.service-card.featured .service-link {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-link:hover {
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    color: white;
}

.service-card.featured:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 32px 80px rgba(0, 32, 82, 0.25),
        0 0 0 1px rgba(255, 94, 21, 0.3);
}

.featured-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    border-radius: 100px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.4);
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.featured-badge svg {
    width: 14px;
    height: 14px;
}

/* CTA Card */
.service-card.cta-card {
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 40px;
    position: relative;
    overflow: visible;
}

.service-card.cta-card::before {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 1;
}

.service-card.cta-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 80px rgba(255, 94, 21, 0.4);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    transition: all 0.5s ease;
}

.service-card.cta-card:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cta-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #002052 0%, #003875 100%);
    color: white;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 32, 82, 0.3);
}

.cta-button:hover {
    gap: 14px;
    background: linear-gradient(135deg, #003875 0%, #002052 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 32, 82, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Services Features */
.services-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item .feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff5e15;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    color: #ff5e15;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.feature-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Background Decoration */
.services-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 32, 82, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 30px) scale(1.05);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-services {
        padding: 80px 0;
    }

    .modern-services .section-title {
        font-size: 32px;
        line-height: 1.3;
        white-space: normal;
    }
    
    .modern-services .title-gradient,
    .modern-services .title-navy {
        display: inline;
        white-space: normal;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .service-card {
        padding: 40px 28px;
    }

    .service-number {
        font-size: 56px;
        top: 20px;
        right: 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .service-icon img {
        width: 44px;
        height: 44px;
    }

    .service-title {
        font-size: 22px;
    }

    .cta-card {
        padding: 48px 32px;
    }

    .cta-title {
        font-size: 24px;
    }

    .services-features {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .modern-services {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .modern-services .section-title {
        font-size: 26px;
        line-height: 1.3;
        white-space: normal;
    }
    
    .modern-services .title-gradient,
    .modern-services .title-navy {
        display: inline;
        white-space: normal;
    }

    .section-description {
        font-size: 16px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-number {
        font-size: 48px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .service-icon img {
        width: 38px;
        height: 38px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-icon {
        width: 64px;
        height: 64px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-description {
        font-size: 14px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 15px;
    }

    .feature-item .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-text h4 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 13px;
    }
}
