/* =========================================
   GG BARBER
   Main Stylesheet
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400&family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Italianno&display=swap');
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-script {
    position: relative;
    z-index: 2;

    display: block;
    margin-bottom: -18px;

    font-family: 'Italianno', cursive;
    font-size: clamp(63px, 9vw, 115px);
    font-weight: 400;
    line-height: 0.8;

    color: #f5f1ea;
    white-space: nowrap;

    transform: translateY(-10px);
}

.hero-title h1 {
    position: relative;
    z-index: 1;
    margin: 0;

    font-family: 'DM Serif Display', serif;
    font-size: 65px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.28em;
    color: var(--white);
    white-space: nowrap;
}
.hero-title h1 {
    font-variant-ligatures: none;
}
:root {
    --black: #0a0a0a;
    --black-light: #121212;
    --dark: #181818;

    --white: #ffffff;
    --off-white: #f4f4f2;

    --gray: #a1a1a1;
    --gray-light: #d6d6d6;
    --gray-dark: #292929;

    --accent: #b7b7b2;

    --container: 1180px;
    --radius: 8px;
    --transition: 0.3s ease;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(10, 10, 10, 0.94);
    border-bottom: 1px solid #222222;

    backdrop-filter: blur(12px);
}

.header-content {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    font-weight: 400;
}

/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #c8c8c8;
    font-size: 0.88rem;
    font-weight: 500;

    transition: var(--transition);
}

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

/* BOOKING BUTTON */

.booking-btn,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

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

    padding: 13px 22px;
    border: 1px solid var(--white);
    border-radius: 5px;

    font-weight: 700;
    font-size: 0.85rem;

    transition: var(--transition);
}

.booking-btn:hover,
.primary-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

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

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.98) 0%,
            rgba(10, 10, 10, 0.86) 55%,
            rgba(10, 10, 10, 0.55) 100%
        ),
        linear-gradient(
            135deg,
            #0a0a0a 0%,
            #1b1b1b 100%
        );
}

/* Subtle decorative detail */

.hero::after {
    content: "";

    position: absolute;
    right: -180px;
    top: -180px;

    width: 500px;
    height: 650px;

    background:
        linear-gradient(
            135deg,
            transparent 35%,
            rgba(255, 255, 255, 0.035) 35%,
            rgba(255, 255, 255, 0.035) 45%,
            transparent 45%,
            transparent 55%,
            rgba(255, 255, 255, 0.025) 55%,
            rgba(255, 255, 255, 0.025) 65%,
            transparent 65%
        );

    transform: rotate(10deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 720px;
}

.eyebrow {
    color: var(--gray);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3.4rem, 7vw, 6rem);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -2px;
}

.hero h1 span {
    font-style: italic;
    color: var(--gray-light);
}

.hero-description {
    max-width: 560px;
    margin-top: 28px;

    color: #bcbcbc;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 35px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border: 1px solid #555555;
    border-radius: 5px;

    color: var(--white);

    font-weight: 600;
    font-size: 0.85rem;

    transition: var(--transition);
}

.secondary-btn:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

/* =========================================
   SECTIONS
========================================= */

.services-section,
.barbers-section,
.gallery-section,
.contact-section {
    padding: 110px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -1px;
}

.section-heading p:last-child {
    margin-top: 16px;
    color: var(--gray);
}

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

.services-section {
    background: var(--off-white);
    color: var(--black);
}

.services-section .section-heading p:last-child {
    color: #666666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;

    background: var(--white);
    border: 1px solid #dedede;
    border-radius: var(--radius);

    padding: 30px;

    min-height: 250px;

    display: flex;
    flex-direction: column;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.service-card.featured {
    background: var(--black);
    color: var(--white);
    border-color: #3a3a3a;
}

.service-category {
    color: #777777;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.featured .service-category {
    color: #bdbdbd;
}

.service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.service-card p {
    color: #666666;
    font-size: 0.9rem;
}

.featured p {
    color: #aaaaaa;
}

.service-info {
    margin-top: auto;
    padding-top: 25px;

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

    border-top: 1px solid #dddddd;
}

.featured .service-info {
    border-color: #333333;
}

.service-info span {
    color: #777777;
    font-size: 0.82rem;
}

.featured .service-info span {
    color: #999999;
}

.service-info strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222222;
}

.featured .service-info strong {
    color: var(--white);
}

.services-action {
    margin-top: 35px;
    text-align: center;
}

/* =========================================
   BARBERS
========================================= */

.barbers-section {
    background:
        linear-gradient(
            135deg,
            #0a0a0a,
            #171717
        );
}

.barbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.barber-card {
    background: #151515;
    border: 1px solid #292929;
    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);
}

.barber-card:hover {
    transform: translateY(-6px);
    border-color: #555555;
}

.barber-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #222222;
}

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

    filter: grayscale(100%);

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.barber-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.barber-card h3 {
    padding: 18px 18px 2px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.barber-card p {
    padding: 0 18px 20px;
    color: #999999;
    font-size: 0.8rem;
    font-weight: 500;
}

/* =========================================
   GALLERY
========================================= */

.gallery-section {
    background: #0d0d0d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: grayscale(100%);

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

/* =========================================
   BOOKING CTA
========================================= */

.booking-cta {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #0a0a0a,
            #171717
        );

    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
}

.booking-cta-content {
    max-width: 750px;
}

.booking-cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 400;
}

.booking-cta p:not(.eyebrow) {
    margin: 22px 0 30px;
    color: #a5a5a5;
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
    background: var(--black);
    color: var(--white);
}


/* SECTION HEADING */

.contact-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.contact-heading .eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 22px;
}

.contact-heading .eyebrow::after {
    content: "";

    width: 50px;
    height: 1px;

    background: #777777;
}

.contact-heading h2 {
    margin-bottom: 22px;

    color: var(--white);
}

.contact-heading p:last-child {
    max-width: 650px;

    color: #b8b8b8;

    font-size: 1rem;
    line-height: 1.7;
}


/* CARDS */

.contact-info {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.contact-card {
    position: relative;

    padding: 30px;

    min-height: 365px;

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

    border: 1px solid #dddddd;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.contact-card:hover {
    transform: translateY(-5px);

    border-color: #bbbbbb;
}


/* ICON */

.contact-card-icon {
    width: 82px;
    height: 82px;

    margin-bottom: 25px;

    border-radius: 50%;

    background: #f1f1f1;

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


.contact-card-icon svg {
    width: 38px;
    height: 38px;

    fill: none;
    stroke: var(--black);

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* CARD TITLE */

.contact-card h3 {
    margin: 0;

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 3px;

    color: var(--black);
}


/* SMALL LINE */

.contact-card-line {
    width: 42px;
    height: 1px;

    margin: 18px 0 25px;

    background: #d7d7d7;
}


/* TEXT */

.contact-card p {
    margin: 0;

    color: #555555;

    font-size: 1rem;
    line-height: 1.65;
}


.contact-card p a {
    color: var(--black);

    text-decoration: none;
}


.contact-card p a:hover {
    text-decoration: underline;
}


/* HOURS */

.contact-hours {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.contact-hours p {
    line-height: 1.45;
}


.contact-hours span {
    color: #999999;
}


/* SOCIAL */

.contact-socials {
    display: flex;
    align-items: center;

    gap: 18px;
}


.contact-socials a {
    width: 68px;
    height: 68px;

    border: 1px solid #dddddd;
    border-radius: 50%;

    background: var(--white);

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

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.contact-socials a:hover {
    transform: translateY(-3px);

    border-color: var(--black);
}


.contact-socials img {
    width: 30px;
    height: 30px;

    display: block;
}

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

.site-footer {
    background: #070707;
    border-top: 1px solid #222222;
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content strong {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.footer-content p {
    color: #777777;
    font-size: 0.82rem;
}

.footer-content > div p {
    margin-top: 2px;
}

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

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

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

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

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

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-content {
        min-height: 68px;
    }

    .booking-btn {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .services-section,
    .barbers-section,
    .gallery-section,
    .contact-section,
    .booking-cta {
        padding: 75px 0;
    }

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

    .barbers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .barber-card h3 {
        font-size: 1rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {

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

    .hero h1 {
        font-size: 2.7rem;
    }
}

/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-map {
    width: min(100% - 40px, 1200px);
    margin: 70px auto 0;
    overflow: hidden;
    border-radius: 14px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}