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

:root {
    /* Primary Colors - Dark Elegant Theme for Barbershop */
    --primary: #0f0f0f;
    --primary-light: #1a1a1a;
    --primary-dark: #050505;

    /* Secondary Colors - Orange/Red Accents */
    --secondary: #ff6b35;
    --secondary-light: #ff8a5c;
    --secondary-dark: #e55a2b;

    /* Accent Colors - Deep Red */
    --accent: #d32f2f;
    --accent-light: #f44336;
    --accent-dark: #b71c1c;

    /* Neutral Colors */
    --dark: #0f0f0f;
    --gray-dark: #2a2a2a;
    --gray: #555555;
    --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: 'Montserrat', sans-serif;
    --font-secondary: 'PlayfairDisplay', 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(15, 15, 15, 0.1);
    --shadow-md: 0 4px 8px rgba(15, 15, 15, 0.15);
    --shadow-lg: 0 8px 16px rgba(15, 15, 15, 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);
}

/* Service Price Styles */
.service-price {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Section Title Styles */
.section-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--spacing-xlarge);
    font-size: 2.5rem;
    font-family: var(--font-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* Service Badge Styles */
.service-badge {
    background: var(--secondary);
    color: var(--light);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.service-badge--free {
    background: var(--accent);
}

/* Value Card Icon Styles */
.value-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-base);
    color: var(--secondary);
}

/* Contact Card Icon Styles */
.contact-card__icon {
    color: var(--secondary);
    margin-bottom: var(--spacing-base);
}

/* Feature Item Icon Styles */
.feature-item__icon {
    color: var(--secondary);
    font-weight: bold;
    margin-right: var(--spacing-small);
}

/* Form Input Focus Styles */
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Service Item Featured Styles */
.service-item--featured {
    border: 2px solid var(--secondary);
    position: relative;
}

.service-item--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

/* Service Item Free Styles */
.service-item--free {
    border: 2px solid var(--accent);
    position: relative;
}

.service-item--free::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

/* 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;
}

.nav-list__link:hover {
    color: var(--secondary);
    background: rgba(255, 107, 53, 0.1);
}

.nav-list__link:hover::after {
    width: 80%;
}

.header__menu-toggle:hover span {
    background: var(--secondary);
}

.header__menu-toggle.active span {
    background: var(--secondary);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}

.footer__contact a:hover {
    color: var(--secondary);
}

.footer__hours h4 {
    color: var(--secondary);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-base);
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer__list a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-large);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer__links a:hover {
    color: var(--secondary);
    background: rgba(255, 107, 53, 0.1);
}