/* ============================================
   101 Barbershop Cut & Shave — Stylesheet
   Forest Green + Off-White | Minimalist
   ============================================ */

:root {
    --green-dark: #1a3c2a;
    --green-mid: #2d5a3f;
    --green-light: #3d7a56;
    --green-pale: #e8f0eb;
    --off-white: #f7f5f0;
    --white: #ffffff;
    --cream: #f0ece4;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #9a9a9a;
    --line: rgba(26, 60, 42, 0.12);
    --line-strong: rgba(26, 60, 42, 0.25);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --max-width: 1200px;
    --radius: 4px;
}

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

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

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.section-title--center {
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn--primary {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.btn--primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
}

.btn--white {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--green-pale);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn--full {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: -0.02em;
}

.logo-wordmark {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mid);
}

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

.nav a:not(.btn) {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-mid);
    position: relative;
    transition: color 0.3s ease;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-dark);
    transition: width 0.3s ease;
}

.nav a:not(.btn):hover {
    color: var(--green-dark);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-menu nav a {
    font-size: 0.9rem;
    color: var(--text-mid);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.mobile-menu nav a:hover {
    color: var(--green-dark);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--green-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7195801/pexels-photo-7195801.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 60, 42, 0.92) 0%,
        rgba(26, 60, 42, 0.78) 50%,
        rgba(45, 90, 63, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 72px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Divider
   ============================================ */
.divider {
    padding: 0;
}

.divider-line {
    height: 1px;
    background: var(--line-strong);
}

/* ============================================
   Intro / About
   ============================================ */
.intro {
    padding: 8rem 0;
}

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

.intro-text p {
    color: var(--text-mid);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 6rem 0 8rem;
    background: var(--white);
}

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

.service-card {
    padding: 2.5rem 1.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--green-light);
    background: var(--green-pale);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    color: var(--green-dark);
}

.service-name {
    font-size: 1.3rem;
    color: var(--green-dark);
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 6rem 0 8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1.2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 6 / 13; grid-row: 2 / 3; }

/* ============================================
   Info Strip
   ============================================ */
.info-strip {
    background: var(--green-dark);
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

.info-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.5;
}

.info-value a {
    color: var(--white);
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

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

.contact-info p {
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--green-dark);
}

.contact-link svg {
    color: var(--green-light);
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: var(--off-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-light);
}

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

.form-success {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--green-pale);
    border: 1px solid var(--green-light);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--green-dark);
    text-align: center;
}

.form-success.visible {
    display: block;
}

/* ============================================
   Map
   ============================================ */
.map {
    border-top: 1px solid var(--line);
}

.map iframe {
    filter: grayscale(0.4) contrast(1.05);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--green-dark);
    padding: 3rem 0;
}

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

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-bottom: 0.3rem;
}

.footer-brand .logo-mark {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.footer-brand .logo-wordmark {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-address {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: auto; }

    .gallery-item img {
        height: 280px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

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

    .intro-image {
        order: -1;
    }

    .intro-image img {
        height: 360px;
    }

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

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

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

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

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: 1 / -1;
    }

    .gallery-item img {
        height: 240px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .intro {
        padding: 5rem 0;
    }

    .services,
    .gallery,
    .contact {
        padding: 4rem 0;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
