* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}


.container {
    background: url(../img/foto-6.png) no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover; /* iPhone uyumu için */
    background-position: center;
    background-attachment: scroll; /* Fixed yerine scroll */
    
    min-height: 100vh; /* iPhone ekranına tam uyum */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
    
    position: relative;
    color: rgb(255, 255, 255);
    font-family: sans-serif;
}

.navbar {
    width: 96%;
    height: 70px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-radius: 35px;
    box-shadow: 0px 4px 10px rgb(0, 0, 0);
    backdrop-filter: blur(5px);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

.navbar .logo img {
    height: 113px;
    width: auto;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: rgba(255, 255, 255, 0.784);
    text-decoration: none;
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.4s ease;
}

.navbar ul li a i {
    margin-right: 5px;
}

.navbar ul li a:hover {
    color: rgb(220, 187, 88);
    transform: scale(1.5);
}

.center {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    user-select: none;
    backdrop-filter: blur(10px);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.center h1 {
    font-size: 40px;
    font-weight: bold;
    width: 800px;
    text-align: center;
    transition: color 0.5s ease, transform 0.5s ease;
}

.center h1:hover {
    color: rgb(220, 187, 88);
    transform: scale(1.15);
}

.center h2 {
    font-size: 40px;
    font-weight: bold;
    width: 800px;
    text-align: center;
    transition: color 0.5s ease, transform 0.5s ease;
}

.center h2:hover {
    color: rgb(220, 187, 88);
    transform: scale(1.05);
}

.buttons button {
    height: 50px;
    width: 150px;
    font-size: 18px;
    font-weight: bold;
    color: rgb(242, 235, 235);
    background: rgba(2, 12, 21, 0.653);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.buttons button:hover {
    background: rgb(220, 187, 88);
    transform: scale(1.1);
}

/* --- Navbar Genel Ayarlar --- */
.navbar {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    /* Navbar'ı sabitler */
    top: 0;
    /* Sayfanın en üst kısmına yerleştirir */
    left: 0;
    /* Sayfanın sol tarafına hizalar */
    width: 100%;
    /* Tam genişlikte görünür */
    z-index: 1000;
    /* Diğer öğelerin üstünde görünmesini sağlar */
}

body {
    margin-top: 80px;
    /* Navbar sabitlendiği için içeriğin navbar tarafından gizlenmemesi için margin ekliyoruz */
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    display: block;
} 

/*-------------MENÜ----------*/



/* --- Mobil Menü İkonu --- */
.menu-icon {
    display: none;
    /* Sadece mobilde görünecek */
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 110;
}

/* --- Responsive --- */
@media (max-width: 750px) {
    .menu-icon {
        display: block;
        /* Mobilde hamburger menüyü göster */
    }

    .navbar ul {
        position: absolute;
        top: 55px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        width: 100%;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        border-radius: 30px;
        padding: 10px 0;
    }

    .navbar ul.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar ul li {
        margin: 5px 0;
    }
  
    
  
}


.center {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    margin: auto;
    max-height: 90%;
}

/* --- Başlık Ayarları --- */
.center h1 {
    font-size: clamp(24px, 6vw, 50px);
    /* Ekrana göre ölçeklenen başlık */
    font-weight: bolder;
    color: white;
    margin-bottom: 10px;
    max-width: 100%;
}


.center h2 {
    font-size: clamp(12px, 3.5vw, 20px) !important;
    /* Mobilde küçülebilir */
    font-weight: normal;
    color: white;
    text-align: center;
    max-width: 90%;
    margin: 10px auto;
    line-height: 2;
    word-wrap: break-word;
    /* Uzun kelimeleri böler */
    overflow-wrap: break-word;
}

/* --- Buton Ayarları --- */
.buttons button {
    font-size: clamp(14px, 40vw, 18px);
    padding: 10px 5px;
    border: none;
    background-color: rgba(0, 0, 0, 0.505);
    color: white;
    cursor: pointer;
    border-radius: 80px;
}

/* --- Küçük Ekranlar İçin Ekstra Responsive Ayarları --- */







.MENÜ {
    text-align: center;
    padding: 20px 10px;
    background-color: #ffffff;
    background: url(../img/foto-9.jpg) no-repeat center center;
    background-size: cover; /* Resmin tüm alanı kaplamasını sağlar */
    background-position: center; /* Resmi ortalar */
    background-repeat: no-repeat; /* Tekrar etmesini engeller */
    min-height: 100vh; /* Minimum yüksekliği ekran boyutuna eşit yapar */
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    
    /* Safari için ek düzeltmeler */
    background-attachment: scroll;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}



.MENÜ h1 {
    color: #edebeb;
    font-size: xxx-large;
}

/* Kutuların bulunduğu konteyner */
.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* En az 2 kutu her zaman görünsün */
    gap: 100px;
    justify-content: center;
}

/* Diğer stil ayarları aynen kalacak */
.box {
    background: url(../img/wp-8.jpg); /* Arka plan resmi */
    background-size: 100% 100%; /* Görseli kutunun her yerine yay */
    background-position: center; /* Ortala */
    background-repeat: no-repeat; /* Tekrarlamayı engelle */
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}



.box:hover {
    transform: translateY(-20px);
}

.box-head {
    text-align: center;
    padding: 15px;
}

.box-head img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.box-head h3 {
    font-size: 25px;
    margin-top: 20px;
    color: #ffffff;
}

.box-bottom {
    text-align: center;
    padding: 15px;
}

/* Mobil görünüm için media query */
@media (max-width: 768px) {
    .box-container {
        grid-template-columns: repeat(2, 1fr); /* En az 2 kutu olacak şekilde ayar */
        gap: 20px; /* Mobilde kutular arasındaki boşluğu azalt */

        
    }
}




.btn {
    display: inline-block;
    background: #111111;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #55534a;
}


/* --- Hakkımızda Responsive --- */

.hakkımızda .row {
    background-color: #020202;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hakkımızda .row .image {
    flex: 1 1 50%;
    max-width: 50%;
}

.hakkımızda h1 {
    background-color: #000000;
    color: #f2eded;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hakkımızda .row .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hakkımızda .row .content {
    flex: 1 1 100%;
    max-width: 40%;
    padding: 10px;
    text-align: left;
}

.hakkımızda .row .content h3 {
    font-size: 30px;
    color: hsl(0, 3%, 94%);
    margin-bottom: 30px;
}

.hakkımızda .row .content p {
    font-size: 20px;
    color: #ebe5e5;
    line-height: 1.9;
}

/* Responsive - Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .hakkımızda .row .image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hakkımızda .row .content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hakkımızda .row .content h3 {
        font-size: 24px;
    }

    .hakkımızda .row .content p {
        font-size: 16px;
    }
}

/* Responsive - Very small devices (max-width: 480px) */
@media (max-width: 480px) {
    .hakkımızda .row .content h3 {
        font-size: 20px;
    }

    .hakkımızda .row .content p {
        font-size: 14px;
    }
}

/* Genel Stiller */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: hsl(0, 0%, 0%);
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
}


/* Başlık Stili */
.heading {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;


}

/* İletişim Konteyneri (Sağa Hizala) */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    width: 700px;
    margin: -450px 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    /* Konteyneri sağa almak için */
    margin-left: auto;
    margin-right: 0px;
    /* Sağdan biraz boşluk bırak */
}

/* Tekil İletişim Kutusu */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 0px;
    background: #ffffff;
    box-shadow: 30px 15px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mobilde Ortalamak İçin */
@media (max-width: 768px) {
    .contact-container {
        margin-left: auto;
        margin-right: auto;
        /* Küçük ekranlarda ortaya al */
    }
}

/* Hover efekti */
.contact-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* İkon Stili */
.contact-item i {
    font-size: 38px;
    color: #d4a017;
    background: rgba(212, 160, 23, 0.1);
    padding: 22px;
    border-radius: 50%;
}

.heading {
    font-family: "Times New Roman", Times, serif;
}

/* Metin Stili */
.contact-item h3 {
    margin: 0;
    font-size: 20px;
    color: #070707;
}

.contact-item p {
    margin: 15px 0 0;
    font-size: 15px;
    color: #000000;

}

/* Telefon Linki */
.contact-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Harita Stili */
.row iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(7, 7, 7, 0.2);
    margin-top: 20px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {

    /* Harita ve iletişim konteynerini alt alta yerleştirme */
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Harita İframe'inin Boyutunu Küçültme */
    .row iframe {
        width: 100%;
        height: 500px;
        /* Daha küçük bir yükseklik belirleyebilirsiniz */
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(7, 7, 7, 0.2);
        margin-top: 0px;
    }

    /* İletişim Konteyneri */
    .contact-container {
        width: 100%;
        /* Yüzde olarak genişletmek */
        margin-top: 10px;
        /* Üstten boşluk ekleme */
    }

    /* İletişim kutusunun içeriklerini alt alta yerleştirme */
    .contact-item {
        flex-direction: column;
        /* Her bir iletişim kutusunun içeriğini alt alta düzenle */
        text-align: center;
        align-items: center;
        margin-bottom: 40px;
        /* Aralarına boşluk ekle */
    }

    /* İkon boyutunu küçültme */
    .contact-item i {
        font-size: 20px;
        /* Daha küçük ikona */
        padding: 10px;
        /* İkon çevresindeki boşluk */
    }

    /* İletişim başlıkları için font boyutlarını küçültme */
    .contact-item h3 {
        font-size: 25px;
    }

    /* Metin boyutunu küçültme */
    .contact-item p {
        font-size: 17px;
    }
}


/* Ana sayfa yapısını ayarla */
body {
    margin: 0;
    min-height: 100vh; /* Sayfanın tam yükseklikte olmasını sağlar */
    position: relative; /* Footer'ın absolute konumlandırması için gerekli */
    padding-bottom: 60px; /* Footer yüksekliği kadar alt boşluk bırak */
}

/* Footer stilleri */
footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    position: absolute; /* Fixed yerine absolute kullanıyoruz */
    left: 0;
    bottom: 0;
    width: 100%;
}
.contact {
    margin-bottom: 500px; /* Footer yüksekliği kadar boşluk bırak */
}

footer a {
    color: orange; /* Linklerin rengini beyaz yaptım, istediğin rengi yazabilirsin */
 
    font-weight: bolder;
}

footer a:hover {
    color: #808080; /* Üzerine gelince rengi değiştirmek için */
}
