@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
    color: #e8e8e8;
    background: #111111;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

section .container {
    text-align: center;
}

h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-align: center;
    color: #e8e8e8;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #c59d5f;
    margin: 14px auto 30px;
}

/* ── HEADER ────────────────────────────────── */
header {
    background: #020106;
    color: white;
    height: 75px;
    padding: 0px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid #2e2e2e;
}

body {
    padding-top: 75px;
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

header a:hover {
    color: #c59d5f;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 75px;
    width: auto;
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c59d5f;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #e8e8e8;
}

/* ── REVEAL ANIMATION ──────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════ */
#hero {
    position: relative;
    height: 85vh;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background image slides */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.65) 50%,
        rgba(0,0,0,0.82) 100%
    );
    z-index: 1;
}

/* Text content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* Each text block */
.hero-slide-text {
    display: none;
    animation: heroTextIn 0.8s ease forwards;
}

.hero-slide-text.active {
    display: block;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Small label above title */
.hero-label {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c59d5f;
    margin-bottom: 18px;
    font-weight: 600;
}

/* Main heading */
.hero-content h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

/* Student badge */
.hero-student {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    color: #c59d5f;
    border: 1px solid rgba(197,157,95,0.4);
    padding: 6px 16px;
    margin-top: -20px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.hero-student strong {
    color: #e8c97a;
}

/* Subtitle */
.hero-sub {
    font-size: clamp(15px, 2vw, 20px);
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    line-height: 1.6;
}

/* CTA button */
.hero-cta {
    display: inline-block;
    background: #c59d5f;
    color: white;
    padding: 14px 34px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    margin-top: 10px;
}

.hero-cta:hover {
    background: #9c7b45;
    box-shadow: 0 0 24px rgba(197,157,95,0.4);
    transform: translateY(-2px);
}

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-dot.active {
    background: #c59d5f;
    transform: scale(1.4);
    border-color: #c59d5f;
}

/* Progress bar at the very bottom */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 3;
}

.hero-progress-bar {
    height: 100%;
    background: #c59d5f;
    width: 0%;
    transition: width linear;
}

/* ── ABOUT ─────────────────────────────────── */
#about {
    background: #1a1a1a;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #e8e8e8;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #bbbbbb;
}

.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    object-fit: cover;
}

/* ── SERVICES ──────────────────────────────── */
#services {
    background: #111111;
}

.price-category {
    margin-bottom: 50px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.price-category h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #c59d5f;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.price-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-category li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #2e2e2e;
    font-size: 18px;
}

.price-category li span {
    color: #bbbbbb;
}

.price-category li strong {
    color: #c59d5f;
    font-weight: 400;
}

.price-category li:last-child {
    border-bottom: none;
}

/* ── BARBERS ───────────────────────────────── */
#barbers {
    background: #1a1a1a;
}

.barbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 10px;
}

.barber-card {
    position: relative;
    overflow: hidden;
}

.barber-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.barber-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.barber-card:hover .barber-photo img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.barber-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.05) 100%
    );
    display: flex;
    align-items: flex-end;
    transition: background 0.4s ease;
}

.barber-card:hover .barber-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.1) 100%
    );
}

.barber-info {
    padding: 0 24px 28px;
    text-align: center;
    width: 100%;
}

.barber-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.barber-role {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c59d5f;
}

.barber-desc {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.barber-card:hover .barber-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 12px;
}

/* ── GALLERY ───────────────────────────────── */
#gallery {
    background: #1a1a1a;
}

#gallery .container {
    text-align: center;
}

.gallery-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.gallery-grid img:first-child {
    grid-column: span 2;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(197,157,95,0.3);
}

/* ── LIGHTBOX ──────────────────────────────── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #e8e8e8;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

#lightbox-close:hover {
    opacity: 1;
    color: #c59d5f;
}



/* ── REVIEWS ───────────────────────────────── */
#reviews {
    background: #111111;
}

.reviews-track {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.review-slide {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    padding: 10px 0 40px;
}

.review-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    border-top: 3px solid #c59d5f;
    text-align: left;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #c59d5f;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-author {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0;
}

.review-stars {
    color: #c59d5f;
    font-size: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: #444444;
    line-height: 1.75;
    font-style: normal;
    font-weight: 400;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.review-dot.active {
    background: #c59d5f;
    border-color: #c59d5f;
    transform: scale(1.4);
}

/* ── CONTACT ───────────────────────────────── */
#contact {
    background: #1a1a1a;
}

.contact-info {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    color: #c59d5f;
    font-size: 8px;
    margin-top: 7px;
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c59d5f;
}

.contact-value {
    font-size: 16px;
    color: #cccccc;
    text-decoration: none;
}

a.contact-value:hover {
    color: #c59d5f;
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border: 1px solid #2e2e2e;
}

/* ── FOOTER ────────────────────────────────── */
footer {
    background: #0a0a0a;
    color: #555;
    text-align: center;
    padding: 36px 0 28px;
    border-top: 1px solid #2e2e2e;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #c59d5f;
}

.footer-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    color: #888;
}

.footer-link:hover .footer-link-icon {
    background: #c59d5f;
    border-color: #c59d5f;
    color: #fff;
}

.footer-copy {
    font-size: 12px;
    color: #444;
    letter-spacing: 0.5px;
}

/* ── SCROLL TO TOP ─────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: #c59d5f;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    pointer-events: none;
}

#scrollTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scrollTop:hover {
    background: #9c7b45;
}

/* ── MOBILE ────────────────────────────────── */
@media (max-width: 768px) {

    h2 {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }

    #hero {
        height: 75svh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-photo img {
        max-width: 90%;
        margin: 0 auto;
    }

    .price-category li {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 15px;
        padding: 10px 0;
    }

    .price-category h3 {
        font-size: 19px;
    }

    .barbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-grid img {
        aspect-ratio: 1 / 1;
        height: auto;
        width: 100%;
        object-fit: cover;
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }


    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #0a0a0a;
        border: 1px solid #2e2e2e;
        padding: 8px 0;
        position: absolute;
        top: 60px;
        right: 0;
        width: 180px;
        z-index: 9;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }

    nav ul li a {
        display: block;
        padding: 10px 20px;
    }

    nav ul.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 0;
        top: -20px;
        z-index: 10;
    }
}

