/* ============================================
   Vagabond Barber & Shop — Styles
   Palette: Deep Navy (#0F2B4C) + Warm Gold (#C8A45E)
   Fonts: Playfair Display + Lora + Cormorant Garamond
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0F2B4C;
    --navy-light: #1A3D66;
    --navy-dark: #091E36;
    --gold: #C8A45E;
    --gold-light: #D4B77A;
    --gold-dark: #B08D3F;
    --cream: #F7F4EE;
    --cream-dark: #EDE8DC;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #5A5A5A;
    --text-light: #8A8A8A;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', 'Palatino Linotype', Palatino, Georgia, serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(15, 43, 76, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 43, 76, 0.10);
    --shadow-lg: 0 8px 32px rgba(15, 43, 76, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 1000;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 43, 76, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.15);
    transition: background var(--transition);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
}

.nav__brand:hover {
    color: var(--white);
}

.nav__brand-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav__brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav__brand-sub {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.nav__menu a {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav__menu a:hover {
    color: var(--gold);
}

.nav__cta {
    background: var(--gold);
    color: var(--navy-dark) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    background: var(--navy-dark);
    padding-top: 72px;
}

.hero__split {
    flex: 1;
    min-height: 0;
}

.hero__split--left {
    display: flex;
    align-items: center;
    padding: 4rem 4rem 4rem 6rem;
    background: var(--navy);
    position: relative;
}

.hero__split--left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.hero__content {
    max-width: 540px;
}

.hero__eyebrow {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.hero__title-accent {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 0.7em;
    color: var(--gold);
    margin-top: 0.25rem;
    line-height: 1.3;
}

.hero__lead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

.hero__trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
}

.hero__trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn--primary:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Hero Image */
.hero__split--right {
    position: relative;
    overflow: hidden;
}

.hero__image-wrap {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--gold-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 6rem 0;
    background: var(--cream);
}

.services__header {
    text-align: center;
    margin-bottom: 4rem;
}

.services__header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(15, 43, 76, 0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    color: var(--gold-dark);
    margin-bottom: 1.25rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-card__desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image-col {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.about__badge {
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.about__text-col {
    padding: 1rem 0;
}

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

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about__value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
}

.about__value-icon {
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 6rem 0;
    background: var(--cream);
}

.gallery__header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 43, 76, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.03);
}

.gallery__item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.gallery__item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.gallery__item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.gallery__item:nth-child(4) { grid-column: 6 / 9; grid-row: 2; }
.gallery__item:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 6rem 0;
    background: var(--white);
}

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

.visit__address {
    font-style: normal;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.visit__address-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.visit__address-label {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    min-width: 70px;
    font-weight: 600;
}

.visit__address-row span,
.visit__address-row a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit__address-row a:hover {
    color: var(--gold-dark);
}

.visit__hours {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
}

.visit__hours-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.visit__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.visit__hours-row:last-child {
    border-bottom: none;
}

.visit__hours-row span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.visit__hours-row span:last-child {
    color: var(--white);
    font-weight: 500;
}

.visit__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
    background: var(--cream-dark);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 6rem 0;
    background: var(--navy);
}

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

.contact__text {
    padding: 1rem 0;
}

.contact__text .section-eyebrow {
    color: var(--gold);
}

.contact__text .section-title {
    color: var(--white);
}

.contact__lead {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-top: 1rem;
}

.contact__form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid rgba(15, 43, 76, 0.12);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact__form-note {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.contact__success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(200, 164, 94, 0.1);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.contact__success svg {
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer__logo-mark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
}

.footer__logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.footer__tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact a:hover {
    color: var(--gold);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__split--left {
        padding: 3rem 2.5rem;
    }

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

    .gallery__grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
    }

    .gallery__item:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; }
    .gallery__item:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
    .gallery__item:nth-child(3) { grid-column: 4 / 7; grid-row: 2; }
    .gallery__item:nth-child(4) { grid-column: 1 / 4; grid-row: 3; }
    .gallery__item:nth-child(5) { grid-column: 4 / 7; grid-row: 3; }
}

@media (max-width: 900px) {
    .about__inner,
    .visit__inner,
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__image-col {
        max-width: 500px;
    }

    .hero {
        flex-direction: column;
    }

    .hero__split--left {
        padding: 3rem 1.5rem;
        order: 2;
    }

    .hero__split--left::after {
        display: none;
    }

    .hero__split--right {
        order: 1;
        min-height: 400px;
    }

    .hero__image-wrap {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 43, 76, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(200, 164, 94, 0.15);
    }

    .nav__menu.open {
        transform: translateY(0);
    }

    .nav__toggle {
        display: flex;
    }

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

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item:nth-child(4),
    .gallery__item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery__item:nth-child(1) {
        grid-column: 1 / 3;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .about__badge {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin-bottom: 1rem;
    }

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

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

@media (max-width: 480px) {
    .hero__split--left {
        padding: 2.5rem 1.25rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__trust {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .gallery__item:nth-child(1) {
        grid-column: 1;
    }

    .contact__form {
        padding: 1.5rem;
    }
}
