html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    background-color: #021f2f;
}

/* Ana görsel */
.full-width-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .full-width-image {
        height: auto;
        max-height: 400px;
        width: 100%;
    }
}

/* Menü konteyneri */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 600;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: transparent;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    position: relative;
    gap: 20px;
}

/* Logo */
.logo img {
    height: 40px;
    width: auto;
}

/* Menü */
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    position: relative;
}

/* Menü düğmesi */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: #021f2f;
    color: white;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    font-size: 25px;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
        justify-content: space-between;
    }

    .logo {
        order: 1;
    }

    .menu-toggle {
        order: 2;
        display: block;
    }

    .language-switch {
        order: 3;
        font-size: 16px;
        font-weight: bold;
        color: white;
    }

    .navbar ul {
        order: 2;
        flex-direction: column;
        display: none;
        background: #021f2f;
        position: absolute;
        width: 100%;
        left: 0;
        top: 60px;
        padding: 20px 0;
        margin: 0;
        z-index: 999;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }

    .navbar ul li a {
        color: white;
        font-size: 20px;
        display: block;
        width: 100%;
    }

    .language-switch a {
        color: white;
        text-decoration: none;
        margin: 0 6px;
    }

    .language-switch a:hover {
        opacity: 0.7;
    }

    /* Mobilde hover çizgisi kapalı */
    .navbar ul li a::after {
        display: none;
    }
}

/* Masaüstü görünüm */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .logo {
        order: 1;
        margin-left: 20px;
    }

    .navbar ul {
        order: 2;
        flex: 1;
        justify-content: center;
        display: flex !important;
        position: static !important;
    }

    .language-switch {
        order: 3;
        margin-right: 20px;
        font-size: 16px;
        font-weight: bold;
        color: white;
    }

    .language-switch a {
        color: white;
        text-decoration: none;
        margin: 0 6px;
    }

    .language-switch a:hover {
        opacity: 0.7;
    }

    .navbar ul li a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
        transition: width 0.3s ease;
    }

    .navbar ul li a:hover::after,
    .navbar ul li a:focus::after {
        width: 100%;
    }
}

/* Faaliyet alanı stil */
.faaliyet {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 400px); /* 3 sütun olacak şekilde düzen */
    gap: 30px; /* Kutucuklar arasındaki boşluk */
    justify-content: center;
    padding: 40px 0;
}

.faaliyet-item {
    position: relative;
    width: 400px;
    height: 266px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faaliyet-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.faaliyet-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faaliyet-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

/* Mobil cihazlar için kaydırılabilir faaliyet alanı */
@media (max-width: 768px) {
    .faaliyet {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 20px 0;
    }

    .faaliyet-item {
        flex-shrink: 0;
        width: 300px;
        height: 200px;
    }

    .faaliyet::-webkit-scrollbar {
        display: none;
    }
}


/* Footer */
footer {
    background-color: #021f2f;
    color: white;
    padding: 15px;
}

footer iframe {
    border: none;
    width: 100%;
    height: 150px;
}

