/* Genel ayarlar */
* {
    text-decoration:none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: #18181d; /* Arka plan rengini ekledik */
}

header {
    background: #272f37;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .logo img {
    height: 75px;
}

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 1px;
}

header nav ul li a {
    color: #c4a87e;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    transition: background 0.3s, color 0.3s;
    text-transform: uppercase; 
}

header nav ul li a:hover {
    background: #795548;
    color: #fff;
    border-radius: 5px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links.nav-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #3e2723;
    width: 100%;
    height: calc(100vh - 60px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.nav-links.nav-active li {
    margin: 20px 0;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

section {
    padding: 15px 0px;
    text-align: center;
}

#home .slider {
    width: 100%;
    max-height: 540px;
    overflow: hidden;
    margin-top: 80px;
}

#home .slider img {
    width: 100%;
    display: block;
}


#about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    text-align: center;
}

#about .about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

#about .about-content .about-img {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

#about .about-content .about-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#about .about-content .about-text {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    text-align: left;
}

#about .about-content .about-text h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #c4a87e;
    text-shadow: 2px 2px 6px #c4a87e;
}

#about .about-content .about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: whitesmoke;
}

#menu {
    position: relative;
    overflow: hidden;
    background: #333; /* Arka plan rengi ekleyelim */
    color: #fff; /* Yazı rengini beyaz yapalım */
    padding: 50px 0; /* Yukarı ve aşağı boşluk ekleyelim */
    text-align: center;
}

#menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Yükseklik */
    background: url('images/menu-background.jpg') no-repeat center center;
    background-size: cover; /* Fotoğrafı kapsayıcıya göre boyutlandırır */
    transform: translateZ(0); /* Paralaks efekti için gerekli */
    z-index: -1; /* Arka planda kalması için */
}

#menu h2 {
    color: #c4a87e; /* Başlık rengi */
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 6px #c4a87e;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.menu-item {
    text-align: center;
    background: #272f37;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1; /* İçerik ön planda kalacak */
}

.menu-item img {
    width: 100%;
    height: 300px; /* Fotoğraf yüksekliği */
    border-radius: 10px;
    object-fit: cover; /* Fotoğrafı kapsayıcıya göre boyutlandırır */
    object-position: center; /* Fotoğrafın ortalanmasını sağlar */
    margin-bottom: 25px;
}

.menu-item h3 {
    color: #c4a87e;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.menu-item p {
    color: whitesmoke;
    font-size: 1.1em;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.staff-member {
    text-align: center;
    padding: 15px; /* İçerikte boşluk ekleyelim */
}

.staff-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 250px; /* Maksimum genişlik */
    max-height: 300px; /* Maksimum yükseklik */
    object-fit: cover; /* Fotoğrafın içeriğini kırpmadan kapsayıcıya sığdırır */
    object-position: center; /* Fotoğrafın ortalanmasını sağlar */
    margin-bottom: 10px; /* Fotoğraf ile metin arasına boşluk ekleyelim */
}

.staff-member h3 {
    color: #c4a87e;
    font-size: 1.2em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 6px #c4a87e; /* Ad ile görev arasına boşluk ekleyelim */
}

.staff-member p {
    color: #d3d3d3; /* Görev rengi açık gri */
    font-size: 1em;
}
/* Çalışanlar başlığı rengi güncellemesi */
#staff h2 {
    color: #d3d3d3;
    font-size: 30px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px #c4a87e;
    
     /* Header rengiyle aynı */
}

/* Çalışanlar kısmındaki ad soyad ve görev renkleri */
.staff-member h3 {
    color: #c4a87e; /* Başlık rengi header ile aynı */
}

.staff-member p {
    color: #d3d3d3; /* Açık gri */
}

/* Buton boyutu ve rengi güncellemesi */
.reserve-button input[type="button"] {
    background-color: #c4a87e; /* Header rengiyle aynı */
    color: #fff;
    border: none;
    padding: 20px 40px; /* Buton boyutu büyütüldü */
    font-size: 1.2em; /* Font boyutu büyütüldü */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.reserve-button input[type="button"]:hover {
    background-color: #a89f7f; /* Hover efekti */
}


footer {
    background: #3e2723;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

#contact {
    background-color: #272f37;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact-container > div {
    flex: 1;
    padding: 0 20px;
}

.contact-info {
    text-align: left;
}

.working-hours {
    text-align: center;
    text-shadow: 2px 2px 6px #c4a87e;
}

.social-media {
    text-align: right;
}

.contact-info h2, .working-hours h2, .social-media h2 {
    color: #c4a87e;
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px #c4a87e;
}

.contact-info p, .working-hours p, .social-media p {
    font-size: 1.1em;
    
}

.contact-info a, .social-media a {
    color: #c4a87e;
    text-decoration: none;
}


button {
    background-color: #c4a87e; /* Buton rengi */
    color: #fff;
    border: none;
    padding: 20px 40px; /* Buton boyutunu büyüt */
    font-size: 1.1em; /* Font boyutunu büyüt */
    cursor: pointer;
    border-radius: 5px;
    
}

button:hover {
    background-color: #a89f7f;
}

.map {
    margin-top: 30px;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

@media (max-width: 768px) {
    header .logo img {
        height: 50px;
    }
    header {
        flex-direction: column;
    }

    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    section {
        padding: 50px 20px;
    }

    #home .slider {
        margin-top: 100px;
    }

    #about .about-content {
        flex-direction: column;
    }

    #about .about-content .about-img,
    #about .about-content .about-text {
        max-width: 100%;
        padding: 10px;
    }

    #about .about-content .about-text {
        text-align: center;
    }

    #contact {
        padding: 30px 10px; /* Mobil cihazlarda padding küçültüldü */
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-container > div {
        padding: 10px 0;
        text-align: center; /* Mobil cihazlarda tüm yazılar ortalanacak */
    }

    .contact-info, .working-hours, .social-media {
        text-align: center;
    }
}
