/* AGMET Mobile Responsive Overrides */

/* Genel */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Logo */
@media (max-width: 991px) {
  .header-area {
    background: #fff;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 14px 0;
  }

  .header-area .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-area .row {
    align-items: center;
    min-height: 56px;
  }

  .logo-area,
  .logo {
    padding: 4px 0;
    line-height: 1;
  }

  .logo img {
    width: 130px;
    display: block;
  }

  .header-area .col-xl-10,
  .header-area .col-lg-10,
  .header-area .col-md-6.col-6:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .menu-area {
    display: none !important;
  }

  .side-menu-icon {
    display: block !important;
    position: relative;
    z-index: 1001;
    line-height: 1;
  }

  .side-menu-icon a,
  .side-menu-icon button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    color: #0f2554 !important;
    padding: 0;
  }

  .side-menu-icon i {
    color: #0f2554 !important;
    font-size: 28px;
    top: 0;
  }
}

@media (max-width: 575px) {
  .header-area {
    padding: 12px 0;
  }

  .header-area .row {
    min-height: 50px;
  }

  .logo img {
    width: 110px;
  }
}

/* Slider */
@media (max-width: 767px) {
  .slider-contant {
    margin-top: 0 !important;
    padding: 0 10px;
  }

  .slider-button {
    margin-top: 25px !important;
  }

  .slider-button .tp-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .main-slider .swiper-button-prev,
  .main-slider .swiper-button-next {
    display: none;
  }
}

@media (max-width: 575px) {
  .slide-bg {
    background-position: center center !important;
  }
}

/* Breadcrumb / Sayfa Başlığı */
@media (max-width: 767px) {
  .page__title-wrapper {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    padding: 25px 15px;
  }

  .page__title-wrapper .breadcrumb-menu ul li {
    padding: 0 6px;
    font-size: 13px;
  }
}

/* Anasayfa - Kurumsal Bölüm */
@media (max-width: 991px) {
  .about__area {
    padding-top: 60px !important;
  }

  .ab-left-content {
    margin-top: 30px;
  }

  .section__title {
    font-size: 22px;
    line-height: 1.3;
  }
}

/* Anasayfa - Makineler Slider */
@media (max-width: 767px) {
  .project__area {
    padding-top: 40px !important;
  }

  .project__slider-item-image {
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .project__slider-arrow-wrapper {
    margin-bottom: 20px !important;
  }
}

/* Anasayfa - Banner */
@media (max-width: 1199px) {
  .sd-banner-area {
    padding-bottom: 60px !important;
  }

  .sd-content {
    padding: 25px 20px;
    position: relative;
    width: 100% !important;
    left: 0 !important;
  }

  .sd-content h5 {
    font-size: 20px;
    line-height: 1.4;
  }
}

@media (max-width: 575px) {
  .sd-content h5 {
    font-size: 16px;
  }
}

/* Anasayfa - Referanslar */
@media (max-width: 575px) {
  .brand__area {
    padding-bottom: 60px !important;
  }

  .brand__title span {
    font-size: 18px;
  }

  .brand__slider-item img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
}

/* Anasayfa - Hizmetler */
@media (max-width: 991px) {
  .process__area {
    padding-bottom: 60px !important;
  }

  .process__images .image-2 {
    margin-top: 0;
  }

  .process__right {
    margin-left: 0;
    margin-top: 30px;
  }

  .process__list-content h5 {
    font-size: 18px;
  }

  .process__list-content span {
    font-size: 15px;
  }
}

/* Hakkımızda */
@media (max-width: 767px) {
  .about__area-2 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .history__area {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .cevre-border {
    padding: 30px 20px !important;
    border-radius: 20px;
  }

  .cevre-border img {
    width: 180px !important;
    max-width: 100%;
  }

  .sm-image__content {
    position: relative;
  }
}

/* Ürünler / Kalıplar / Aparatlar Grid */
@media (max-width: 575px) {
  .blog__item-2 {
    margin-bottom: 25px !important;
  }

  .blog__sm-title {
    font-size: 16px;
  }
}

/* Ürün Detay */
@media (max-width: 767px) {
  .team__detrails-area .td-border {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }

  .member-qualification {
    padding-right: 0 !important;
    margin-top: 30px;
  }

  .team__details-text {
    font-size: 16px;
  }

  .skill-category {
    font-size: 16px;
  }

  .attr-desc {
    font-size: 14px;
  }
}

/* İletişim */
@media (max-width: 767px) {
  .contact__area {
    padding-bottom: 40px !important;
  }

  .contact__item {
    margin-bottom: 20px;
  }

  .contact__form {
    padding: 30px 20px !important;
    margin: 0 10px;
  }

  .contact__form .contact-filed input,
  .contact__form .contact-filed select,
  .contact__form .contact-filed textarea {
    font-size: 16px;
    height: 50px;
  }

  .contact__form .contact-filed textarea {
    height: 150px;
  }

  .contact__map-wrap iframe {
    height: 350px !important;
  }
}

/* İnsan Kaynakları Formu */
@media (max-width: 767px) {
  .ik-form {
    padding: 20px 15px !important;
  }

  .ik-form .contact-filed input,
  .ik-form .contact-filed select {
    font-size: 16px;
  }
}

/* Referanslar Sayfası */
@media (max-width: 575px) {
  .services__item-grid .ser__icon img {
    max-height: 50px;
    width: auto;
  }
}

/* Footer */
@media (max-width: 767px) {
  .footer-area {
    padding-top: 50px !important;
  }

  .footer__widget {
    margin-bottom: 25px !important;
    text-align: center;
  }

  .footer__copyright {
    padding: 20px 0 40px !important;
    text-align: center;
  }

  .footer__copyright-links {
    text-align: center !important;
    margin-top: 10px;
  }

  .footer__copyright-links a {
    font-size: 14px;
    display: inline-block;
    margin: 5px 10px;
  }

  .footer__copyright-text p {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .footer-area .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobil Sidebar Menü */
@media (max-width: 991px) {
  .sidebar__contact h4 {
    font-size: 22px;
  }

  .sidebar__contact-text a {
    font-size: 14px;
    word-break: break-word;
  }

  .mobile-menu .mean-nav ul li a {
    font-size: 15px;
    padding: 12px 15px;
  }
}

/* Sözleşme / Blog Detay */
@media (max-width: 767px) {
  .about .container,
  .infetech-blog-details-area .container {
    padding: 0 20px;
  }

  .blog-details-box .title {
    font-size: 22px;
  }

  .blog-sidebar {
    margin-top: 40px;
  }
}

/* Genel Spacing Azaltma - Mobil */
@media (max-width: 767px) {
  .pt-120 { padding-top: 60px !important; }
  .pb-120 { padding-bottom: 60px !important; }
  .pt-100 { padding-top: 50px !important; }
  .pb-100 { padding-bottom: 50px !important; }
  .pt-90  { padding-top: 45px !important; }
  .pb-90  { padding-bottom: 45px !important; }
  .pb-85  { padding-bottom: 40px !important; }
  .pb-110 { padding-bottom: 50px !important; }
  .pb-80  { padding-bottom: 40px !important; }
  .mt-120 { margin-top: 40px !important; }
  .mb-80  { margin-bottom: 30px !important; }
  .mt-50  { margin-top: 25px !important; }
}

/* Butonlar - Dokunmatik */
@media (max-width: 767px) {
  .tp-btn,
  .tp-btn-white,
  .tp-touch-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Yatay taşma önleme */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

/* Makineler slider pagination - mobil */
@media (max-width: 575px) {
  .project-pagination {
    position: relative;
    margin-top: 20px;
    text-align: center;
  }

  .project-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #c6c9cd;
    opacity: 1;
  }

  .project-pagination .swiper-pagination-bullet-active {
    background: #fb4239;
  }
}

@media (max-width: 575px) {
  .preloader {
    background-size: 60px;
  }
}
