/* ==========================================================================
   Men's Cuts Only - Mobile Haircuts
   Dark theme, steel blue accents, mobile-first design
   ========================================================================== */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #7B8FD6;
    --accent-light: #A3B1F5;
    --accent-dark: #5A6FBF;
    --border: #2a2a2a;
    --border-light: #3a3a3a;
    --gold: #f59e0b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.5);
    --transition: 0.3s ease;
    --max-width: 1200px;
    --header-height: 60px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--accent-light);
    line-height: 1.15;
}

.site-logo .logo-main {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--accent-light);
}

.site-logo .logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.site-logo svg {
    flex-shrink: 0;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* Desktop Nav */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-light);
    background-color: rgba(59, 130, 246, 0.1);
}

/* --- Mobile Menu --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0;
    }

    .main-nav a {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }
}

/* --- Main Content --- */
.main-content {
    padding-top: var(--header-height);
}

/* --- Sections --- */
.section {
    padding: 3rem 1rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-alt {
    background-color: var(--bg-secondary);
}

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

/* --- Hero --- */
.hero {
    padding: 4rem 1rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--accent-light);
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero .hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-light);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* --- Feature Cards --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}

.feature-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-text .highlight {
    color: var(--accent-light);
    font-weight: 600;
}

/* --- Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background-color: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.benefit-item svg {
    flex-shrink: 0;
    color: var(--accent-light);
    margin-top: 2px;
}

.benefit-item span {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.review-stars svg {
    color: var(--gold);
}

.review-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-card .reviewer {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.review-cta {
    text-align: center;
    margin-top: 2rem;
}

/* --- Gallery --- */
.gallery-container {
    margin-top: 2rem;
    position: relative;
}

.gallery-main {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--bg-card);
    aspect-ratio: 4 / 5;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
}

.gallery-nav:hover {
    background-color: rgba(123, 143, 214, 0.5);
    border-color: var(--accent);
}

.gallery-prev {
    left: 0.75rem;
}

.gallery-next {
    right: 0.75rem;
}

.gallery-counter {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.gallery-thumb {
    width: 64px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

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

/* --- Pricing --- */
.pricing-card {
    max-width: 480px;
    margin: 2rem auto 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-light);
    margin: 0.5rem 0;
}

.pricing-card .price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    font-size: 0.925rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li svg {
    color: var(--accent-light);
    flex-shrink: 0;
}

/* --- Service Area --- */
.service-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.service-area-item svg {
    color: var(--accent-light);
    flex-shrink: 0;
}

.service-area-item span {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

/* --- Hours --- */
.hours-card {
    max-width: 480px;
    margin: 2rem auto 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    text-align: center;
}

.hours-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.hours-card .hours-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-light);
}

/* --- Article --- */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content em {
    color: var(--text-primary);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-inner p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-inner .footer-cta {
    margin-bottom: 1.5rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, rgba(123, 143, 214, 0.15) 0%, rgba(123, 143, 214, 0.05) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-banner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 4rem 1rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- 404 --- */
.error-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .hero-subtitle {
        font-size: 1rem;
    }

    .hero .hero-desc {
        font-size: 0.925rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-photo {
        order: -1;
    }

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

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

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-prev {
        left: 0.5rem;
    }

    .gallery-next {
        right: 0.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .error-page h1 {
        font-size: 4rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }

    .cta-banner {
        padding: 2rem 1.25rem;
    }

    .cta-banner h3 {
        font-size: 1.15rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero .hero-subtitle {
        font-size: 0.925rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .gallery-thumb {
        width: 48px;
        height: 60px;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }