/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.social-roll {
  height: 48px;
  width: 48px;
  margin: 5px; float: left;
  border-radius: 50%;
  transition: all ease 0.3s;
  opacity:1;
}

.social-roll:hover {
  box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.8);
  transform:rotate(360deg);
  opacity:0.5;
}
#aaa{margin-left: auto; margin-right: auto; height: 48px; width: 200px;} 

.obrazek{opacity:1;}
.obrazek:hover{opacity:0.8;}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0b0b0b;
    color: #e0e0e0;
    line-height: 1.6;
}

hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)); }

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

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

/* NAWIGACJA */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(11, 11, 11, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.navbar .logo img {
    max-height: 50px;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
}

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

.nav-menu ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

.nav-menu ul li a:hover {
    color: #eab698;
}

.nav-menu ul li a.nav-home-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
}

/* Przycisk Hamburgera */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #eab698;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Warstwa ściemniająca tło */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* SEKCJA HERO DLA ROTUJĄCEGO TŁA */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2rem;
    color: #eab698;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #fff;
    color: #0b0b0b;
}

/* Sekcja O nas */
.about {
    background-color: #111;
    text-align: center;
}

.about h2 {
    color: #eab698;
    margin-bottom: 30px;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #666;
    margin: 15px auto 0 auto;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    color: #aaa;
    font-size: 1.1rem;
}

/* Sekcja wyjazd */
.wyjazd {
   background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85)), url('img/wyjazd.jpg') no-repeat center center/cover fixed;
    text-align: center;
}

.wyjazd h2 {
    color: #eab698;
    margin-bottom: 30px;
    position: relative;
}

.wyjazd h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #666;
    margin: 15px auto 0 auto;
}

.wyjazd p {
    max-width: 800px;
    margin: 0 auto;
    color: #aaa;
    font-size: 1.1rem;
}

/* Sekcja Hipnoterapia */
.hipno {
    background-color: #0b0b0b;
    text-align: center;
}

.hipno h2 {
    color: #eab698;
    margin-bottom: 30px;
    position: relative;
}

.hipno h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #666;
    margin: 15px auto 0 auto;
}

.hipno p {
    max-width: 800px;
    margin: 0 auto;
    color: #aaa;
    font-size: 1.1rem;
}

/* Sekcja Zajęcia / Grid */
.classes {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)), url('img/style-yogi.jpg') no-repeat center center/cover fixed;
}

.classes h2, .pricing h2, .contact h2 {
    font-size: 2rem;
    color: #eab698;
    text-align: center;
    margin-bottom: 50px;
}

.grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.card, .price-card {
    display: table-cell;
    background-color: #16161699;
    padding: 40px 30px;
    border: 1px solid #222;
    text-align: center;
    vertical-align: top;
}

.card h3, .price-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.card p, .price-card p {
    color: #999;
    font-size: 0.95rem;
}

/* Cennik */
.pricing {
    background-color: #111;
}

.price-card .price {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #fff;
    margin: 20px 0;
}

.price-card .month {
    font-size: 1rem;
    color: #777;
}

.price-card.featured {
    border-color: #fff;
    background-color: #161616;
}

/* SEKCJA GALERII */
.gallery-section {
    background-color: #0b0b0b;
    text-align: center;
}
.gallery-section h2 {
    color: #eab698;
    font-size: 2rem;
    margin-bottom: 10px;
}
.gallery-subtitle {
    color: #777;
    margin-bottom: 40px;
    font-size: 0.95rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
    padding: 10px 0;
}
.gallery-item {
    overflow: hidden;
    border: 1px solid #222;
    background-color: #111;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: grayscale(20%);
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* LIGHTBOX EFFECT */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: #eab698;
}

/* Kontakt */
.contact {
    background-color: #111;
}

.contact p {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #141414;
    border: 1px solid #222;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    outline: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #555;
}

.contact-form .btn {
    width: 100%;
}

/* Stopka */
footer {
    background-color: #050505;
    padding: 30px 20px 40px 20px; /* Dodatkowy dolny padding */
    text-align: center;
    border-top: 1px solid #111;
    font-size: 0.85rem;
    color: #565656;
}

/* STYLIZACJA BANERU COOKIE */
.cookie-banner {
    position: fixed;
    bottom: -150px; /* Schowany na początku poniżej ekranu */
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.98);
    border-top: 1px solid #2a2a2a;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.7);
    z-index: 9999; /* Zawsze najwyżej */
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0; /* Wyjeżdża w górę */
}

.cookie-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: block;
    text-align: center;
}

.cookie-container p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-btn {
    display: inline-block;
    padding: 8px 25px;
    background-color: #eab698;
    color: #111;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.cookie-btn:hover {
    background-color: #f1c5ab;
    transform: translateY(-1px);
}

.cookie-btn:active {
    transform: translateY(0);
}

/* RESPONSYWNOŚĆ DLA SYSTEMU COOKIE I BANERU */
@media (min-width: 768px) {
    .cookie-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .cookie-container p {
        margin-bottom: 0;
        margin-right: 30px;
    }
}

/* RESPONSYWNOŚĆ MENU */
@media (max-width: 900px) {
    .hero-bg {
        background-attachment: scroll;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 85vh;
        background-color: rgba(11, 11, 11, 0.98);
        padding: 90px 40px 40px 40px;
        z-index: 1005;
        border-bottom: 1px solid #222;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
        overflow-y: auto;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 12px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 1.1rem;
        display: inline-block;
        padding: 8px 0;
        width: auto;
    }

    .nav-menu ul li a.nav-home-icon {
        font-size: 1.3rem;
        padding: 8px 0;
        width: 100%;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .grid {
        display: block;
    }
    .card, .price-card {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }
}
