﻿:root {
    --primary-green: #006d5b;
    --secondary-green: #008e74;
    --light-green: #e8f5f2;
    --accent-green: #00c9a7;
    --accent-gold: #ffd700;
    --dark-text: #222;
    --light-text: #fff;
    --gray-bg: #f8f9fa;
    --transition: all 0.4s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 109, 91, 0.2);
}



.services-section {
    max-width: 1400px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Başlık Bölümü Geliştirmeleri */
.section-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--light-text);
    padding: 70px 50px 50px;
    position: relative;
    overflow: hidden;
}

    .section-header::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        z-index: 0;
    }

    .section-header::after {
        content: "";
        position: absolute;
        bottom: -150px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        z-index: 0;
    }

    .section-header h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        font-weight: 700;
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .section-header p {
        font-size: 1.2rem;
        max-width: 800px;
        opacity: 0.9;
        position: relative;
        z-index: 2;
    }

.divider {
    height: 5px;
    width: 100px;
    background: var(--accent-green);
    margin: 25px 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

    .divider::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        height: 100%;
        background: var(--accent-gold);
        animation: shine 3s infinite;
    }

@keyframes shine {
    0% {
        left: -30px;
    }

    50% {
        left: calc(100% + 30px);
    }

    100% {
        left: calc(100% + 30px);
    }
}

/* Hizmetler Konteyneri */
.services-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 700px;
}

/* Sol Tab Menü Geliştirmeleri */
.services-tabs {
    flex: 1;
    min-width: 320px;
    background: white;
    padding: 30px 0;
    position: relative;
}

.tab-header {
    padding: 0 40px 25px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 15px;
}

    .tab-header i {
        color: var(--accent-green);
        font-size: 1.8rem;
        background: var(--light-green);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(0, 201, 167, 0.2);
    }

.tab-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Öğeler arası boşluk eklendi */
    padding: 0 20px 20px; /* Kenar boşlukları */
}

    .tab-list li {
        border-radius: 12px; /* Köşeleri yuvarlat */
        overflow: hidden; /* İçerik taşmalarını kontrol et */
        background: white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); /* Hafif gölge */
        transition: var(--transition);
        border: 1px solid rgba(0, 0, 0, 0.05); /* Hafif kenar çizgisi */
    }

        .tab-list li:hover {
            background: rgba(0, 201, 167, 0.05);
            box-shadow: 0 5px 15px rgba(0, 109, 91, 0.1); /* Hover'da gölge artışı */
            transform: translateY(-3px); /* Hafif kaldırma efekti */
            border-color: rgba(0, 201, 167, 0.2); /* Kenar rengi değişimi */
        }

        .tab-list li a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 25px; /* Padding ayarı */
            color: var(--dark-text);
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem; /* Yazı boyutu küçültüldü */
            transition: var(--transition);
            position: relative;
            z-index: 2;
        }

            .tab-list li a:hover {
                color: var(--primary-green);
            }

            .tab-list li a.active {
                background: linear-gradient(to right, rgba(0, 201, 167, 0.08) 0%, rgba(0, 201, 167, 0.01) 100%);
                color: var(--primary-green);
                font-weight: 600;
            }

                .tab-list li a.active:before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 100%;
                    width: 5px;
                    background: var(--accent-green);
                    border-radius: 0 5px 5px 0;
                }

            .tab-list li a i {
                color: var(--primary-green);
                transition: var(--transition);
                font-size: 1.2rem;
            }

            .tab-list li a:hover i,
            .tab-list li a.active i {
                color: var(--accent-green);
                transform: translateX(5px); /* Ok hareketi azaltıldı */
            }

            /* Sağdaki ok simgesi için özel stil */
            .tab-list li a .fa-arrow-right {
                font-size: 0.9rem; /* Ok boyutu küçültüldü */
                margin-left: 10px; /* Metinden ayrıldı */
            }

/* Sağ İçerik Bölümü Geliştirmeleri */
.services-content {
    flex: 2.5;
    min-width: 300px;
    background: linear-gradient(135deg, #e8f5f2 0%, #d4f0e9 100%);
    padding: 40px;
    position: relative;
}

    .services-content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300c9a7' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
        opacity: 0.3;
        z-index: 0;
    }

.tab-content {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

    .tab-content:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-5px);
    }

.tab-article {
    padding: 0;
    display: none;
    animation: fadeIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .tab-article.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .service-image:hover img {
        transform: scale(1.08);
    }

    .service-image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to top, rgba(0, 109, 91, 0.7), transparent);
        z-index: 1;
    }

.service-title {
    position: absolute;
    bottom: 25px;
    left: 30px;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

    .service-title i {
        color: var(--accent-gold);
        margin-right: 10px;
        font-size: 1.8rem;
    }

.service-details {
    padding: 35px;
}

    .service-details h3 {
        font-size: 1.8rem;
        color: var(--primary-green);
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 15px;
    }

        .service-details h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 70px;
            height: 4px;
            background: var(--accent-green);
            border-radius: 2px;
        }

    .service-details p {
        margin-bottom: 25px;
        font-size: 1.1rem;
        line-height: 1.8;
        color: #444;
    }

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    background: var(--light-green);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 109, 91, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .feature-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 109, 91, 0.15);
        border-color: rgba(0, 201, 167, 0.3);
    }

    .feature-box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 201, 167, 0.05) 0%, rgba(0, 201, 167, 0) 100%);
        z-index: -1;
    }

    .feature-box i {
        font-size: 2.2rem;
        color: var(--accent-green);
        margin-right: 20px;
        min-width: 50px;
        text-align: center;
    }

.feature-text h4 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-text p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #555;
}

.service-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(0, 201, 167, 0.05);
    border-left: 4px solid var(--accent-green);
    border-radius: 0 8px 8px 0;
}

.service-note {
    background: var(--light-green);
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 109, 91, 0.1);
}

    .service-note i {
        color: var(--accent-green);
        font-size: 1.3rem;
    }

/* Footer Geliştirmeleri */
.footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .footer::after {
        content: "";
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 50%;
    }

    .footer p {
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: 1px;
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .footer span {
        color: var(--accent-gold);
    }

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .services-container {
        flex-direction: column;
    }

    .services-tabs {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .section-header {
        padding: 50px 30px 30px;
    }

        .section-header h1 {
            font-size: 2.3rem;
        }

    .service-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .services-section {
        margin: 20px;
        border-radius: 15px;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-details {
        padding: 25px 20px;
    }

    .service-title {
        font-size: 1.6rem;
        left: 20px;
        bottom: 20px;
    }

    .feature-box {
        min-width: 100%;
    }

    .footer p {
        font-size: 1.2rem;
    }
}

/* Ek Animasyonlar */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}
