/*
 * Responsive Styles - Mobile First Approach
 * Base styles are for mobile (320px+)
 * Media queries enhance for larger screens
 */

/* ========================================================================
   Mobile (< 768px) - Base styles in main.css
   ======================================================================== */

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-item:last-child .nav-link,
  .nav-cta .btn-nav {
    border-bottom: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-cta .btn-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 0 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    margin-top: 0.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .page-hero {
    padding: var(--spacing-lg) 0;
  }
}

/* ========================================================================
   Tablet (768px - 1023px)
   ======================================================================== */

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }

  body {
    font-size: 17px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

  .footer-column--logo {
    grid-column: 1 / -1;
  }
}

/* ========================================================================
   Desktop (1024px+)
   ======================================================================== */

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
  }

  h1 {
    font-size: 3.5rem;
  }

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

  .footer-column--logo {
    grid-column: auto;
  }
}

/* ========================================================================
   Large Desktop (1440px+)
   ======================================================================== */

@media (min-width: 1440px) {
  :root {
    --container-max-width: 1320px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

/* ========================================================================
   Print Styles
   ======================================================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .skip-link {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
