/* ========================================
   THE FAMILY BARBER SHOP — STYLES
   Deep Navy + Warm Gold | Clean Minimalist
======================================== */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a2e;
    background: #fafaf8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ---------- FOCUS ---------- */
:focus-visible {
    outline: 1.5px solid #c9a84c;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: #1e3a5f;
    color: #fafaf8;
    padding: 10px 20px;
    font-size: 14px;
}

.skip-link:focus {
    left: 0;
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* ---------- SECTION LABEL ---------- */
.section-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    color: #1e3a5f;
    margin-bottom: 48px;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.07);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 0 rgba(30, 58, 95, 0.07);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: #1e3a5f;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: #1e3a5f;
    letter-spacing: 0.01em;
}

.nav ul {
    display: none;
    align-items: center;
    gap: 36px;
}

.nav a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #1a1a2e;
    position: relative;
    transition: color 0.2s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
    width: 100%;
}

.nav a:hover {
    color: #1e3a5f;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1e3a5f !important;
    font-weight: 400;
}

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

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: #1e3a5f;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    
    .nav ul {
        display: flex;
    }
}

/* Mobile nav overlay */
@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #fafaf8;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    
    .nav.open {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    
    .nav a {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 28px;
        font-weight: 400;
    }
    
    .nav-phone {
        font-size: 16px !important;
        gap: 8px;
    }
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #fafaf8;
    overflow: hidden;
}

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

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

.hero-eyebrow {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    color: #1e3a5f;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: #c9a84c;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    color: #4a4a5a;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1e3a5f;
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a8a9a;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(30, 58, 95, 0.15);
}

.hero-right {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    z-index: 1;
    pointer-events: none;
}

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

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 64px;
    height: 64px;
    background: #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        padding: 80px 0;
    }
    
    .hero-right {
        max-width: 520px;
        margin-left: auto;
    }
    
    .hero-image-frame {
        height: 600px;
    }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 14px 28px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background: #1e3a5f;
    color: #fafaf8;
    border: 1px solid #1e3a5f;
}

.btn-primary:hover {
    background: #152d4a;
    border-color: #152d4a;
}

.btn-gold {
    background: #c9a84c;
    color: #1e3a5f;
    border: 1px solid #c9a84c;
    font-weight: 500;
}

.btn-gold:hover {
    background: #b8963e;
    border-color: #b8963e;
}

.btn-ghost {
    background: transparent;
    color: #1e3a5f;
    border: 1px solid rgba(30, 58, 95, 0.25);
}

.btn-ghost:hover {
    border-color: #1e3a5f;
    background: rgba(30, 58, 95, 0.04);
}

.btn-outline {
    background: transparent;
    color: #1e3a5f;
    border: 1px solid rgba(30, 58, 95, 0.3);
}

.btn-outline:hover {
    border-color: #1e3a5f;
    background: rgba(30, 58, 95, 0.04);
}

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

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: #fafaf8;
}

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

.service-card {
    padding: 36px 0;
    border-top: 1px solid rgba(30, 58, 95, 0.1);
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 20px;
    align-items: start;
    transition: padding-left 0.3s ease;
}

.service-card:last-child {
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.service-card:hover {
    padding-left: 16px;
}

.service-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    color: #c9a84c;
    padding-top: 4px;
}

.service-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1e3a5f;
    line-height: 1.3;
}

.service-desc {
    font-size: 14px;
    color: #6a6a7a;
    line-height: 1.7;
    max-width: 340px;
    padding-top: 4px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 48px;
    }
    
    .service-card {
        padding: 32px 0;
    }
}

@media (min-width: 1024px) {
    .services {
        padding: 140px 0;
    }
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: #f3f3ef;
}

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

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

.about-content-col .section-title {
    margin-bottom: 32px;
}

.about-body {
    font-size: 15px;
    line-height: 1.8;
    color: #4a4a5a;
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.value-label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #1e3a5f;
    white-space: nowrap;
}

.value-divider {
    flex: 1;
    height: 1px;
    background: rgba(30, 58, 95, 0.12);
}

@media (min-width: 1024px) {
    .about {
        padding: 140px 0;
    }
    
    .about-inner {
        grid-template-columns: auto 1fr;
        gap: 80px;
    }
    
    .about-image-col {
        max-width: 480px;
    }
    
    .about-image-col img {
        height: 560px;
    }
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 120px 0;
    background: #fafaf8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

@media (min-width: 768px) {
    .gallery-grid {
        gap: 20px;
    }
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 100px 0;
    background: #1e3a5f;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.cta-text {
    max-width: 520px;
}

.cta-eyebrow {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 20px;
}

.cta-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: #fafaf8;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-actions .btn-outline {
    border-color: rgba(250, 250, 248, 0.3);
    color: #fafaf8;
}

.cta-actions .btn-outline:hover {
    border-color: #fafaf8;
    background: rgba(250, 250, 248, 0.08);
}

@media (min-width: 768px) {
    .cta-section {
        padding: 120px 0;
    }
    
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

/* ---------- VISIT ---------- */
.visit {
    padding: 120px 0;
    background: #f3f3ef;
}

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

.visit-left .section-title {
    margin-bottom: 32px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #1a1a2e;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: #c9a84c;
}

.contact-item svg {
    color: #c9a84c;
    flex-shrink: 0;
}

.map-wrap {
    border: 1px solid rgba(30, 58, 95, 0.1);
    overflow: hidden;
}

.map-wrap iframe {
    display: block;
    width: 100%;
}

.visit-right {
    background: #fafaf8;
    padding: 48px;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.visit-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    color: #1e3a5f;
    line-height: 1.25;
    margin-bottom: 16px;
}

.visit-body {
    font-size: 14px;
    color: #6a6a7a;
    line-height: 1.75;
    margin-bottom: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a9a;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1a2e;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(30, 58, 95, 0.15);
    outline: none;
    transition: border-color 0.2s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0c0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #c9a84c;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    margin-top: 8px;
}

.form-success svg {
    color: #c9a84c;
}

.form-success p {
    font-size: 14px;
    color: #1e3a5f;
}

@media (min-width: 1024px) {
    .visit {
        padding: 140px 0;
    }
    
    .visit-inner {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
    
    .visit-right {
        position: sticky;
        top: 100px;
    }
}

/* ---------- FOOTER ---------- */
.footer {
    background: #1a1a2e;
    padding: 64px 0 0;
    color: #fafaf8;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #fafaf8;
    letter-spacing: 0.01em;
}

.footer-tagline {
    font-size: 13px;
    color: #6a6a7a;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: #8a8a9a;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c9a84c;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 13px;
    color: #8a8a9a;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #c9a84c;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 250, 248, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #4a4a5a;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
