:root {
    --primary: #009cff;
    --primary-hover: #0073e6;
    --bg-dark: #0f1115;
    --bg-card: #1a1d24;
    --text-main: #ffffff;
    --text-muted: #a0aabf;
    --border-color: #2a2d35;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.logo-container .logo { 
    height: 90px; 
    object-fit: contain; 
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1551698618-1dfe5d97d256?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center 35%/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.45), rgba(15, 17, 21, 0.85));
}

.hero-content { position: relative; z-index: 10; max-width: 800px; padding: 0 20px; }

.hero-content .subtitle { color: var(--primary); font-size: 18px; letter-spacing: 4px; margin-bottom: 10px; text-transform: uppercase; }

.hero-content .title { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }

.hero-content .desc { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #0073e6 100%);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #00bfff 0%, #005bb5 100%); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px rgba(0, 156, 255, 0.4);
}

/* Services */
.services { padding: 80px 20px; background-color: var(--bg-dark); }

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 20;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    margin-bottom: 25px;
    background: rgba(0, 156, 255, 0.1);
    width: 80px; height: 80px;
    margin: 0 auto 25px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}

.card h3 { font-size: 22px; margin-bottom: 15px; font-weight: 600; }

.card p { color: var(--text-muted); font-size: 15px; }

/* Nowe sekcje contentowe (zakładki) */
.content-section {
    padding: 40px 20px;
    background-color: var(--bg-dark);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
}

.section-container h2 {
    color: var(--text-main);
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
}

.section-container p {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.section-container p:last-child {
    margin-bottom: 0;
}

.section-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        background-position: 68% 120px;
        height: auto;
        min-height: 100vh;
        padding-top: 230px;
        padding-bottom: 60px;
    }
    .hero-content .title { font-size: 42px; }
    .nav-container { flex-direction: column; gap: 8px; width: 100%; padding: 8px 10px 12px; box-sizing: border-box; }
    .nav-links { order: 2; margin-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 520px; gap: 8px; }
    .nav-links a { margin: 0; padding: 8px 4px; font-size: 11px; text-align: center; white-space: normal; line-height: 1.2; }
    .logo-container { order: 1; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
    .logo-container a { display: flex; justify-content: center; align-items: center; width: 100%; }
    .logo-container .logo { width: 90%; max-width: 420px; height: auto; margin: 0 auto; display: block; }
    .cards-container { margin-top: 40px; }
}

/* --- Tabela godzin otwarcia (Kafelki na Mobile) --- */
@media (max-width: 768px) {
    .responsive-hours {
        min-width: 0 !important; /* Nadpisuje inline min-width: 600px z TinyMCE */
        display: block !important;
    }
    .responsive-hours thead {
        display: none !important;
    }
    .responsive-hours tbody,
    .responsive-hours tr,
    .responsive-hours td,
    .responsive-hours th {
        display: block !important;
        width: 100% !important;
    }
    .responsive-hours tr {
        margin-bottom: 20px !important;
        border: 2px solid var(--border-color) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background-color: var(--bg-card) !important;
    }
    .responsive-hours td {
        text-align: right !important;
        padding-left: 50% !important;
        position: relative !important;
        border: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
    .responsive-hours td:last-child {
        border-bottom: none !important;
    }
    
    /* Etykiety sezonow */
    .responsive-hours td::before {
        position: absolute;
        left: 15px;
        top: 15px;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--text-main);
    }
    
    /* Komórka 1: Dzien tygodnia */
    .responsive-hours td:nth-child(1) {
        background-color: var(--primary) !important;
        text-align: center !important;
        padding-left: 15px !important;
        color: #ffffff !important;
        font-size: 16px !important;
    }
    .responsive-hours td:nth-child(1)::before { content: ""; display: none !important; }
    
    /* Pozostale komorki: Sezony */
    .responsive-hours td:nth-child(2)::before { content: "27 paź - 31 sty:"; }
    .responsive-hours td:nth-child(3)::before { content: "1 lut - 31 mar:"; }
    .responsive-hours td:nth-child(4)::before { content: "kwi - paź:"; }
}

/* --- Poradniki (Rozwijane akordeony) --- */
.guide-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: left;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-box summary {
    padding: 20px 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    outline: none;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.guide-box summary::-webkit-details-marker {
    display: none;
}

.guide-box summary::after {
    content: "▼";
    color: var(--primary);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.guide-box[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.guide-box[open] summary::after {
    transform: rotate(180deg);
}

.guide-content {
    padding: 25px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

.guide-content p {
    margin-bottom: 15px;
    text-align: left;
    max-width: 100%;
}

.guide-content p:last-child {
    margin-bottom: 0;
}

/* Wsparcie dla formatowania (pogrubienia, listy, nagłówki) wklejanego z innych stron */
.guide-content strong, 
.guide-content b {
    font-weight: 700;
    color: var(--text-main);
}

.guide-content ul, 
.guide-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
    text-align: left;
}

.guide-content li {
    margin-bottom: 8px;
}

.guide-content h1, 
.guide-content h2, 
.guide-content h3, 
.guide-content h4 {
    color: var(--text-main);
    margin-top: 25px;
    margin-bottom: 15px;
    text-align: left;
    text-transform: none;
}

