
:root {
    --bg: #101010;
    --bg-card: #191919;
    --gold: #c6a15b;
    --gold-light: #e0c184;
    --text: #f5f2ec;
    --muted: #aaa49a;
    --font-title: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section {
    padding: 110px 0;
}

/* HEADER */


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.navbar {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-family: var(--font-title);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo span {
    color: var(--gold);
}

.logo small {
    display: block;
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
    margin-top: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
    color: #ddd;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s;
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.btn-outline:hover {
    background: var(--gold);
    color: #111;
}


.btn-gold {
    background: linear-gradient(
        135deg,
        var(--gold),
        var(--gold-light)
    );
    color: #111;
    border: 1px solid var(--gold-light);
    box-shadow: 0 5px 18px rgba(198, 161, 91, 0.15);
    transition: all .35s ease;
}

.btn-gold:hover {
    background: var(--gold-light);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(198, 161, 91, 0.3);
}


.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-text {
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 850px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.85) 38%, rgba(10,10,10,.15) 100%),
        url("images/hero-barber.png") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg) 0%, transparent 22%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.12;
    margin: 25px 0;
    max-width: 700px;
}

.hero h1 span,
.about h2 span,
.section-heading h2 span,
.contact h2 span {
    color: var(--gold);
}

.hero-content > p {
    max-width: 490px;
    color: #c5c0b8;
    font-size: 15px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.hero-info {
    display: flex;
    gap: 45px;
    margin-top: 90px;
    flex-wrap: wrap;
}

.hero-info div {
    display: flex;
    flex-direction: column;
}

.hero-info strong {
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 24px;
}

.hero-info span {
    color: #bbb;
    font-size: 11px;
}

/* ABOUT */

.about {
    background: #151515;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about h2,
.section-heading h2 {
    font-family: var(--font-title);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin: 20px 0;
}

.about-text p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 500px;
}

.about-text .btn {
    margin-top: 20px;
}

.about-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(198,161,91,.5);
    background:
        radial-gradient(circle, rgba(198,161,91,.12), transparent 65%),
        #101010;
    font-family: var(--font-title);
}

.about-card span {
    color: var(--gold);
    letter-spacing: 8px;
    font-size: 25px;
}

.about-card strong {
    font-size: 65px;
    letter-spacing: 4px;
}

.about-card small {
    font-family: var(--font-body);
    color: var(--muted);
    letter-spacing: 4px;
    font-size: 10px;
}

/* SERVICES */

.services {
    background: var(--bg);
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 14px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


.service-card {
    background: linear-gradient(
        145deg,
        #1c1c1c,
        #111111
    );
    padding: 35px 25px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 8px;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}


.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-7px);
}

.service-number {
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 25px;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 21px;
    margin: 25px 0 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    min-height: 75px;
}


.service-card strong {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-title);
    font-size: 25px;
    font-weight: 700;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(198, 161, 91, 0.2);
    letter-spacing: 0.5px;
}


/* GALLERY */

.gallery {
    background: #151515;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.gallery-item {
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(198, 161, 91, 0.12);
    transition: border-color .4s ease;
}

.gallery-item:hover {
    border-color: var(--gold);
}




.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 70%);
}

.gallery-item span {
    position: relative;
    font-family: var(--font-title);
    font-size: 23px;
}

.gallery-one {
    background-image: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=800");
}

.gallery-two {
    background-image: url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?w=800");
}

.gallery-three {
    background-image: url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?w=800");
}

/* CONTACT */

.contact {
    background:
        linear-gradient(rgba(10,10,10,.88), rgba(10,10,10,.94)),
        url("images/hero-barber.png") center/cover no-repeat;
    text-align: center;
}

.contact h2 {
    font-family: var(--font-title);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.2;
    margin: 25px 0;
}

.contact p {
    color: var(--muted);
    margin-bottom: 30px;
}

/* FOOTER */

.footer {
    background: #090909;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer p,
.footer-content > a:last-child {
    color: var(--muted);
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 950px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .navbar {
        min-height: 78px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar > .btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        padding: 25px;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: 780px;
        background-position: 62% center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-info {
        gap: 22px;
        margin-top: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        min-height: 280px;
    }

    .service-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 300px;
    }

    .section {
        padding: 75px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 43px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }
}

.gallery-item {
    background-size: 100% 100%;
    transition: background-size .6s ease, border-color .4s ease;
}

.gallery-item:hover {
    background-size: 110% 110%;
}
