/* ==========================================================================
   NICKY'S HAIR BOUTIQUE
   Landing Page
   ========================================================================== */


/* ==========================================================================
   RESET
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

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

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


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    height: 92px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #111111;
    color: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.site-nav a {
    position: relative;

    padding: 12px 0;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;

    opacity: 0.88;

    transition:
        opacity 160ms ease;
}

.site-nav a:hover {
    opacity: 1;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 20;

    height: 112px;

    background: #202020;
    color: #ffffff;
}

.header-inner {
    width: min(920px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.brand {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    margin-right: 120px;
}

.brand-logo {
    display: block;

    width: 82px;
    height: 82px;

    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.site-nav a {
    padding: 10px 0;

    color: rgba(255, 255, 255, 0.94);

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;

    transition:
        opacity 160ms ease;
}

.site-nav a:hover {
    opacity: 0.65;
}


/* Admin
   ========================================================================== */

.admin-link {
    width: 34px;
    height: 34px;

    margin-left: 30px;

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

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;

    transition:
        border-color 160ms ease,
        background 160ms ease;
}

.admin-link svg {
    width: 15px;
    height: 15px;

    fill: rgba(255, 255, 255, 0.85);
}

.admin-link:hover {
    border-color: rgba(255, 255, 255, 0.6);

    background: rgba(255, 255, 255, 0.06);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;

    height: 608px;
    min-height: 0;

    overflow: hidden;

    background:
        url("/assets/images/hero.jpg") center center / cover no-repeat;
}

.hero-content {
    position: absolute;

    top: 50%;
    left: 66%;

    width: 360px;

    transform: translateY(-50%);

    color: #ffffff;
    text-align: left;
}

.hero h1 {
    margin: 0 0 14px;

    max-width: none;

    color: #ffffff;

    font-family:
        Didot,
        "Bodoni MT",
        "Baskerville",
        "Times New Roman",
        serif;

    font-size: 49px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.hero h1 span {
    display: block;

    font-style: normal;
}

.hero-button {
    min-width: 166px;
    height: 38px;
    padding: 0 22px;

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

    background: #b59a4d;
    color: #ffffff;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 300;

    transition:
        opacity 160ms ease;
}

.hero-button:hover {
    opacity: 0.82;
}


/* ==========================================================================
   HEADER / HERO RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

    .header-inner {
        width: calc(100% - 40px);
    }

    .brand {
        margin-right: 50px;
    }

    .site-nav {
        gap: 20px;
    }

    .hero-content {
        left: auto;
        right: 7%;

        width: 320px;
    }

}


@media (max-width: 700px) {

    .site-header {
        height: 84px;
    }

    .header-inner {
        justify-content: space-between;
    }

    .brand {
        margin-right: 0;
    }

    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .site-nav {
        display: none;
    }

    .admin-link {
        margin-left: 0;
    }

    .hero {
        height: 600px;

        background-position: 42% center;
    }

    .hero-content {
        top: auto;
        right: 24px;
        bottom: 50px;
        left: 24px;

        width: auto;

        transform: none;
    }

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

}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-section {
    padding: 110px 5vw 120px;

    background: #111111;
    color: #ffffff;
}

.section-heading {
    margin: 0 auto 54px;

    max-width: 1300px;

    text-align: center;
}

.section-heading h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.services-grid {
    width: min(1400px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background-color: #282828;
    background-position: center;
    background-size: cover;
}

.service-card-afro {
    background-image:
        url("/assets/images/service-afro.jpg");
}

.service-card-colour {
    background-image:
        url("/assets/images/service-colour.jpg");
}

.service-card-cuts {
    background-image:
        url("/assets/images/service-cuts.jpg");
}

.service-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, 0.72));
}

.service-card-content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding: 42px;
}

.service-card h3 {
    margin: 0 0 18px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 44px;
    font-weight: 400;
}

.service-card a {
    display: inline-block;

    padding-bottom: 6px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.7);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ==========================================================================
   ESSENTIAL LOOKS
   ========================================================================== */

.looks-section {
    padding: 0;

    background: #ffffff;
    color: #181818;
}

.looks-heading {
    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;

    padding: 46px 0 34px;

    text-align: left;
}

.looks-tag {
    margin: 0 0 12px;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.looks-heading h2 {
    margin: 0;

    max-width: none;

    font-family:
        Didot,
        "Bodoni MT",
        Baskerville,
        "Times New Roman",
        serif;

    font-size: clamp(46px, 5.3vw, 74px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;

    white-space: nowrap;
}


/* Image
   ========================================================================== */

.looks-image-wrap {
    width: 100%;

    overflow: hidden;
}

.looks-image {
    display: block;

    width: 100%;
    height: auto;
}


/* Responsive
   ========================================================================== */

@media (max-width: 760px) {

    .looks-heading {
        width: calc(100% - 40px);

        padding:
            38px 0 26px;
    }

    .looks-heading h2 {
        font-size: 42px;
        line-height: 0.98;

        white-space: normal;
    }

    .looks-image {
        width: 100%;
        height: auto;
    }

}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    position: relative;

    padding: 70px 7vw 46px;

    background: #202020;
    color: #ffffff;
}

.footer-inner {
    position: relative;

    width: min(1020px, 100%);
    min-height: 300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-link {
    display: block;
}

.footer-logo {
    width: 190px;
    height: 190px;

    object-fit: contain;
}

.footer-nav {
    margin-top: 20px;

    display: flex;
    align-items: center;
    gap: 52px;
}

.footer-nav a,
.footer-details,
.footer-credit {
    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 300;
}

.footer-nav a {
    font-size: 14px;

    transition:
        opacity 160ms ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}


/* Right
   ========================================================================== */

.footer-right {
    padding-top: 190px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

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

    display: flex;
    align-items: center;
    gap: 26px;
}

.social-link {
    width: 20px;
    height: 20px;

    display: block;
}

.social-link svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
}

.social-link .social-fill {
    fill: #ffffff;
    stroke: none;
}

.footer-details {
    text-align: right;

    font-size: 14px;
    line-height: 1.45;
}

.footer-details p,
.footer-details address {
    margin: 0;

    font-style: normal;
}

.footer-details a {
    display: block;
}


/* Credit
   ========================================================================== */

.footer-credit {
    position: absolute;

    bottom: 0;
    left: 0;

    font-size: 13px;
}


/* Responsive
   ========================================================================== */

@media (max-width: 760px) {

    .site-footer {
        padding:
            60px 24px 40px;
    }

    .footer-inner {
        display: block;
    }

    .footer-logo {
        width: 150px;
        height: 150px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;

        gap: 20px 32px;
    }

    .footer-right {
        padding-top: 60px;

        align-items: center;
    }

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

    .footer-credit {
        position: static;

        margin-top: 60px;

        text-align: center;
    }

}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

    .site-header {
        height: auto;
        min-height: 80px;
        padding: 22px 6vw;
    }

    .site-nav {
        gap: 18px;
    }

    .hero {
        min-height: 620px;
    }

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

    .service-card {
        min-height: 620px;
    }

    .looks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 640px) {

    .site-header {
        justify-content: center;
    }

    .site-nav {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

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

    .services-section,
    .looks-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .service-card {
        min-height: 500px;
    }

    .service-card-content {
        padding: 30px;
    }

    .looks-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

}