/* =========================
   LARGE TABLETS
========================= */

@media (max-width: 1024px) {

    .section {
        padding: 90px 0;
    }

    .navbar {
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }

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

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

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .experience-image {
        min-height: 500px;
    }

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


/* =========================
   TABLETS / MOBILE NAV
========================= */

@media (max-width: 850px) {

    .header {
        background: rgba(11, 19, 32, 0.96);
    }

    .navbar {
        min-height: 72px;
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        padding: 20px 5%;

        background: var(--bg-soft);

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 14px 0;

        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-book-btn {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero-content h1 {
        max-width: 620px;
    }

    .hero-description {
        max-width: 500px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .container {
        width: min(92%, var(--container-width));
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .experience-content h2,
    .booking-cta h2 {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
    }

    .hero {
        min-height: 92vh;

        background:
            linear-gradient(
                90deg,
                rgba(11, 19, 32, 0.96) 0%,
                rgba(11, 19, 32, 0.78) 100%
            ),
            url("../assets/images/hero/hero.jpg")
            center/cover no-repeat;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .barber-grid {
        grid-template-columns: 1fr;
    }

    .experience-grid {
        gap: 35px;
    }

    .experience-image {
        min-height: 420px;
    }

    .booking-cta {
        padding: 90px 0;
    }

    .booking-cta .btn {
        width: 100%;
        max-width: 340px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        padding-bottom: 45px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

    .navbar {
        min-height: 68px;
    }

    .logo {
        font-size: 0.85rem;
    }

    .nav-book-btn {
        display: none;
    }

    .nav-links {
        top: 68px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding-top: 105px;
    }

    .hero-eyebrow,
    .section-label {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 17vw, 4.3rem);
    }

    .hero-description {
        margin-top: 22px;
    }

    .btn {
        min-height: 48px;
        padding: 0 22px;
    }

    .service-card {
        padding: 30px 24px;
    }

    .service-number {
        font-size: 2.2rem;
    }

    .barber-info {
        padding: 22px;
    }

    .experience-image {
        min-height: 340px;
    }

    .footer-bottom {
        padding: 20px 6%;
    }
}


/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 380px) {

    .logo {
        font-size: 0.76rem;
    }

    .menu-toggle {
        font-size: 1.6rem;
    }

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

    .section-heading h2,
    .experience-content h2,
    .booking-cta h2 {
        font-size: 2.2rem;
    }
}
/* =========================
   BARBERS PAGE RESPONSIVE
========================= */

@media (max-width: 900px) {

    .barber-profile,
    .barber-profile-reverse {
        grid-template-columns: 1fr;
    }

    .barber-profile-reverse .barber-profile-image,
    .barber-profile-reverse .barber-profile-content {
        order: initial;
    }

    .barber-profile-image {
        min-height: 520px;
    }

    .barber-profile-content {
        padding: 50px 40px;
    }
}


@media (max-width: 600px) {

    .barbers-page-hero {
        min-height: 60vh;
    }

    .barbers-page-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .barber-profile-list {
        gap: 45px;
    }

    .barber-profile-image {
        min-height: 420px;
    }

    .barber-profile-content {
        padding: 35px 25px;
    }

    .barber-meta {
        gap: 25px;

        flex-wrap: wrap;
    }

    .barber-profile-content .btn {
        width: 100%;
    }
}
/* =========================
   GALLERY PAGE RESPONSIVE
========================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }
}


@media (max-width: 600px) {

    .gallery-page-hero {
        min-height: 60vh;
    }

    .gallery-page-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 340px;
    }

    .gallery-item,
    .gallery-item-tall,
    .gallery-item-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-overlay {
        opacity: 1;
    }

    .gallery-cta {
        padding: 90px 0;
    }
}
/* =========================
   ABOUT PAGE RESPONSIVE
========================= */

@media (max-width: 950px) {

    .about-story-grid,
    .about-experience-grid {
        grid-template-columns: 1fr;
    }

    .about-story-image,
    .about-experience-image {
        min-height: 520px;
    }

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

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


@media (max-width: 600px) {

    .about-page-hero {
        min-height: 60vh;
    }

    .about-page-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .about-story-grid,
    .about-experience-grid {
        gap: 40px;
    }

    .about-story-image,
    .about-experience-image {
        min-height: 400px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
/* =========================
   CONTACT PAGE RESPONSIVE
========================= */

@media (max-width: 950px) {

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

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


@media (max-width: 650px) {

    .contact-page-hero {
        min-height: 58vh;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .contact-hours {
        padding: 30px 24px;
    }

    .contact-location {
        padding: 80px 0;
    }

    .contact-location-card {
        padding: 35px 25px;
    }
}
/* =========================
   BOOKING PAGE RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: relative;
        top: auto;

        order: -1;
    }
}


@media (max-width: 800px) {

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

    .booking-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 650px) {

    .booking-page-hero {
        min-height: 58vh;
    }

    .booking-page-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .booking-step {
        padding: 28px 22px;
    }

    .booking-service-grid {
        grid-template-columns: 1fr;
    }

    .booking-barber-grid {
        grid-template-columns: 1fr;
    }

    .booking-barber-image {
        aspect-ratio: 16 / 11;
    }

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

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        padding: 26px 22px;
    }

    .summary-row {
        flex-direction: column;

        gap: 5px;
    }

    .summary-row strong {
        max-width: none;

        text-align: left;
    }
}


@media (max-width: 420px) {

    .booking-step-heading {
        align-items: flex-start;
    }

    .booking-step-heading > span {
        width: 46px;
        height: 46px;

        font-size: 1.15rem;
    }

    .booking-time-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 520px) {

    .booking-modal-card {
        padding: 42px 24px 28px;
    }

    .booking-modal-row {
        flex-direction: column;
        gap: 3px;
    }

    .booking-modal-row strong {
        text-align: left;
    }
}