/* ==========================================================================
   SOMEWHERE BETWEEN US — Responsive Breakpoints
   Stylesheet (css/responsive.css)
   ========================================================================== */

/* Large Tablets & Small Laptops (< 1024px) */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.82rem;
  }

  .memories-timeline {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* Tablets & Mobile (< 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Navigation */
  .nav-menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero Sections */
  .page-hero {
    padding: 3rem 0 2rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .welcome-title {
    font-size: 2.8rem;
  }

  .welcome-subtitle {
    font-size: 1.25rem;
  }

  /* Envelope Page */
  .envelope-outer {
    height: 290px;
  }

  .envelope-flap {
    height: 145px;
  }

  .wax-seal {
    top: 115px;
    width: 52px;
    height: 52px;
  }

  .letter-sheet {
    padding: 2.5rem 1.5rem;
  }

  .letter-salutation {
    font-size: 1.4rem;
  }

  .letter-body {
    font-size: 0.98rem;
  }

  .letter-postage-stamp {
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.65rem;
  }

  /* Lightbox */
  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .lightbox-image-box {
    min-height: 240px;
  }

  .lightbox-details {
    padding: 1.5rem;
  }

  /* Future Timeline */
  .future-timeline::before {
    left: 20px;
  }

  .future-dream-item,
  .future-dream-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    padding-left: 50px;
    gap: 1.25rem;
  }

  .future-dream-item:nth-child(even) .future-dream-content {
    direction: ltr;
  }

  .future-dream-dot {
    left: 20px;
    top: 24px;
    transform: translate(-50%, 0);
  }

  .future-dream-image-box {
    height: 200px;
  }

  .future-dream-content {
    padding: 0;
  }

  /* Compliment & Quiz */
  .compliment-box {
    padding: 2rem 1.5rem;
  }

  .quiz-card {
    padding: 2rem 1.5rem;
  }

  /* Audio player */
  .player-main-card {
    padding: 1.75rem 1.25rem;
  }
  
  .player-controls {
    gap: 1rem;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .welcome-title {
    font-size: 2.2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  .welcome-actions {
    width: 100%;
    flex-direction: column;
  }

  .open-when-modal-body {
    padding: 2.5rem 1.25rem;
  }
}
