
body{
      font-family: "Nunito", sans-serif;
      font-weight: 400;
}

.text-violet{
    color:var(--primary);
}

   

        .bg-primary {
            background: var(--primary) !important;
        }

        .btn-primary {
            background: var(--primary);
            border-color: var(--primary);
        }

        .btn-success {
            background: var(--primary);
            border-color: var(--primary);
        }

        .btn{
            border-radius: 2rem;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        .navbar-brand {
  font-family: "Nunito", sans-serif;
            font-weight: 600;
            text-transform: unset;
            letter-spacing: unset;
            color: #253900;
            margin-bottom: 15px;
        }

        .navbar-nav{
              font-family: "Nunito", sans-serif !important;
        }



        header {
            height: 80vh !important;
            display: block;
        }

        .header-fog {
            background: linear-gradient(to right, rgba(0, 0, 0, 0.9),rgba(0, 0, 0, 0));
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center
        }

        @media(max-width:968px){
            header{
                height:60vh;
                text-align: center !important;
            }

            .header-fog{
                            background: rgba(0, 0, 0, 0.7);

            }
        }


        header h1 {
            color: #fff;
        }


        section {
            scroll-margin: 60px;
        }

        html {
            scroll-behavior: smooth;
        }

        .content em {
            font-size: 1.2rem;
            width: 100%;
            height: auto;
            display: block;
            background: #fafafa;
            border: solid 1px #ddd;
            padding: 20px;
            margin: 20px 0 !important;
            border-bottom: solid #253900;
        }

        .galery {
         display:flex;
         gap:2rem;
         flex-wrap:wrap;
         flex-direction: row;
         box-sizing: border-box;
         align-items: center;
         justify-items: center;
         margin: 0 auto;
        }


        .galitem {
            width:30%;
            height:300px;
            object-fit: cover;
            overflow: hidden;
        }

        .galitem img{
            width:100%;
            height:100%;
            transition: all 350ms linear;
            object-fit: cover;
        }
        
        .galitem img:hover {
            filter: brightness(50%);
            cursor: pointer;
        }


        
        @media(max-width:968px){

            .galery{
                display:flex;
                flex-direction: row;
                gap:10px;
                margin:0 auto;
                align-items: center;
                justify-content: center;
            }
            .galitem{
                width:40%;
                height: auto;
                aspect-ratio: 16:9;
            }
            
        }



        section {
            margin: 0;
            padding: 0;
        }


        .houses {
            min-height: 80vh;
            display: flex;
            align-items: center;
        }

        .content :is(strong, b) {
            font-size: 1.5rem;
   font-family: "Nunito", sans-serif;
            color: var(--primary);
            font-weight: 600;
            line-height: 1.2;
            display: block;
        }

        #okolica{
            padding: 6rem 0;
        }

        .okolica-grid{
            display:grid;
            grid-template-columns: 1fr 1fr 1fr;
            align-items: center;
            justify-content: center;
            justify-items: center;
            gap:2rem;
        }

        .item {
            width:270px;
            height: 270px;
            background: ;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            font-size: 1.3rem;
            padding:2rem;
            font-weight: 600;
            color: var(--primary);
            border-radius: 50%;
            background: #fff;
            box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
        }


        @media(max-width:968px){

            .okolica-grid{
                display:flex;
            flex-direction: column; 
        
        }

        .item{
            width:200px;
        height:200px;
        }

        

        }
        
 

        #okolica {
            scroll-margin: 100px !important;
        }


        
.udogodnienia {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--primary);
}

.udogodnienia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="0.3" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.udogodnienia .container {
    position: relative;
    z-index: 1;
}

.udogodnienia .h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    text-align: center;
}

.udogodnienia .h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, white);
    border-radius: 2px;
}

.udogodnienia .row {
    margin-top: 40px;
}

.udogodnienia .udoitem {
    padding: 80px 20px;
    position: relative;
    transition: all 0.3s ease;
    color:#253900;

}

.udogodnienia .udoitem:hover {
    transform: translateY(-10px);
 
}

.udogodnienia .udoitem::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 1px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: -1;
        border-bottom: solid 5px #151a24;
}

.udogodnienia .udoitem:hover::before {
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 5px 15px rgba(0,0,0,0.1);
}

.udogodnienia .border-right {
    border-right: none !important;
}

.udogodnienia .border-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, #dee2e6, transparent);
}

.udogodnienia h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    padding: 20px 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.02);
    text-transform: uppercase;

}

/* Ikony dekoracyjne */
.udogodnienia [class*="col-md-3"]:nth-child(2)::before {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.udogodnienia [class*="col-md-3"]:nth-child(3)::before {
    background: linear-gradient(135deg, #fff 0%, #f1f3f4 100%);
}

.udogodnienia [class*="col-md-3"]:nth-child(4)::before {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.udogodnienia [class*="col-md-3"]:nth-child(5)::before {
    background: linear-gradient(135deg, #fff 0%, #f1f3f4 100%);
}

/* Responsywność */
@media (max-width: 768px) {
    .udogodnienia {
        padding: 60px 0;
    }
    
    .udogodnienia h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .udogodnienia [class*="col-md-3"] {
        margin-bottom: 20px;
        padding: 30px 15px;
    }
    
    .udogodnienia .border-right::after {
        display: none;
    }
    
    .udogodnienia h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .udogodnienia h1 {
        font-size: 1.75rem;
    }
    
    .udogodnienia h4 {
        font-size: 1.1rem;
        padding: 15px 0;
    }
}

/* Animacja wejścia */
.udogodnienia [class*="col-md-3"] {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.udogodnienia [class*="col-md-3"]:nth-child(2) {
    animation-delay: 0.1s;
}

.udogodnienia [class*="col-md-3"]:nth-child(3) {
    animation-delay: 0.2s;
}

.udogodnienia [class*="col-md-3"]:nth-child(4) {
    animation-delay: 0.3s;
}

.udogodnienia [class*="col-md-3"]:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


header{
    background-size:cover;background-attachment:fixed;
}


@media(max-width:968px){

 
    section{
    scroll-margin: 100px;
    }

    header{
        height:70vh !important;
        background-size: cover;
        background-position: center center;
        background-attachment: unset !important;
    }

    header .display-4{
        font-size:2.5rem !important;
    }





    .item{
        font-size: 1rem !important;
    }
    
        .item:nth-child(2n) {
            filter: unset;
        }

  .item:nth-child(2) {
            filter: brightness(80%)
        }
        
    
           .item:nth-child(3) {
            filter: brightness(80%)
        }

            .item:nth-child(6) {
            filter: brightness(80%)
        }
}



/* Stylowanie przycisku */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #151a24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

/* Klasy do pokazywania/chowania przycisku */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #2c3e50;
    color:#fff;
    text-decoration: none;
}

.scroll-to-top span {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover span {
    transform: translateY(-2px);
}
 


.opnier {
    position: relative;
    height: 800px;
    overflow: hidden;
    transition: all 250ms linear;

}

.opnier::after {
    content: 'Kliknij by rozwinąć opis';
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.3));
    display: flex;
    position: absolute;
    bottom: 0;
    align-items: center;
    font-weight: 500px;
    text-transform: uppercase;
    text-align: center;
    align-items: flex-end;
    padding: 0;
    justify-content: center;
    letter-spacing: 1px;
    color: #000;
    cursor: pointer;
    transition: all 250ms linear;

}

.hidebef {
    transition: all 350ms linear;
    height: auto;
    padding-bottom: 50px;
}


.hidebef::after {
    content: 'Kliknij by zwinąć opis';
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.3));
    display: flex;
    position: absolute;
    bottom: 0;
    align-items: center;
    font-weight: 500px;
    text-transform: uppercase;
    text-align: center;
    align-items: flex-end;
    padding: 0;
    justify-content: center;
    letter-spacing: 1px;
    color: #000;
    cursor: pointer;
    transition: all 250ms linear;

}




.navbar-light .navbar-nav .nav-link{
color:rgba(0, 0, 0, 0.8);
}

.navbar{
    background: rgba(255, 255, 255, 0.8);

box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);

}

@media(min-width:968px){

    .navbar{
        position: fixed;
        top:0;
        width:100%;
        z-index: 99;
    }

    header{
        height:80vh !important;
    }
    
    
}

#galeria{
    background:#FAFAFA;
    padding: 5rem 0;
}


 
header{
    position: relative;
}

header :is(h1,h2,h3,h4,h5,h6){
    font-weight: 800;
}

header .lead{
    position: relative;
    font-size:2rem;
    font-weight: light;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);

      font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}


header :is(h1,h2,h3,h4,h5,.display-4){
    
      font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
    font-weight:600;
      font-style: normal;
          text-shadow: 1px 10px 10px rgba(0, 0, 0, 0.6);


}

header{
    background: #000;
    overflow: hidden;
}

header img{
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 1;
    object-fit: cover;
    animation: zoom 30s ease-in-out;
    animation-fill-mode: forwards;

}

header .header-fog{
    position: relative;
    z-index: 2;
}

.header-fog{
        animation:fade 500ms 300ms linear;
    transition: all 300ms linear;
}


@keyframes fade {
    
    from{
transform: translate(-50px,0);
        opacity: 0;

    }

    to{
        opacity: 1;
    }

}

@keyframes zoom {
    
    from{
        transform: scale(1);
    }

    to{
        transform:scale(1.5)
    }
}

.table{
    color:#000;
    font-weight: 600;
}

/*udogodnienia*/



.udogodnienia {
   background:linear-gradient(to bottom,var(--primary),var(--primary));
    padding: 100px 0;
    position: relative;
}

/* Główny tytuł */
.udogodnienia .h1 {
    color: #fff;

    font-weight: 600;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.udogodnienia .h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Kontener slidera */
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(62, 76, 102, 0.1);
    overflow: hidden;
    border: 1px solid rgba(62, 76, 102, 0.05);
}

/* Ukrywanie slajdów */
.mySlides {
    display: none;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(62, 76, 102, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mySlides.active {
    display: flex;
}

/* Zawartość slajdu */
.slide-content {
    position: relative;
}



.slide-content h4 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* Strzałki nawigacji */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -25px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 50%;
    background-color: rgba(62, 76, 102, 0.7);
    user-select: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    backdrop-filter: blur(10px);
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
    background-color: var(--primary);
    transform: scale(1.1);
    text-decoration: none;
    color:#fff;
    box-shadow: 0 5px 15px rgba(62, 76, 102, 0.3);
}

/* Kropki */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color:  rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Animacja zanikania */
.fade {
    animation-name: fadew;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
}

@keyframes fadew {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Responsywność */
@media (max-width: 768px) {

    .prev, .next {
        display:none;
    }

    .udogodnienia {
        padding: 60px 0;
    }
    
    .udogodnienia .h1 {
        font-size: 2.2rem;
        margin-bottom: 40px;
        letter-spacing: 2px;
    }
    
    .mySlides {
        padding: 40px 20px;
        min-height: 200px;
    }
    
    .slide-content h4 {
        font-size: 1.4rem;
    }
    
    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-top: -20px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        margin: 0 15px;
    }
    
    .slide-content h4 {
        font-size: 1.2rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
}



.elegant-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
   
}

.elegant-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 50%, #ffffff 100%);
}

.elegant-footer::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    padding: 80px 0 40px;
}

/* Sekcje stopki */
.footer-section {
    position: relative;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
}

/* Lista usług */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}



.footer-section li:hover::before {
    color: #ffffff;
    transform: translateY(-50%) translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Informacje kontaktowe */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    padding-left: 10px;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

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

.contact-item i {
    font-size: 1.2rem;
    color: #ffffff;
    width: 30px;
    height:30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
}

/* Linki społecznościowe */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Dolna część stopki */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsywność */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 30px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item {
        padding: 12px 0;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 25px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 50px 0 25px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-item i {
        align-self: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Animacje ładowania */
.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.2s; }
.footer-section:nth-child(2) { animation-delay: 0.4s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efekt hover dla całej sekcji */
.footer-section:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.footer-section:hover h3::after {
    width: 80px;
    transition: width 0.3s ease;
}


/*en */


@media(max-width:968px){
    
    iframe{
        height:300px !important;
    }
}