
html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
  }

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

body {
    min-height: 100vh;
    wdth: 100%;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-color: #f9f3e5;
    font-family: 'Merriweather', serif;

}

h1, h2, h3, h4, h5, h6{
    font-family: 'DM Serif Display', serif;
}

.txt {
    color: #a86446 !important;
}


.h1 {
    font-size: 80px;
    font-optical-sizing: auto;
    font-weight: 600px;
    font-style: normal;
    color: #5c8271 !important;
}

.lead {
    color: #a86446;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 22px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    z-index: 1;
}

nav{
    z-index: 1000;
    z-index: 1;
    margin-left: 10%;
    margin-right: 6%;
    margin-top: 1%;
    z-index: 100;
}

#navbar {
  transition: 0.5s;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-optical-sizing: auto;
    font-weight: 600px;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    margin-left: 7%;
    position: relative;
    font-size: 42px;
    color: #5c8271;
    text-decoration: none;
    font-weight: 750;
    }

nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.navbar .a{
    font-family: 'DM Serif Display', serif;
    font-optical-sizing: auto;
    font-weight: 300px;
    font-style: normal;
    font-variation-settings: "wdth" 100;
  text-decoration: none;
  position: relative;
  font-size: 24px;
  color: #5c8271;
  font-weight: 500;
  text-decoration: none;
  margin-left: 40px;
}

.navbar .a::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: #5c8271;
  transition: .3s;
}

.navbar .a:hover::before {
  width: 100%;
}


.sidebar{
  border-radius: 20px;
  position: fixed;
  padding-right: 2%;
  top: 1%; 
  right: 0;
  bottom: 1%;
  height: 100vh;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li{
  width: 100%;
}

.sidebar a{
  width: 100%;
}

.menu-button{
    margin-right: 10px;
  display: none;
}

@media(max-width: 1500px){
  .sidebar {
    padding-right: 30px;
  }

  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}

@media(max-width: 600px){
  .sidebar{
    width: 100%;
    padding-right: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
  }
}

.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    color: #5c8271;
    padding: 10px 30px;
    border: 1px solid;
    border-radius: 1000px;
    display: inline-block;
    transition: all .2s;
    position: relative;
    margin-left: 22px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(27, 27, 27, .5);
}

.btn:active {
    transform: translateY(-3px);
}

.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
    transition: all .3s;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.5);
    opacity: 0;
}

.bialy-jelen {
    margin-left: 20%;
}

.img1 {
    margin-top: 5%;
    margin-bottom: 10%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 3px 15px rgba(0, 0, 0);
    transition: transform 0.2s;
    border-radius: 15px;
}

.img1 :hover {
    transform: scale(1.05);
}

.center-vertica {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
}

.about-us-section {
    width: 100%;
    padding: calc(5% + 30px) 0px;
}

.about-us-section .img-head {
    position: relative;   
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 3px 15px rgba(0, 0, 0);
    transition: transform 0.2s;
    border-radius: 15px;
}

.about-us-section .img-head img {
    width: 100%;
    transition: transform .3s;
}

.title {
    text-align: center;
    margin-top: 7%;
    margin-bottom: 3%;
    color: #5c8271;
    font-size: 3em;
    position: relative;
    margin-bottom: 20px;
}

.title::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 3px;
    background-color: #5c8271;
    bottom: -10px;
    left: 35%;
    border-radius: 5px;
}

.about-us-section .text-head {
    font-size: 28px;
}

.about-us-section .break-small {
    margin-left: 10px;
    width: 80px;
    height: 3px;
    background-color: #5c8271;
}

.carousel-inner img {
    max-height: 300px;
    object-fit: cover;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: #000000;
    border-radius: 50%;
}

.udogodnienia .container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
}
.sub-heading {
    color: #5c8271;
    font-size: 55px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
}

.udogodnienia-wrapper {
    margin-top: 40px;
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.udogodnienia {
    background-color: #ffffff;
    width: 280px;
    height: 280px;
    box-shadow: 0px 0px 2px 0px rgba(66, 68, 90, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.udogodnienia-img {
    width: 60px;

}

.udogodnienia-desc {
  font-size: 16px;
  line-height: 24px;
  margin-top: 16px;
}

@media (max-width: 1200px) {
    .udogodnienia-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .udogodnienia-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .udogodnienia {
        width: 90%;
    }
}

.title2 { 
    color: #5c8271 !important;
}

.gallery-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    width: 25%;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: inline-block;
    max-width: 350px;
    border-radius: 5%;
}


@media (max-width: 1200px) {
    .gallery-item {
        width: 30%;
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .disable-mobile {
        display: none;
    }
}

.l {
    margin-bottom: 40px;
}

.container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 30vh; /* lub inna odpowiednia wysokość */
    gap: 20px; /* Odstęp między linkami */
}

.container4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f3e5;
}

.contact-wrapper, .map-wrapper {
    flex: 1 1 48%;
    margin: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-mini-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-elem {
    margin-bottom: 20px;
}

.contact-elem-content {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
}


.contact-icon-wrapper {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 100%;
    height: 100%;
}

.contact-elem-img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* Ensure the carousel itself is centered */
#carouselExample {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    /* Prevent horizontal overflow */
    margin: 0 auto;
}

/* Ensure the review section is centered properly */
.review-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    /* Maximum width to prevent it from stretching too far on large screens */
    padding: 0;
    margin: 0;
}

/* Review Styling */
.review {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-left: 20%;
    width: 100%;
    /* Allow the review to take full width */
    max-width: 600px;
    /* Ensure reviews don't get too wide */
    text-align: center;
    box-sizing: border-box;
}

/* Adjust font sizes */
.review-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.review-stars {
    color: #5c8271;
    margin-bottom: 10px;
}

.review-text {
    font-size: 1em;
}

/* Make sure everything works responsively */
@media (max-width: 768px) {
    .review {
        width: 90%;
        /* Adjust width on medium screens */
        padding: 15px;
        font-size: 0.9em;
    }

    .review-name {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .review {
        width: 100%;
        /* Full width on small screens */
        padding: 10px;
        font-size: 0.85em;
        margin-left: 1%;
    }

    .review-name {
        font-size: 1em;
    }
}

.footer {
    background: #0c0a09;
}

.footer_section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2rem;
}

@media (max-width: 890px) {
    .footer_section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer_section {
        grid-template-columns: repeat(1, 1fr);
    }
}

.footer_col .desc {
    margin-block: 2rem;
}

.footer_col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #5c8271;
}

.footer_links {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer_links a {
    color: #5c8271;
    transition: 0.3s;
}

.footer_links a:hover {
    color: #5c8271;
}