/* =========================================================
   HÜLYA ALAYBEYOĞLU - ORİJİNAL TASARIM KORUMALI RESPONSIVE CSS
   ========================================================= */

#Layer2 {
  z-index: 9999 !important;
  overflow: visible !important;
}
#Layer2_Container,
#wb_MenuBar1,
#MenuBar1 {
  overflow: visible !important;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #000000;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}

#wb_Text25 a {
  color: #000000;
  text-decoration: none;
  line-height: 1.45;
}
#wb_Text25 a:hover {
  color: #FF0000;
  text-decoration: underline;
}

#wb_Text22 a {
  color: #000000;
  text-decoration: none;
}
#wb_Text22 a:hover {
  color: #FF0000;
  text-decoration: underline;
}

/* =========================================================
   TABLET & TELEFON DÜZENİ (<= 1023px)
   ========================================================= */
@media only screen and (max-width: 1023px) {
  body {
    text-align: left !important;
    overflow-x: hidden !important;
  }

  div#container,
  #Layer2_Container,
  #Layer3_Container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  /* Üst Logo ve Telefon Alanı */
  #wb_Image1 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    margin: 12px 0 6px 0 !important;
    display: block !important;
  }
  #wb_Image1 img {
    width: 100% !important;
    height: auto !important;
  }

  #wb_Text1 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 4px 8px 10px 0 !important;
  }

  #wb_Image4 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-bottom: 10px !important;
  }

  /* Turuncu (#FFB937) Menü Çubuğu ve Alt Menüler */
  #Layer2 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    height: auto !important;
    min-height: 45px !important;
    padding: 6px 0 !important;
    text-align: left !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
  }

  #wb_MenuBar1 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 6px !important;
  }

  #MenuBar1.mobile-closed {
    display: none !important;
  }

  #MenuBar1 .MenuBar1Menu,
  #MenuBar1 .MenuBar1Menu tbody,
  #MenuBar1 .MenuBar1Menu tr,
  #MenuBar1 .MenuBar1Menu td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #MenuBar1 .MenuBar1HorizontalSplit {
    display: none !important;
  }

  #MenuBar1 .MenuBar1MainItemText,
  #MenuBar1 .MenuBar1MainFolderText {
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
    font-size: 15px !important;
    white-space: normal !important;
  }

  /* Alt menüler mobilde erişilebilir */
  .MenuBar1SubMenu {
    position: static !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    padding-left: 16px !important;
    box-sizing: border-box !important;
  }
  .MenuBar1SubMenu table,
  .MenuBar1SubMenu tbody,
  .MenuBar1SubMenu tr,
  .MenuBar1SubMenu td {
    display: block !important;
    width: 100% !important;
  }
  .MenuBar1SubMenu .MenuBar1MenuItemText {
    background-color: transparent !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* İçerik Bloklarını Dikey Akışa Al */
  #container > div[id^="wb_"]:not(#wb_Image1):not(#wb_Text1):not(#wb_Image4),
  #container > hr[id^="HorizontalLine"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 14px 0 !important;
    box-sizing: border-box !important;
  }

  #wb_Image2 img,
  #wb_Image3 img,
  #wb_Image5 img,
  #wb_Image6 img,
  #wb_Image7 img,
  #wb_Image8 img,
  #wb_Image9 img,
  #wb_Image10 img,
  #wb_Image11 img {
    width: 100% !important;
    max-width: 548px !important;
    height: auto !important;
  }

  #wb_Image3 img,
  #wb_Image6 img,
  #wb_Image7 img {
    max-width: 220px !important;
  }

  /* İletişim Formu Responsive Düzen */
  #wb_Shape2 {
    display: none !important;
  }
  #wb_Form1 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
  }
  #wb_Form1 div[id^="wb_Text"],
  #wb_Form1 input[type="text"],
  #wb_Form1 input[type="email"],
  #wb_Form1 input[type="tel"],
  #wb_Form1 textarea,
  #wb_Form1 input[type="submit"],
  #wb_Form1 input[type="reset"] {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
  }
  #wb_Form1 input[type="text"],
  #wb_Form1 input[type="email"],
  #wb_Form1 input[type="tel"] {
    height: 36px !important;
  }
  #wb_Form1 textarea {
    height: 90px !important;
  }
  #wb_Form1 input[type="submit"],
  #wb_Form1 input[type="reset"] {
    height: 38px !important;
    cursor: pointer;
  }

  /* Turuncu (#FFB937) Footer Alanı */
  #Layer3 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    height: auto !important;
    padding: 20px 0 30px 0 !important;
    margin-top: 24px !important;
  }
  #Layer3_Container > div[id^="wb_"],
  #wb_Text24 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 !important;
  }

  #wb_Text18 a {
    flex-wrap: wrap !important;
  }
  #wb_Text18 img {
    width: 110px !important;
    height: 110px !important;
  }
}
