/* ========================================
   Headliners Barber Shop — Styles
   Palette: Midnight Blue (#0A1628) + Mint (#B8E6D8)
   Fonts: Playfair Display (serif) + Inter (sans)
======================================== */

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

:root {
    --midnight: #0A1628;
    --midnight-light: #132240;
    --midnight-mid: #1A2F52;
    --mint: #B8E6D8;
    --mint-light: #D4F5E8;
    --mint-dark: #7BC4A8;
    --cream: #F5F2ED;
    --cream-dark: #E8E2D8;
    --white: #FFFFFF;
    --text-light: #C8D5CE;
    --text-dark: #1A1A1A;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 230, 216, 0.1);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mint);
    border-radius: 4px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--mint);
}

.nav-links a::after:hover {
    width: 100%;
}

.nav-cta {
    background: var(--mint) !important;
    color: var(--midnight) !important;
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--mint-light) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--midnight);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--mint);
}

.mobile-menu-cta {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--midnight);
    background: var(--mint);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--mint) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--mint) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--mint);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    color: var(--mint);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 230, 216, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(200, 213, 206, 0.6);
    flex-wrap: wrap;
}

.hero-meta-dot {
    color: var(--mint);
    opacity: 0.5;
}

/* Hero Images */
.hero-image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-image-main {
    position: relative;
    width: 85%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--mint);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.4;
}

.hero-image-float {
    position: absolute;
    bottom: -24px;
    left: -12px;
    width: 55%;
    max-width: 260px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--midnight);
}

.hero-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 213, 206, 0.4);
    z-index: 1;
}

.hero-scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* --- Section Shared --- */
.section-header {
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--midnight);
    letter-spacing: -0.01em;
}

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

/* --- Services --- */
.services {
    padding: 7rem 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.25rem 1.75rem;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.1);
    border-color: var(--mint);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--midnight);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin-bottom: 1.5rem;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

/* --- About --- */
.about {
    padding: 7rem 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 230, 216, 0.05) 0%, transparent 70%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.about-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 55%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--midnight);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-col {
    padding: 1rem 0;
}

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

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

.about-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 230, 216, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(200, 213, 206, 0.6);
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    background: rgba(184, 230, 216, 0.15);
    align-self: stretch;
}

/* --- Gallery --- */
.gallery {
    padding: 7rem 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gallery-item--large {
    grid-row: span 2;
}

.gallery-item--large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.gallery-item--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

/* --- Quote Section --- */
.quote-section {
    padding: 6rem 0;
    background: var(--midnight-light);
    position: relative;
}

.quote-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 900px;
}

.quote-mark {
    color: var(--mint);
    opacity: 0.5;
    margin-top: 0.25rem;
}

.quote-content blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.quote-source {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    font-style: normal;
}

.quote-source-line {
    width: 40px;
    height: 1px;
    background: var(--mint);
}

.quote-source span {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* --- Visit / Contact --- */
.visit {
    padding: 7rem 0;
    background: var(--cream);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit .section-title {
    margin-bottom: 2.5rem;
}

.visit-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-dark);
}

.visit-detail-value {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--midnight);
}

.visit-detail-value a {
    color: var(--midnight);
    transition: color var(--transition);
    border-bottom: 1px solid transparent;
}

.visit-detail-value a:hover {
    color: var(--mint-dark);
    border-bottom-color: var(--mint-dark);
}

.visit-map-col {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.12);
    min-height: 450px;
}

.visit-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background: var(--midnight);
    padding: 3rem 0;
    border-top: 1px solid rgba(184, 230, 216, 0.1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mint);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mint);
    border-radius: 4px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--mint);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: rgba(200, 213, 206, 0.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-image-col {
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .visit-map-col {
        min-height: 350px;
    }

    .visit-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 5rem;
    }

    .hero-inner {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-image-float {
        display: none;
    }

    .hero-image-main {
        width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .services {
        padding: 5rem 0;
    }

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

    .about {
        padding: 5rem 0;
    }

    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.25rem;
    }

    .stat-divider {
        display: none;
    }

    .gallery {
        padding: 5rem 0;
    }

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

    .gallery-item--large {
        grid-row: span 1;
    }

    .gallery-item--large img {
        min-height: 300px;
    }

    .quote-section {
        padding: 4rem 0;
    }

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

    .container {
        padding: 0 1.25rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
