/* =========================================
   Responsive Styles (Mobile First)
   ========================================= */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-links.active { right: 0; }
  .nav-links a { 
    color: var(--dark) !important; 
    font-size: 1.2rem; 
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
  }

  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--dark); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--dark); }

  .slide-content h1 { font-size: 3rem; }
  .slide-content p { font-size: 1.1rem; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 80px 0; }
  .section-title h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .slide-content h1 { font-size: 2.5rem; }
  .slide-content p { font-size: 1rem; margin-bottom: 30px; }
  .slide-content .btn-group { flex-direction: column; align-items: center; }
  .slide-content .btn { width: 100%; max-width: 280px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .page-header h1 { font-size: 2.5rem; }
  .page-header { min-height: 300px; height: 40vh; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }

  .slider-controls { bottom: 20px; }
  .slider-btn { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  .container { padding: 0 15px; }

  .slide-content h1 { font-size: 2rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }

  .section { padding: 60px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 1.8rem; }

  .card { padding: 20px; }
}