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

:root {
    /* Primary Colors - Barber Shop Theme */
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --primary-dark: #0a0a0a;

    /* Secondary Colors - Gold Accents */
    --secondary: #d4af37;
    --secondary-light: #f4d03f;
    --secondary-dark: #b8860b;

    /* Accent Colors - Warm Details */
    --accent: #8b4513;
    --accent-light: #a0522d;
    --accent-dark: #654321;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #f8f8f8;
    --light: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);

    /* Typography */
    --font-primary: 'PlayfairDisplay', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-body: 'Alegreya', serif;
    --font-size-small: 14px;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-heading: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(26, 26, 26, 0.1);
    --shadow-md: 0 4px 8px rgba(26, 26, 26, 0.15);
    --shadow-lg: 0 8px 16px rgba(26, 26, 26, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Spacing */
    --spacing-small: 8px;
    --spacing-base: 16px;
    --spacing-large: 24px;
    --spacing-xlarge: 48px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-base);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

/* White headings for header and footer */
.header h1,
.header h2,
.header h3,
.header h4,
.header h5,
.header h6,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: var(--light);
}

/* White headings for hero sections */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero-page h1,
.hero-page h2,
.hero-page h3,
.hero-page h4,
.hero-page h5,
.hero-page h6 {
    color: var(--light);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-family: var(--font-body);
    margin-bottom: var(--spacing-base);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--light);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--gradient-secondary);
    color: var(--light);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content */
.main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Utility Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --font-size-heading: 28px;
    }

    .container {
        padding: 0 var(--spacing-large);
    }
}

/* Mobile menu state */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Header scroll effect */
.header {
    background: rgba(26, 26, 26, 0.95);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.98);
}

@media (max-width: 768px) {
    :root {
        --font-size-heading: 24px;
        --spacing-xlarge: 32px;
    }

    .main {
        margin-top: 70px;
    }

    .header__menu-toggle {
        display: flex !important;
    }
    
    .header__nav {
        display: block !important;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
        --spacing-large: 16px;
        --font-size-heading: 24px;
        --spacing-xlarge: 32px;
    }

    .main {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: var(--font-size-small);
    }
}

@font-face {
    font-family: 'Exo2';
    src: url('../fonts/Exo2-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}