:root {
    --primary-color: rgb(110, 168, 124);
    --secondary-color: #333333;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --text-color: #4A4A4A;
    --bg-light-gray: #F0F0F0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

h1, h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 3.1rem;
    color: var(--dark-color);
    margin-bottom: 4.5rem;
}

section {
    padding: 4rem 0;
}

:target {
    scroll-margin-top: 70px; 
}

.navbar {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    height: 70px; 
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@keyframes cutting-swoop {
    0%, 25%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
    }
    30% {
        transform: translate(-5px, 0) scale(1.01) rotate(-15deg);
        filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
    }
    40% {
        transform: translate(10px, 0) scale(1.01) rotate(15deg);
        filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
    }
    45% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
    }
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--light-color);
    text-decoration: none;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar .logo img {
    height: 50px; 
    width: auto;
    display: block;
    margin-right: 5px;
    animation: cutting-swoop 12s infinite ease-in-out;
filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.6));
    transition: none;
}

.navbar .logo:hover {
    filter: drop-shadow(0 0 10px var(--primary-color)); 
    animation-play-state: paused;
}

.navbar nav ul {
    display: flex;
    list-style: none;
}

.navbar nav li {
    margin-left: 20px;
}

.navbar nav a {
    color: var(--light-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    position: relative;
    transition: color 0.3s ease;
}

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

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 2rem;
    cursor: pointer;
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero_bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding-top: 70px;
    padding-left: 20px;
    padding-right: 20px;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 1000px;
}

#places{
    font-style: italic;
    font-weight: bold;
}

#hero .cta-group {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: scale(1.05);
}

.call-button {
    background: var(--dark-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.call-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.05);
}

#uslugi {
    background: var(--bg-light-gray);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.service-card {
    background: var(--light-color);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.about-wrapper > div {
    display: flex;
    align-items: center;
    gap: 3rem;
}

#o-nas .about-content {
    flex: 1;
}

#o-nas .about-image {
    flex: 1;
    text-align: center;
}

#o-nas .about-image img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#o-nas h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

#galeria {
    background: var(--bg-light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: var(--light-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--bg-light-gray);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.contact-info strong {
    color: var(--dark-color);
}

footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    body {
        overflow-y: scroll;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .navbar .container {
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .navbar nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        z-index: 999;
        overflow: hidden;
        display: flex;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
    }

    .navbar nav ul.active {
        max-height: 500px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .navbar nav li {
        margin: 0;
    }

    .navbar nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: static;
        color: var(--light-color);
    }

    .navbar nav a::after {
        content: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper > div {
        flex-direction: column;
    }

    #o-nas .about-content {
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    #o-nas h2 {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .map-container {
        height: 300px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.1rem !important;
    }
    #hero p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.contact-items-group {
    margin-top: 2rem;
}

.contact-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 5px;
    margin-bottom: 25px;
    -webkit-user-drag: none;
    user-drag: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact-item-link:hover .contact-item {
    background-color: var(--bg-light-gray);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
    padding-top: 5px;
    user-select: none;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--dark-color);
    font-size: 1rem;
    user-select: none;
}

.contact-item span {
    color: var(--text-color) !important;
    font-weight: 500;
    user-select: text;
    cursor: text;
}


.fa-solid {
    font-family: "Font Awesome 6 Solid" !important;
    font-weight: 900 !important;
}

/* === Style dla Mapy Placeholder === */
.map-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    background-color: var(--bg-light-gray);
    border: 2px dashed var(--primary-color);
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Na mobilce placeholder zajmie wysokość kontenera */
@media (max-width: 768px) {
    .map-placeholder {
        min-height: 300px;
        height: 100%;
    }
}


/* --- Stylizacja Karuzeli Swiper --- */
.swiper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 2.5rem auto;
    border-radius: 10px;
    position: relative;
}

  .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
  }

  .nav-k1{
    color: white !important;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    padding: 10px;
    transition: background-color 0.2s;
  }
  .nav-k1:hover, .nav-k2:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }

  .nav-k1:after, .nav-k2:after {
    font-size: 20px !important;
    font-weight: 900;
  }

  .karuzela-1 {
    height: 450px;
  }

.pag-k1 .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: black;
    opacity: 0.6;
    transition: opacity 0.3s, background-color 0.3s;
}

.pag-k1 .swiper-pagination-bullet:hover {
    opacity: 1;
}

.pag-k1 .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}