* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 🔹 ANA SAYFAYA ÖZEL ARKA PLAN */
.anasayfa-header {
    background: url('../images/anasayfa.png') no-repeat center center/cover;
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative;
    margin-bottom: 0;
    padding: 20px;
}

/* 🔹 DİĞER SAYFALARDA ARKA PLAN YOK */
main {
    padding: 50px;
    flex: 1;
    text-align: center;
}

/* 🔹 Menü Düzeni */
nav {
    background-color: #003366;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo {
    text-align: left;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.logo p {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    opacity: 0.8;
    color: white;
}

.menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.menu li {
    margin-left: 20px;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.menu li a:hover {
    color: #f1c40f;
}

/* 📌 Footer Sabit */
footer {
    height: 40px;
    background-color: #002244;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.contact-header {
    margin-top: 70px;
    text-align: center;
    padding: 20px;
}

.phone-link {
    color: black;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

.background-box {
    background-color: #007ACC;
    padding: 40px;
    width: 80%;
    max-width: 600px;
    margin: 90px auto;
    text-align: center;
    border-radius: 10px;
}

.hizmetler-listesi li {
    margin-bottom: 10px;
}

/* ✅ HAMBURGER MENÜ EKLEMELERİ */

/* Hamburger ikon başlangıçta gizli */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Mobilde menu varsayılan açık */
.menu {
    display: flex;
}

/* ✅ MOBİL UYUMLULUK */
/* ... diğer CSS kuralları ... */

@media (max-width: 768px) {

    /* Hizmetler ve Hakkımızda sayfasındaki içeriği biraz aşağı kaydır */
    .about-page .background-box,
    .services-page .background-box {
        margin-top: 120px; /* İstersen değeri artırabilir/azaltabilirsin */
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    /* Hamburger göster */
    .hamburger {
        display: block;
    }

    /* Menü başlangıçta gizli, açıldığında show class ile görünür */
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #003366;
        padding: 10px 0;
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        margin: 10px 20px;
        padding: 0;
    }

    .anasayfa-header {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .logo h1,
    .logo p,
    .menu li a {
        font-size: 16px;
    }

    main {
        padding: 20px;
    }

    .background-box {
        width: 95%;
        padding: 20px;
        margin: 60px auto;
    }

    footer {
        font-size: 12px;
    }
}
