/* ============================================
   DK BARBER SHOP — Cinematic Dark Editorial
   ============================================ */

:root {
    --black: #0b0b0b;
    --black-rich: #111111;
    --surface: #161616;
    --surface-light: #1e1e1e;
    --white: #f5f0eb;
    --white-pure: #ffffff;
    --cream: #e8ddd0;
    --gold: #c8a55a;
    --gold-light: #dcc07a;
    --gold-dim: rgba(200, 165, 90, 0.12);
    --gray: #6b6560;
    --gray-light: #8a847e;
    --border: rgba(245, 240, 235, 0.06);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --ease: cubic-bezier(0.25, 0, 0.15, 1);
    --ease-out: cubic-bezier(0, 0, 0.15, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Grain texture overlay */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* Label tag */
.label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 32px;
}

.label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 clamp(24px, 4vw, 60px);
    height: 80px;
    display: flex;
    align-items: center;
    transition: background 0.5s var(--ease);
}

.header.scrolled {
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

.nav__logo img {
    height: 48px;
    width: auto;
    transition: opacity 0.3s;
}

.nav__logo:hover img {
    opacity: 0.7;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav__toggle span {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--white);
    transition: all 0.4s var(--ease);
    transform-origin: center;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.6;
    transition: opacity 0.4s var(--ease);
    position: relative;
}

.nav__link:hover {
    opacity: 1;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__info {
    display: flex;
    gap: 1.5rem;
    font-size: 12px;
    letter-spacing: 1px;
}

.nav__info a {
    color: var(--gold);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav__info a:hover {
    opacity: 1;
}

.nav__insta {
    color: #E1306C !important;
    opacity: 1 !important;
}

.nav__insta:hover {
    color: #ff5c8a !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #131313;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(24px, 4vw, 60px);
}

.hero__logo {
    width: clamp(140px, 22vw, 220px);
    margin-bottom: 2rem;
    opacity: 0;
    animation: heroFade 1s var(--ease) 0.2s forwards;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white-pure);
    margin-bottom: 1rem;
    opacity: 0;
    animation: heroSlide 1s var(--ease-out) 0.5s forwards;
}

.hero__title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: heroFade 1s var(--ease) 0.8s forwards;
}

.hero__badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: heroFade 1s var(--ease) 1s forwards;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
}

.hero__badge-item svg {
    color: var(--gold);
    opacity: 0.8;
}

.hero__cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white-pure);
    background: var(--gold);
    padding: 16px 48px;
    border-radius: 4px;
    transition: all 0.4s var(--ease);
    opacity: 0;
    animation: heroFade 1s var(--ease) 1.2s forwards;
}

.hero__cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    color: var(--black);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: clamp(80px, 12vw, 160px) clamp(24px, 4vw, 60px);
    overflow: hidden;
}

.about__layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: clamp(400px, 50vw, 600px);
    object-fit: cover;
}

.about__image-border {
    position: absolute;
    inset: 16px;
    border: 1px solid var(--gold);
    opacity: 0.2;
    pointer-events: none;
}

.about__content {
    padding: 20px 0;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.about__title em {
    font-style: italic;
    color: var(--gold-light);
}

.about__content p {
    color: var(--gray-light);
    margin-bottom: 1rem;
    max-width: 440px;
    font-size: 14px;
    line-height: 1.9;
}

.about__details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.about__detail {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
}

.about__detail-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 90px;
}

.about__detail span,
.about__detail a {
    font-size: 14px;
    color: var(--cream);
    transition: color 0.3s;
}

.about__detail a:hover {
    color: var(--gold);
}

/* ============================================
   WORK — Video Carousel
   ============================================ */
.work {
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--black-rich);
    overflow: hidden;
}

.work__header {
    padding: 0 clamp(24px, 4vw, 60px);
    margin-bottom: clamp(30px, 5vw, 60px);
}

.work__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
}

.work__title em {
    font-style: italic;
    color: var(--gold-light);
}

.work__carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.work__carousel::-webkit-scrollbar {
    display: none;
}

.work__carousel:active {
    cursor: grabbing;
}

.work__track {
    display: flex;
    gap: 16px;
    padding: 0 clamp(24px, 4vw, 60px);
    width: max-content;
}

.work__item {
    width: clamp(220px, 28vw, 320px);
    aspect-ratio: 9 / 14;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-radius: 16px;
}

.work__item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.work__item:hover video {
    transform: scale(1.05);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: clamp(80px, 12vw, 160px) clamp(24px, 4vw, 60px);
    background: var(--black);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services__header {
    margin-bottom: clamp(40px, 6vw, 80px);
}

.services__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
}

.services__title em {
    font-style: italic;
    color: var(--gold-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.service-card {
    background: var(--surface);
    padding: clamp(28px, 3vw, 45px);
    position: relative;
    transition: background 0.4s var(--ease);
}

.service-card:hover {
    background: var(--surface-light);
}

.service-card__number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 25px;
    line-height: 1;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.service-card__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 240, 235, 0.03);
}

.service-card__list li:last-child {
    border-bottom: none;
}

.service-card__list li span:first-child {
    font-size: 13px;
    font-weight: 300;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-left: 16px;
}

/* ============================================
   RESERVATION
   ============================================ */
.reservation {
    padding: clamp(80px, 12vw, 160px) clamp(24px, 4vw, 60px);
    background: var(--black-rich);
}

.reservation__container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.reservation__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.reservation__title em {
    font-style: italic;
    color: var(--gold-light);
}

.reservation__container > .reservation__content > p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 2.5rem;
}

.reservation__embed {
    margin: 2.5rem 0;
    min-height: 500px;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.reservation__embed > div {
    min-height: 500px;
}

.reservation__alt {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.reservation__alt span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.reservation__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.reservation__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--cream);
    transition: color 0.3s var(--ease);
}

.reservation__link svg {
    color: var(--gold);
}

.reservation__link:hover {
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 0 clamp(24px, 4vw, 60px);
    background: var(--black);
    border-top: 1px solid var(--border);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.footer__logo {
    height: 40px;
    width: auto;
    opacity: 0.5;
}

.footer__nav {
    display: flex;
    gap: 2rem;
}

.footer__nav a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: var(--cream);
}

.footer__insta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #E1306C;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.12), rgba(225, 48, 108, 0.12), rgba(252, 175, 69, 0.12));
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(225, 48, 108, 0.25);
    transition: all 0.3s var(--ease);
}

.footer__insta:hover {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.25), rgba(225, 48, 108, 0.25), rgba(252, 175, 69, 0.25));
    border-color: rgba(225, 48, 108, 0.5);
    color: #ff5c8a;
}

.footer__insta svg {
    color: #E1306C;
}

.footer__contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-light);
}

.footer__contact-item svg {
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
}

.footer__contact-item a {
    color: var(--gray-light);
    transition: color 0.3s;
}

.footer__contact-item a:hover {
    color: var(--cream);
}

.footer__bottom {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 1px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroSlide {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 980px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        inset: 0;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s var(--ease);
        z-index: 100;
    }

    .nav__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav__link {
        font-size: 16px;
        letter-spacing: 5px;
        opacity: 0.5;
    }

    .nav__info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }
    .nav__toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(3px, -3px);
    }

    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image img {
        height: 400px;
    }

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

    .footer__top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 540px) {
    .hero__title-line {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .about__image img {
        height: 320px;
    }

    .about__content p {
        font-size: 13px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card__number {
        font-size: 32px;
    }

    .work__item {
        width: 200px;
    }

    .reservation__links {
        flex-direction: column;
        align-items: center;
    }

    .label {
        font-size: 10px;
    }
}
