
/* -------------- Responsive -------------- */

@media screen and (max-width:1440px) {
  .social-links {
    padding-top: 100%;
  }

  .services-cards {
    padding-right: 0;
    padding-left: 0;
  }
}
@media screen and (max-width: 1024px) {
  .ana-header {
    width: 200px;
    padding: 1.5rem 1rem;
  }

  .main-page {
    padding-left: 200px;
  }

  .harita {
    height: 350px;
  }

  .content {
    padding: 25px;
  }

  .content .list ul {
    columns: 2;
  }

  .harita-box {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: -webkit-fill-available;
    max-width: 100%;
    /* margin: 20px 0; */
    /* font-size: 0.9rem; */
    /* padding: 14px; */
    border-radius: 0px;
    height: -webkit-fill-available;
  }

  .social-links {
    padding-top: 165%;
  }

  .logo {
    max-width: 150px;
  }
}

@media screen and (min-width:1025px) {
    .content {
        background-attachment: fixed;
    }
}

@media (max-width: 992px) {
  .service-card {
    flex: 1 1 calc(45% - 2rem);
  }
}

@media screen and (max-width: 768px) {
  .ana-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    padding: 1rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid #c0b3a4;
    box-shadow:
      rgba(136, 165, 191, 0.2) 0px 8px 24px;
    position: relative;
  }

  .logo {
    max-height: 50px;
    margin-bottom: 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 19px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    position: absolute;
    top: 2rem;
    right: 1.2rem;
  }

  .menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.4s ease-in-out;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.4s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .menu.show {
    max-height: 300px;
  }

  .menu ul {
    padding: 0;
    margin: 0;
    padding-top: 1rem;
  }

  .menu ul li {
    margin-bottom: 1rem;
    text-align: center;
  }

  .menu ul li a {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
  }

  .menu ul li a:hover {
    color: var(--primary-color);
  }
  .main-page {
    padding-left: 0;
    /*padding-top: 100px;  header yüksekliği kadar boşluk */
  }

  .dinamik_background {
    height: 40vh;
  }

  .harita {
    height: 280px;
  }

  .hakkimizda-button {
    left: 12%;
    bottom: 27%;
    font-size: 0.7rem;
    padding: 1.75vh 3.5vw;
  }

  .content {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .content .list {
    flex: 1 1 100%;
  }

  .content .list ul {
    columns: 1;
  }

  .content .list ul li {
    font-size: 14px;
  }

  .brand-slider h2 {
    font-size: 22px;
  }

  .brand-slider p {
    font-size: 14px;
  }

  .brand {
    min-width: 100px;
    max-width: 120px;
  }
  .overlay-content {
    position: relative;
    padding: 1rem;
    align-items: flex-start;
    /* height: 101.5vh; */
  }

  .faq-wrapper {
    padding: 1rem;
    max-width: 100%;
  }

  .faq-card h3 {
    font-size: 1rem;
  }

  .faq-card p {
    font-size: 0.9rem;
  }

  .navbar {
    padding-left: 0;
  }

  .harita-box {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    /* margin: 20px 0; */
    font-size: 0.9rem;
    padding: 14px;
    border-radius: 0px;
  }

  .scrollTopBtn {
       padding: 0.6rem 0.9rem;
       font-size: 1rem;
   }

  .top-right-controls {
    display: flex;
  }

  .social-links {
    display: flex;
    padding: 1vh;
    /* gap: 0.7rem; */
  }

  .social-links a {
    font-size: 2rem;
    color: #333;
    transition: color 0.3s, transform 0.3s;
  }

  .social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
  }
  .form-row {
    flex-direction: column;
  }

  .form-button {
    width: 100%;
  }

  .contact-section {
    flex-direction: column;
  }

  footer .footer-container {
    /* flex-direction: column; */
    gap: 1rem;
  }

  footer nav ul {
    flex-wrap: wrap;
  }

  .section {
    flex-direction: column;
    text-align: center;
  }
  .counters {
    flex-direction: column;
  }
  .review-slider {
    /* flex-direction: column; */
    align-items: center;
  }

  .service-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }

  #car-loader .car {
    font-size: 3rem;
  }

  #car-loader p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .counters {
    flex-direction: column;
    max-width: 90%;
  }
}


/* Daha küçük mobil cihazlar */
@media (max-width: 480px) {
  .dinamik_background {
    height: 30vh;
  }

  .hakkimizda-button {
    left: 10%;
    bottom: 10%;
    font-size: 0.75rem;
    padding: 2vh 6vw;
  }

  .content {
    padding: 15px;
  }

  .content .list p {
    font-size: 16px;
  }

  .content .list ul li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .content .list ul {
    column-gap: 20px;
  }

  .gallery-section h2 {
    font-size: 24px;
  }
  .gallery-section p {
    font-size: 14px;
  }

  .title-area h2 {
    font-size: 24px;
  }

  .title-area p {
    font-size: 14px;
    padding: 0 20px;
  }

  .brand {
    min-width: 80px;
  }

  .background-container {
    min-height: 60vh;
  }

  nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .cg-title {
    font-size: 2.4rem;
  }
  .cg-btn {
    padding: 9px 20px;
  }
}

@media (max-width: 650px) {
  .cg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 400px) {
  .cg-btn {
    padding: 7px 14px;
    font-size: 0.9rem;
  }
  .cg-section {
    padding: 40px 16px;
  }
}