/* DESIGN SYSTEM APPLIED */

/* ==========================================================================
   BAR I PRZYJACIELE - GLOBAL STYLES (v3.1)
   ========================================================================== */

:root {
    /* Kolory */
    --primary: #C5A059;
    --secondary: #E5C585;
    --text-dark: #050505;
    --text-light: #EAEAEA;
    --bg-light: #0f1115; 
    --bg-dark: #050505; 
    --bg-surface: #121212; /* New: Intermediate surface */
    --bg-tint: #0d0c0a;    /* New: Warm gold tint */
    /* Typografia */
    --font-main: 'Manrope', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;

    /* Skala Fontów */
    --size-h1: 3rem; 
    --size-h2: 2.25rem; 
    --size-h3: 1.75rem; 
    --size-h4: 1.5rem; 
    --size-p: 1rem; 
    --size-small: 0.875rem; 

    /* Line Heights */
    --line-heading: 1.2;
    --line-body: 1.6;
    --line-btn: 1;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;

    /* Borders & Effects */
    --radius: 2px; 
    --shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[x-cloak] { display: none !important; }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: var(--size-p);
    line-height: var(--line-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- UX Improvements --- */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}
*:focus:not(:focus-visible) {
    outline: none;
}

/* --- Navigation Fix --- */
.mobile-overlay-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
}

/* Fallback for Tailwind CDN on iOS Safari */
.hidden { display: none !important; }
.bg-lux-gold { background-color: var(--primary) !important; }
@media (max-width: 767px) {
    .md\:flex { display: none !important; }
    .md\:hidden { display: flex !important; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: var(--line-heading);
    margin-bottom: var(--space-md);
    font-weight: 400; 
}
h1 { font-size: var(--size-h1); font-weight: 600; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
h4 { font-size: var(--size-h4); }
p { 
    font-size: var(--size-p); 
    color: var(--text-light); 
    opacity: 0.95; 
    margin-bottom: var(--space-md); 
}

/* --- Button System --- */
.btn-primary, .btn-gold, .btn-luxury, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 0.85rem;
    line-height: var(--line-btn);
    min-height: 48px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::before, .btn-gold::before, .btn-luxury::before, .btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::before, .btn-gold::before, .btn-luxury::before { background-color: var(--primary); }
.btn-secondary::before { background-color: white; }

.btn-primary:hover::before, .btn-gold:hover::before, .btn-luxury:hover::before, .btn-secondary:hover::before {
    width: 100%;
}

.btn-primary, .btn-gold, .btn-luxury {
    background-color: rgba(197, 160, 89, 0.05);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-primary:hover, .btn-gold:hover, .btn-luxury:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.btn-ghost { color: var(--text-light); opacity: 0.8; }
.btn-ghost:hover { opacity: 1; color: var(--primary); }

/* --- Containers & Sections --- */
.bg-luxury-black { background-color: var(--bg-dark); }
.bg-luxury-charcoal { background-color: var(--bg-light); }
.bg-luxury-surface { background-color: var(--bg-surface); }
.bg-luxury-tint { background-color: var(--bg-tint); }

.section-glow {
    position: relative;
}
.section-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.glass-card, .card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: var(--space-md);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Inputs --- */
.luxury-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: var(--space-sm) 0;
    width: 100%;
    font-size: var(--size-p);
    border-radius: 0;
}
.luxury-input:focus { outline: none; border-bottom-color: var(--primary); }

/* --- Animations --- */
.fade-up { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* --- Mouse Scroll Icon --- */
.mouse-icon {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    position: relative;
    display: block;
    opacity: 0.8;
}

.mouse-wheel {
    width: 2px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 1px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}

.scroll-hint-bounce {
    animation: hint-bounce 2s ease-in-out infinite;
}

@keyframes hint-bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(8px) translateX(-50%); }
}

.animate-swipe-hand {
    animation: swipe-hand 2s ease-in-out infinite;
}

@keyframes swipe-hand {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Carousel System --- */
.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Narrative Experience Layout --- */
.narrative-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-bottom: 100px;
}

@media (min-width: 1024px) {
    .narrative-row { flex-direction: row; gap: 80px; }
    .narrative-row--reverse { flex-direction: row-reverse; }
    .narrative-row > * { flex: 1; }
}

.narrative-content {
    width: 100%;
}

.narrative-image-wrap {
    width: 100%;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.narrative-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s ease;
}

.narrative-row:hover .narrative-image-wrap img {
    transform: scale(1.05);
}

.manifesto-badge {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
    line-height: 1.2;
}

.flavor-tag-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 20px;
}

.drink-details {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.drink-details__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.drink-details__value {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.5;
}

/* --- Marquee (Infinite Scroll) --- */
.marquee {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- No Scrollbar --- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Process Steps --- */
.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

/* --- Hero Proposals Styles --- */

/* Proposal 1: Slider */
.hero-slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.05);
}
.hero-slider-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

/* Proposal 2: Split Screen */
.split-hero-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .split-hero-container {
        flex-direction: row;
    }
}

.split-side {
    position: relative;
    flex: 1;
    height: 50vh;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .split-side {
        height: 100vh;
    }
    .split-side:hover {
        flex: 1.5;
    }
}

.split-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.4);
}

.split-side:hover img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

/* Proposal 3: Gateway Cards */
.gateway-card {
    background: rgba(15, 17, 21, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.4s ease;
}

.gateway-card:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* --- Section Separator --- */
.proposal-separator {
    background: #000;
    padding: 100px 20px;
    text-align: center;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.proposal-separator h2 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 14px;
    color: var(--primary);
    margin: 0;
}

/* --- Hero Visibility Improvements --- */
.hero-text-shadow {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5em;
    color: var(--primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-weight: 700 !important;
    line-height: 1 !important;
}

.btn-hero-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #000;
    padding: 18px 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    border: 1px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.btn-hero-solid:hover {
    background-color: white;
    color: #000;
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
