/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .nav-links {
    gap: 17px;
  }

  .nav-links a {
    font-size: 10px;
  }

  .intro-grid {
    grid-template-columns: 0.4fr 1fr 0.8fr;

    gap: 40px;
  }

  .experience-grid {
    gap: 70px;
  }

  .location-grid {
    gap: 35px;
  }
}

/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 900px) {
  .nav-links {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: var(--dark);

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 25px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-15px);

    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s ease;
  }

  .nav-links.active {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav-links a {
    font-family: var(--heading-font);

    font-size: 35px;
  }

  .nav-actions {
    margin-left: auto;

    margin-right: 20px;
  }

  .language-switch {
    display: none;
  }

  .btn-book {
    display: none;
  }

  .menu-toggle {
    position: relative;

    z-index: 1100;

    width: 32px;

    height: 24px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border: none;

    background: transparent;

    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;

    height: 1px;

    background: white;

    transition: 0.3s ease;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-11px) rotate(-45deg);
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-label {
    grid-column: 1 / -1;
  }

  .intro-image {
    grid-column: 2;
  }

  .services-grid,
  .stylists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-main {
    flex-direction: column;
  }
}

/* =====================================================
   SMALL TABLET / LARGE MOBILE
===================================================== */

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section-space,
  .section-dark,
  .section-beige {
    padding: 80px 0;
  }

  .navbar {
    min-height: 82px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-container {
    min-height: 90vh;

    align-items: flex-end;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(62px, 17vw, 88px);

    letter-spacing: -2px;
  }

  .hero-description {
    margin-top: 25px;

    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid {
    display: flex;

    flex-direction: column;

    gap: 35px;
  }

  .intro-image {
    width: 80%;

    margin-left: auto;
  }

  .section-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 20px;

    margin-bottom: 35px;
  }

  .services-grid,
  .stylists-grid {
    grid-template-columns: 1fr;
  }

  .service-image img,
  .stylist-image img {
    aspect-ratio: 0.9;
  }

  .service-info {
    flex-direction: column;

    gap: 10px;
  }

  .experience-grid {
    gap: 45px;
  }

  .experience-content h2 {
    font-size: 58px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;

    grid-auto-rows: 210px;
  }

  .gallery-large {
    grid-row: span 2;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .review-content {
    margin-top: 35px;
  }

  .review-content blockquote {
    font-size: 43px;
  }

  .booking-cta {
    min-height: 570px;
  }

  .instagram-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 18px;
  }

  .instagram-header h2 {
    font-size: 37px;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .location-grid > div:first-child {
    grid-column: auto;
  }

  .location h2 {
    font-size: 60px;
  }

  .footer-links {
    gap: 60px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 15px;
  }

  .mobile-book-bar {
    position: fixed;

    z-index: 999;

    left: 12px;
    right: 12px;
    bottom: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 20px;

    min-height: 56px;

    background: var(--dark);

    color: white;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);

    text-transform: uppercase;

    letter-spacing: 1.5px;

    font-size: 9px;
  }

  .mobile-book-bar i {
    color: var(--accent);
  }
}

/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 420px) {
  .logo-main {
    font-size: 26px;
  }

  .logo-sub {
    font-size: 6px;

    letter-spacing: 2px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .intro-content h2,
  .section-heading h2 {
    font-size: 55px;
  }

  .gallery-grid {
    grid-auto-rows: 170px;
  }

  .footer-links {
    gap: 35px;
  }
}
