body,
header {
    background-color: var(--bg-dark)
}

.logo-container,
.logo-img {
    width: auto;
    position: relative
}

.event-item,
header {
    border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.breadcrumbs a:hover,
.section-header h1,
body,
nav a {
    color: var(--text-white)
}

.main-footer,
.minimal-footer {
    font-family: Montserrat, sans-serif
}

.breadcrumbs .home-link:hover,
.breadcrumbs a,
.contact-item,
.social-btn,
.social-circle,
a {
    text-decoration: none
}

.footer-bottom,
.footer-copyright,
.hero-content,
.reviews-section,
footer {
    text-align: center
}

:root {
    --bg-dark: #1A3528;
    --bg-darker: #132a1f;
    --text-white: #ffffff;
    --text-accent: #C7D3C8;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-section: 80px 20px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    padding: 160px 0 0;
    font-family: var(--font-body);
    line-height: 1.6
}

main.container {
    position: relative;
    z-index: 1
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-top: 0
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px
}

.intro-header,
header,
nav {
    display: flex
}

a {
    color: inherit;
    transition: .3s
}

.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 1
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 10px
}

.section-header p {
    color: #c7d3c8;
    font-size: 1.2rem;
    margin-top: 0
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    overflow: visible
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: flex-start;
    z-index: 10000
}

.logo-img {
    height: 180px;
    object-fit: contain;
    top: 15px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .3))
}

nav {
    gap: 25px;
    align-items: center
}

nav a {
    font-weight: 500;
    font-size: .95rem
}

nav a.active,
nav a:hover {
    opacity: .8;
    color: var(--text-accent)
}

.btn-offer {
    background-color: #fff;
    color: var(--bg-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform .2s, background-color .3s
}

.carousel,
.events-section,
.history-box,
.reviews-section,
footer {
    background-color: var(--bg-darker)
}

.contact-form label,
.event-date,
.event-info p,
.intro-header p,
.team-content p {
    color: var(--text-accent)
}

.contact-section,
.events-section,
.intro-section,
.team-section {
    padding: var(--spacing-section)
}

.btn-offer:hover {
    transform: scale(1.05);
    background-color: #f0f0f0
}

.intro-header {
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start
}

.intro-header h2 {
    flex: 2;
    font-size: 2.5rem
}

.intro-header p {
    flex: 1;
    min-width: 300px
}

.intro-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px
}

.intro-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform .3s
}

.intro-gallery img:hover {
    transform: scale(1.02)
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px
}

.event-date {
    width: 120px;
    font-weight: 700;
    font-size: 1.2rem
}

.event-info,
.team-content,
.team-img {
    flex: 1
}

.event-info h3 {
    margin-bottom: 5px
}

.event-info p {
    margin: 0
}

.btn-ticket {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px
}

.gallery-grid,
.reviews-section {
    padding: var(--spacing-section)
}

.btn-ticket:hover {
    background: #fff;
    color: var(--bg-dark)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr)
}

.g-img-1 {
    grid-column: span 5
}

.g-img-2 {
    grid-column: span 4;
    align-self: center
}

.g-img-3 {
    grid-column: 5/span 5;
    z-index: 1
}

.team-member {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px
}

.team-member.reversed {
    flex-direction: row-reverse
}

.team-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.team-content h2 {
    font-size: 3rem;
    margin-bottom: 20px
}

.team-content p {
    font-size: 1.1rem
}

.history-box {
    padding: 40px;
    border-radius: 20px
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px
}

.contact-details {
    margin-top: 40px;
    border-left: 3px solid rgba(255, 255, 255, .3);
    padding-left: 20px
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: .9rem
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 15px;
    color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: #fff;
    background: rgba(255, 255, 255, .05)
}

.contact-form button {
    background-color: #fff;
    color: var(--bg-dark);
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    transition: .3s
}

.contact-form button:hover {
    background-color: #ddd
}

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    filter: invert(90%) hue-rotate(180deg) grayscale(20%)
}

footer {
    padding: 30px;
    font-size: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .05);
    background-color: #1a1a1a;
    color: #e0e0e0
}

.carousel,
.carousel-container {
    margin: 0 auto;
    position: relative
}

.carousel {
    height: 500px;
    overflow: visible;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    min-height: 400px;
    width: 100%
}

.carousel-track-container {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%
}

.carousel-container {
    max-width: 1200px;
    padding: 20px 60px
}

.carousel-track {
    position: relative;
    height: 100%;
    transition: transform .4s ease-in-out;
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px
}

.carousel-btn,
.lightbox-btn,
.lightbox-close {
    transition: .3s;
    cursor: pointer
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    transition: opacity .6s ease-in-out, transform .3s;
    transform: translateZ(0)
}

.carousel-track img:hover {
    transform: scale(1.03)
}

.carousel-track img.loaded {
    opacity: 1
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: rgba(255, 255, 255, .6);
    border: none;
    font-size: 3rem;
    padding: 10px;
    z-index: 10;
    left: 0
}

.carousel-btn:hover {
    color: #ff6b6b;
    transform: translateY(-50%) scale(1.2)
}

.carousel-btn.prev {
    left: -60px
}

.carousel-btn.next {
    left: auto;
    right: -60px
}

@media (max-width:1024px) {
    .carousel-container {
        padding: 20px 10px
    }
    .carousel-btn {
        font-size: 1.5rem;
        background-color: rgba(0, 0, 0, .5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff
    }
    .carousel-btn.prev {
        left: 15px
    }
    .carousel-btn.next {
        right: 15px
    }
}

@media (max-width:768px) {
    .carousel {
        height: auto;
        min-height: 650px;
        padding-bottom: 40px
    }
    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        height: auto
    }
    .carousel-container {
        padding: 20px
    }
    .carousel-btn {
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, .5);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #fff;
        z-index: 20
    }
    .carousel-btn.prev {
        left: 10px;
        right: auto
    }
    .carousel-btn.next {
        right: 10px;
        left: auto
    }
    .carousel-dots {
        display: none
    }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .95);
    backdrop-filter: blur(5px)
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5)
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 700;
    z-index: 2001
}

.lightbox-close:hover,
.modal-close:hover {
    color: #ff6b6b
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: 0 0;
    color: #fff;
    border: none;
    font-size: 3rem;
    padding: 20px;
    z-index: 10001;
    opacity: .7
}

.lightbox-btn:hover {
    opacity: 1;
    color: #ff6b6b;
    transform: translateY(-50%) scale(1.1)
}

.lightbox-btn.prev {
    left: 20px
}

.lightbox-btn.next {
    right: 20px
}

.carousel-dots {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, .3);
    border-radius: 50%;
    cursor: pointer
}

.carousel-dot.active {
    background-color: var(--text-white);
    transform: scale(1.2)
}

.hamburger {
    display: none;
    cursor: pointer
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: .3s ease-in-out;
    background-color: #fff
}

.breadcrumbs,
.breadcrumbs a,
.hero-content p {
    color: var(--text-accent)
}

.breadcrumbs-container {
    width: 100%;
    padding: 15px 0 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 998;
    background-color: var(--bg-dark);
    transition: .3s;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.breadcrumbs-container.scrolled {
    padding: 5px 0;
    background-color: var(--bg-darker);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2)
}

.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: .9rem
}

.breadcrumbs .home-link,
.breadcrumbs li {
    align-items: center;
    display: flex
}

.breadcrumbs a {
    transition: color .3s
}

.breadcrumbs a:hover {
    text-decoration: underline
}

.breadcrumbs .home-link {
    justify-content: center;
    padding: 5px;
    margin-left: -5px;
    border-radius: 4px;
    transition: background-color .3s
}

.breadcrumbs .home-link:hover {
    background-color: rgba(255, 255, 255, .1)
}

.breadcrumbs svg {
    width: 20px;
    height: 20px;
    fill: var(--text-accent);
    transition: fill .3s
}

.breadcrumbs .home-link:hover svg {
    fill: var(--text-white)
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, .3);
    font-size: 1.1rem
}

.breadcrumbs .current {
    color: var(--text-white);
    font-weight: 600;
    cursor: default;
    position: relative;
    top: 1px
}

@media (max-width:900px) {
    header {
        flex-direction: column;
        gap: 20px
    }
    nav {
        flex-wrap: wrap;
        justify-content: center
    }
    .contact-grid,
    .intro-header,
    .team-member,
    .team-member.reversed {
        flex-direction: column
    }
    .intro-header h2,
    .intro-header p {
        min-width: auto
    }
    .gallery-grid {
        display: flex;
        flex-direction: column
    }
    .contact-info h2,
    .team-content h2 {
        font-size: 2rem
    }
    header {
        height: 70px;
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100vw;
        overflow: hidden
    }
    body {
        padding-top: 90px
    }
    .logo-container {
        width: auto;
        margin: 0;
        display: flex;
        align-items: center
    }
    .logo-img {
        height: 50px;
        width: auto;
        position: relative;
        top: 0;
        left: 0;
        max-width: 200px;
        object-fit: contain
    }
    .intro-header h2,
    .intro-header p,
    .nav-menu {
        width: 100%
    }
    .hamburger {
        display: block;
        z-index: 10001;
        margin-left: 15px;
        transform: scale(.9)
    }
    .nav-menu {
        display: flex;
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 50px;
        overflow-y: auto
    }
    .nav-menu a {
        color: var(--text-white);
        flex-shrink: 0;
        width: 100%;
        text-align: center;
        display: block;
        margin: 15px 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-white);
        text-decoration: none
    }
    .nav-menu .btn-offer {
        display: inline-block;
        order: 10;
        margin-bottom: 20px;
        color: var(--text-white)!important;
        border: 2px solid var(--text-white)!important;
        flex-shrink: 0;
        width: auto!important;
        order: 10;
        margin-top: 40px;
        background-color: transparent!important;
        color: var(--text-white)!important;
        border: 2px solid var(--text-white)!important;
        padding: 10px 40px!important;
        border-radius: 50px;
        font-size: 1.2rem!important
    }
    .contact-grid,
    .gallery-grid,
    .intro-header,
    .team-member,
    .team-member.reversed {
        flex-direction: column;
        text-align: center
    }
    .g-img-3 {
        margin-top: 0
    }
    .team-img img {
        height: 300px
    }
    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px)
    }
    .carousel-container {
        padding: 20px
    }
    .carousel-btn {
        top: auto;
        bottom: -50px
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column!important;
        justify-content: center;
        align-items: center;
        height: 100vh;
        transition: .3s ease-in-out;
        padding-top: 0;
        z-index: 10000;
        margin: 0;
        box-shadow: none
    }
    .nav-menu.active {
        left: 0
    }
    .nav-menu .btn-offer:hover {
        background-color: #fff!important;
        color: var(--bg-dark)!important
    }
    .nav-menu .btn-offer::after {
        display: none!important
    }
    .breadcrumbs-container {
        top: 70px;
        padding: 10px 0
    }
    .breadcrumbs-container .container {
        padding-left: 20px
    }
    .breadcrumbs-container.scrolled {
        padding: 5px 0
    }
}

.hidden-arrow {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default
}

.modal-close,
.offer-card,
.theme-card {
    cursor: pointer
}

.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -60px
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: .4
}

.hero-content {
    padding: 20px;
    z-index: 2;
    max-width: 800px
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5)
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px
}

.feature-card {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .3s
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, .2)
}

.feature-card h3 {
    color: gold;
    margin-bottom: 15px
}

.themes-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0
}

.theme-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden
}

.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.theme-card:hover img {
    transform: scale(1.1)
}

.theme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    padding: 20px;
    transform: translateY(0)
}

#details-modal,
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%
}

.btn-hero-gold {
    background-color: gold;
    color: #1a3528;
    border: 2px solid gold;
    transition: .3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, .3)
}

.btn-hero-gold:hover {
    background-color: #fff;
    border-color: #fff;
    color: #1a3528;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, .3)
}

.btn-hero-outline {
    background-color: transparent;
    color: rgba(255, 255, 255, .8);
    border: 2px solid rgba(255, 255, 255, .3);
    transition: .3s
}

.btn-hero-outline:hover {
    border-color: gold;
    color: gold;
    background-color: rgba(0, 0, 0, .2);
    transform: translateY(-3px)
}

.modal-overlay {
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: .3s fadeIn
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    transform: scale(.8);
    animation: .3s forwards zoomIn
}

.site-footer {
    background-color: #111;
    color: #bbb;
    padding: 60px 0 20px;
    font-size: .95rem;
    border-top: 4px solid gold
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px
}

.footer-col {
    flex: 1;
    min-width: 250px
}

.footer-logo {
    display: inline-block
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: gold
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px
}

.contact-info,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.contact-info li,
.footer-links li {
    margin-bottom: 12px
}

.contact-info a,
.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: .3s
}

.contact-info a:hover,
.footer-links a:hover {
    color: gold;
    padding-left: 5px
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    color: #fff;
    transition: .3s;
    font-size: .9rem
}

.social-btn.facebook {
    background-color: #3b5998;
    border: 1px solid #3b5998
}

.social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border: 1px solid #d6249f
}

.social-btn:hover {
    transform: translateY(-3px);
    opacity: .9
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 20px;
    font-size: .85rem;
    color: #666
}

.main-footer {
    background-color: #0f0f0f;
    color: #b0b0b0;
    padding-top: 70px;
    padding-bottom: 30px;
    border-top: 3px solid gold
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr
}

.contact-item,
.footer-contact,
.footer-flex-wrapper,
.footer-socials,
.social-circle {
    display: flex;
    display: flex
}

@media (min-width:900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        align-items: start
    }
}

.minimal-footer {
    background-color: #0a0a0a;
    border-top: 1px solid #333;
    padding: 40px 0 20px;
    color: #ccc
}

.footer-flex-wrapper {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.footer-logo {
    font-family: Merriweather, serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px
}

.brand-tagline {
    font-size: .85rem;
    color: #777;
    margin: 0
}

.footer-contact {
    gap: 25px
}

.contact-item {
    color: #bbb;
    font-size: .95rem;
    align-items: center;
    gap: 8px;
    transition: color .3s
}

.contact-item:hover {
    color: gold
}

.contact-item .icon {
    font-size: 1.1rem
}

.footer-socials {
    gap: 15px
}

.social-circle {
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #fff;
    font-weight: 700;
    font-family: sans-serif;
    border: 1px solid #333;
    transition: .3s
}

.social-circle:hover {
    background-color: gold;
    color: #000;
    border-color: gold;
    transform: scale(1.1)
}

.footer-copyright {
    font-size: .75rem;
    color: #555;
    margin-top: 20px
}

@media (max-width:768px) {
    .hero-section {
        height: 60vh
    }
    .hero-content h1 {
        font-size: 2rem
    }
    .footer-row {
        flex-direction: column;
        text-align: center
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%)
    }
    .social-buttons {
        justify-content: center
    }
    .footer-flex-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px
    }
    .footer-contact {
        flex-direction: column;
        gap: 15px
    }
    .footer-logo {
        font-size: 1.8rem
    }
}

#details-modal {
    height: 100vh;
    background-color: rgba(0, 0, 0, .9);
    z-index: 2147483647!important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s
}

#details-modal.active {
    display: flex!important;
    opacity: 1!important;
    pointer-events: auto
}

.modal-content {
    background-color: #1a1a1a;
    border: 2px solid gold;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, .9);
    z-index: 2147483648
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    transition: .3s
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0
    }
    to {
        transform: scale(1);
        opacity: 1
    }
}

.social-circle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill .3s
}

.social-circle {
    display: flex;
    justify-content: center;
    align-items: center
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px 80px;
    width: 100%
}

.g-img-1,
.g-img-2,
.g-img-3 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    width: 100%;
    grid-column: auto!important;
    margin-top: 0!important
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.btn-submit-oval {
    background-color: #fff;
    color: var(--bg-dark);
    padding: 15px 40px;
    width: 100%;
    border: none;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: .3s;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.btn-submit-oval:hover {
    background-color: gold;
    color: #1a3528;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3)
}

.footer-copyright a:hover {
    color: gold!important;
    text-decoration: underline!important
}

@media (max-width:900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }
    .g-img-1,
    .g-img-2,
    .g-img-3 {
        height: 300px
    }
    .contact-grid,
    .footer-flex-wrapper {
        flex-direction: column;
        text-align: center
    }
    .container {
        padding: 0 15px;
        overflow-x: hidden
    }
    .contact-grid {
        display: flex;
        gap: 40px
    }
    .contact-info div[style*=border-left] {
        border-left: none!important;
        border-top: 2px solid #fff;
        padding-left: 0!important;
        padding-top: 20px;
        margin-top: 20px!important
    }
    .contact-info h2 {
        font-size: 2rem
    }
    .contact-form {
        width: 100%
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 16px
    }
    .map-container {
        height: 300px;
        margin-top: 30px
    }
    .footer-flex-wrapper {
        gap: 30px
    }
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 15px
    }
}

@media (max-width:600px) {
    .btn-submit-oval {
        padding: 12px 20px!important;
        font-size: .9rem!important;
        letter-spacing: .5px;
        white-space: nowrap
    }
    #form-message span {
        display: block;
        font-size: .85rem;
        padding: 15px!important;
        line-height: 1.4
    }
    .contact-section {
        padding: 40px 15px!important
    }
}

@media (min-width:1101px) {
    .breadcrumbs-container {
        top: 100px!important;
        margin-top: 0!important;
        z-index: 998
    }
    .breadcrumbs-container .container {
        padding-left: 220px!important;
        box-sizing: border-box
    }
}

@media (min-width:1201px) {
    .breadcrumbs-container {
        top: 100px!important;
        margin-top: 0!important;
        z-index: 998
    }
    .breadcrumbs-container .container {
        padding-left: 220px!important;
        box-sizing: border-box
    }
}

@media (max-width:1200px) {
    .logo-img,
    body,
    html {
        position: static!important
    }
    body,
    html {
        overflow-x: visible!important;
        padding-top: 70px!important
    }
    .container,
    .hero-section,
    footer,
    header,
    section {
        max-width: 100vw;
        overflow-x: hidden
    }
    header {
        height: 70px!important;
        padding: 0 15px!important
    }
    .logo-img {
        height: 50px!important;
        width: auto;
        margin: 0
    }
    .logo-container {
        height: 100%;
        display: flex;
        align-items: center
    }
    .breadcrumbs-container {
        position: -webkit-sticky!important;
        position: sticky!important;
        top: 70px!important;
        z-index: 900;
        background-color: var(--bg-dark);
        margin-top: 0!important;
        padding: 10px 0!important;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .2)
    }
    .breadcrumbs-container .container {
        padding-left: 15px!important;
        padding-right: 15px!important
    }
    .breadcrumbs {
        font-size: .8rem;
        flex-wrap: wrap;
        justify-content: center
    }
    .contact-section,
    .offer-intro-section,
    .section-header,
    .team-section,
    main.container {
        padding-top: 30px!important
    }
    .hero-section {
        margin-top: 0!important;
        padding-top: 0!important
    }
}

 :root {
    --bg-dark: #1A3528;
    /* Główna ciemna zieleń */
    --bg-darker: #132a1f;
    /* Ciemniejsza zieleń (tło sekcji) */
    --text-white: #ffffff;
    --text-accent: #C7D3C8;
    /* Jasnoszary/zielonkawy do opisów */
    /* Czcionki */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Montserrat', sans-serif;
    /* Odstępy */
    --spacing-section: 80px 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 160px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
}

main.container {
    position: relative;
    /* Żeby z-index zadziałał */
    z-index: 1;
    /* Bardzo niski numer (header ma 9999) */
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}


/* --- STYLE DLA TYTUŁU GALERII --- */

.section-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    /* Upewniamy się, że treść jest na warstwie widocznej */
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.section-header p {
    /* Wpisz kolor ręcznie, żeby mieć pewność, że zadziała */
    color: #C7D3C8;
    font-size: 1.2rem;
    margin-top: 0;
}


/* Kontener centrujący treść (max 1200px) */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* --- 2. NAGŁÓWEK (HEADER) --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Wysokość samego paska tła */
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* To centruje menu nawigacyjne w pionie */
    padding: 0 5%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* KLUCZOWE: Pozwala elementom wewnątrz wystawać poza granice paska */
    overflow: visible;
}

.logo-container {
    /* Kontener jest elementem Flexboxa, więc "odpycha" menu */
    height: 100%;
    display: flex;
    align-items: flex-start;
    /* Zaczepiamy logo u góry kontenera */
    /* Nie ustawiamy sztywnej szerokości - niech dopasuje się do obrazka */
    width: auto;
    /* Dodajemy z-index, żeby logo było nad dolną linią headera */
    position: relative;
    z-index: 10000;
}

.logo-img {
    /* Logo jest fizycznie w pasku, ale jest wyższe niż pasek (100px) */
    height: 180px;
    width: auto;
    object-fit: contain;
    /* TRICK NA PRZESUNIĘCIE W DÓŁ BEZ PSUCIA UKŁADU: */
    position: relative;
    top: 15px;
    /* Przesuwamy logo w dół o 15px (dostosuj tę liczbę) */
    /* Dzięki temu, że nie ma absolute, logo "rezerwuje" sobie szerokość,
więc przy zmniejszaniu okna menu nie wjedzie pod logo */
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3));
    /* Cień dla efektu 3D */
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover,
nav a.active {
    opacity: 0.8;
    color: var(--text-accent);
}


/* Przycisk w menu */

.btn-offer {
    background-color: white;
    color: var(--bg-dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-offer:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}


/* --- 3. SEKCJA INTRO (STRONA GŁÓWNA) --- */

.intro-section {
    padding: var(--spacing-section);
}

.intro-header {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.intro-header h2 {
    flex: 2;
    font-size: 2.5rem;
}

.intro-header p {
    flex: 1;
    color: var(--text-accent);
    min-width: 300px;
}

.intro-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.intro-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.intro-gallery img:hover {
    transform: scale(1.02);
}


/* --- 4. SEKCJA WYDARZEŃ (EVENTS) --- */

.events-section {
    background-color: var(--bg-darker);
    padding: var(--spacing-section);
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.event-date {
    width: 120px;
    color: var(--text-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    margin-bottom: 5px;
}

.event-info p {
    color: var(--text-accent);
    margin: 0;
}

.btn-ticket {
    border: 1px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-ticket:hover {
    background: white;
    color: var(--bg-dark);
}


/* --- 5. GALERIA MOZAIKOWA (STRONA GŁÓWNA) --- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: var(--spacing-section);
}

.g-img-1 {
    grid-column: span 5;
}

.g-img-2 {
    grid-column: span 4;
    align-self: center;
}

.g-img-3 {
    grid-column: 5 / span 5;
    margin-top: -50px;
    z-index: 1;
}


/* --- 6. SEKCJA OPINII --- */

.reviews-section {
    padding: var(--spacing-section);
    background-color: var(--bg-darker);
    text-align: center;
}


/* --- 7. ZESPÓŁ I HISTORIA (STRONA O NAS) --- */

.team-section {
    padding: var(--spacing-section);
}

.team-member {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}


/* Klasa odwracająca kolejność (tekst po lewej, zdjęcie po prawej) */

.team-member.reversed {
    flex-direction: row-reverse;
}

.team-img {
    flex: 1;
}

.team-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-content {
    flex: 1;
}

.team-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.team-content p {
    font-size: 1.1rem;
    color: var(--text-accent);
}


/* Wyróżniony box dla Historii */

.history-box {
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 20px;
}


/* --- 8. KONTAKT I MAPA (STRONA KONTAKT) --- */

.contact-section {
    padding: var(--spacing-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
}


/* Stylowanie formularza */

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-accent);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    color: white;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.contact-form button {
    background-color: white;
    color: var(--bg-dark);
    border: none;
    padding: 15px 30px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #ddd;
}


/* Kontener mapy */

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    /* Filtr odwracający kolory mapy na ciemne */
    filter: invert(90%) hue-rotate(180deg) grayscale(20%);
}


/* --- 9. STOPKA (FOOTER) --- */

footer {
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    color: #888;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* --- 10. RESPANSYWNOŚĆ (TELEFONY I TABLETY) --- */

@media (max-width: 900px) {
    /* Header w pionie */
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    /* Układy kolumnowe zamieniamy na pionowe */
    .intro-header,
    .contact-grid,
    .team-member,
    .team-member.reversed {
        flex-direction: column;
        text-align: center;
    }
    .intro-header h2,
    .intro-header p {
        width: 100%;
        min-width: auto;
    }
    /* Galeria mozaikowa w pionie */
    .gallery-grid {
        display: flex;
        flex-direction: column;
    }
    .g-img-3 {
        margin-top: 0;
    }
    /* Zmniejszenie zdjęć zespołu */
    .team-img img {
        height: 300px;
    }
    .team-content h2,
    .contact-info h2 {
        font-size: 2rem;
    }
}


/* --- KONTENER GALERII --- */

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    /* Dodajemy margines boczny na PC, żeby strzałki miały miejsce i nie dotykały krawędzi ekranu */
    padding: 20px 80px;
}

.carousel {
    position: relative;
    height: 500px;
    /* Wysokość obszaru ze zdjęciami */
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    /* Ukrywa to co wychodzi poza kadr */
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-darker);
    /* Ciemniejsze tło pod zdjęciem */
}


/* Ścieżka, po której przesuwają się zdjęcia */

.carousel-track-container {
    background: var(--bg-darker);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}


/* --- GALERIA TYPU GRID (SIATKA) - CZYSTA WERSJA --- */

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 60px;
}

.carousel {
    min-height: 400px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.carousel-track-container {
    width: 100%;
    height: 100%;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.3s ease;
    transform: translateZ(0);
}

.carousel-track img:hover {
    transform: scale(1.03);
}

.carousel-track img.loaded {
    opacity: 1;
}


/* --- STRZAŁKI NAWIGACYJNE --- */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 3rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    left: 0px;
}

.carousel-btn:hover {
    color: #FF6B6B;
    transform: translateY(-50%) scale(1.2);
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    left: auto;
    right: -60px;
}


/* --- RESPANSYWNOŚĆ GALERKI (TABLETY I TELEFONY) --- */

@media (max-width: 1024px) {
    .carousel-container {
        padding: 20px 10px;
    }
    .carousel-btn {
        font-size: 1.5rem;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }
    .carousel-btn.prev {
        left: 15px;
    }
    .carousel-btn.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: auto;
        min-height: 650px;
        padding-bottom: 40px;
    }
    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        height: auto;
    }
    .carousel-container {
        padding: 20px;
    }
    .carousel-btn {
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        z-index: 20;
    }
    .carousel-btn.prev {
        left: 10px;
        right: auto;
    }
    .carousel-btn.next {
        right: 10px;
        left: auto;
    }
    .carousel-dots {
        display: none;
    }
}


/* --- LIGHTBOX (PEŁNY EKRAN) --- */

.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #FF6B6B;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    font-size: 3rem;
    padding: 20px;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.7;
    transition: 0.3s;
}

.lightbox-btn:hover {
    opacity: 1;
    color: #FF6B6B;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-btn.prev {
    left: 20px;
}

.lightbox-btn.next {
    right: 20px;
}


/* --- KROPKI CAROUSEL --- */

.carousel-dots {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: var(--text-white);
    transform: scale(1.2);
}


/* --- HAMBURGER MENU --- */

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}


/* --- RESPANSYWNOŚĆ (TABLETY I TELEFONY - poniżej 900px) --- */

@media (max-width: 900px) {
    /* 1. NAGŁÓWEK - UKŁAD POZIOMY */
    header {
        /* Zmniejszamy wysokość paska z 80px na 70px */
        height: 70px;
        /* KLUCZOWE: Mniejszy padding po bokach (tylko 15px zamiast 20px lub 5%) */
        /* To daje więcej miejsca na logo i hamburgera */
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        /* Zabezpieczenie przed wychodzeniem poza ekran */
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        /* Ukrywa wszystko co wystaje na boki */
    }
    body {
        padding-top: 90px;
        /* Dopasowujemy odstęp treści od góry */
    }
    /* 2. LOGO */
    .logo-container {
        width: auto;
        /* Usuwamy wszelkie marginesy, które mogłyby psuć układ */
        margin: 0;
        display: flex;
        align-items: center;
    }
    .logo-img {
        /* Zmniejszamy logo, żeby nie było kobyłą na małym ekranie */
        height: 50px;
        width: auto;
        /* Zachowaj proporcje */
        position: relative;
        top: 0;
        left: 0;
        /* Opcjonalnie: Jeśli logo jest bardzo szerokie, ogranicz jego max szerokość */
        max-width: 200px;
        object-fit: contain;
    }
    /* 3. HAMBURGER (IKONA MENU) */
    .hamburger {
        display: block;
        z-index: 10001;
        margin-left: 15px;
        /* Mniejszy odstęp od logo */
        transform: scale(0.9);
        /* Skalujemy ikonę do 90%, żeby była zgrabniejsza */
    }
    /* 4. MENU WYSUWANE (LISTA LINKÓW) */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        /* Na cały ekran */
        /* TWORZYMY KOLUMNĘ */
        display: flex;
        flex-direction: column;
        align-items: center;
        /* To centruje elementy w poziomie (lewo-prawo) */
        /* ZAMIAST "CENTER", DAJEMY "FLEX-START" + PADDING */
        /* Dzięki temu na niskich ekranach górne linki nie znikną, a pojawi się scroll */
        justify-content: flex-start;
        padding-top: 100px;
        /* Odstęp od góry (żeby nie wchodzić na "X" lub logo) */
        padding-bottom: 50px;
        /* Odstęp od dołu */
        /* KLUCZ DO SUKCESU: SCROLLOWANIE */
        overflow-y: auto;
        /* Jeśli treść jest za długa, pojawi się suwak */
        background-color: var(--bg-dark);
        transition: 0.3s ease-in-out;
        z-index: 10000;
        box-shadow: none;
    }
    .nav-menu.active {
        left: 0;
    }
    /* LINKI (STRONA GŁÓWNA, GALERIA ITD.) */
    .nav-menu a {
        /* Wymuszamy, żeby link był szeroki na kontener, ale tekst był na środku */
        width: 100%;
        text-align: center;
        display: block;
        margin: 15px 0;
        /* Odstęp między linkami */
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-white);
        text-decoration: none;
        flex-shrink: 0;
        /* Zapobiega zgniataniu linków jak jest mało miejsca */
    }
    /* PRZYCISK OFERTA (NA DOLE KOLUMNY) */
    .nav-menu .btn-offer {
        /* Resetujemy szerokość, żeby nie był wielki */
        width: auto !important;
        display: inline-block;
        /* Zachowuje się jak przycisk, nie jak blok */
        /* Ustawiamy go na końcu */
        order: 10;
        margin-top: 40px;
        /* Duży odstęp od ostatniego linku */
        margin-bottom: 20px;
        /* Wygląd */
        background-color: transparent !important;
        color: var(--text-white) !important;
        border: 2px solid var(--text-white) !important;
        padding: 12px 40px !important;
        border-radius: 50px;
        font-size: 1.1rem !important;
        flex-shrink: 0;
        /* Nie zgniataj przycisku */
    }
    .nav-menu .btn-offer:hover {
        background-color: white !important;
        color: var(--bg-dark) !important;
    }
    .nav-menu .btn-offer::after {
        display: none !important;
    }
    /* 5. RESZTA UKŁADU STRONY (PIONOWO) */
    .intro-header,
    .contact-grid,
    .team-member,
    .team-member.reversed,
    .gallery-grid {
        flex-direction: column;
        text-align: center;
    }
    .intro-header h2,
    .intro-header p {
        width: 100%;
    }
    .g-img-3 {
        margin-top: 0;
    }
    .team-img img {
        height: 300px;
    }
    /* Karuzela na telefonie */
    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
    .carousel-container {
        padding: 20px;
    }
    .carousel-btn {
        top: auto;
        bottom: -50px;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        /* TWORZYMY PIONOWĄ KOLUMNĘ */
        display: flex;
        flex-direction: column !important;
        /* Wymuszamy pion */
        /* CENTROWANIE TOTALNE */
        justify-content: center;
        /* Środek góra-dół */
        align-items: center;
        /* Środek lewo-prawo */
        background-color: var(--bg-dark);
        /* Lub ten kolor, który wybrałeś wcześniej */
        width: 100%;
        height: 100vh;
        transition: 0.3s ease-in-out;
        padding-top: 0;
        z-index: 10000;
        /* Resetujemy wszelkie inne style, które mogą przeszkadzać */
        margin: 0;
        box-shadow: none;
    }
    .nav-menu.active {
        left: 0;
    }
    /* STYLIZACJA LINKÓW (ŻEBY SIĘ NIE ROZJEŻDŻAŁY) */
    .nav-menu a {
        /* To jest kluczowe: Link zajmuje całą szerokość kontenera... */
        width: 100%;
        /* ...ale tekst w środku jest wycentrowany */
        text-align: center;
        display: block;
        margin: 15px 0;
        /* Odstępy góra-dół */
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-white);
        text-decoration: none;
    }
    /* NAPRAWA PRZYCISKU OFERTA (ŻEBY TEŻ BYŁ NA ŚRODKU) */
    .nav-menu .btn-offer {
        /* Resetujemy szerokość na automatyczną (tylko tyle ile tekst) */
        width: auto !important;
        /* Przenosimy na dół (opcjonalnie, jak chciałeś wcześniej) */
        order: 10;
        margin-top: 40px;
        /* Styl wyglądu */
        background-color: transparent !important;
        color: var(--text-white) !important;
        border: 2px solid var(--text-white) !important;
        padding: 10px 40px !important;
        border-radius: 50px;
        font-size: 1.2rem !important;
    }
    .nav-menu .btn-offer:hover {
        background-color: white !important;
        color: var(--bg-dark) !important;
    }
    .nav-menu .btn-offer::after {
        display: none !important;
    }
}


/* --- STICKY BREADCRUMBS (Przyklejone okruszki) --- */

.breadcrumbs-container {
    width: 100%;
    /* Domyślny padding (duży) */
    padding: 15px 0 20px 0;
    /* TO JEST KLUCZ DO PRZYKLEJANIA: */
    position: -webkit-sticky;
    /* Dla Safari */
    position: sticky;
    /* Przyklejamy na wysokości 100px (bo tyle ma Twój Header na komputerze) */
    top: 100px;
    z-index: 998;
    /* Musi być pod Headerem (9999), ale nad treścią strony */
    background-color: var(--bg-dark);
    /* Tło musi być pełne, żeby treść pod spodem nie prześwitywała */
    transition: all 0.3s ease;
    /* Płynna animacja zmniejszania */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Delikatna linia oddzielająca */
}


/* --- KLASA MINIMALIZUJĄCA (Dodawana przez JS) --- */

.breadcrumbs-container.scrolled {
    /* Zmniejszamy padding, żeby pasek był chudszy */
    padding: 5px 0;
    /* Opcjonalnie: lekko przyciemniamy tło lub dodajemy cień */
    background-color: var(--bg-darker);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Lista okruszków */

.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    /* Centrowanie elementów w pionie (ikona względem tekstu) */
    font-size: 0.9rem;
    color: var(--text-accent);
}


/* Poszczególne elementy */

.breadcrumbs li {
    display: flex;
    align-items: center;
}


/* Linki (tekstowe) */

.breadcrumbs a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--text-white);
    text-decoration: underline;
}


/* --- STYLIZACJA IKONY DOMKU --- */

.breadcrumbs .home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    /* Powiększamy obszar kliknięcia */
    margin-left: -5px;
    /* Korygujemy padding, żeby równało do lewej krawędzi kontenera */
    border-radius: 4px;
    transition: background-color 0.3s;
}

.breadcrumbs .home-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Lekkie tło po najechaniu */
    text-decoration: none;
    /* Ikony nie podkreślamy */
}

.breadcrumbs svg {
    width: 20px;
    /* Rozmiar ikonki */
    height: 20px;
    fill: var(--text-accent);
    /* Kolor taki jak tekstu */
    transition: fill 0.3s;
}


/* Zmiana koloru ikony po najechaniu */

.breadcrumbs .home-link:hover svg {
    fill: var(--text-white);
}


/* Separator (ukośnik /) */

.breadcrumbs .separator {
    margin: 0 10px;
    /* Odstęp między ikoną a tekstem */
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    /* Troszkę większy */
}


/* Aktualna strona (nieaktywna) */

.breadcrumbs .current {
    color: var(--text-white);
    font-weight: 600;
    cursor: default;
    /* Optyczna poprawka położenia tekstu względem ikony */
    position: relative;
    top: 1px;
}


/* RESPANSYWNOŚĆ */

@media (max-width: 900px) {
    .breadcrumbs-container {
        /* Na telefonie Twój header ma 70px, więc musimy zmienić punkt przyklejenia */
        top: 70px;
        padding: 10px 0;
    }
    /* Na telefonie musimy dodać padding boczny, bo klasa .container ma go mniej lub wcale w zależności od ustawień */
    .breadcrumbs-container .container {
        padding-left: 20px;
        /* Dopasuj do reszty strony na mobile */
    }
    .breadcrumbs-container.scrolled {
        padding: 5px 0;
    }
}

.hidden-arrow {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Żeby nie dało się kliknąć, jak zniknie */
    cursor: default;
}


/* --- NOWE STYLE DLA STRONY GŁÓWNEJ --- */


/* 1. HERO SECTION Z WIDEO */

.hero-section {
    position: relative;
    height: 80vh;
    /* 80% wysokości ekranu */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -60px;
    /* Niwelujemy trochę marginesu body, żeby weszło pod menu */
}


/* Wideo w tle */

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
    /* Przyciemnienie wideo, żeby tekst był czytelny */
}


/* Tekst na wideo */

.hero-content {
    text-align: center;
    padding: 20px;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-accent);
}


/* 2. SEKCJA CECH (DLACZEGO AKRA) */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    color: #FFD700;
    /* Złoty kolor nagłówków */
    margin-bottom: 15px;
}


/* 3. ZAJAWKA TEMATÓW (KAFELKI) */

.themes-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.theme-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.theme-card:hover img {
    transform: scale(1.1);
}

.theme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    transform: translateY(0);
}


/* RESPANSYWNOŚĆ */

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}


/* --- STYLE DLA PRZYCISKÓW W HERO SECTION --- */


/* 1. Złoty Przycisk (Główny) */

.btn-hero-gold {
    background-color: #FFD700;
    color: #1A3528;
    /* Ciemna zieleń tekstu */
    border: 2px solid #FFD700;
    /* Ramka w tym samym kolorze */
    transition: all 0.3s ease;
    /* Płynna animacja */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    /* Lekka poświata */
}


/* Efekt po najechaniu myszką */

.btn-hero-gold:hover {
    background-color: #ffffff;
    /* Zmienia się na biały */
    border-color: #ffffff;
    color: #1A3528;
    transform: translateY(-3px);
    /* Lekko unosi się do góry */
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}


/* 2. Przezroczysty Przycisk (Drugoplanowy) */

.btn-hero-outline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    /* Lekko szary biały */
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Półprzezroczysta ramka */
    transition: all 0.3s ease;
}


/* Efekt po najechaniu myszką */

.btn-hero-outline:hover {
    border-color: #FFD700;
    /* Ramka robi się złota */
    color: #FFD700;
    /* Tekst robi się złoty */
    background-color: rgba(0, 0, 0, 0.2);
    /* Lekkie przyciemnienie tła */
    transform: translateY(-3px);
    /* Też się unosi */
}


/* --- POPUP (MODAL) --- */


/* Tło całego ekranu (ciemne i rozmyte) */

.modal-overlay {
    display: none;
    /* Domyślnie ukryte */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Ciemne tło */
    backdrop-filter: blur(8px);
    /* Efekt rozmycia strony pod spodem! */
    z-index: 10000;
    /* Musi być na samym wierzchu */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}


/* Pudełko z treścią */

.modal-content {
    background-color: #1A3528;
    /* Twój kolor firmowy */
    border: 2px solid #FFD700;
    /* Złota ramka */
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    animation: zoomIn 0.3s ease forwards;
    /* Animacja powiększania */
}


/* Przycisk X */

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #FF6B6B;
}

.theme-card,
.offer-card {
    cursor: pointer;
}


/* Animacje wejścia */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Kursor rączki na kartach, żeby wiedzieli że można klikać */

.offer-card,
.theme-card {
    cursor: pointer;
}

.site-footer {
    background-color: #111;
    /* Bardzo ciemny grafit / czerń */
    color: #bbb;
    /* Jasnoszary tekst */
    padding: 60px 0 20px;
    font-size: 0.95rem;
    border-top: 4px solid #FFD700;
    /* Złoty pasek na górze stopki */
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    /* Aby ładnie się układało na telefonach */
}


/* Stylizacja nagłówków w stopce */

.footer-logo {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}


/* Złota kreseczka pod nagłówkami */

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #FFD700;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Linki w stopce */

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.contact-info li {
    margin-bottom: 12px;
}

.footer-links a,
.contact-info a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover,
.contact-info a:hover {
    color: #FFD700;
    /* Złoty kolor po najechaniu */
    padding-left: 5px;
    /* Lekkie przesunięcie w prawo */
}


/* Przyciski Social Media */

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: 0.3s;
    font-size: 0.9rem;
}

.social-btn.facebook {
    background-color: #3b5998;
    /* Kolor Facebooka */
    border: 1px solid #3b5998;
}

.social-btn.instagram {
    /* Gradient Instagrama */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border: 1px solid #d6249f;
}

.social-btn:hover {
    transform: translateY(-3px);
    /* Uniesienie przycisku */
    opacity: 0.9;
}


/* Pasek dolny (Copyright) */

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}


/* Responsywność dla telefonów */

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        /* Układa kolumny jedna pod drugą */
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
        /* Centruje złotą kreskę */
    }
    .social-buttons {
        justify-content: center;
    }
}


/* =========================================
STYLE STOPKI (FOOTER PREMIUM)
========================================= */

.main-footer {
    background-color: #0F0F0F;
    /* Głęboka czerń / bardzo ciemny grafit */
    color: #b0b0b0;
    /* Jasnoszary tekst dla czytelności */
    padding-top: 70px;
    padding-bottom: 30px;
    border-top: 3px solid #FFD700;
    /* Złoty akcent na górze */
    font-family: 'Montserrat', sans-serif;
}


/* --- Układ Siatki (GRID) - To odpowiada za poziomy układ na PC --- */

.footer-grid {
    display: grid;
    gap: 40px;
    /* Domyślnie na telefonie: 1 kolumna */
    grid-template-columns: 1fr;
}


/* Na tabletach i komputerach (powyżej 900px) - 4 kolumny poziomo */

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        /* Pierwsza i ostatnia kolumna szersze */
        align-items: start;
    }
}


/* --- ULTRAMINIMALISTYCZNA STOPKA --- */

footer {
    background-color: #1a1a1a;
    /* Bardzo ciemny grafit, prawie czarny */
    color: #e0e0e0;
    /* Jasny, złamany biały dla tekstu */
}

.minimal-footer {
    background-color: #0a0a0a;
    /* Prawie czarny */
    border-top: 1px solid #333;
    /* Bardzo subtelna linia oddzielająca */
    padding: 40px 0 20px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}


/* Główny kontener flex (poziomy na PC) */

.footer-flex-wrapper {
    display: flex;
    justify-content: space-between;
    /* Rozrzuca elementy: Lewo - Środek - Prawo */
    align-items: center;
    /* Wyrównuje w pionie do środka */
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* 1. Marka */

.footer-logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}


/* 2. Kontakt (Środek) */

.footer-contact {
    display: flex;
    gap: 25px;
}

.contact-item {
    text-decoration: none;
    color: #bbb;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #FFD700;
}

.contact-item .icon {
    font-size: 1.1rem;
}


/* 3. Social Media (Prawa strona - Okrągłe przyciski) */

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    /* Tło kółka */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    border: 1px solid #333;
    transition: 0.3s;
}

.social-circle:hover {
    background-color: #FFD700;
    color: #000;
    border-color: #FFD700;
    transform: scale(1.1);
}


/* Copyright na samym dole */

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #555;
    margin-top: 20px;
}


/* --- RESPONSYWNOŚĆ (TELEFONY) --- */

@media (max-width: 768px) {
    .footer-flex-wrapper {
        flex-direction: column;
        /* Układ pionowy */
        text-align: center;
        gap: 40px;
    }
    .footer-contact {
        flex-direction: column;
        /* Kontakt jeden pod drugim na telefonie */
        gap: 15px;
    }
    /* Na telefonie logo może być większe */
    .footer-logo {
        font-size: 1.8rem;
    }
}


/* --- MODAL (POPUP) --- */

#details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2147483647 !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#details-modal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto;
}

.modal-content {
    background-color: #1a1a1a;
    border: 2px solid #FFD700;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    z-index: 2147483648;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: #FF6B6B;
}

.offer-card,
.theme-card {
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.social-circle svg {
    width: 20px;
    /* Rozmiar ikony */
    height: 20px;
    fill: currentColor;
    /* KLUCZOWE: Ikona bierze kolor z tekstu (rodzica) */
    transition: fill 0.3s;
}


/* Opcjonalnie: lekkie powiększenie ikony przycisku */

.social-circle {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* --- SZTYWNA GALERIA (Grid) --- */


/* --- SZTYWNA GALERIA (3 Równe Kolumny) --- */

.gallery-grid {
    display: grid;
    /* Tworzy 3 kolumny o identycznej szerokości */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px 80px 20px;
    width: 100%;
}

.g-img-1,
.g-img-2,
.g-img-3 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    /* Stała wysokość dla wszystkich zdjęć */
    width: 100%;
}


/* Usuwamy stare ustawienia span i marginesów, które psuły układ */

.g-img-1,
.g-img-2,
.g-img-3 {
    grid-column: auto !important;
    margin-top: 0 !important;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zdjęcie wypełni kontener bez deformacji */
    display: block;
}


/* Poprawka dla telefonów */

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Na telefonie jedno pod drugim */
        gap: 15px;
    }
    .g-img-1,
    .g-img-2,
    .g-img-3 {
        height: 300px;
    }
}

.btn-submit-oval {
    background-color: white;
    color: var(--bg-dark);
    /* Twoja ciemna zieleń */
    padding: 15px 40px;
    width: 100%;
    border: none;
    font-weight: 800;
    /* Gruby tekst */
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* TO ROBI OWAL: */
    border-radius: 50px;
    /* Dodatkowy cień dla efektu 3D */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit-oval:hover {
    background-color: #FFD700;
    /* Złoty po najechaniu - pasuje do marki */
    color: #1A3528;
    transform: translateY(-3px) scale(1.02);
    /* Lekkie uniesienie */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Styl linku do polityki w stopce */

.footer-copyright a:hover {
    color: #FFD700 !important;
    /* Złoty po najechaniu */
    text-decoration: underline !important;
}

@media (max-width: 900px) {
    /* 1. Naprawa szerokości kontenerów */
    .container {
        padding: 0 15px;
        /* Mniejszy padding boczny, żeby nic nie wystawało */
        overflow-x: hidden;
        /* Zabezpieczenie przed przewijaniem na boki */
    }
    /* 2. Formularz i informacje kontaktowe w pionie */
    .contact-grid {
        display: flex;
        flex-direction: column;
        /* Ustawia elementy jeden pod drugim */
        gap: 40px;
        /* Odstęp między info a formularzem */
        text-align: center;
    }
    /* 3. Naprawa informacji kontaktowych (biała linia z boku) */
    .contact-info div[style*="border-left"] {
        border-left: none !important;
        /* Usuwamy linię z boku na mobile */
        border-top: 2px solid white;
        /* Opcjonalnie dajemy linię u góry */
        padding-left: 0 !important;
        padding-top: 20px;
        margin-top: 20px !important;
    }
    .contact-info h2 {
        font-size: 2rem;
    }
    /* 4. Naprawa przycisku i pól formularza */
    .contact-form {
        width: 100%;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        /* Zapobiega przybliżaniu ekranu na iPhone'ach przy kliknięciu w pole */
    }
    /* 5. Naprawa Mapy (żeby nie była za wysoka na małym ekranie) */
    .map-container {
        height: 300px;
        margin-top: 30px;
    }
    /* 6. Naprawa Stopki (Footer) */
    .footer-flex-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}


/* --- POPRAWKI DLA WERSJI MOBILNEJ (KONTAKT) --- */

@media (max-width: 600px) {
    /* Zmniejszamy padding i font przycisku, aby tekst "WYŚLIJ WIADOMOŚĆ" zmieścił się w jednej linii */
    .btn-submit-oval {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.5px;
        white-space: nowrap;
        /* Zapobiega łamaniu tekstu do drugiej linii */
    }
    /* Opcjonalnie: poprawiamy wyświetlanie komunikatu sukcesu, by nie był zbyt szeroki */
    #form-message span {
        display: block;
        font-size: 0.85rem;
        padding: 15px !important;
        line-height: 1.4;
    }
    /* Zmniejszamy odstępy w sekcji kontaktu na mobile */
    .contact-section {
        padding: 40px 15px !important;
    }
}


/* ======================================================
   FINALNA WERSJA (MOBILE + TABLET + DESKTOP FIX)
   ====================================================== */


/* --- 1. DUŻE EKRANY (Laptopy i PC > 1100px) --- */


/* Tu zostawiamy wiszące logo i tekst przesunięty w prawo */

@media (min-width: 1101px) {
    .breadcrumbs-container {
        top: 100px !important;
        margin-top: 0 !important;
        z-index: 998;
    }
    /* Przesuwamy tekst, żeby nie wchodził pod wiszące logo */
    .breadcrumbs-container .container {
        padding-left: 220px !important;
        box-sizing: border-box;
    }
}


/* --- 2. TABLETY I TELEFONY (< 1100px) --- */


/* Tu włączamy "tryb bezpieczny": mniejsze logo i paski pod spodem */

@media (min-width: 1201px) {
    .breadcrumbs-container {
        top: 100px !important;
        margin-top: 0 !important;
        z-index: 998;
    }
    /* Tekst przesunięty w prawo, by ominąć wiszące logo */
    .breadcrumbs-container .container {
        padding-left: 220px !important;
        box-sizing: border-box;
    }
}


/* Tryb bezpieczny dla wszystkiego mniejszego niż duży monitor */

@media (max-width: 1200px) {
    /* A. NAPRAWA SKALOWANIA */
    html,
    body {
        overflow-x: visible !important;
        position: static !important;
        /* Padding równy wysokości headera */
        padding-top: 70px !important;
    }
    /* Blokada szerokości, żeby strona nie latała na boki */
    .container,
    header,
    footer,
    section,
    .hero-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    /* B. HEADER I LOGO */
    header {
        height: 70px !important;
        padding: 0 15px !important;
    }
    /* Logo się chowa do paska, żeby nie zasłaniać */
    .logo-img {
        height: 50px !important;
        width: auto;
        position: static !important;
        margin: 0;
    }
    .logo-container {
        height: 100%;
        display: flex;
        align-items: center;
    }
    /* C. BREADCRUMBS (Sticky pod headerem) */
    .breadcrumbs-container {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 70px !important;
        /* Przyklejone pod headerem */
        z-index: 900;
        background-color: var(--bg-dark);
        margin-top: 0 !important;
        padding: 10px 0 !important;
        width: 100%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    /* Reset marginesów wewnątrz paska (tekst na środku/lewo) */
    .breadcrumbs-container .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .breadcrumbs {
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* D. ZABEZPIECZENIE TREŚCI */
    /* Odpychamy treść, żeby nie wchodziła pod przyklejone paski */
    main.container,
    .offer-intro-section,
    .section-header,
    .contact-section,
    .team-section {
        padding-top: 30px !important;
    }
    /* Wyjątek dla strony głównej */
    .hero-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}