:root {
    --primary-color: #ffffff;
    --background-dark: #0a0a0a;
    --background-darker: #050505;
    --text-color: #e0e0e0;
    --text-muted: #888888;
    --border-color: #333333;
    --accent-color: #ffffff;
    /* Or a slight gold/silver if needed, white based on image */
    --hover-overlay: rgba(255, 255, 255, 0.1);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.divider {
    height: 1px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 20px 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.mt-4 {
    margin-top: 2rem;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary-color);
}

.main-nav a:hover {
    color: var(--text-muted);
}

.mobile-menu-toggle {
    display: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    /* Barber placeholder */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    /* Image shows text left aligned properly? No, it's centered or slightly left. Let's do left for now based on image layout */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1503951914875-452162b7f30a?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.opening-hours {
    position: absolute;
    top: -30px;
    left: -30px;
    background-color: var(--background-darker);
    border: 2px solid var(--primary-color);
    padding: 30px;
    width: 300px;
    z-index: 2;
}

.opening-hours h3 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* Stats Section */
.stats-section {
    background-color: var(--background-darker);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    margin: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    /* border effect */
    background-color: var(--border-color);
    /* Lines between items */
    margin-top: 50px;
    border: 1px solid var(--border-color);
}

.service-item {
    background-color: var(--background-dark);
    padding: 40px;
    text-align: left;
    transition: background-color 0.3s;
    height: 100%;
}

.service-item:hover {
    background-color: #111;
}

.service-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
}

/* Elegant Section */
.elegant-section {
    background-color: var(--background-dark);
    padding: 0;
}

.elegant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.elegant-image {
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1599351431202-1e0f0137eb5f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.elegant-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elegant-content .subtitle {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.elegant-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.elegant-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 14px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 14px;
}

.progress-bar {
    height: 4px;
    background-color: var(--border-color);
    width: 100%;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

.small-btn {
    text-align: center;
    width: fit-content;
    margin-top: 20px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--background-darker);
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--text-muted);
    background-color: #111;
}

.team-member h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.team-member .role {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.main-footer {
    padding: 50px 0;
    background-color: #000;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a {
    color: var(--primary-color);
    margin: 0 10px;
    font-size: 18px;
}

.main-footer p {
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .elegant-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .opening-hours {
        position: relative;
        /* Reset simpler layout for mobile */
        top: 0;
        left: 0;
        width: 100%;
        margin-top: -50px;
        /* Pull it up a bit if needed or just 20px */
        margin-top: 20px;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Add toggle logic later */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 30px;
    }
}

/* Pricing Section Styles */
.prices-section {
    padding: 100px 0;
    background-color: var(--background-darker);
}

.prices-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.price-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted var(--text-muted);
    margin: 0 15px 5px 15px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
    z-index: 10;
}

/* Enhanced Contact Info in Footer */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.contact-item p a {
    color: var(--text-muted);
}

.contact-item p a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}