/*Header*/
@media screen and (max-width: 600px) {
  .top-bar {
    display: none;
  }

  .top-bar-left,
  .top-bar-right {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .top-bar-left {
    margin-bottom: 10px;
  }

  .top-bar-right {
    margin-top: 10px;
  }

  .top-bar-left span,
  .top-bar-right a {
    display: inline-flex;
    margin: 5px 10px;
    white-space: normal;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header .header-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  header .header-nav.active {
    display: flex;
  }

  header .header-nav .menu {
    flex-direction: column;
    gap: 0;
  }

  header .header-nav .menu-item a {
    padding: 12px 20px;
    border-top: 1px solid #333;
    width: 100%;
  }

  header .header-nav .menu-item a::after {
    display: none;
  }

  header .header-nav .menu-item:last-child a {
    border-bottom: 1px solid #333;
  }

  header .header-brand {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  header .header-site-info h2 {
    font-size: 20px;
    white-space: normal;
  }

  header .header-site-info .site-tagline {
    font-size: 12px;
  }
}

/*Footer*/
@media screen and (max-width: 768px) {
  footer .footer-container {
    flex-direction: column;
    gap: 0;
  }

  footer .footer-left,
  footer .footer-middle,
  footer .footer-right {
    max-width: 100%;
    justify-items: left;
  }
}

@media screen and (max-width: 480px) {
  footer .footer-logo img {
    max-width: 60px;
  }

  footer .footer-site-info h2 {
    font-size: 18px;
  }

  footer .footer-site-info .site-tagline {
    font-size: 12px;
  }

  footer .footer-menu h3,
  footer .footer-social h3 {
    font-size: 16px;
  }

  footer .footer-nav li {
    margin-bottom: 5px;
  }

  footer .footer-social a {
    font-size: 14px;
  }
}

/*Hero*/
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
    position: relative;
    background: none !important;
  }

  .hero-right .slider img {
    clip-path: none !important;
  }

  .hero-shape {
    display: none !important;
  }

.hero-left::before {
    width: 100%;
    height: 35%;
}

  .hero-left {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    background: none !important;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
  }

  .hero-left h1,
  .hero-left p {
    position: static;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 10px 20px;
    margin: 10px;
    pointer-events: auto;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-right {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 500px;
  }
}

@media (max-width: 576px) {
  .hero-left h1 {
    font-size: 1.2rem;
    padding: 8px 16px;
  }

  .hero-left p {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}

/*Projeler*/
@media (max-width: 1400px) {
  .project-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .projects-wrapper h1 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .project-title {
    font-size: 1.1rem;
    margin: 0.75rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .project-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .project-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .projects-wrapper {
    padding: 30px 15px;
  }

  .projects-wrapper h1 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .project-title {
    font-size: 1rem;
    margin: 0.5rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .project-image {
    height: 180px;
  }
}

/*Proje Single*/
@media (max-width: 768px) {
  .single-wrapper {
    padding: 30px 15px;
  }

  .single-wrapper h1 {
    font-size: 2rem;
  }

  .proje-extra ul {
    flex-direction: column;
    gap: 10px;
  }

  .proje-extra ul li {
    flex: none;
    min-width: auto;
    font-size: 1rem;
  }

  .featured-image img.featured {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }

  .editor-inline-gallery {
    justify-content: flex-start;
  }

  .editor-gallery-item {
    max-width: 48%;
  }

  .proje-content {
    font-size: 1rem;
    padding: 20px 15px;
  }

  .proje-content h2,
  .proje-content h3,
  .proje-content h4 {
    font-size: 1.2rem;
  }
}

/*Üretim*/
@media (max-width: 768px) {
  .image-box {
    height: 300px;
  }

  .production-container {
    flex-direction: column;
  }
  .production-image,
  .production-content {
    flex: 1 1 100%;
  }
  .production-image {
    display: none !important;
  }
  .production-item {
    max-width: 100%;
    align-self: center !important;
    text-align: center !important;
  }

  .tech-specs {
    flex-direction: column;
    padding: 10px;
  }

  .tech-left,
  .tech-right {
    max-width: 100%;
    flex: none;
  }

  .slide-indicator {
    text-align: center;
    margin-top: 10px;
  }

  .nav-dots {
    display: none;
  }
}

/* Hakkımızda.php */
@media (max-width: 900px) {
  .hakkimizda-section-alt {
    flex-direction: column;
    min-height: auto;
  }

  .hakkimizda-section-alt-banner,
  .hakkimizda-section-steps {
    flex: none;
    width: 100%;
    padding: 30px 20px;
  }

  .hakkimizda-section-alt-banner {
    min-height: 250px;
    background-position: center top;
  }

  .hakkimizda-row {
    flex-direction: column;
    padding: 1rem;
  }

  .hakkimizda-left-cell,
  .hakkimizda-right-cell {
    flex: 1 1 100%;
    min-width: auto;
  }

  .hakkimizda-left-image {
    height: 180px;
    object-fit: cover;
  }

  .hakkimizda-right-image {
    max-height: 300px;
    object-fit: cover;
  }

  .hakkimizda-title {
    font-size: 1.8rem;
  }
}

/*iletisim.php*/
@media (max-width: 768px) {
    .contact-wrapper {
        margin: 0 auto;
        padding: 20px;
    }

    .contact-image,
    .contact-form {
        width: 100%;
        margin-left: 0;
        position: relative;
        top: 0;
        left: 0;
    }

    .contact-form {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0; /* isteğe bağlı */
    }

    .contact-box {
        flex-direction: column;
        margin-top: 20px;
    }

    .contact-item {
        margin-bottom: 15px;
    }
}

/*404 Page*/
@media (max-width: 768px) {
  .not-found-wrapper {
    padding: 60px 15px;
  }

  .error-content h1 {
    font-size: 36px;
  }

  .error-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .back-home {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .not-found-wrapper {
    padding: 40px 10px;
  }

  .error-content h1 {
    font-size: 28px;
  }

  .error-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .back-home {
    padding: 8px 16px;
    font-size: 13px;
  }
}