/* =========================================
   SLOW BREW COFFEE - RESPONSIVE STYLES
========================================= */

/* =========================================
   TABLETS
========================================= */

@media (max-width: 1000px) {

  :root {
    --section-padding: 85px;
  }

  .nav {
    gap: 22px;
  }

  .nav-button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 10vw, 6.5rem);
  }

  .intro-grid,
  .experience-grid,
  .visit-grid,
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .drink-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-image {
    height: 560px;
  }

  .mood-card {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .mood-quote {
    padding-left: 0;
    padding-top: 35px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .newsletter-form {
    max-width: 650px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 760px) {

  :root {
    --section-padding: 70px;
  }

  .header {
    padding: 20px 0;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;

    width: min(82%, 360px);
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 28px;

    padding: 50px;

    background: #1b211c;

    transition: right 0.4s ease;

    z-index: 1050;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.35rem;
  }

  .nav-link::after {
    bottom: -5px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-toggle span {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  /* =========================================
     HERO
  ========================================= */

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-scroll {
    display: none;
  }


  /* =========================================
     INTRO
  ========================================= */

  .intro-grid {
    gap: 35px;
  }


  /* =========================================
     SECTION HEADER
  ========================================= */

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 38px;
  }


  /* =========================================
     DRINK CARDS
  ========================================= */

  .drink-grid {
    grid-template-columns: 1fr;
  }

  .drink-image {
    height: 420px;
  }


  /* =========================================
     EXPERIENCE
  ========================================= */

  .experience-grid {
    gap: 45px;
  }

  .experience-image {
    height: 480px;
  }

  .experience-feature {
    grid-template-columns: 42px 1fr;
  }


  /* =========================================
     TODAY'S MOOD
  ========================================= */

  .mood-card {
    padding: 45px 30px;
    border-radius: 24px;
  }

  .mood-quote p {
    font-size: 1.6rem;
  }


  /* =========================================
     HOURS
  ========================================= */

  .hours-card {
    padding: 30px;
  }

  .hours-row {
    flex-direction: column;
    gap: 5px;
  }

  .hours-row strong {
    white-space: normal;
  }


  /* =========================================
     NEWSLETTER
  ========================================= */

  .newsletter {
    padding: 65px 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }


  /* =========================================
     FOOTER
  ========================================= */

  .footer {
    padding-top: 65px;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

  .container {
    width: min(90%, var(--container-width));
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .drink-image {
    height: 350px;
  }

  .experience-image {
    height: 390px;
  }

  .mood-card {
    padding: 38px 24px;
  }

  .hours-card {
    padding: 25px 22px;
  }

  .footer-links {
    gap: 34px;
  }
}