:root {
    --color-charcoal: #181716;  
    --color-rust: #A64E2E;      
    --color-bone: #E8E5DD;      
    --color-green: #2e8b57;
    
    --font-display: 'Anton', sans-serif; 
    --font-body: 'Syne', sans-serif;             
    --font-mono: 'Space Mono', monospace;        

    --gap-s: 1.15rem;
    --gap-m: 2.35rem;
    --ease-snap: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; 
    list-style: none;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-charcoal);
}

body {
    color: var(--color-bone);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hidden { display: none !important; }

.btn-base, .btn-primary, .btn-app {
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    display: inline-block;
}

#noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 90;
    opacity: 0.05;
    mix-blend-mode: overlay;
}

@media (min-width: 769px) {
    .cursor-dot {
        width: 8px; height: 8px;
        background: var(--color-rust);
        position: fixed;
        border-radius: 50%;
        pointer-events: none;
        z-index: 1000;

        top: 0; left: 0; 
    }
    .cursor-circle {
        width: 40px; height: 40px;
        border: 1px solid var(--color-bone);
        position: fixed;
        border-radius: 50%;
        pointer-events: none;
        z-index: 1000;
        top: 0; left: 0; 
        transition: width 0.3s, height 0.3s;
        mix-blend-mode: difference;
    }
    body.hovering .cursor-circle {
        width: 80px; height: 80px;
        background-color: var(--color-bone);
        mix-blend-mode: exclusion;
    }
    body.modal-open .cursor-dot,
    body.modal-open .cursor-circle {
        opacity: 0;
    }
}

.nav-main {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    transition: background 0.3s;
}

.nav-logo {
    display: flex; align-items: center; gap: 1rem; font-weight: 800;
}
.nav-logo a { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 1rem; }

.nav-links a {
    color: var(--color-bone);
    text-decoration: none;
    margin: 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
}
.nav-links a:hover::after { width: 100%; }

.shop-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid rgba(232, 229, 221, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.status-dot {
    width: 8px; height: 8px;
    background: #555;
    border-radius: 50%;
    display: block;
}
.shop-status.open .status-dot { background: var(--color-green); box-shadow: 0 0 10px var(--color-green); }
.shop-status.closed .status-dot { background: var(--color-rust); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    z-index: 200;
    margin-left: 1rem;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    display: block; width: 30px; height: 2px;
    background-color: var(--color-bone);
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: var(--color-charcoal);
    z-index: 150;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }

.mobile-links { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-link {
    font-family: var(--font-display); font-size: 3rem;
    color: var(--color-bone); text-decoration: none;
    text-transform: uppercase; transition: color 0.3s;
}
.mobile-link:hover { color: var(--color-rust); }

.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: end;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11vw, 10rem); 
    line-height: 0.9;
    color: var(--color-bone);
    display: flex;
    flex-direction: column;
}
.hero-title .line-2 { margin-left: 2vw; color: var(--color-rust); }
.hero-title .line-3 { margin-left: 4vw; letter-spacing: 0; }

.hero-desc {
    max-width: 40ch;
    margin-top: 3rem;
    font-size: 1.2rem;
    border-left: 2px solid var(--color-rust);
    padding-left: 1.5rem;
}

.image-container img {
    width: 100%; height: auto;
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.5s ease;
    will-change: transform;
}
.image-container:hover img { filter: grayscale(0%); }

.stamp-badge {
    position: absolute; bottom: -30px; left: -30px;
    animation: rotate 20s linear infinite;
}
.stamp-badge text { fill: var(--color-bone); font-family: var(--font-mono); letter-spacing: 0.2em; }

.marquee-strip {
    border-block: 1px solid var(--color-bone);
    padding: 1rem 0; overflow: hidden; white-space: nowrap;
    background: var(--color-rust); color: var(--color-charcoal);
    transform: rotate(-1deg) scale(1.05); margin: 4rem 0;
}
.marquee-content { 
    display: inline-block; 
    font-family: var(--font-mono); 
    font-size: 1.5rem; 
    animation: marquee 20s linear infinite; 
}

.services-section { padding: var(--gap-m) 2rem; max-width: 1400px; margin: 0 auto; }
.bento-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.bento-item {
    background: #232220; padding: 2.2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: 0.4s var(--ease-snap); border: 1px solid rgba(255,255,255,0.05);
}
.bento-item:hover { transform: translateY(-5px); border-color: var(--color-rust); }
.bento-item h3 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 0.5rem; }

.large { grid-column: span 7; } 
.medium { grid-column: span 5; }
.image-filler { grid-column: span 5; padding: 0; overflow: hidden; }
.image-filler img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.dark { background: var(--color-rust); color: var(--color-charcoal); }

.page-content {
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}
.page-header {
    margin-bottom: 6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}
.team-grid { display: flex; flex-direction: column; gap: 6rem; }
.member-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.member-card.reverse { direction: rtl; }
.member-card.reverse .member-info { direction: ltr; }
.member-img { height: 500px; overflow: hidden; position: relative; border: 1px solid var(--color-charcoal); }
.member-img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.member-card:hover .member-img img { filter: grayscale(0%); transform: scale(1.05); }

.member-info h3 { font-family: var(--font-display); font-size: 3.5rem; color: var(--color-bone); margin-bottom: 0.5rem; }
.member-info .role { display: block; font-family: var(--font-mono); color: var(--color-rust); margin-bottom: 1.5rem; font-weight: bold; letter-spacing: 2px; }

.location-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; min-height: 500px; }
.info-panel { display: flex; flex-direction: column; justify-content: space-between; padding-right: 2rem; }
.info-block h4 { color: var(--color-rust); font-family: var(--font-mono); margin-bottom: 1rem; }
.huge-text { font-family: var(--font-display); font-size: 3rem; line-height: 1; margin-bottom: 0.5rem; }
.hours-list li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 0; font-family: var(--font-mono); }
.map-frame { width: 100%; height: 100%; min-height: 400px; filter: grayscale(100%) invert(90%) contrast(85%); border: 2px solid var(--color-charcoal); transition: filter 0.3s; }
.map-frame:hover { filter: grayscale(0%) invert(0%); }

.booking-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 200; border: none; opacity: 0; pointer-events: none;
    transition: opacity 0.4s; display: flex; justify-content: flex-end;
}
.booking-overlay[open] { opacity: 1; pointer-events: all; }

.booking-container {
    width: 100%; max-width: 650px; height: 100%;
    background: #E8E5DD; color: #181716; padding: 3rem;
    overflow-y: auto; 
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    transform: translateX(100%); transition: transform 0.5s var(--ease-snap);
}
.booking-container * { cursor: auto !important; }
.booking-container button, .booking-container label, .booking-container input { cursor: pointer !important; }
.booking-overlay[open] .booking-container { transform: translateX(0); }

.booking-header { margin-bottom: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.live-total { font-family: var(--font-mono); font-weight: bold; font-size: 1.2rem; color: var(--color-rust); margin-top: 10px; }

.btn-primary {
    background: var(--color-charcoal); color: var(--color-bone);
    padding: 1rem 2rem;
}
.btn-primary:hover { background: var(--color-rust); transform: translateY(-2px); }

.btn-app {
    background: #181716; color: #fff; padding: 1rem 2.5rem;
}
.btn-app:hover { background: var(--color-rust); }
.btn-prev { background: transparent; color: #181716; padding-left: 0; }

.booking-form input[type="radio"] { opacity: 0; width: 0; height: 0; position: absolute; pointer-events: none; }
.card-vis {
    border: 2px solid #181716; padding: 1.5rem; display: flex; justify-content: space-between;
    font-family: var(--font-mono); font-weight: 700; transition: all 0.2s; background: transparent;
}
.select-card input:checked + .card-vis { background: #181716; color: #E8E5DD; transform: scale(1.02); box-shadow: 5px 5px 0 var(--color-rust); }

.time-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.time-chip span { display: inline-block; padding: 0.8rem 1.5rem; border: 1px solid #181716; font-family: var(--font-mono); transition: 0.2s; }
.time-chip input:checked + span { background: var(--color-rust); color: white; border-color: var(--color-rust); }

.input-modern {
    width: 100%; padding: 1rem; border: 2px solid #181716; background: transparent;
    font-family: var(--font-mono); font-size: 1.2rem; margin-top: 0.5rem; border-radius: 0;
}
.input-modern:focus { outline: none; border-color: var(--color-rust); background: rgba(166, 78, 46, 0.1); }

.form-step { display: none; animation: fadeIn 0.5s ease; }
.form-step.active { display: block; }
.progress-track { width: 100%; height: 4px; background: rgba(0,0,0,0.1); margin-top: 1rem; }
.progress-fill { height: 100%; background: var(--color-rust); width: 33%; transition: width 0.4s ease; }

.site-footer {
    background-color: #0a0a0a; color: var(--color-bone);
    padding: 6rem 4rem 2rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 4rem;
    align-items: start; max-width: 1400px; margin: 0 auto;
}
.footer-col.big-text {
    font-family: var(--font-display); font-size: 5rem;
    text-align: right; color: #1a1a1a; text-shadow: -1px -1px 0 var(--color-rust);
}
.copy-bar {
    border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4rem; padding-top: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-family: var(--font-body);
}

.mood-section {
    padding: 6rem 2rem; text-align: center;
    border-block: 1px solid rgba(255,255,255,0.05);
    background: radial-gradient(circle at center, #232220 0%, var(--color-charcoal) 70%);
}
.mood-section blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 3rem); max-width: 800px; margin: 0 auto; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake { animation: shake 0.3s ease-in-out; border-color: var(--color-rust) !important; }

.loader-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-charcoal); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: transform 0.8s var(--ease-snap);
}
body.loaded .loader-overlay { transform: translateY(-100%); }

@media (max-width: 1024px) {
    *, *::before, *::after { cursor: auto !important; }
    .cursor-dot, .cursor-circle { display: none !important; }
    .desktop-only { display: none !important; }
    
    .member-card, .location-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .member-card.reverse { direction: ltr; }
    .member-img { height: 350px; }
    .info-block { margin-bottom: 3rem; }
    .booking-container { max-width: 100%; width: 100%; position: absolute; right: 0; top: 0; }
}

@media (max-width: 768px) {
    .nav-main { padding: 1rem 1.5rem; gap: 10px; z-index: 300; }
    .nav-logo svg { width: 32px; height: 32px; }
    .logo-text { font-size: 0.75rem; line-height: 1.1; }
    .shop-status { display: none; }
    #open-booking { padding: 0.6rem 0.8rem; font-size: 0.75rem; white-space: nowrap; }
    .mobile-menu-toggle { display: flex; margin-left: 20px; }
    body.menu-open .mobile-menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    body.menu-open .mobile-menu-toggle span:nth-child(2) { transform: rotate(-45deg) translate(5px, -6px); }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5.5rem; gap: 3rem; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; height: 300px; }
    .hero-title { font-size: 3.5rem !important; }
    .hero-title .line-2, .hero-title .line-3 { margin-left: 0; }
    .hero-desc { border-left: none; padding-left: 0; margin-top: 1.5rem; border-top: 2px solid var(--color-rust); padding-top: 1rem; }
    .page-content { padding-top: 5.5rem; }
    .bento-item { grid-column: span 12 !important; }
    .bento-item.image-filler { min-height: 300px; height: 300px; padding: 0; }
    .booking-container { padding: 1.5rem; }
    .input-stack { flex-direction: column; }
    .selection-grid { grid-template-columns: 1fr; }
    .site-footer { padding: 3rem 1.5rem; text-align: center; }
    .footer-grid { display: flex; flex-direction: column; gap: 2.5rem; text-align: center; }
    .footer-col { width: 100%; margin: 0; }
    .footer-col.big-text {
        font-size: 3.5rem; text-align: center; margin-top: 1rem;
        color: transparent; -webkit-text-stroke: 1px var(--color-rust); text-shadow: none; opacity: 0.5;
    }
    .copy-bar { margin-top: 3rem; padding-top: 1.5rem; width: 100%; }
}

.credits-container {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(232, 229, 221, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.flow-link {
    position: relative;
    color: #FF9F1C;
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.flow-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #FF9F1C;
    box-shadow: 0 0 8px #FF9F1C;
    transition: width 0.4s var(--ease-snap);
}

/* Efekt po najechaniu */
.flow-link:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 159, 28, 0.8), 
                 0 0 30px rgba(255, 159, 28, 0.4);
}

.flow-link:hover::after {
    width: 100%;
}