/* ========================================
   SERVICES SECTION STYLES
   Sizin İçin Neler Yapıyoruz - Premium Design
   ======================================== */

/* ===== SECTION WRAPPER ===== */
.services-section {
    padding: 120px 0;
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* ===== SECTION HEADER ===== */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: #FFF;
    margin-bottom: 20px;
}

.services-title .highlight {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 50%, #9C27B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ===== TAB BUTTONS ===== */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.services-tab-btn {
    padding: 14px 32px;
    border-radius: 100px;
    border: 2px solid #E91E63;
    background: transparent;
    color: #E91E63;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-tab-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.services-tab-btn:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.services-tab-btn.active {
    border-color: #E91E63;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

.services-tab-btn.active i {
    color: #ffffff;
}

.services-tab-btn.active:hover {
    background: linear-gradient(135deg, #C2185B 0%, #9C27B0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* ===== TAB CONTENT ===== */
.services-tab-content {
    display: none;
}

.services-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== SERVICE CARD ===== */
.service-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 30, 99, 0.4);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2) 0%, rgba(194, 24, 91, 0.2) 100%);
    border-color: rgba(233, 30, 99, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.service-card__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon img {
    transform: scale(1.1);
}

.service-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-card__description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #9ca3af;
}

/* ===== LIGHT MODE ===== */
body.light-mode .services-section {
    background: #ffffff;
}

body.light-mode .services-title {
    color: #1d1d1f;
}

body.light-mode .services-subtitle {
    color: #374151;
    font-weight: 500;
}

body.light-mode .services-tab-btn {
    border-color: #E91E63 !important;
    background: transparent !important;
    color: #E91E63 !important;
}

body.light-mode .services-tab-btn i {
    color: #E91E63 !important;
}

body.light-mode .services-tab-btn:hover {
    background: rgba(233, 30, 99, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

body.light-mode .services-tab-btn.active {
    border-color: #E91E63 !important;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

body.light-mode .services-tab-btn.active i {
    color: #ffffff !important;
}

body.light-mode .services-tab-btn.active:hover {
    background: linear-gradient(135deg, #C2185B 0%, #9C27B0 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

body.light-mode .service-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .service-card:hover {
    border-color: rgba(233, 30, 99, 0.4);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.15);
    background: #fafafa;
}

body.light-mode .service-card__icon {
    background: #f3f4f6;
    border-color: #d1d5db;
}

body.light-mode .service-card:hover .service-card__icon {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.12) 0%, rgba(194, 24, 91, 0.12) 100%);
    border-color: rgba(233, 30, 99, 0.4);
}

body.light-mode .service-card__icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(1026%) hue-rotate(182deg) brightness(95%) contrast(87%);
}

body.light-mode .service-card:hover .service-card__icon img {
    filter: brightness(0) saturate(100%) invert(23%) sepia(89%) saturate(3527%) hue-rotate(325deg) brightness(94%) contrast(92%);
}

body.light-mode .service-card__title {
    color: #1d1d1f;
    font-weight: 700;
}

body.light-mode .service-card__description {
    color: #374151;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }
    
    .services-tabs {
        gap: 12px;
    }
    
    .services-tab-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .services-title {
        font-size: 28px;
        letter-spacing: -0.8px;
    }
    
    .services-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .services-tabs {
        flex-direction: column;
        padding: 0 20px;
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .services-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .service-card__icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card__icon img {
        width: 40px;
        height: 40px;
    }
    
    .service-card__title {
        font-size: 15px;
    }
    
    .service-card__description {
        font-size: 13px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .services-title {
        font-size: 24px;
    }
    
    .services-subtitle {
        font-size: 14px;
    }
}

/* ===== ANIMATIONS ===== */
.service-card {
    animation: slideUp 0.5s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.4s; }
.service-card:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
.service-card:focus,
.services-tab-btn:focus {
    outline: 2px solid #E91E63;
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .services-section {
        padding: 40px 0;
    }
    
    .services-tabs {
        display: none;
    }
    
    .services-tab-content {
        display: block !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        break-inside: avoid;
    }
}
