
@media (max-width: 600px) {
  html, body {
    font-size: 15px;
    padding: 0;
    margin: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }	
	
  header {
    position: static;
    height: auto;
    padding: 10px 0;
  }

  .navbar {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    width: 100%;
    gap: 10px;
    background: transparent !important;
    box-shadow: none !important;
  }
  .navbar a {
    margin: 0;
    font-size: 17px;
    color: #fff;
    padding: 6px 10px;
    display: block;
    text-align: center;
  }
	
  .nav_links {
    display: none !important;

  }
	
.nav_links.open {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100vw;
  height: auto;
  max-height: calc(100vh - 200px); /* üst + alt boşluk */
  background: #222;
  color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
	

  .nav_links li {
    width: 100%;
    margin: 10px 0 !important;
  }
	
	
.dropdown-left > .dropdown-content {
  left: 0;  /* Sağdan açılmayı engellemek için */
  right: auto; /* sol hizalama yapılacak */
}
	

  .main_index_section {
    height: auto;
    min-height: 95vh;
    padding: 0;
  }
  .background-image {
    height: 200px;
    object-fit: cover;
  }
  .logo, .logo h2, .logo h2 a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    margin-top: 10px;
  }
  .logo h2 a img, .logo img {
    display: block;
    margin: 0 auto !important;
    max-width: 180px;
    max-height: 50px;
  }

  .container-box {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100% !important;
    height: auto !important;
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    box-sizing: border-box;
	margin-top:20px;
  }
  .image-box, .image-box-left, .image-box-right {
    width: 44vw !important;
    height: 44vw !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 160px !important;
    max-height: 160px !important;
    border-radius: 20px !important;
    margin: 0 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  }
  .image-box img, .image-box-left img, .image-box-right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 20px !important;
  }

  .column-grid, .container_contact_left, .container_contact_right, .container_contact_middle {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
    padding: 10px !important;
    display: block !important;
  }
  .container_contact {
    flex-direction: row !important;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 !important;
    min-height: auto !important;
    border-radius: 10px !important;
  }
  .container_contact_left, .container_contact_right {
    width: 48% !important;
    min-width: 120px !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px !important;
    display: block !important;
    border-radius: 10px !important;
    background: #f2f2f2;
  }
  .container_contact_left img, .container_contact_right img {
    display: block;
    margin: 0 auto !important;
    max-width: 100%;
    height: auto;
  }

  .content, .content_ic, .content_ic .top, .content_ic .middle, .content_ic .bottom {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
  }
  .content h1 {
    width: 100% !important;
    font-size: 20px !important;
    padding: 10px 0 !important;
  }

  .footer, .footer .container, .footer-text, .footer-right {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 10px !important;
    font-size: 14px !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .footer {
    height: auto !important;
    padding: 20px 0 !important;
  }
  .footer-text li, .footer-right li {
    font-size: 12px !important;
  }

  /* Grid ve kartlar */
  .card-grid {
    grid-template-columns: 1fr !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
  }
  .row>.column {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
  }

  /* Modal ve slaytlar */
  .modal-content, .mySlides {
    width: 100% !important;
    height: auto !important;
  }
  .prev, .next {
    top: 90%;
    left: 10px;
    right: 10px;
    font-size: 18px;
    padding: 8px;
  }
  .numbertext {
    font-size: 10px;
    margin-top: 10px;
  }

  /* Başlıklar ve metinler */
  h1, h2, h3, .baslik1, .baslik2 {
    font-size: 20px !important;
    text-align: left !important;
    margin: 10px 0 !important;
  }
  p, li {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* Logo ve navbar arka planı tamamen saydam */
  header, .navbar, .logo, .logo h2, .logo h2 a {
    background: transparent !important;
    box-shadow: none !important;
  }
  .navbar a {
    background: transparent !important;
    color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    margin: 0 4px;
    font-size: 17px;
    font-weight: 500;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s;
  }
  .navbar a:hover {
    background: #fff !important;
    color: #222 !important;
  }

  /* container_contact_right içindeki img ortala */
  .container_contact_right, .container_contact_left {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .container_contact_right img {
    display: block;
    margin: 0 auto !important;
    max-width: 100%;
    height: auto;
  }

  /* Hamburger menu butonu */
  .hamburger {
    /*display: flex;*/
	display:block !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 4000 !important;
	opacity:1 !important;
	margin-top:50px;
    margin-left: auto;
	margin-right:1%;
  }
  .hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff;  
    border-radius: 2px;
    transition: 0.3s;
	  	margin-right:50px;

  }

  /* Hamburger açıldığında arka plan overlay ve menü animasyonu */
  .nav_links.open {
    display: flex !important;
/*    background: rgba(255, 255, 255, 0.97) !important;  burası */
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
    animation: navOpenAnim 0.3s ease;
    border-radius: 0 0 24px 24px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    min-height: 100vh;
    z-index: 2000;
  }
  @keyframes navOpenAnim {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Hamburger açıldığında X animasyonu */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(11px, 11px);
    background: #ff3c3c;
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #ff3c3c;
  }
  /* Overlay efekti */
  .nav_overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 1500;
	  pointer-events: none; 
  }
  .nav_links.open ~ .nav_overlay {
    display: block;
  }

  /* Modal tam ortalı ve butonlar sabit */
  .modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 500px !important;
    background: #222 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
    padding: 0 !important;
    z-index: 3000;
  }
  .mySlides img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
  }
  .prev, .next, .close {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    font-size: 2.2rem !important;
    color: #fff !important;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    border: none;
    transition: background 0.2s;
  }
  .prev { left: 10px !important;right:auto; }
  .next { right: 10px !important; left:auto; }
  .close {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
    font-size: 2.5rem !important;
    background: rgba(255,0,0,0.7) !important;
  }
  .prev:hover, .next:hover, .close:hover {
    background: #ff3c3c !important;
    color: #fff !important;
  }

  /* image-box kutuları eşit ve ortalı */
  .container-box {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 0 2vw !important;
  }
  .image-box, .image-box-left, .image-box-right {
    flex: 1 1 140px !important;
    max-width: 180px !important;
    min-width: 120px !important;
    height: 140px !important;
    margin: 0 8px 16px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  }
  .image-box img, .image-box-left img, .image-box-right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  /* İletişim kutuları alt alta ve sığacak şekilde */
  .container_contact {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 10px 0 !important;
  }
  .container_contact_left, .container_contact_right, .container_contact_middle {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  /* Hamburger sadece mobilde görünür */
  .hamburger {
    display: flex !important;
  }
  @media (min-width: 601px) {
    .hamburger {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    .nav_links {
      display: flex !important;
      position: static;
      background: none;
      box-shadow: none;
      padding: 0;
      border-radius: 0;
    }
  }

  .navbar.navbar-open {
    transition: background 0.2s;
  }
}

@media (max-width: 768px) {
  .container_contact {
    flex-direction: column;
    align-items: center;
  }

  .container_contact_left,
  .container_contact_right,
  .container_contact_middle {
    width: 90% !important;
    margin: 10px auto !important;
    float: none !important;
  }
} 