/* ============================================
   Home Town Barber Shop — Styles
   Bold editorial · Teal + Slate Grey
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal-900: #042f2f;
    --teal-800: #0d4f52;
    --teal-700: #0d7377;
    --teal-600: #11999e;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --teal-50:  #f0fdfa;
    
    --slate-950: #050b14;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --max-width: 1200px;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 9999;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal-700);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--teal-700);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.main-nav a:hover {
    color: var(--teal-700);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal-700);
    color: var(--white);
    border-color: var(--teal-700);
}
.btn--primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,115,119,0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn--ghost:hover {
    border-color: var(--teal-700);
    color: var(--teal-700);
}

.btn--dark {
    background: var(--slate-900);
    color: var(--white);
    border-color: var(--slate-900);
}
.btn--dark:hover {
    background: var(--slate-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15,23,42,0.3);
}

.btn--outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn--outline-dark:hover {
    border-color: var(--slate-700);
    color: var(--slate-900);
    background: var(--slate-50);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--nav {
    padding: 8px 20px;
    font-size: 0.875rem;
    background: var(--teal-700);
    color: var(--white);
    border-color: var(--teal-700);
}
.btn--nav:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
}

/* ---------- MOBILE MENU BTN ---------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger {
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    padding-top: var(--header-h);
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--slate-50);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 60px 0;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-600);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.trust-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--teal-700);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.15;
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    margin-bottom: 56px;
}

.section-header--centered {
    text-align: center;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal-700);
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    transition: all 0.25s ease;
    background: var(--white);
}

.service-card:hover {
    border-color: var(--teal-700);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13,115,119,0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--teal-700);
    transition: background 0.25s ease;
}

.service-card:hover .service-icon {
    background: var(--teal-700);
    color: var(--white);
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--slate-500);
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--slate-900);
    color: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-stack {
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 12px;
}

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0,0,0,0.4);
    border: 4px solid var(--slate-800);
}

.about-img-float img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: -24px;
    left: -24px;
    background: var(--teal-700);
    color: var(--white);
    padding: 20px 24px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(13,115,119,0.4);
}

.accent-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.accent-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 2px;
}

.about-content-col .section-eyebrow {
    color: var(--teal-500);
}

.about-content-col .section-title {
    color: var(--white);
    margin-bottom: 28px;
}

.about-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-200);
}

.value-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.15);
    border-radius: 6px;
    color: var(--teal-500);
    flex-shrink: 0;
}

.about-content-col .btn {
    margin-top: 8px;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--slate-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--tall {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}
.gallery-item--tall img {
    height: 100%;
    min-height: 620px;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 6;
}
.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) img {
    height: 300px;
}

.gallery-item--wide {
    grid-column: 1 / 13;
}
.gallery-item--wide img {
    height: 300px;
}

/* ---------- VISIT ---------- */
.visit {
    padding: 100px 0;
    background: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-eyebrow {
    margin-bottom: 12px;
}

.visit-info .section-title {
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--slate-200);
}

.visit-detail {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
}

.visit-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    padding-top: 2px;
}

.visit-detail-value {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-700);
}

.visit-detail-link {
    color: var(--teal-700);
    font-weight: 600;
    transition: color 0.2s ease;
}
.visit-detail-link:hover {
    color: var(--teal-800);
    text-decoration: underline;
}

.visit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid var(--slate-200);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 48px 0;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal-500);
}

.footer-copy {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-500);
}

.footer-copy a {
    color: var(--teal-500);
    transition: color 0.2s ease;
}
.footer-copy a:hover {
    color: var(--teal-400);
}

.footer-copy--small {
    font-size: 0.8rem;
    color: var(--slate-600);
    margin-top: 8px;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .about-img-float {
        right: -20px;
        bottom: -20px;
        width: 220px;
    }
    .about-img-float img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 1.25rem;
        color: var(--slate-800);
    }
    
    .btn--nav {
        font-size: 1rem;
        padding: 12px 28px;
    }
    
    /* Hero mobile */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0 60px;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-image-wrapper img {
        height: 500px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    /* Services mobile */
    .services {
        padding: 72px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    /* About mobile */
    .about {
        padding: 72px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-img-float {
        width: 180px;
        bottom: -16px;
        right: -8px;
    }
    .about-img-float img {
        height: 220px;
    }
    
    .about-accent-box {
        top: -16px;
        left: -8px;
        padding: 14px 18px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Gallery mobile */
    .gallery {
        padding: 72px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item--tall {
        grid-column: 1;
        grid-row: auto;
    }
    .gallery-item--tall img {
        min-height: 360px;
    }
    
    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
        grid-column: 1;
    }
    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) img {
        height: 240px;
    }
    
    .gallery-item--wide {
        grid-column: 1;
    }
    .gallery-item--wide img {
        height: 200px;
    }
    
    /* Visit mobile */
    .visit {
        padding: 72px 0;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-detail {
        grid-template-columns: 70px 1fr;
        gap: 8px;
    }
    
    .visit-map {
        height: 320px;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .visit-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}
