/*
Theme Name: BarberPro 2026
Theme URI: https://barberpro.ru
Description: Premium Custom Theme for BarberPro. Ru (Minimal Swiss Style). High performance, light mode, clean code.
Version: 1.2.0 (Barber Swiss)
Author: Antigravity (Lead Creative Dev)
Author URI: https://deepmind.google
Text Domain: barberpro
*/

:root {
    /* --- TYPOGRAPHY (Barber Swiss Style) --- */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'DM Serif Display', serif;
    /* Editorial accent */

    /* --- PALETTE (Premium Light Mode) --- */
    --color-bg: #F9F8F6;
    /* Premium Paper/Bone White */
    --color-surface: #FFFFFF;
    --color-text-main: #1A1A1A;
    --color-text-muted: #666666;
    --color-accent: #B5935B;
    /* Refined Gold/Brass */
    --color-accent-dark: #8E7041;
    --color-border: #E8E4E0;
    /* Hairline color */

    /* --- SPACING (Fluid) --- */
    --space-xs: clamp(0.5rem, 1vw, 0.75rem);
    --space-sm: clamp(1rem, 2vw, 1.5rem);
    --space-md: clamp(2.5rem, 5vw, 4rem);
    --space-lg: clamp(5rem, 10vw, 8rem);
    --space-xl: clamp(8rem, 15vw, 12rem);

    /* --- ANIMATIONS --- */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    background-color: var(--color-bg);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Paper Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    /* Tight Swiss spacing */
}

.text-serif {
    font-family: var(--font-accent);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-style: italic;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
}

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

/* Utilities */
.container {
    width: 92%;
    max-width: 1600px;
    /* Slightly wider for modern big screens */
    margin: 0 auto;
}

.hairline {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: var(--space-md) 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #DDD;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}