﻿

.services-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding: 0 20px;
}

    .section-header h2 {
        font-size: 3.5rem;
        font-weight: 700;
        color: #006d5b;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-header h2 em {
            color: #00c9a7;
            font-style: normal;
            position: relative;
        }

        .section-header h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, #00c9a7, #ffd700);
            border-radius: 2px;
        }

    .section-header span {
        display: block;
        font-size: 1.3rem;
        color: #555;
        max-width: 600px;
        margin: 20px auto 0;
        line-height: 1.8;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0, 109, 91, 0.2);
    }

.service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.8s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.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-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00c9a7;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 201, 167, 0.5);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .service-content h3 {
        font-size: 1.8rem;
        color: #006d5b;
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 15px;
    }

        .service-content h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: #00c9a7;
            border-radius: 2px;
        }

    .service-content p {
        color: #555;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 25px;
        flex-grow: 1;
    }

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: rgba(0, 201, 167, 0.1);
    color: #006d5b;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-button {
    align-self: flex-start;
    background: linear-gradient(to right, #006d5b, #00c9a7);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 109, 91, 0.3);
}

    .service-button i {
        transition: transform 0.3s ease;
    }

    .service-button:hover {
        background: linear-gradient(to right, #00c9a7, #006d5b);
        box-shadow: 0 8px 20px rgba(0, 109, 91, 0.4);
    }

        .service-button:hover i {
            transform: translateX(5px);
        }

.view-all-container {
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.view-all-button {
    background: linear-gradient(to right, #006d5b, #008e74);
    color: white;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 109, 91, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .view-all-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .view-all-button:hover::before {
        left: 100%;
    }

    .view-all-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 109, 91, 0.5);
    }

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:nth-child(1) {
    animation: fadeIn 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation: fadeIn 0.8s ease forwards;
}

.service-card:nth-child(3) {
    animation: fadeIn 1s ease forwards;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header span {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-image {
        height: 250px;
    }
}
