:root {
    --ink: #191715;
    --cream: #f4efe6;
    --cream-dark: #ece4d6;
    --tan: #c9a479;
    --tan-dark: #b48b5e;
    --white: #ffffff;
    --text-soft: #6b6459;
    --line: rgba(25, 23, 21, 0.1);

    --serif: 'Playfair Display', serif;
    --script: 'Petit Formal', cursive;
    --sans: 'Jost', sans-serif;
}

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

body {
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 26px 0;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content:space-between;
}

.logo {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--white);
}

.logo img {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero {
    min-height: 640px;

    display: flex;
    align-items: center;

    background: linear-gradient(100deg, rgba(10, 9, 8, 0.72) 0%,
    rgba(10, 9, 8, 0.45) 42%,
    rgba(10, 9, 8, 0.05) 68%), url("");

    color: var(--white);
}

.hero .script {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 64px;
    display: block;
    color: var(--white);
    line-height: 1.2;
    margin-top: -4px;
}

.hero-content {
    max-width: 560px;
    padding-top: 100px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: var(--serif);
    font-size: 58px;
    font-weight: 500;
    line-height: 1.05;
    margin-top: 14px;
}

.hero-content > p:first-child {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-description {
    margin-top: 22px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 34px;

    background-color: var(--tan);
    color: var(--white);

    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all .25s ease;
}

.button:hover {
    background-color: var(--tan-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


#diensten {
    padding: 100px 0;
}

#diensten h2 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
}

.divider {
    width: 56px;
    height: 2px;
    background-color: var(--tan);
    margin: 16px auto 0;
}

.main-services {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 24px;
    margin-top: 56px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.main-services article {
    background-color: var(--cream);
    padding: 36px;
}

.main-services h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.main-services article > p:first-of-type {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 300;
}

.price {
    margin-top: 24px;
    color: var(--tan-dark);
    font-family: var(--serif);
    font-size: 18px;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 16px;
}

.duration {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-soft);
}

#diensten > .container > h3 {
    margin-top: 70px;
    text-align: center;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
}

.haircut-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.haircut-options article {
    border: 1px solid var(--line);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.haircut-options h4 {
    font-size: 14px;
    font-weight: 500;
}

.haircut-options p {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--tan-dark);
}

.extra-care {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.extra-care article {
    background-color: var(--cream-dark);
    padding: 28px;
    text-align: center;
}

.extra-care h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.features {
    background-color: var(--cream);
    padding: 70px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 18px;

    border: 1px solid var(--tan);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon span {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--tan-dark);
}

.feature h3 {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.feature p {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 300;
}

.feature-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-soft);
}

.about {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tan);
    font-weight: 500;
}

.about-content h2 {
    margin-top: 14px;

    font-family: var(--serif);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
}

.about-content p {
    margin-top: 20px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 300;
}

.nav-links.menu-openen {
    display: flex;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 40px;
    height: 40px;

    padding: 0;

    background: transparent;
    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    background-color: var(--white);
}

.section-title {
    font-family: var(--serif);
    font-size: 34px;
    text-align: center;
    letter-spacing: 1px;
}

.galerij {
    background: var(--ink);
    padding: 100px 0 90px;
    color: var(--white);
}

.galerij-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
    gap: 16px;
    justify-content: center;
    margin-top: 56px;
}

.galerij-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.galerij-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galerij-item img:hover {
    transform: scale(1.06);
}

.contact {
    background: var(--cream);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 900px;
    margin: 60px auto 0;
}

.contact-text h3 {
    font-family: var(--serif);
    font-size: 28px;
    margin-bottom: 18px;
}

.contact-text p {
    color: var(--text-soft);
}

.contact-details p {
    margin-bottom: 8px;
}

.contact-details a {
    color: var(--ink);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--tan-dark);
}

.contact-details strong {
    display: block;
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background: var(--ink);
    color: var(--white);
    padding: 50px 0 30px;
}

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

.footer-logo img {
    width: 130px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 30px 0;
}

.footer-links a {
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--tan);
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
    .nav-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        right: 22px;

        flex-direction: column;
        gap: 18px;

        padding: 24px 28px;

        background: var(--ink);
    }
    .nav-links.menu-openen {
        display: flex;
    }
    .nav-wrap .menu-toggle {
        display: flex;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-services {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 22px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero .script {
        font-size: 42px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .haircut-options {
        grid-template-columns: 1fr;
    }
    .extra-care {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 600px;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 45px;
    }
    .contact {
        padding: 70px 0;
    }
}