/* =========================================================
   LORD’S Shoes — Tablet and mobile styles

   Bootstrap handles the navbar collapse.
   This file adjusts the brand layout for smaller screens.
========================================================= */

/* 1. Tablet adjustments */
@media (max-width: 991.98px) {
    .site-header__inner {
        min-height: 82px;
    }

    .site-logo img {
        width: 130px;
        height: 66px;
    }

    /* Spacing inside the expanded Bootstrap menu */
    .site-navbar .navbar-nav {
        gap: 4px;
        padding: 10px 0 18px;
    }

    .site-navbar .nav-link {
        padding: 12px 4px;
    }

    .site-navbar .nav-link::after {
        display: none;
    }

    .navigation-button {
        margin-top: 10px;
    }

    .hero {
        width: calc(100% - 48px);
        min-height: 610px;
        margin-top: 22px;
    }

    .hero__copy {
        padding-left: 48px;
    }

    .hero__title {
        font-size: clamp(58px, 8vw, 74px);
    }

    .hero__image {
        object-position: 58% center;
    }
}

/* 2. Mobile layout */
@media (max-width: 640px) {
    .site-header__inner {
        min-height: 74px;
    }

    .site-logo img {
        width: 116px;
        height: 60px;
    }

    .menu-toggle {
        padding: 8px 10px;
        border: 1px solid var(--color-border);
    }

    /* Stack the hero text above the image on phones */
    .hero {
        width: calc(100% - 24px);
        min-height: auto;
        margin: 14px auto 36px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero::before {
        display: none;
    }

    .hero__content {
        order: 1;
        min-height: auto;
        display: block;
        background: #111111;
    }

    .hero__copy {
        width: 100%;
        padding: 42px 24px 34px;
    }

    .hero__image {
        position: relative;
        z-index: 0;
        order: 2;
        inset: auto;
        width: 100%;
        height: 300px;
        object-position: 72% center;
    }

    .hero__eyebrow {
        margin-bottom: 20px;
        font-size: 9px;
    }

    .hero__title {
        font-size: clamp(48px, 13vw, 68px);
    }

    .hero__description {
        margin-top: 18px;
        font-size: 15px;
    }

    /* Stack the two hero buttons on narrow screens */
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 320px;
        min-height: 48px;
    }

    .hero__location {
        margin-top: 20px;
        font-size: 11px;
    }

    .hero__marker {
        right: 14px;
        bottom: 14px;
        font-size: 8px;
    }
}

/* Brand section spacing on mobile */
@media (max-width: 640px) {
    .brands-section {
        padding: 58px 0 64px;
    }

    .brands-section__heading {
        margin-bottom: 28px;
    }

    .brands-section__description {
        font-size: 14px;
    }

    .brand-card {
        min-height: 92px;
        padding: 14px;
    }

    .brand-wordmark {
        font-size: 16px;
    }

    .brand-wordmark--adidas {
        font-size: 20px;
    }

    .brand-wordmark--skechers {
        font-size: 13px;
    }

    .brand-wordmark--asics {
        font-size: 18px;
    }

    .brand-wordmark--reebok {
        font-size: 14px;
    }

    .brands-section__footer {
        margin-top: 26px;
    }
}

/* About section adjustments for tablets and phones */
@media (max-width: 991.98px) {
    .about-section {
        padding: 76px 0;
    }

    .about-visual {
        min-height: 430px;
    }

    .about-copy {
        max-width: 680px;
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 56px 0;
    }

    .about-visual {
        min-height: 340px;
    }

    .about-visual__label {
        bottom: 16px;
        left: 16px;
        width: 220px;
        padding: 18px;
    }

    .about-visual__label-large {
        font-size: 25px;
    }

    .about-visual__number {
        top: 16px;
        right: 16px;
    }

    .about-copy__description {
        margin-top: 18px;
        font-size: 14px;
    }

    .about-details {
        margin-top: 24px;
        gap: 18px;
    }

    .about-copy__button {
        margin-top: 24px;
    }
}

/* Contact section adjustments for tablets and phones */
@media (max-width: 991.98px) {

    .contact-info,
    .contact-form-wrap {
        padding: 34px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 58px 0;
    }

    .contact-section__heading {
        margin-bottom: 28px;
    }

    .contact-section__description {
        font-size: 14px;
    }

    .contact-info,
    .contact-form-wrap {
        padding: 26px 22px;
    }

    .contact-info__title,
    .contact-form__title {
        font-size: 21px;
    }

    .contact-form__button {
        width: 100%;
    }
}

/* Footer adjustments for mobile */
@media (max-width: 640px) {
    .site-footer {
        padding-top: 48px;
    }

    .site-footer__main {
        padding-bottom: 34px;
    }

    .site-footer__bottom {
        min-height: 72px;
    }

    .site-footer__bottom p,
    .site-footer__bottom a {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .site-footer__bottom {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .site-footer__bottom-links {
        flex-wrap: wrap;
        gap: 14px;
    }
}