﻿/* ==============================
   Genel Ayarlar
============================== */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.section-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* ==============================
   Hizmetler Bölümü
============================== */
#hizmetler {
    background-color: #f4f4f4;
    padding: 100px 20px;
}

    #hizmetler h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #007bff;
    }

    #hizmetler p {
        text-align: center;
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 50px auto;
        color: #555;
    }

.hizmet {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hizmet:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

.hizmet-img {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 400px;
    padding: 15px;
}

    .hizmet-img img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

.hizmet-content {
    flex: 2 1 400px;
    padding: 25px 20px;
}

    .hizmet-content h3 {
        font-size: 1.9rem;
        color: #007bff;
        margin-bottom: 15px;
    }

    .hizmet-content p {
        font-size: 1.05rem;
        color: #555;
        margin-bottom: 15px;
    }

    .hizmet-content ul {
        list-style: none;
        padding-left: 0;
    }

        .hizmet-content ul li {
            position: relative;
            font-size: 1.05rem;
            padding-left: 28px;
            margin-bottom: 10px;
        }

            .hizmet-content ul li::before {
                content: '✔';
                position: absolute;
                left: 0;
                color: #007bff;
            }

/* ==============================
   Animasyonlar
============================== */
.slide-in-left, .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================
   Projeler Bölümü
============================== */
#projeler {
    background-color: #fff;
    padding: 100px 20px;
    color: #333;
}

    #projeler h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 50px;
        color: #007bff;
    }

    #projeler .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        padding: 0 15px;
    }

    #projeler .proje {
        background: #f9fbff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 25px 20px;
        box-shadow: 0 8px 15px rgba(0, 123, 255, 0.1);
        transition: all 0.3s ease;
    }

        #projeler .proje:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 25px rgba(0, 123, 255, 0.2);
        }

        #projeler .proje h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #007bff;
            margin-bottom: 12px;
        }

        #projeler .proje p {
            font-size: 1.05rem;
            line-height: 1.6;
            color: #4a4a4a;
            margin: 5px 0;
        }

/* ==============================
   İletişim Bölümü
============================== */
#iletisim {
    background-color: #fefefe;
    padding: 100px 20px;
    color: #555;
    text-align: center;
}

    #iletisim h2 {
        font-size: 2.5rem;
        margin-bottom: 25px;
        color: #007bff;
    }

    #iletisim p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    #iletisim strong {
        color: #007bff;
        font-weight: 700;
    }

    #iletisim a {
        color: #0056b3;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        #iletisim a:hover,
        #iletisim a:focus {
            color: #003d82;
            text-decoration: underline;
            outline: none;
        }

/* ==============================
   Sticky Navigasyon Çubuğu
============================== */
.container_hizmetler {
    position: sticky;
    top: 65px;
    z-index: 1000;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .container_hizmetler nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

        .container_hizmetler nav ul li a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 8px 12px;
            border-radius: 6px;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

            .container_hizmetler nav ul li a:hover,
            .container_hizmetler nav ul li a:focus {
                background-color: #0056b3;
                outline: none;
            }

/* ==============================
   Responsive
============================== */
@media (max-width: 1024px) {
    .hizmet {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hizmet-img, .hizmet-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

        .hizmet-content ul li {
            text-align: left;
            padding-left: 24px;
        }
}

@media (max-width: 768px) {
    #hizmetler h2, #projeler h2, #iletisim h2 {
        font-size: 2rem;
    }

    .hizmet-content h3 {
        font-size: 1.6rem;
    }

    .hizmet-content p, .hizmet-content ul li, #projeler .proje p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #projeler .container {
        grid-template-columns: 1fr;
    }

    .container_hizmetler nav ul {
        justify-content: center;
        gap: 10px;
    }

        .container_hizmetler nav ul li a {
            font-size: 14px;
            padding: 6px 10px;
        }

    #hizmetler p, #iletisim p {
        font-size: 1rem;
    }
}
