/* ================================
   TIM BARBER - Noir & Blanc Theme
   ================================ */
:root {
    --color-bg-dark: #0d0d0d;
    --color-bg-card: #181818;
    --color-text-main: #f0f0f0;
    --color-text-muted: #888888;
    --color-accent: #ffffff;
    --color-accent-hover: #cccccc;
    --color-border: #2a2a2a;

    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.text-accent {
    color: var(--color-accent);
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
}

/* =====================
   Navigation
   ===================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%) contrast(120%);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 4px;
    color: var(--color-text-muted);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffffff;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* =====================
   Buttons
   ===================== */
.btn {
    display: inline-block;
    padding: 11px 28px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #0d0d0d;
}

/* =====================
   Hero Section
   ===================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.82)),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
}

.hero-content {
    max-width: 820px;
    z-index: 1;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    color: #fff;
}

.hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

/* =====================
   Section Titles
   ===================== */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title .overline {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.4rem;
}

/* =====================
   Footer
   ===================== */
footer {
    background-color: #080808;
    padding: 70px 0 24px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3 {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p,
.footer-col ul li {
    color: var(--color-text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

/* =====================
   Animations
   ===================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   Divider (white bar)
   ===================== */
.divider {
    width: 40px;
    height: 2px;
    background: #ffffff;
    margin: 16px 0;
}

.divider.center {
    margin: 16px auto;
}

/* =====================
   Mobile Nav
   ===================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(13, 13, 13, 0.99);
        flex-direction: column;
        justify-content: center;
        gap: 36px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}