/* ==========================================================================
   Responsive Media Queries
   Mobile-first approach handled mainly in variables, these are max-width adjustments
   Breakpoints: 1440px, 1024px, 768px, 320px
   ========================================================================== */

/* Large Desktop (max-width: 1440px) */
@media (max-width: 1440px) {
  .container {
    max-width: 1140px;
  }
}

/* Tablet / Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Navigation Mobile */
  .hamburger {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    text-align: center;
  }

  /* Typography adjustments */
  .section-padding {
    padding: 60px 0;
  }

  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Floating elements adjustments */
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .floating-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Very Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .glass-card {
    padding: 20px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
}
