/* ============================================================
   BLADE KING'S – Enhanced Style
   Design system: Dark Luxury | Gold #d4af37 | Playfair + Montserrat
   ============================================================ */

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

/* ===== TÖLTŐKÉPERNYŐ ===== */

#loader {
    position: fixed;
    inset: 0;
    background: #060606;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
                opacity   0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

#loader.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#loader-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.loader-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: loaderFadeIn 0.6s ease forwards;
}

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

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.loader-logo span { color: #d4af37; }

.loader-tagline {
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(212,175,55,0.6);
    margin-bottom: 40px;
}

.loader-bar-wrap {
    width: 160px;
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0 auto;
    border-radius: 1px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b8932a, #d4af37, #f0cf6a, #d4af37);
    background-size: 200% 100%;
    border-radius: 1px;
    animation: loaderFill 0.7s ease forwards, loaderShimmer 0.8s linear infinite;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    60%  { width: 85%; }
    100% { width: 100%; }
}

@keyframes loaderShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

:root {
    --gold:        #d4af37;
    --gold-light:  #e8c84a;
    --gold-dim:    rgba(212, 175, 55, 0.15);
    --gold-glow:   rgba(212, 175, 55, 0.25);
    --bg-deep:     #060606;
    --bg-base:     #0a0a0a;
    --bg-raised:   #111111;
    --bg-card:     #161616;
    --bg-input:    #1a1a1a;
    --border:      rgba(255,255,255,0.07);
    --border-gold: rgba(212,175,55,0.25);
    --text-primary:   #f0ece4;
    --text-secondary: #8a8070;
    --text-muted:     #444;
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background-color: var(--bg-base);
}

body {
    background-color: transparent;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== KÖZÖS ===== */

.section-title {
    color: var(--gold);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.section-title::before,
.section-title::after {
    content: '';
    display: block;
    height: 1px;
    width: 40px;
    background: var(--gold);
    opacity: 0.4;
    flex-shrink: 0;
    margin: 0 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 0 0 0 var(--gold-glow);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--gold-glow);
}

/* ===== NAVBAR ===== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.45s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    top: 10px;
    width: 92%;
    left: 4%;
    border-radius: var(--radius-md);
    padding: 14px 5%;
    background: rgba(8, 8, 8, 0.96);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px var(--border-gold);
    border-bottom-color: transparent;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
}

.nav-links li { margin: 0; }

.nav-links a {
    text-decoration: none;
    color: rgba(240, 236, 228, 0.65);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s var(--ease-out);
}

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

.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-login {
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 8px 18px;
    border-radius: 2px;
    letter-spacing: 2px;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.nav-links a.nav-login::after { display: none; }

.nav-links a.nav-login:hover {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--gold);
    transition: all 0.3s var(--ease-out);
    border-radius: 2px;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-16px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,175,55,0.06) 0%, transparent 70%),
        linear-gradient(180deg, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0.7) 100%);
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed, fixed;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--bg-base));
    pointer-events: none;
}

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

.hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.85;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 30%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    color: rgba(240,236,228,0.55);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ===== RÓLUNK ===== */

.us-section {
    padding: 112px 10%;
    background: rgba(17,17,17,0.82);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.us-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.us-header { margin-bottom: 64px; }
.us-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    margin-top: 0;
}

.team-member {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    transition: transform 0.35s var(--ease-out);
}

.team-member:hover { transform: translateY(-8px); }

.member-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 6px rgba(212,175,55,0.06);
    transition: box-shadow 0.3s;
}

.team-member:hover .member-image {
    box-shadow: 0 0 0 8px rgba(212,175,55,0.12), 0 12px 40px rgba(212,175,55,0.15);
}

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

.team-member h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.team-member p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SZOLGÁLTATÁSOK ===== */

.services {
    padding: 112px 10%;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card.highlight {
    border-color: var(--border-gold);
}

.service-card.highlight::before { opacity: 0.6; }

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-gold);
    background: #1a1a16;
}

.service-card:hover::before { opacity: 1; }

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.service-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.price {
    font-size: 1.6rem;
    color: var(--gold);
    margin: 14px 0;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

/* ===== GALÉRIA ===== */

.gallery-section {
    padding: 112px 10%;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.masonry-grid {
    columns: 3 280px;
    column-gap: 14px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.55s var(--ease-out);
}

@media (hover: hover) {
    .masonry-item:hover {
        border-color: var(--border-gold);
        box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    }
    .masonry-item:hover img {
        transform: scale(1.06);
    }
}

.masonry-grid:not(.is-expanded) .masonry-item:nth-child(n+8) {
    display: none;
}

.gallery-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 32px auto 0;
    padding: 13px 28px;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.gallery-toggle:hover {
    background: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

.gallery-toggle-icon {
    transition: transform 0.3s var(--ease-out);
}

.gallery-toggle[aria-expanded="true"] .gallery-toggle-icon {
    transform: rotate(180deg);
}

/* ── Lightbox ── */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox.open { display: flex; }

.lb-img-wrap {
    max-width: 90vw;
    max-height: 88vh;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 32px 96px rgba(0,0,0,0.8);
    animation: lbIn 0.3s var(--ease-out);
}

@keyframes lbIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.lb-img-wrap img {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lb-close,
.lb-prev,
.lb-next {
    position: fixed;
    background: rgba(20,20,20,0.8);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    transition: all 0.2s;
    z-index: 5001;
}

.lb-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* ===== FOGLALÁS ===== */

.booking-section {
    padding: 96px 10%;
    background: rgba(17,17,17,0.82);
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.booking-outer {
    max-width: 880px;
    margin: 0 auto;
}

/* --- Progress bar --- */

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 72px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #3a3a3a;
    transition: all 0.4s var(--ease-out);
    background: var(--bg-deep);
    font-family: 'Montserrat', sans-serif;
}

.step-label {
    font-size: 9px;
    color: #3a3a3a;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.35s;
    white-space: nowrap;
}

.progress-step.active .step-circle {
    border-color: var(--gold);
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212,175,55,0.35);
}

.progress-step.active .step-label { color: var(--gold); }

.progress-step.done .step-circle {
    border-color: var(--gold);
    background: transparent;
    color: var(--gold);
}

.progress-step.done .step-label { color: var(--gold); opacity: 0.7; }

.progress-line {
    flex: 1;
    height: 1px;
    background: #1e1e1e;
    max-width: 80px;
    margin-bottom: 26px;
    transition: background 0.4s;
}

.progress-line.done { background: var(--gold); opacity: 0.5; }

/* --- Container --- */

.booking-container {
    background: var(--bg-deep);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.booking-step {
    animation: fadeUp 0.32s var(--ease-out);
}

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

.step-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 36px;
}

/* --- Step 1: Borbély kártyák --- */

.barber-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.barber-card {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 20px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.barber-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.barber-card.selected {
    border-color: var(--gold);
    background: linear-gradient(160deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%);
    box-shadow: 0 0 0 1px var(--gold), 0 16px 48px var(--gold-dim);
}

.barber-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    margin: 0 auto 16px;
    transition: border-color 0.25s;
}

.barber-card.selected .barber-avatar { border-color: var(--gold); }

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

.barber-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}

.barber-card p {
    font-size: 0.73rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Step 2: Szolgáltatás kártyák --- */

.booking-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 32px;
}

.booking-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    cursor: pointer;
    transition: all 0.22s var(--ease-out);
    text-align: center;
}

.booking-service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.booking-service-card.selected {
    border-color: var(--gold);
    background: linear-gradient(160deg, rgba(212,175,55,0.08) 0%, transparent 100%);
    box-shadow: 0 0 0 1px var(--gold);
}

.bsc-name {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #c8c0b0;
    margin-bottom: 8px;
    line-height: 1.4;
    text-transform: uppercase;
}

.bsc-price {
    font-size: 1.05rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
}

.bsc-duration {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* --- Step 3: Naptár + időpontok --- */

.datetime-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calendar-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    flex-shrink: 0;
    width: 300px;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-header strong {
    color: var(--text-primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-family: 'Playfair Display', serif;
}

.cal-nav {
    background: none;
    border: 1px solid #222;
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.cal-nav:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 6px;
    text-align: center;
}

.cal-weekdays span {
    font-size: 0.63rem;
    color: #3a3a3a;
    font-weight: 600;
    padding: 4px 0;
    text-transform: uppercase;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.78rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s;
    color: #888;
    background: transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
    border-color: var(--border-gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.cal-day.today {
    color: var(--gold);
    font-weight: 700;
    border-color: rgba(212,175,55,0.25);
}

.cal-day.selected {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    border-color: var(--gold);
    box-shadow: 0 4px 14px var(--gold-glow);
}

.cal-day.disabled { color: #222; cursor: not-allowed; }
.cal-day.weekend  { color: #252525; }
.cal-day.empty    { cursor: default; }

/* --- Időpont slotok --- */

.timeslots-panel {
    flex: 1;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.timeslot-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #333;
    text-align: center;
    gap: 12px;
}

.timeslot-empty-icon {
    font-size: 1.8rem;
    opacity: 0.3;
}

.timeslot-empty p {
    font-size: 0.75rem;
    line-height: 1.7;
    color: #444;
}

.timeslot-title {
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    opacity: 0.8;
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 2px;
}

.timeslots-grid::-webkit-scrollbar { width: 3px; }
.timeslots-grid::-webkit-scrollbar-track { background: transparent; }
.timeslots-grid::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }

.timeslot {
    padding: 9px 4px;
    text-align: center;
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    color: #777;
    transition: all 0.18s;
    background: var(--bg-raised);
}

.timeslot:hover {
    border-color: var(--border-gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.timeslot.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 14px var(--gold-glow);
}

.timeslot-loading {
    grid-column: 1 / -1;
    color: #555;
    font-size: 0.75rem;
    padding: 16px 0;
    text-align: center;
    letter-spacing: 1px;
}

.timeslot-error {
    grid-column: 1 / -1;
    color: #c0392b;
    font-size: 0.77rem;
    padding: 10px 0;
    line-height: 1.7;
}

.timeslot-error a { color: var(--gold); text-decoration: none; }

/* --- Step 4: Személyes adatok --- */

.booking-summary-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 0.78rem;
    color: var(--gold);
}

.summary-chip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-chip .chip-icon { opacity: 0.6; }

.form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
    display: block;
    color: #555;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.form-field label small {
    color: #383838;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.72rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-input);
    border: 1px solid #1e1e1e;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(212,175,55,0.45);
    background: #1c1c18;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}

.form-field textarea {
    resize: vertical;
    min-height: 84px;
}

/* --- Navigáció gombok --- */

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.step-actions.end     { justify-content: flex-end; }
.step-actions.between { justify-content: space-between; }

.btn-back {
    background: transparent;
    border: 1px solid #1e1e1e;
    color: #555;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-back:hover {
    border-color: #444;
    color: #999;
}

.btn-next {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease-out);
}

.btn-next:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-next:disabled {
    background: #181818;
    color: #333;
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s var(--ease-out);
    flex: 1;
    max-width: 280px;
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--gold-glow);
}

.btn-submit:disabled {
    background: #222;
    color: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Siker képernyő --- */

.success-screen {
    text-align: center;
    padding: 24px 10px 12px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    box-shadow: 0 0 0 12px rgba(212,175,55,0.1), 0 12px 40px var(--gold-glow);
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-screen h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.success-sub {
    color: var(--text-secondary);
    font-size: 0.83rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.success-sub a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.booking-recap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 0 auto 28px;
    max-width: 440px;
    text-align: left;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #141414;
    font-size: 0.84rem;
    gap: 12px;
}

.recap-row:last-child { border-bottom: none; }

.recap-label { color: #555; flex-shrink: 0; font-size: 0.75rem; letter-spacing: 0.5px; }
.recap-value { color: #d8d4cc; font-weight: 600; text-align: right; }

.btn-gcal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a73e8;
    color: #fff;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.22s;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.btn-gcal:hover {
    background: #1558c0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,115,232,0.35);
}

.btn-reset {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: transparent;
    border: 1px solid #1e1e1e;
    color: #555;
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-reset:hover {
    border-color: var(--border-gold);
    color: var(--gold);
}

/* ===== KAPCSOLAT ===== */

.contact-section {
    padding: 96px 10%;
    text-align: center;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.contact-container { max-width: 800px; margin: 0 auto; }

.contact-info { margin-bottom: 8px; }

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 2;
    letter-spacing: 0.5px;
}

.contact-info strong { color: var(--gold); font-weight: 600; }

.map-container {
    width: 100%;
    max-width: 800px;
    height: 460px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 40px auto 20px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.contact-section > p {
    color: #3a3a3a;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-top: 12px;
}

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

footer {
    padding: 36px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== RESZPONZÍV ===== */

@media (max-width: 1050px) {
    .hero {
        background-attachment: scroll;
        background-image:
            radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,175,55,0.06) 0%, transparent 70%),
            linear-gradient(180deg, rgba(6,6,6,0.5) 0%, rgba(6,6,6,0.85) 100%);
    }

    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 72%;
        max-width: 360px;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        transition: right 0.45s var(--ease-out);
        z-index: 999;
        border-left: 1px solid var(--border-gold);
    }

    .nav-links.active { right: 0; }

    .nav-links li {
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;
        padding: 18px 48px;
        font-size: 0.8rem;
        letter-spacing: 3px;
        color: rgba(240,236,228,0.7);
    }

    .nav-links a:hover { color: var(--gold); }
    .nav-links a::after { display: none; }

    .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

    .section-title::before,
    .section-title::after { width: 24px; }

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

    .booking-container { padding: 28px 24px; }

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

    .map-container { height: 340px; width: 100%; }

    .masonry-grid { columns: 2 200px; }
}

@media (max-width: 768px) {
    .masonry-grid:not(.is-expanded) .masonry-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 680px) {
    .booking-section { padding: 64px 5%; }
    .booking-container { padding: 22px 18px; }
    .booking-progress { gap: 0; }
    .progress-line { max-width: 24px; }
    .step-label { font-size: 8px; }
    .step-circle { width: 34px; height: 34px; font-size: 0.78rem; }
    .datetime-container { flex-direction: column; gap: 14px; }
    .calendar-wrapper {
        width: 100%;
        padding: 14px;
    }
    .cal-header { margin-bottom: 12px; }
    .cal-header strong { font-size: 0.95rem; }
    .cal-nav {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }
    .cal-weekdays { gap: 4px; margin-bottom: 4px; }
    .cal-weekdays span { font-size: 0.72rem; padding: 6px 0; }
    .cal-days { gap: 4px; }
    .cal-day {
        font-size: 0.92rem;
        border-radius: 8px;
    }
    .cal-day.today { border-color: var(--gold); }
    .timeslots-panel { min-height: 160px; padding: 16px; }
    .timeslots-grid { grid-template-columns: repeat(4, 1fr); max-height: 160px; }
    .form-2col { grid-template-columns: 1fr; }
    .section-title::before, .section-title::after { display: none; }
}

@media (max-width: 400px) {
    .booking-service-cards { grid-template-columns: 1fr 1fr; }
    .timeslots-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.1ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ============================================================
   SCROLL-DRIVEN HÁTTÉR
   ============================================================ */

.scroll-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--bg-base);
}

.scroll-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    transform: translateZ(0);
}

.scroll-bg-layer.is-active {
    opacity: 1;
}

.scroll-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0.7) 100%),
        radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(6,6,6,0.45) 100%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-bg-layer { transition: none; }
}
