:root {
    /* Jasny, pastelowy motyw zgodnie z życzeniem */
    --color-primary: #1B5E20; /* Głęboka, piękna zieleń pokerowa jako akcent główny */
    --color-primary-light: #4CAF50;
    --color-secondary: #0A3D14;
    
    --color-bg-body: #F4F7F5; /* Lekko pastelowy, szaro-zielonkawy, bardzo jasny tył */
    --color-bg-light: #FFFFFF; /* Czysta biel na karty i sekcje */
    
    --color-text-dark: #2C3E50;
    --color-text-muted: #6b7c93;
    
    --font-heading: 'Playfair Display', serif; /* Elegancki, kasynowy sznyt do nagłówków */
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 10px 30px rgba(0,0,0,0.03);
    --shadow-md: 0 20px 45px rgba(0,0,0,0.06);
    --shadow-lg: 0 30px 60px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }
.text-white { color: white !important; }

/* Przyciski */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.2);
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(27, 94, 32, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary-light);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(27, 94, 32, 0.2);
}

/* Wersja outline dla ciemnych tlach (np. hero) */
.hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Nawigacja */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--color-primary);
}

.btn-book {
    padding: 10px 24px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-dark);
}

/* Hero Section */
.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    /* background removed for transparent image support */
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Karty Gier (Przejście Hero -> O Nas) */
.games-cards-section {
    width: 100%;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.game-card {
    background: #ffffff;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 24px;
    transition: var(--transition);
}

.game-card img {
    mix-blend-mode: multiply;
}

.game-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 94, 32, 0.1);
}

.game-card h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: var(--color-text-dark);
}

.game-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Section Standard Elements */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--color-secondary);
}
.title-underline {
    height: 4px;
    width: 60px;
    background: var(--color-primary);
    margin: 20px auto 40px;
    border-radius: 2px;
}

/* O nas sekcja */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-text .mission {
    padding: 20px;
    background: #eaf2eb;
    border-left: 5px solid var(--color-primary);
    border-radius: 4px;
    margin-top: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px) translateY(-5px);
    border-color: rgba(27, 94, 32, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Venue (Nasze wnętrza) */
.venue-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.venue-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.venue-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 94, 32, 0.1);
}

.venue-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #eaf2eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
}

.venue-item h4 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

/* Oferty (Z kartami / badge) */
.offer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.offer-row.reverse {
    direction: rtl; /* szybki trick by zamienic strony, ale zawartosc musi miec dir ltr */
}
.offer-row.reverse > * {
    direction: ltr;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #eaf2eb;
    color: var(--color-primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.check-list i {
    color: var(--color-primary);
    margin-right: 15px;
    margin-top: 5px;
}

.offer-image-placeholder {
    height: 450px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaf2eb;
}

.watermark {
    width: 60%;
    opacity: 0.05;
    transform: rotate(-15deg) scale(1.5);
}

.watermark-center {
    width: 50%;
    opacity: 0.05;
}

/* Kontakt i Rezerwacja */
.contact-section {
    background-image: linear-gradient(rgba(10, 61, 20, 0.85), rgba(10, 61, 20, 0.95)), url('../img/b2b.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cd-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.cd-item i {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    color: #4CAF50;
}

.cd-item span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
}

.cd-item strong {
    font-size: 1.1rem;
}

.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    color: var(--color-text-dark);
    box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e1e8e3;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fdfdfd;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Footer */
.footer {
    background: #06230B; /* Bardzo ciemna zieleń, niemal czarna */
    color: white;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 15px;
    max-width: 300px;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1); /* Sprawia że czarne SVG będzie białe */
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    color: white;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 30px; height: 2px;
    background: var(--color-primary-light);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex; align-items: center;
}

.footer-contact i {
    width: 25px;
    color: var(--color-primary-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsywność */
@media(max-width: 991px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 30px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-primary-light);
    }
    .nav.active {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .hamburger {
        display: block;
    }
    .btn-book {
        margin-left: auto;
        margin-right: 20px;
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .about-grid, .venue-grid, .offer-row, .contact-wrapper, .footer-container {
        grid-template-columns: 1fr;
    }
    .venue-grid {
        grid-template-columns: 1fr 1fr;
    }
    .offer-image-placeholder {
        height: 300px;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 576px) {
    .venue-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 130px;
        justify-content: flex-start;
        gap: 30px;
    }
    .hero-title {
        font-size: 2.1rem;
        margin-bottom: 15px;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .game-card {
        padding: 30px 20px;
    }
    .game-card img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    .game-card h3 {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }
    .game-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    }
}

/* Custom Scrollbar */
html {
    scrollbar-color: var(--color-primary) var(--color-bg-body);
    scrollbar-width: thin;
    scroll-padding-top: 100px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-body); 
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary); 
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary); 
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.scroll-to-top:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-bg-body);
    z-index: 99999;
    display: flex;
    align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
body:not(.loading) #preloader {
    opacity: 0;
    visibility: hidden;
}
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cards-loader {
    position: relative;
    width: 45px;
    height: 65px;
    margin-bottom: 25px;
}
.poker-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    top: 0; left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform-origin: bottom center;
}
.poker-card::before {
    content: "♠";
    position: absolute;
    top: 3px; left: 4px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1;
}
.poker-card::after {
    content: "♠";
    position: absolute;
    bottom: 3px; right: 4px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1;
    transform: rotate(180deg);
}
.card-1 { transform: rotate(0deg); animation: fan1 2s infinite ease-in-out; z-index: 3;}
.card-2 { transform: rotate(0deg); animation: fan2 2s infinite ease-in-out; z-index: 2;}
.card-3 { transform: rotate(0deg); animation: fan3 2s infinite ease-in-out; z-index: 1;}

@keyframes fan1 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(-25deg) translateX(-15px) translateY(-5px); }
}
@keyframes fan2 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-15px); }
}
@keyframes fan3 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(25deg) translateX(15px) translateY(-5px); }
}
