:root {
    --bg: #111111;
    --surface: #1e1e1e;
    --text: #f0f0f0;
    --text-muted: #888888;
    --accent: #d4a373; /* Warm beige / salon light */
    --accent-hover: #b88a5e;
    --border: #333333;
    --grid: #222222;
    --sidebar-width: 280px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    display: flex;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@media (hover: hover) {
    .cursor-glow {
        opacity: 1;
    }
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    border-right: 1px solid var(--border);
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 2rem;
}

.brand {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.contact-block {
    margin-bottom: 3rem;
}

.contact-block p {
    color: #b6b6b6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.phone {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.instagram {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.nav-link {
    font-size: 1.1rem;
    opacity: 0.7;
    position: relative;
    width: fit-content;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    display: block;
    text-align: center;
    background-color: var(--text);
    color: var(--bg);
    padding: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--bg);
}

/* Main Content */
.content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    width: calc(100% - var(--sidebar-width));
}

section {
    padding: 6rem 4rem;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-header .line {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content {
    display: flex;
    width: 100%;
    height: 100vh;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 400px;
}

.hero-visual {
    flex: 1;
    position: relative;
    border-left: 1px solid var(--border);
    overflow: hidden;
    background-color: var(--surface);
}

.hair-strand {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.hair-strand path {
    stroke-dasharray: 200;
    animation: drawStrand 10s linear infinite;
}

@keyframes drawStrand {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

.mirror-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 70%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    z-index: 2;
}

/* Services Selector */
.service-selector {
    display: flex;
    gap: 4rem;
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 300px;
    flex-shrink: 0;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    text-align: left;
    padding: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.02);
}

.tab-content-container {
    flex-grow: 1;
    position: relative;
    min-height: 250px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.tab-pane.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: translateY(0);
}

.tab-pane h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.tab-pane p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.call-prompt {
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--accent);
}

/* Booking */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.booking-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 1.5rem 0 3rem 0;
    max-width: 400px;
}

.huge-phone {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    display: block;
}

.huge-phone:hover {
    color: var(--text);
    text-shadow: 0 0 20px rgba(212, 163, 115, 0.3);
}

.booking-info {
    display: flex;
    align-items: center;
    padding: 3rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
}

.booking-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Location */
.location-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.map-container {
    border: 1px solid var(--border);
    position: relative;
    min-height: 400px;
    background: #1b1b1b;
}

.address-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address-details h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.address-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.nav-link-btn {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
    width: fit-content;
}

/* Layout Fallback / Micro */
.agentic-seo {
    padding: 2rem 4rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: #9a9a9a;
}

/* Footer */
.site-footer {
    padding: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.peter-footer {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.peter-footer a {
    color: var(--text-muted);
}

.peter-footer a:hover {
    color: var(--text);
}

.sub-text {
    display: block;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-selector {
        flex-direction: column;
        gap: 2rem;
    }
    .tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--border);
        padding-bottom: 1rem;
    }
    .tab-btn {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.5rem 1rem;
    }
    .tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent);
        background-color: transparent;
    }
    .hero-content {
        flex-direction: column;
    }
    .hero-visual {
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .location-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }
    body {
        flex-direction: column;
    }
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    .sidebar-inner {
        padding: 1rem;
    }
    .brand {
        margin-bottom: 1.5rem;
    }
    .nav, .contact-block {
        display: none; /* Simplify on mobile, focus on primary CTA */
    }
    .content {
        width: 100%;
        margin-left: 0;
    }
    section {
        padding: 4rem 2rem;
    }
    .hero-text {
        padding: 2rem;
    }
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .huge-phone {
        font-size: 2.5rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .peter-footer {
        text-align: left;
    }
}

.map-container iframe {
    display: block;
    min-height: 400px;
    filter: grayscale(100%) contrast(90%) brightness(80%);
}

.map-label {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid rgba(212, 163, 115, 0.45);
    color: var(--text);
    padding: 0.85rem 1rem;
    text-align: center;
    box-shadow: 0 18px 60px rgba(0,0,0,0.4);
    pointer-events: none;
}

.map-label span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.agentic-seo strong {
    color: var(--text-muted);
}

.peter-footer,
.peter-footer a,
.copyright,
.sub-text {
    color: #9b9b9b;
}
