/* Genel Ayarlar */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #333;
    color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: white;
    font-size: 16px;
}

/* Mobil Menü */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Slider */
.slider {
    height: 300px;
    background: url('slider.jpg') no-repeat center center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.slider h2 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    font-size: 24px;
}

/* Hizmetler */
.hizmet {
    display: flex;
    align-items: center;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid #ccc;
}

.hizmet.reverse {
    flex-direction: row-reverse;
}

.image {
    flex: 3;
    height: 40vh;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text {
    flex: 7;
    padding: 20px;
}

.text h3 {
    margin-top: 0;
    font-size: 24px;
    color: black;
}

.text p {
    font-size: 16px;
    color: gray;
}

/* İletişim */
.contact {
    padding: 20px;
    text-align: center;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact li {
    margin: 10px 0;
    font-size: 20px;
}

/* Sosyal İkonlar */
.social a {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.social .facebook {
    background-color: #3b5998;
}

.social .instagram {
    background-color: #e4405f;
}

.social .whatsapp {
    background-color: #25d366;
}

.social a:hover {
    background-color: #555;
}

.map iframe {
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hizmet {
        flex-direction: column;
    }

    .image {
        height: 20vh;
    }

    .text {
        padding: 10px;
    }
}

/* Animasyonlar */
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hizmetler Animasyonu */
.hizmet {
    display: flex;
    align-items: center;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid #ccc;
    animation: slide-up 1s ease-out;
}

.hizmet.reverse {
    flex-direction: row-reverse;
}

.hizmet img {
    animation: slide-up 1s ease-out;
}