* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif, "Tagesschrift", "Libre Baskerville";
    ;
}

html,
body {
    height: 100%;
    margin: 0;
    position: relative;
    background-color: rgb(238, 226, 206);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar Section */
.navbar {
    background: #877a61;
    height: 88px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: flex-start;
     align-items: center;
    height: 88px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    gap: 2rem;
}

#navbar__logo {
    font-family: "Libre Baskerville";
    color: #201709;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.logo-image {
    height: 80px;
    margin-right: 8px;

}

#navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black; 
    font-weight: bold;
    transition: color 0.3s ease;
}

#navbar__logo:hover {
    color: #f3cb2e; 
}

#navbar__logo span {
    margin-left: 5px; 
    transition: color 0.3s ease;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
    text-align: center;
}

.navbar__item {
    height: 73px;
}

.navbar__links {
    font-family: "Libre Baskerville";
    color: #201709;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f3cb2e;
    color: #201709;
}

.button:hover {
    background: #e3e4b7;
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #f3cb2e;
    transition: all 0.3s ease;
}

@media screen and (max-width: 820px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 88px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #776950;
    }

    .navbar__menu.active {
        background: #857863;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #201709;
    }

    .navbar__item {
        width: 100%;
    }

    .no-wrap {
        white-space: nowrap;
        display: inline-block;
    }


    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
         display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: auto;
    }

 .button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 40px; /* Daha uygun yükseklik */
    border-radius: 4px;
    background: #f3cb2e;
    color: #201709;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.button:hover {
    background: #e3e4b7;
}

    .navbar__toggle {
        cursor: pointer;
        display: block;
    }

    .navbar__toggle .bar {
        display: block;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* Navbar Section */


/* Main Section */
.main {
    background-color: rgb(238, 226, 206);
    height: 100%;
     display: flex;
    align-items: center;
    justify-content: center;
}

.main__container {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background-color: rgb(238, 226, 206);
    width: 100%;
    max-width: 1380px;
    padding: 40px;
    gap: 40px;
}

.main__content {
    flex: 1;
}

.main__slider {
    flex: 1;
    max-width: 600px;
}


.main__content h1 {
    font-family: "Tagesschrift", system-ui;
    font-size: 2rem;
    color: #201709;
    text-align: left;
}

.main__content h2 {
    font-family: "Tagesschrift", system-ui;
    font-size: 4rem;
    color: #201709;
    text-align: left;
}

/* Mobil görünümde alt alta */
@media (max-width: 768px) {
    .main__container {
        flex-direction: column;
        padding: 20px;
    }

    .main__content, .main__slider {
        width: 100%;
    }

    .main__content h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .main__content h2 {
        font-size: 2.5rem;
        text-align: center;
    }
}
.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 25px;

}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 14px;
    padding: 4px 16px;
    cursor: pointer;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .slide img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .slider {
        max-width: 100%;
        height: auto;
    }
}

/* Main Section */

/* Çeviri Arşivi Section */
.arşiv-page-wrapper {
    display: grid;
    z-index: 0;
    flex: 1;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; }

.çeviri-arşivi {
    top: 0;
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(238, 226, 206);
}

.çeviri-arşivi h1 {
    position: sticky;
    font-size: clamp(1rem, 3vw, 2rem);
    margin: 0;
    color: #201709;
    font-weight: 600;
}

.container {
    background-color: rgb(238, 226, 206);
    padding: 70px;
    height: 100%;
    top: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

#search-input {
    position: sticky;
    font-size: 1.1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 5px;
    width: 40%;
}

.list-group-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 0px;
    transition: background-color 0.2s ease;
    overflow: hidden;
    height: 100%;
}

.list-group-item:hover {
    background-color: #f3cb2e;
}

.list-group-item a {
    text-decoration: none;
    color: #201709;
    font-weight: 500;
}

.list-group-item a:hover {
    text-decoration: underline;
}

#results-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    list-style: none;
    margin-top: 20px;
    width: 100%;
    z-index: 0;
}

#results-list li {
    list-style-type: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    #search-input {
        font-size: 1rem;
    }

    .list-group-item {
        font-size: 0.95rem;
    }
}

/* Çeviri Arşivi Section */

/* Dergi Section */

.dergi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: rgb(238, 226, 206);
    z-index: 1;
    width: 100%;
    max-width: 1500px;
    padding: 0 50px;
}

.dergi-arşivi {
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(238, 226, 206);
    height: 100%;
    width: 100%;
}


.dergi-arşivi h1 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin: 0;
    color: #201709;
    font-weight: 600;
}

html,
body {
    height: 100%;
    margin: 0;
    position: relative;
    background-color: rgb(238, 226, 206);
}

/* Dergi Section */


/* Etkinliklerimiz Section */
.etkinliklerimiz {
    text-align: center;
    padding: 40px 20px;
    background-color: rgb(238, 226, 206);
}

.etkinliklerimiz h1 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    margin: 0;
    color: #201709;
    font-weight: 600;
}

.events-wrapper {
    display: grid;
    height: 100%;
    width: 100%;
}

.box-container {
    display: flex;
    background-color: rgb(238, 226, 206);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    background-color: rgb(238, 226, 206);
    justify-items: center;
}

@media (max-width: 1200px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

.card {
    width: 325px;
    background-color: #c0b29b;
    border-radius: 8px;
    min-width: 200px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    padding: 10px;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 15px;
}

.card-content h1 {
    font-size: 28px;
    margin-bottom: 8px;
}


.card-content p {
    color: #201709;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0;
    text-align: justify;
}

.card-content .btn {
    color: #201709;
    display: inline-block;
    padding: 8px 16px;
    background-color: #f3cb2e;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
}

.btn:hover {
    background-color: #d1b02d;
    transform: scale(1.02);
}

/* Etkinliklerimiz Section */

/* Biz Kimiz Section */

.biz-kimiz {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px 60px;
    background:  rgb(242, 234, 223);
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.biz-kimiz h1 {
    font-family:"Libre Baskerville";
    font-size: 36px;
    margin-bottom: 20px;
    color:  #201709;
}

.biz-kimiz p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
     margin-bottom: 16px;
}

.imza {
    text-align: right;       
     font-family:"Libre Baskerville";
    font-size: 20px;
    color:  #201709;
    margin-top: 40px;
    margin-right: 10px;
}

.ekibimiz-container {
  width: 100%;
  background-color: rgb(238, 226, 206);
  padding: 60px 20px;
}

.ekibimiz {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #201709;
}

.tree-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px;
}

.node a {
    display: inline-block;
    margin: 5px;
    color: inherit;
    text-decoration: none;
  }

.node img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #201709;
}

.node span {
  margin-top: 8px;
  font-weight: 600;
}

.node small {
  display: block;
  font-size: 0.85em;
  color: #666;
  font-weight: normal;
}

.children-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
  position: relative;
}

.children-row.sub-children {
  gap: 20px;
  margin-top: 15px;
}

.main-children {
  gap: 60px;
  flex-wrap: wrap;
}

/* Organizasyon ve Sosyal Medya bölümleri kenarlarda */
.section-wrapper {
  display: flex;
  justify-content: space-between; 
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0 auto;
  gap: 20px;
  flex-wrap: nowrap;
}

.child-with-children.section-node {
  flex: 1 1 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #201709;
  text-align: center;
  margin-bottom: 10px;
  text-decoration: underline;
}

.section-node > .node {
  margin-bottom: 10px;
}

/* Basın ve Tasarım ortaya hizalanmış */
.basın-tasarım-wrapper {
  display: flex;
  justify-content: center; 
  width: 100%;
  max-width: 600px;
  margin: 50px auto 0 auto;
  gap: 20px;
  flex-wrap: nowrap;
}

.basın-tasarım-wrapper .child-with-children.section-node {
  flex: 1 1 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  /* Genel padding ve yazı boyutları */
     .biz-kimiz {
    width: 100%;
    max-width: 100%;
    margin: 16px auto;
    padding: 20px 16px;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgb(242, 234, 223);
  }

  .biz-kimiz h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .biz-kimiz p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 14px;
  }

  .imza {
    text-align: right;
    font-size: 18px;
    margin-top: 20px;
    padding-right: 8px;
  }

  h2 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 24px;
  }

  .tree-centered {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .children-row,
  .children-row.sub-children,
  .section-wrapper,
  .basın-tasarım-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }

  .node {
    width: 90%;
    margin: 0 auto;
  }

  .node img {
    width: 120px;
    height: 120px;
  }

  .contact-info {
    margin-top: 10px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
  }

  .child-with-children.section-node {
    max-width: 100%;
    width: 100%;
  }

  .basın-tasarım-wrapper .child-with-children.section-node {
    max-width: 100%;
  }
}


/* Biz Kimiz Section */

/* Footer Section */

.footer {
    left: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
}

.ust-yazi {
    display: flex;
    font-size: 15px;
    background-color: #877a61;
    color: #201709;
    text-decoration: none;
    justify-content: center;
    padding: 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    background-color: #877a61;
}

.footer-content a {
    text-decoration: none;
    padding: 1px;
    background-color: transparent;
    margin: 19px;
    border-radius: 50%;
}

.footer-content a i {
    font-size: 2em;
    color: #f3cb2e;
    opacity: 0.9;
}

.footer-content a:hover i {
    color: #c0b29b;
    transition: 0, 5s;
}

.bottom-bar {
    font-size: 10px;
    color: #201709;
    background-color: #776950;
    text-align: center;
    padding: 10px;
    margin-top: auto;
}

/* Footer Section */