/* ==========================================================================
   MEHMET ŞAHİN PORTFOLIO – RESPONSIVE STYLESHEET
   Comprehensive Breakpoints: 1280px, 1024px, 768px, 480px
   ========================================================================== */

/* Laptops & Medium Screens (<= 1200px) */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .disciplines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 2.5rem;
  }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-status-pill {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .modal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .nav-container {
    height: 70px;
  }

  .brand-logo img {
    height: 38px;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section {
    padding: 7.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .disciplines-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 1rem;
  }

  .modal-body {
    padding: 1.75rem;
  }

  .modal-hero-cover {
    height: 240px;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .modal-deliverables-list {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-btn {
    width: 54px;
    height: 54px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Small Mobiles (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .contact-form-card {
    padding: 1.75rem;
  }
}
