
/* MEDD YAPI - Mobil MenÃ¼ */

@media (max-width: 768px) {

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    position: relative;
  }

  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background: currentColor;
  }

  .mobile-menu-toggle span::before {
    top: -8px;
  }

  .mobile-menu-toggle span::after {
    top: 8px;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MEDD YAPI - Mobil Tam Ekran Men�«ä */
@media (max-width: 768px) {

  header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 18px 24px;
}

header .brand-logo {
  max-width: 70%;
  height: auto;
  position: relative;
  z-index: 1002;
}

header .mobile-menu-toggle {
  margin-left: auto;
  flex-shrink: 0;
}

  .mobile-menu-toggle {
    margin-left: auto;
    position: relative;
    z-index: 1002;
  }

  .mobile-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: #f6f3ed;
    padding: 110px 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    overflow-y: auto;
  }

  .mobile-nav.is-open a {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  color: #292929;
  letter-spacing: 0;
}

  .mobile-menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 28px;
    right: 24px;
  }

  .mobile-menu-toggle[aria-expanded="true"] span {
    background: transparent;
  }

  .mobile-menu-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  body.menu-open {
  overflow: hidden;
}
}

/* MEDD YAPI - Projeler Alt Men�«äs�«ä */

@media (max-width: 768px) {

  .mobile-projects {
    width: 100%;
  }

.mobile-projects-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
}

.mobile-projects-heading .mobile-projects-toggle {
  margin-left: 0;
}

  .mobile-projects-toggle {
    background: transparent;
    border: 0;
    color: #292929;
    font-size: 32px;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
  }

  .mobile-projects-toggle span {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .mobile-projects-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  .mobile-projects-submenu:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
    padding: 22px 18px;
    background: #f6f3ed;
  }

  .mobile-projects-submenu[hidden] {
    display: none !important;
  }

  .mobile-nav.is-open .mobile-projects-submenu a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #777;
  text-decoration: none;
}
}


/* MEDD YAPI - Masaustu menu duzeltmesi */
@media (min-width: 769px) {
    .mobile-projects-toggle,
    .mobile-projects-submenu {
        display: none !important;
    }
}
/* MEDD YAPI - Mobilde masaustu menusunu gizle */
@media (max-width: 768px) {
    header > nav:not(.mobile-nav) {
        display: none !important;
    }
}
/* MEDD YAPI - Mobil hamburger simgesi duzeltmesi */
@media (max-width: 768px) {
    .mobile-menu-toggle span:not(:first-child) {
        display: none !important;
    }

    .mobile-menu-toggle span:first-child {
        display: block;
        width: 25px;
        height: 2px;
    }
}
/* MEDD YAPI - Mobil menuyu masaustunde gizle */
@media (min-width: 769px) {
    header .mobile-nav {
        display: none !important;
    }

    header .mobile-menu-toggle {
        display: none !important;
    }
}
/* MEDD YAPI - Mobil menu ince ayirici cizgiler */
@media (max-width: 768px) {
    .mobile-nav.is-open {
        gap: 0;
    }

    .mobile-nav.is-open > a,
    .mobile-nav.is-open > .mobile-projects {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(100, 90, 75, 0.12);
        padding: 17px 0;
    }

    .mobile-nav.is-open > .mobile-projects > .mobile-projects-heading {
        width: 100%;
    }

    .mobile-nav.is-open > a:last-child {
        border-bottom: none;
    }
}
/* MEDD YAPI - Mobil ust menu duzeltmesi */
@media screen and (max-width: 768px) {

  header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  header > nav:not(.mobile-nav) {
    display: none !important;
  }

  header .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto !important;
  }

}