/*
 * Responsive Styles for Alec Brewer's Personal Landing Page
 */

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop (992px - 1199px) */
@media screen and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .profile-img-placeholder {
    width: 320px;
    height: 320px;
  }
}

/* Tablet (768px - 991px) */
@media screen and (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  .hero-section .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    margin-bottom: var(--space-xl);
    max-width: 100%;
  }

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

  .about-content {
    flex-direction: column;
  }

  .about-text {
    margin-bottom: var(--space-lg);
  }

  .profile-img-placeholder {
    width: 280px;
    height: 280px;
  }

  .projects-container,
  .playlists-container,
  .blog-posts-container,
  .linkedin-posts-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .reading-card {
    width: 45%;
  }

  .linkedin-card {
    width: 45%;
  }
}

/* Mobile Large (576px - 767px) */
@media screen and (max-width: 767px) {
  .container {
    max-width: 540px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .hero-content .subtitle {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-lg);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal) ease;
    z-index: 99;
  }

  .main-nav.active ul {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Small (575px and down) */
@media screen and (max-width: 575px) {
  .projects-container,
  .playlists-container,
  .blog-posts-container,
  .linkedin-posts-container {
    grid-template-columns: 1fr;
  }

  .filter-controls {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .reading-card {
    width: 80%;
  }
  .linkedin-card {
    width: 80%;
  }

  .contact-content {
    flex-direction: column;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section-intro {
    margin-bottom: var(--space-lg);
  }
}
