/*
 * HİZMETLER SAYFASI - MOBILE RESPONSIVE (v2.0)
 * Mobile-first, premium tasarım
*/

/* ===================================
   1. SERVICES HERO SECTION
=================================== */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 77, 43, 0.92) 0%, rgba(30, 77, 43, 0.75) 100%);
    z-index: 1;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(240, 244, 242, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 244, 242, 0.08) 0%, transparent 50%);
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 244, 242, 0.9);
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.services-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.services-hero-title .highlight {
    color: #F0F4F2;
    position: relative;
    display: inline-block;
}

.services-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F0F4F2, transparent);
}

.services-hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
}

.services-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(240, 244, 242, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===================================
   2. CATEGORY SECTION (Yatay Kaydırmalı)
=================================== */
.services-category-section {
    position: relative;
    min-height: auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    margin-bottom: 0;
    overflow: hidden;
}

.services-category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            rgba(17, 17, 17, 0.85) 0%,
            rgba(17, 17, 17, 0.65) 50%,
            rgba(17, 17, 17, 0.85) 100%);
    z-index: 1;
}

.services-category-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(240, 244, 242, 0.02) 10px,
            rgba(240, 244, 242, 0.02) 20px);
    z-index: 2;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(20px);
    }
}

.services-category-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0;
}

.category-header {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.category-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(240, 244, 242, 0.8);
    margin-bottom: 12px;
    padding: 5px 16px;
    background: rgba(30, 77, 43, 0.4);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.category-title {
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.category-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 100%;
}

/* Kaydırmalı Kartlar Container */
.category-services-slider {
    position: relative;
    padding: 0 20px;
    overflow: visible;
}

.category-services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0 30px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 244, 242, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.category-services-track::-webkit-scrollbar {
    height: 6px;
}

.category-services-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.category-services-track::-webkit-scrollbar-thumb {
    background: rgba(240, 244, 242, 0.4);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.category-services-track::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 244, 242, 0.6);
}

/* ===================================
   3. SERVICE CARD (Premium Tasarım)
=================================== */
.service-card-premium {
    position: relative;
    min-width: 280px;
    max-width: 280px;
    height: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card-premium:hover::before {
    transform: scaleX(1);
}

/* Kart Görseli */
.service-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card-premium:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    z-index: 1;
}

/* Badge */
.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: rgba(30, 77, 43, 0.95);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(30, 77, 43, 0.4);
}

/* Kart İçeriği */
.service-card-content {
    padding: 20px;
    position: relative;
}

.service-card-title {
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-description {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.service-price-currency {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 3px;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--color-text);
}

.service-duration i {
    color: var(--color-primary);
}

/* Kart Butonu */
.service-card-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    background: var(--color-primary);
    color: #FFFFFF;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.service-card-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-card-btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-card-btn:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 77, 43, 0.3);
}

/* ===================================
   4. SCROLL NAVIGATION ARROWS
=================================== */
.category-nav-arrows {
    display: none;
    /* Mobilde gizli */
}

/* ===================================
   5. RESPONSIVE - TABLET & DESKTOP
=================================== */

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .services-hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: fixed;
    }

    .services-hero-title {
        font-size: 3.5rem;
    }

    .services-hero-description {
        font-size: 1.15rem;
    }

    .services-hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-category-section {
        min-height: 500px;
        padding: 80px 0;
        background-attachment: fixed;
    }

    .category-header {
        padding: 0 40px;
        margin-bottom: 50px;
    }

    .category-title {
        font-size: 2.8rem;
    }

    .category-description {
        font-size: 1.1rem;
    }

    .category-services-slider {
        padding: 0 40px;
    }

    .category-services-track {
        gap: 25px;
        padding: 20px 0 35px 0;
    }

    .service-card-premium {
        min-width: 320px;
        max-width: 320px;
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        padding: 25px;
    }

    /* Navigation Arrows - Tablet'te göster */
    .category-nav-arrows {
        display: flex;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 10px;
        pointer-events: none;
        z-index: 10;
    }

    .category-nav-arrow {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        pointer-events: all;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
    }

    .category-nav-arrow:hover {
        background: var(--color-primary);
        color: #FFFFFF;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(30, 77, 43, 0.4);
    }

    .category-nav-arrow i {
        font-size: 1.1rem;
        color: var(--color-primary);
        transition: color 0.3s ease;
    }

    .category-nav-arrow:hover i {
        color: #FFFFFF;
    }
}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .services-hero-title {
        font-size: 4rem;
    }

    .services-hero-description {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .services-category-section {
        min-height: 600px;
        padding: 100px 0;
    }

    .category-header {
        max-width: 1400px;
    }

    .category-title {
        font-size: 3.2rem;
    }

    .service-card-premium {
        min-width: 360px;
        max-width: 360px;
    }

    .service-card-image {
        height: 220px;
    }

    .service-card-content {
        padding: 30px;
    }

    .category-nav-arrow {
        width: 50px;
        height: 50px;
    }

    .category-nav-arrow i {
        font-size: 1.2rem;
    }
}

/* Desktop Large - 1200px+ */
@media (min-width: 1200px) {
    .services-hero-title {
        font-size: 4.5rem;
    }

    .category-title {
        font-size: 3.5rem;
    }

    .category-description {
        font-size: 1.15rem;
        max-width: 700px;
    }

    .service-card-premium {
        min-width: 380px;
        max-width: 380px;
    }

    .service-card-image {
        height: 240px;
    }
}