/* =============================================
   Responsive Styles
   ============================================= */

/* -----------------------------------------------
   Mobile — max 767px
   ----------------------------------------------- */
@media (max-width: 767px) {

  /* --- Navigation --- */
  .nav-toggle {
    display: flex;
  }

  /* Slide-in panel from right */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 300px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.125rem;
    letter-spacing: 0.03em;
  }

  /* Hamburger → X animation */
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* --- Hero --- */
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    gap: 2rem;
  }

  .hero-portrait {
    flex: none;
    width: 60%;
    max-width: 300px;
  }

  .hero-portrait img {
    max-height: 50vh;
  }

  .hero-bio {
    width: 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 1.5rem;
  }

  .hero-bio h1 {
    font-size: 2.5rem;
  }

  .hero-text {
    text-align: left;
    max-height: 240px;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-cta {
    align-self: center;
  }

  /* --- Contact --- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* --- Events --- */
  .events {
    padding: 3.5rem 1rem;
  }

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

  /* --- Share modal --- */
  .share-modal-content {
    padding: 1.25rem;
  }

  .share-modal-actions {
    flex-direction: column;
  }

  .share-modal-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* -----------------------------------------------
   Tablet and up — min 768px
   ----------------------------------------------- */
@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -----------------------------------------------
   Desktop — min 1024px
   ----------------------------------------------- */
@media (min-width: 1024px) {
  .hero-bio h1 {
    font-size: 4rem;
  }

  .events {
    padding: 6rem 1.5rem;
  }

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