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%;
    }
}

.announcement-list {
  max-width: 1200px;
  margin: 10px auto 20px auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  background-color: #021f2f; /* Arka fon */
}

.announcement-item {
  border: 1px solid #444; /* Daha koyu sınır */
  border-radius: 6px;
  width: calc((100% - 60px) / 4);
  box-sizing: border-box;
  background-color: #021f2f; /* Arka fon */
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.announcement-item:hover {
  background-color: #03344f;
}

.announcement-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #666;
}

.announcement-title {
  font-size: 1.1em;
  color: white; /* Başlık beyaz */
  margin: 10px 15px 5px 15px;
  flex-shrink: 0;
}

.announcement-content {
  font-size: 0.95em;
  color: white; /* İçerik yazısı beyaz */
  margin: 0 15px 15px 15px;
  flex-grow: 1;
}

.announcement-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 768px) {
  .announcement-list {
    margin-top: 10px;
    max-width: 100%;
    padding: 0 10px;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .announcement-item {
    width: calc((100% - 20px) / 2);
    margin-bottom: 20px;
  }
}


/* İçerik */
.content {
    margin-top: 0;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 18px;
    line-height: 1.6;
    box-sizing: border-box;
}

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

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

