/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Very Extra Large Screens (Ultra wide) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* Large Laptops & Desktops */
@media (max-width: 1199px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* Tablets Landscape & Medium Laptops */
@media (max-width: 991px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-menu {
    gap: 15px;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .top-bar-info {
    font-size: 0.8rem;
    gap: 10px;
  }
}

/* Tablets Portrait & Large Mobile */
@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar on mobile */
  }

  .hamburger {
    display: block; /* Show hamburger */
  }

  .navbar {
    position: relative;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--transition-smooth);
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-menu .btn {
    width: 100%;
  }

  /* Hamburger Animation */
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.5rem;
  }
  
  .page-header {
    padding: 60px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  :root {
    --section-padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  .page-title {
    font-size: 2rem;
  }
  
  .fab-container {
    bottom: 15px;
    right: 15px;
  }
  
  .fab {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

/* Small UI Fixes for very small screens (iPhone SE, etc.) */
@media (max-width: 360px) {
  .logo-sub {
    display: none;
  }
  
  .header {
    padding: 5px 0;
  }
}
