/* ============================================
   ORIGINAL BARBERSHOP
   Neon barber-pole theme — dark, brick, blue/red neon
   S3-ready: all static, no server dependencies
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-dark: #111111;
    --bg-section: #161616;
    --bg-card: #1c1a18;
    --bg-card-hover: #252220;
    --bg-brick: #1a1512;
    --neon-blue: #4da6ff;
    --neon-blue-bright: #7ec8ff;
    --neon-red: #e03c3c;
    --neon-red-bright: #ff6b6b;
    --neon-white: #f0f0ff;
    --accent: var(--neon-blue);
    --accent-light: var(--neon-blue-bright);
    --text: #e8e4e0;
    --text-muted: #9e9590;
    --text-dim: #6b6360;
    --border: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(77, 166, 255, 0.25);
    --glow-blue: 0 0 10px rgba(77, 166, 255, 0.3), 0 0 30px rgba(77, 166, 255, 0.15);
    --glow-red: 0 0 10px rgba(224, 60, 60, 0.3), 0 0 30px rgba(224, 60, 60, 0.15);
    --glow-blue-strong: 0 0 8px rgba(77, 166, 255, 0.5), 0 0 24px rgba(77, 166, 255, 0.25), 0 0 48px rgba(77, 166, 255, 0.1);
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Alex Brush', cursive;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
}

a:hover {
    color: var(--neon-blue-bright);
    text-shadow: var(--glow-blue);
}

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

/* --- Utility --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--neon-red);
    text-shadow: var(--glow-red);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.barber-pole {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(224, 60, 60, 0.3)) drop-shadow(0 0 4px rgba(77, 166, 255, 0.3));
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.logo-original,
.logo-barbershop {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.logo-og {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--neon-red);
    text-shadow: var(--glow-red);
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition), text-shadow var(--transition);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: var(--glow-blue);
    transition: width 0.25s ease;
}

.nav__links a:hover {
    color: var(--neon-blue-bright);
    text-shadow: var(--glow-blue);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.85rem;
}

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

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn--primary {
    background: var(--neon-red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(224, 60, 60, 0.3);
}

.btn--primary:hover {
    background: var(--neon-red-bright);
    color: #fff;
    box-shadow: var(--glow-red), 0 6px 24px rgba(224, 60, 60, 0.35);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--border-accent);
}

.btn--outline:hover {
    background: rgba(77, 166, 255, 0.06);
    border-color: var(--neon-blue);
    color: var(--neon-blue-bright);
    box-shadow: var(--glow-blue);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.75)),
        url('images/ribbon_background.jpeg') center/cover no-repeat;
    z-index: 0;
}


.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    max-width: 700px;
}

.hero__label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--bg-section);
}

.section__label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 56px;
    text-align: center;
}

.section__title--left {
    text-align: left;
}

/* --- Services --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(77, 166, 255, 0.05);
}

.service-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--neon-white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card__price {
    display: inline-block;
    background: rgba(224, 60, 60, 0.1);
    color: var(--neon-red);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(224, 60, 60, 0.25);
}

/* --- Gallery --- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

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

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

.gallery__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--bg-card);
    border: 2px dashed rgba(77, 166, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    gap: 8px;
}

.gallery__placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.gallery__placeholder p {
    font-size: 0.8rem;
}

/* --- Hours --- */
.hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hours__table {
    margin-bottom: 32px;
}

.hours__row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.hours__row span:last-child {
    color: var(--neon-blue);
    font-weight: 500;
}

.hours__address {
    color: var(--text-muted);
    line-height: 1.8;
}

.hours__address strong {
    color: var(--text);
}

.hours__map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 350px;
}

.hours__map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
    border-radius: var(--radius);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: var(--bg-card);
    border: 2px dashed rgba(77, 166, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    gap: 8px;
}

.map-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.map-placeholder p {
    font-size: 0.8rem;
}

/* --- About --- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about__image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about__content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --- CTA --- */
.cta {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(224, 60, 60, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 30% 70%, rgba(77, 166, 255, 0.04) 0%, transparent 50%),
        var(--bg-dark);
    text-align: center;
}

.cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta__sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta__or {
    margin-top: 20px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --- Contact --- */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.contact__item h3 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact__item a {
    font-size: 1.05rem;
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Footer --- */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .hours__grid,
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        max-width: 400px;
    }

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

    .gallery__item--wide {
        grid-column: span 2;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

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

    .nav__toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav__links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(17, 17, 17, 0.97);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav__cta.active {
        display: inline-block;
        position: absolute;
        top: calc(72px + 200px);
        left: 24px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section {
        padding: 72px 0;
    }

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

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

    .gallery__item--wide {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }
}
