/* ============================================
   ALL-STAR BARBER SHOP — Styles
   Bold editorial · Burgundy + Blush
   ============================================ */

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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fdf6f0;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #7b2d3b;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
    z-index: 200;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* --- Accent (burgundy) --- */
.accent {
    color: #7b2d3b;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.72rem;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 0.85rem;
}

.btn-burgundy {
    background: #7b2d3b;
    color: #fff;
    border-color: #7b2d3b;
}
.btn-burgundy:hover {
    background: #5e212c;
    border-color: #5e212c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-blush {
    background: #f4c2c2;
    color: #1a1a1a;
    border-color: #f4c2c2;
}
.btn-blush:hover {
    background: #e8a8a8;
    border-color: #e8a8a8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 194, 194, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.1);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: #7b2d3b;
    letter-spacing: -0.01em;
}
.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.logo-light { color: #f4c2c2; }

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-list a {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1a1a;
    position: relative;
    transition: color 0.3s ease;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7b2d3b;
    transition: width 0.3s ease;
}
.nav-list a:hover { color: #7b2d3b; }
.nav-list a:hover::after { width: 100%; }

/* Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
    transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    left: 0;
    transition: all 0.3s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1a1a1a;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 26, 26, 0.55) 0%,
            rgba(26, 26, 26, 0.75) 100%
        ),
        url('https://images.pexels.com/photos/7750108/pexels-photo-7750108.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080')
        center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 1.5rem 4rem;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #f4c2c2;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}
.hero-headline .accent {
    color: #f4c2c2;
    font-style: italic;
    font-weight: 700;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.trust-item svg {
    width: 16px;
    height: 16px;
    color: #f4c2c2;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.hero-scroll svg {
    width: 20px;
    height: 20px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* --- Section Shared --- */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #7b2d3b;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a1a1a;
    margin-bottom: 1.2rem;
}
.section-title .accent {
    font-style: italic;
    font-weight: 700;
}

.section-lead {
    font-size: 1.1rem;
    color: #555;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* --- Services --- */
.services {
    padding: 7rem 0;
    background: #fdf6f0;
}
.services .container {
    text-align: center;
}
.services .section-lead {
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    border: 1px solid rgba(123, 45, 59, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #7b2d3b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123, 45, 59, 0.1);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    color: #7b2d3b;
    margin-bottom: 1.5rem;
}
.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

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

/* --- About --- */
.about {
    padding: 7rem 0;
    background: #1a1a1a;
    overflow: hidden;
}

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

.about-image-wrapper {
    position: relative;
}
.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: #7b2d3b;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-title {
    color: #fff;
}
.about-content .section-label {
    color: #f4c2c2;
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-values {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}
.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.value-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #7b2d3b;
    line-height: 1;
}
.value-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Gallery --- */
.gallery {
    padding: 7rem 0 5rem;
    background: #fdf6f0;
}
.gallery .container {
    text-align: center;
    margin-bottom: 3rem;
}
.gallery .section-lead { margin-left: auto; margin-right: auto; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.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: 1 / 4; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 4 / 9; grid-row: 2 / 3; }

/* --- Visit --- */
.visit {
    padding: 7rem 0;
    background: #fff;
}

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

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

.visit-details {
    font-style: normal;
    margin-bottom: 2.5rem;
}
.visit-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}
.visit-row svg {
    width: 20px;
    height: 20px;
    color: #7b2d3b;
    flex-shrink: 0;
    margin-top: 2px;
}
.visit-row a {
    color: #7b2d3b;
    font-weight: 500;
    transition: color 0.3s ease;
}
.visit-row a:hover {
    color: #5e212c;
    text-decoration: underline;
}

.visit-hours {
    background: #fdf6f0;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(123, 45, 59, 0.08);
}
.hours-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    font-size: 0.95rem;
}
.hours-list li:last-child {
    border-bottom: none;
}
.hours-list .day {
    color: #555;
    font-weight: 500;
}
.hours-list .time {
    color: #1a1a1a;
    font-weight: 600;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.visit-map iframe {
    width: 100%;
    height: 500px;
    display: block;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a1a;
    padding: 3rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer-brand {
    max-width: 320px;
}
.footer-brand .logo {
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}
.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}
.footer-contact a {
    color: #f4c2c2;
    transition: color 0.3s ease;
}
.footer-contact a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    text-align: center;
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
    }
    .gallery-item:nth-child(1) { grid-column: 1 / 5; }
    .gallery-item:nth-child(2) { grid-column: 5 / 7; }
    .gallery-item:nth-child(3) { grid-column: 1 / 3; }
    .gallery-item:nth-child(4) { grid-column: 3 / 5; }
    .gallery-item:nth-child(5) { grid-column: 5 / 7; }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #fdf6f0;
        flex-direction: column;
        justify-content: center;
        gap: 1.8rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 105;
    }
    .nav-list.open {
        transform: translateX(0);
    }
    .nav-list a {
        font-size: 1rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper {
        max-height: 400px;
    }
    .about-image-wrapper img {
        height: 400px;
    }

    .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; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .visit-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }
    .hero-trust {
        flex-direction: column;
        gap: 0.8rem;
    }
    .about-values {
        flex-direction: column;
        gap: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item:nth-child(n) {
        grid-column: auto;
    }
    .gallery-item:nth-child(1) { grid-column: auto; }
}
