/* ========================================
   LOCATION PAGE
   ======================================== */

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ========================================
   HERO — Full-height cinematic
   ======================================== */

.loc-hero {
    position: relative;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bs-primary);
    padding: var(--space-3xl) 0 var(--space-3xl);
}

.loc-hero-grain {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    opacity: 0.4;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.loc-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loc-hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bs-accent);
    margin-bottom: var(--space-sm);
    opacity: 0.85;
}

.loc-hero-title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-bottom: var(--space-md);
}

.loc-hero-title-main {
    font-family: var(--font-display);
    color: var(--bs-accent);
    font-size: clamp(3.2rem, 14vw, 7.5rem);
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 -0.4em 0;
    text-shadow: var(--shadow-text);
    font-weight: 300;
}

.loc-hero-title-script {
    font-family: var(--font-style);
    color: var(--bs-white);
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    margin-top: 0;
    text-shadow: var(--shadow-text-strong);
    letter-spacing: 0.5px;
    opacity: 0.95;
    white-space: nowrap;
}

.loc-hero-desc {
    font-family: var(--font-sans);
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin: 1rem 0 var(--space-lg);
    line-height: 1.6;
    max-width: 480px;
    text-align: center;
}

.loc-hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.loc-hero-proof {
    margin-top: var(--space-xl);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.loc-hero-proof .proof-divider {
    opacity: 0.4;
}



/* ========================================
   INFO STRIP — Attached below hero
   ======================================== */

.loc-strip {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.loc-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 72px;
}

.loc-strip-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 24px 16px 0;
    flex-shrink: 0;
}

.loc-strip-item:first-child {
    flex: 1;
    min-width: 0;
}

.loc-strip-label {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bs-accent);
    white-space: nowrap;
}

.loc-strip-value {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loc-strip-link {
    transition: color var(--transition-fast);
}

.loc-strip-link:hover {
    color: var(--bs-accent);
}

.loc-strip-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    margin-right: 24px;
}

/* ========================================
   THE SPACE — Room showcase
   ======================================== */

.loc-space {
    padding: 0;
}

/* The room grid spans full width, outside the container */
.loc-rooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.loc-room {
    position: relative;
    overflow: hidden;
    cursor: default;
    aspect-ratio: 1 / 1;
}

.loc-room img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.loc-room:hover img {
    transform: scale(1.04);
}

/* ========================================
   SECTION HEADERS (shared)
   ======================================== */

.loc-section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Reuse existing heading components */
.location-heading-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    margin-bottom: var(--space-lg);
}

.location-heading-main {
    font-family: var(--font-display);
    color: var(--bs-accent);
    font-size: clamp(2.8rem, 10vw, 7rem);
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 -0.4em 0; /* 20% of heading height — scales at every breakpoint */
    text-shadow: var(--shadow-text);
    font-weight: 300;
}

.location-heading-script {
    font-family: var(--font-style);
    color: var(--bs-white);
    font-size: clamp(1.4rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    margin-top: 0; /* heading carries the offset now */
    text-shadow: var(--shadow-text-strong);
    letter-spacing: 0.5px;
    opacity: 0.95;
    white-space: nowrap;
}

.location-hero-subtitle,
.location-section-subtitle {
    font-family: var(--font-sans);
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin: 0 auto 0;
    line-height: 1.6;
    text-align: center;
    max-width: 540px;
}

/* ========================================
   SERVICES — Two-column editorial layout
   ======================================== */

.loc-services-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 24px; /* accommodate the left indicator bar */
}

/* ========================================
   SERVICES — Supplementary panels (student + combos)
   ======================================== */

.loc-services-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.loc-extras-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 28px 32px;
}

.loc-extras-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bs-accent);
    margin: 0 0 6px;
}

.loc-extras-note {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 20px;
    line-height: 1.5;
}

.loc-extras-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.loc-extras-row:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.loc-extras-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.loc-extras-meta {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.loc-extras-price {
    font-family: var(--font-style);
    font-size: 1.3rem;
    color: var(--bs-accent);
    white-space: nowrap;
    text-align: right;
}

/* Colour panel spans both columns */
.loc-extras-panel--colour {
    grid-column: 1 / -1;
    border-color: rgba(180, 150, 90, 0.18);
    background: rgba(180, 150, 90, 0.04);
}

/* ========================================
   TATTOO STUDIO CTA
   ======================================== */

.loc-tattoo {
    padding: var(--space-4xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.loc-tattoo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.loc-tattoo-text {
    flex: 1;
    min-width: 0;
}

.loc-tattoo-eyebrow {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-accent);
    margin: 0 0 16px;
    opacity: 0.7;
}

.loc-tattoo-heading {
    font-family: var(--font-display);
    color: var(--bs-white);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
    font-weight: 300;
}

.loc-tattoo-sub {
    font-family: var(--font-style);
    color: var(--bs-accent);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin: 0 0 20px;
    opacity: 0.85;
}

.loc-tattoo-desc {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 420px;
}

.loc-tattoo-accent {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
}

.loc-tattoo-accent::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(180, 150, 90, 0.15);
    border-radius: 50%;
}

.loc-tattoo-script {
    font-family: var(--font-style);
    color: var(--bs-accent);
    font-size: 4.5rem;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* ========================================
   BARBERS GRID
   ======================================== */

.loc-barbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.loc-barbers-grid .barber-card {
    flex: none;
    width: 100%;
}

/* ========================================
   CTA ACTIONS
   ======================================== */

.location-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

/* ========================================
   PLAN YOUR VISIT — Hours + Find Us
   ======================================== */

.loc-visit-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.loc-visit-panel {
    padding: 0 48px 0 0;
}

.loc-visit-panel:last-child {
    padding: 0 0 0 48px;
}

.loc-visit-panel-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bs-accent);
    margin: 0 0 24px;
}

.loc-visit-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    align-self: stretch;
}

/* Hours table */
.loc-hours {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.loc-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.loc-hours-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.loc-hours-day {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.loc-hours-time {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.loc-hours-closed {
    color: rgba(255, 255, 255, 0.3);
}

/* Find us */
.loc-find-us {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.loc-find-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loc-find-label {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.loc-find-value {
    font-family: var(--font-sans);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.5;
}

.loc-find-link {
    transition: color var(--transition-fast);
}

.loc-find-link:hover {
    color: var(--bs-accent);
}

.loc-visit-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ========================================
   REVIEWS FOOTER — proof pill + cta
   ======================================== */

.loc-reviews-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* Reuse the hero pill style, but inline rather than absolute */
.loc-reviews-proof {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 32px;
    background: rgba(32, 43, 53, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ========================================
   BARBER BOOK BUTTON
   ======================================== */

.barber-book-btn {
    margin-top: var(--space-sm);
    font-size: 11px;
    padding: 8px 20px;
    letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .loc-services-cols {
        gap: 0 48px;
    }
}

@media (max-width: 900px) {
    .loc-visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .loc-visit-divider {
        display: none;
    }

    .loc-visit-panel,
    .loc-visit-panel:last-child {
        padding: 0;
    }
}


@media (max-width: 768px) {
    .page-location {
        padding-top: 0;
    }

    .loc-hero {
        min-height: auto;
        padding: var(--space-3xl) 0 var(--space-2xl);
    }

    .loc-hero-inner {
        padding: 0 var(--space-lg);
    }

    .loc-hero-proof {
        margin-top: var(--space-lg);
        font-size: 9px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }


    /* Info strip: vertical stack */
    .loc-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px var(--space-lg);
        gap: 0;
    }

    .loc-strip-item {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .loc-strip-item:first-child {
        flex: none;
    }

    .loc-strip-divider {
        display: none;
    }

    /* Rooms: stack vertically, keep 1:1 aspect-ratio per room */
    .loc-rooms-grid {
        grid-template-columns: 1fr;
    }

    /* Services: single column */
    .loc-services-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .loc-services-extras {
        grid-template-columns: 1fr;
    }

    .loc-section-header {
        margin-bottom: var(--space-2xl);
    }

    .loc-barbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
       .location-heading-main {
        font-size: clamp(2.6rem, 18vw, 5rem);
        white-space: normal;
    }

    .location-heading-script {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        white-space: normal;
    }
}

@media (max-width: 480px) {
    /* Tighten bottom offset further — wrapper has no bottom padding at this point */

     .loc-hero-content {
        transform: translateY(-3vh);
    }

       .loc-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .loc-hero-actions .btn {
        width: 100%;
    }

    .loc-barbers-grid {
        grid-template-columns: 1fr;
    }
    .location-heading-main {
        font-size: clamp(2.2rem, 18vw, 4rem);
    }

    .location-heading-script {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

@media (max-width: 768px) {
    .loc-tattoo-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .loc-tattoo-accent {
        display: none;
    }
}

/* ========================================
   OTHER LOCATIONS STRIP
   ======================================== */

.loc-other-locations {
    padding: var(--space-xl) 0 var(--space-3xl) 0;
}

.loc-other-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}


.loc-other-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.loc-other-card {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
}

.loc-other-img-wrap {
    position: absolute;
    inset: 0;
}

.loc-other-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.loc-other-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(24, 31, 38, 0.1) 0%,
        rgba(24, 31, 38, 0.65) 100%
    );
    transition: opacity 0.3s ease;
}

.loc-other-name {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    color: var(--bs-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    z-index: 1;
    transition: color 0.3s ease;
}

.loc-other-card:hover .loc-other-img {
    transform: scale(1.06);
}

.loc-other-card:hover .loc-other-overlay {
    opacity: 0.7;
}

.loc-other-card:hover .loc-other-name {
    color: var(--bs-accent);
}

@media (max-width: 768px) {
    .loc-other-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .loc-other-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
