/* Media Queries for Flow of Water Layout System */

/* Tablet Landscape & Below */
@media (max-width: 1024px) {
  :root {
    --space-section: 80px;
  }
  
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  
  .hero .split {
    gap: 40px;
  }
  
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-grid .glass-panel:nth-child(3) {
    transform: translateY(0);
    grid-column: span 2;
  }
  
  .architecture-diagram {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile & Below */
@media (max-width: 768px) {
  :root {
    --space-section: 60px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  /* Mobile Nav */
  .main-nav {
    display: none; /* Hide default nav */
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(6, 20, 27, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 90;
  }
  
  .main-nav.active {
    display: flex;
    animation: fadeIn 0.4s ease;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .main-nav a {
    font-size: 1.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 101;
  }
  
  .header-cta {
    display: none;
  }
  
  /* Hero */
  .hero {
    padding-top: 120px;
  }
  
  .hero .split {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  /* Experience Grid */
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-grid .glass-panel:nth-child(2),
  .experience-grid .glass-panel:nth-child(3) {
    transform: translateY(0);
    grid-column: span 1;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}