html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
/* Base Styles */
:root {
    --primary-dark: #2c2c2c;
    --primary-darker: #1a1a1a;
    --primary-light: #ffffff;
    --accent-color: #a0a0a0;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    background-color: transparent;
}

header.scrolled {
    background-color: var(--primary-darker);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.logo-container {
    margin-left: 20px;
}

.logo {
    height: 50px;
    display: block;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    height: 40px;
}

nav {
    margin-right: 20px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Slider Section */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--text-light);
}

.slide-content h1,
.slide-content .slide-h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.slide-content h2,
.slide-content .slide-h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.5s;
}

.slide.active .slide-content h1,
.slide.active .slide-content .slide-h1,
.slide.active .slide-content h2,
.slide.active .slide-content .slide-h2,
.slide.active .slide-content .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    /*transition: all 0.5s ease 0.7s;*/
}

.cta-button:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-dot.active {
    background-color: var(--text-light);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background-color: var(--primary-darker);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 0 0 48%;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.about-image {
    flex: 0 0 48%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hours Section */
.hours-section {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
}

.hours-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.hours-box {
    flex: 0 0 30%;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hours-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.day {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.time {
    font-size: 24px;
    font-weight: 600;
}

/* Co warto wiedzieć Section */
.info-section {
    padding: var(--section-padding);
    background-color: var(--primary-darker);
}

.info-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.info-card {
    flex: 1 1 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.info-card p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
}

.info-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-light);
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.info-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-darker);
}

/* Media Queries - dodaj te style na końcu istniejących media queries */
@media (max-width: 768px) {
    .info-cards {
        flex-direction: column;
    }

    .info-card {
        margin-bottom: 20px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding);
    background-color: var(--primary-darker);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Price List Section */
/*.pricelist-section {*/
/*    padding: var(--section-padding);*/
/*    background-color: var(--primary-darker);*/
/*}*/

/*.pricelist-container {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    justify-content: space-between;*/
/*}*/

/*.pricelist-category {*/
/*    flex: 0 0 30%;*/
/*    margin-bottom: 40px;*/
/*}*/

/*.pricelist-category h3 {*/
/*    font-size: 22px;*/
/*    margin-bottom: 20px;*/
/*    padding-bottom: 10px;*/
/*    border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
/*    color: var(--accent-color);*/
/*}*/

/*.price-item {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    margin-bottom: 15px;*/
/*    padding-bottom: 15px;*/
/*    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);*/
/*}*/

/*.service {*/
/*    font-size: 16px;*/
/*}*/

/*.price {*/
/*    font-size: 16px;*/
/*    font-weight: 600;*/
/*}*/

/* Price List Section - Updated */
.pricelist-section {
    padding: var(--section-padding);
    background-color: var(--primary-darker);
}

.pricelist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricelist-category {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pricelist-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.category-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-header h3 {
    font-size: 22px;
    margin: 0;
    color: var(--accent-color);
    font-weight: 500;
}

.toggle-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.category-header.active .toggle-icon {
    transform: rotate(45deg);
}

.price-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.category-header.active + .price-list {
    max-height: 1000px; /* Wysokość wystarczająca, by pomieścić zawartość */
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.service {
    font-size: 16px;
    flex: 0 0 70%;
    padding-right: 20px;
}

.price {
    font-size: 16px;
    font-weight: 600;
    flex: 0 0 30%;
    text-align: right;
    color: var(--accent-color);
}

/* Media Queries dla cennika */
@media (max-width: 768px) {
    .service {
        flex: 0 0 60%;
    }

    .price {
        flex: 0 0 40%;
    }
}

@media (max-width: 576px) {
    .category-header h3 {
        font-size: 18px;
    }

    .price-item {
        padding: 12px 20px;
    }

    .service, .price {
        font-size: 14px;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 0 0 48%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-item {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.contact-item p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-map {
    flex: 0 0 48%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--primary-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo-img {
    height: 40px;
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Media Queries */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }

    .slide-content h1,
    .slide-content .slide-h1 {
        font-size: 3.5rem;
    }

    .slide-content h2,
    .slide-content .slide-h2 {
        font-size: 1.8rem;
    }

    .pricelist-category {
        flex: 0 0 48%;
    }
}
/* Footer Navigation */
.footer-nav {
    margin: 20px 0;
    width: 100%;
    text-align: center;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav li {
    margin: 0 15px 10px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-light);
}

/* Update footer content flex direction */
.footer-content {
    flex-direction: column;
    text-align: center;
}

/* RTG Nota Prawna Page */
.legal-notice-section {
    padding: var(--section-padding);
    background-color: var(--primary-darker);
    min-height: calc(100vh - 160px); /* Account for header and footer */
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.legal-text {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 576px) {
    .footer-nav li {
        margin: 0 10px 10px;
    }

    .footer-nav a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        float: right;
        position: relative;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .slide-content {
        left: 5%;
        width: 90%;
    }

    .slide-content h1,
    .slide-content .slide-h1 {
        font-size: 3rem;
    }

    .slide-content h2,
    .slide-content .slide-h2 {
        font-size: 1.5rem;
    }

    .about-content, .kids-content, .contact-container {
        flex-direction: column;
    }

    .about-text, .about-image, .kids-text, .kids-image, .contact-info, .contact-map {
        flex: 0 0 100%;
    }

    .about-text, .kids-text, .contact-info {
        margin-bottom: 40px;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricelist-category {
        flex: 0 0 100%;
    }

    .hours-box {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .slide-content h1,
    .slide-content .slide-h1 {
        font-size: 2.5rem;
    }

    .slide-content h2,
    .slide-content .slide-h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }
}

/* Partners Section */
.partners-section {
    padding: var(--section-padding);
    background-color: #3a3a3a; /* Szare tło, jaśniejsze niż czarna stopka */
}

.partners-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -20px;
}

.partners-slider {
    display: flex;
    width: max-content;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.partners-slider:active {
    cursor: grabbing;
}

.partner-logo {
    flex: 0 0 auto;
    margin: 0 25px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo img {
    max-height: 60px;
    max-width: 160px;
    filter: brightness(0) invert(1); /* Zmienia kolorowe logo na białe */
    opacity: 0.7;
    transition: all 0.3s ease;
    -webkit-user-drag: none;
    pointer-events: none;
}

.partner-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Keyframes będą dodane dynamicznie przez JavaScript */