:root {
    --MainFont: "Montserrat", sans-serif;
    --primaryColor: rgba(248,245,242,255);
    --secondaryColor: rgb(183, 160, 123);
}

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

body {
    background-color: var(--primaryColor);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;
    width: 100vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--primaryColor);
    scroll-behavior: smooth;
}

button {
    background-color: transparent;
    border: none;
}

header {
    background-color: rgb(0, 0, 0, 0.4);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000000000000;
    backdrop-filter: blur(10px);
}

.menuTel {
    display: none;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
}

.tel {
    text-decoration: none;
    background-color: rgb(256, 256, 256, 0.2);
    border-radius: 10px;
    padding: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0, 128, 0, 07);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.menuLogo {
    width: 50%;
    color: var(--primaryColor);
    font-size: 40px;
    display: flex;
    align-items: center;
}

.menuLogo a {
    text-decoration: none;
    color: var(--primaryColor);
    font-size: 25px;
    display: flex;
    align-items: center;
}

.menuLogo a img {
    height: 70px;
}

.menuLinks {
    width: 50%;
    display: flex;
    justify-content: right;
}

.menuLinks li {
    display: inline;
    margin-left: 20px;
    font-size: 20px;
}

.menuLinks li a {
    text-decoration: none;
    color: var(--primaryColor);
}

a:hover {
    opacity: 0.8;
}

.sideMenu {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #2e2e2e;
    padding: 30px;
    transform: translateX(300px);
    z-index: 100000000000;
}

#closeButton {
    width: 100%;
    display: flex;
    justify-content: right;
}

#closeButton svg {
    fill: var(--primaryColor);
    cursor: pointer;
}

#closeButton svg:hover {
    opacity: 0.8;
}

.sideMenu ul {
    list-style-type: none;
    line-height: 50px;
    font-size: 20px;
}

.sideMenu a {
    text-decoration: none;
    color: var(--primaryColor);
}


#openButton {
    width: 40px;
    height: 40px;
    display: none;
    background-color: none;
}

#openButton svg{
    fill: var(--primaryColor);
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#openButton:hover {
    opacity: 0.8;
}

.section1 {
    background-image: url('images/1731084926659635.webp');
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 1920 / 2000;
    position: relative;
}

.clipDown {
    height: 50%;
    width: 100%;
    background-color: var(--secondaryColor);
    position: absolute;
    bottom: 0;
    clip-path: polygon(0% 100%, 100% 60%, 100% 100%, 0% 100%);
    display: flex;
    flex-wrap: nowrap;
}

.clipUp {
    height: 100px;
    width: 100%;
    background-color: var(--secondaryColor);
    display: none;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 50%);
}

.titleContainer {
    width: 100%;
    height: 50%;
    background-color: rgb(0, 0, 0, 0.4);
    clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 0% 100%);
    display: flex;
    justify-content: left;
}

.titleContainer h1 {
    color: var(--primaryColor);
    font-weight: 400;
    font-size: 7vw;
    font-family: var(--MainFont);
    text-wrap: nowrap;
    padding: 0;
    margin: 0;
    margin-top: 0;
}

.titleContainer h3 {
    font-weight: 400;
    margin-left: 8px;
    font-size: 2vw;
    margin-bottom: 0;
}

.titleContainer h4 {
    font-weight: 400;
    margin-left: 8px;
    font-size: 1.5vw;
}

.titleContainer .title {
    margin-top: 15%;
    margin-left: 10%;
    font-weight: 400;
    color: var(--primaryColor);
    padding: 0;
}

.title a {
    margin-top: 30px;
}

.contact {
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.contactBait {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    padding: 0 20px;
    /* background: linear-gradient(rgb(255, 255, 255) 30%, rgb(256, 256, 256, 0)); */
}

.contactBait.fixed {
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 100000000;
    width: 100%;
}


.contactBait h2 {
    color: black;
    font-weight: 400;
    font-size: 30px;
}

.tel2 {
    text-decoration: none;
    font-size: 30px;
    background-color: rgb(0, 0, 0, 0.2);
    color: black;
    border-radius: 10px;
    padding: 10px;
    animation: pulse 2s infinite;
    height: 60px;
    text-wrap: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tel2 i {
    color: black;
    opacity: 0.9;
}

.section2 {
    width: 100%;
    height: min-content;
    background-color: var(--primaryColor);
    display: flex;
    flex-wrap: wrap;
}

.details {
    width: 20%;
    padding: 1%;
    padding-top: 50px;
    overflow: hidden;
    background-color: var(--secondaryColor);
}

.details h2, .details h3{
    font-weight: 400;
}

.details h3 {
    font-size: 1.2vw;
    margin-bottom: 3%;
}

.details h2 {
    font-size: 1.8vw;
    margin-bottom: 20px;
}

.details p {
    font-size: 20px;
    margin-top: 30px;
}

.details i {
    color: black;
    margin-right: 10px;
}


table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--primaryColor);
    margin-top: 30px;
    margin-bottom: 10px;
}

th, td {
    padding: 8px 5px;
    border: 1px solid var(--primaryColor);
    text-align: left;
    color: var(--primaryColor);
}

th, td:nth-child(3) {
    text-align: center;
}

thead th {
    text-align: center;
    font-weight: bold;
    color: var(--primaryColor);
}

tfoot td {
    text-align: center;
    font-weight: bold;
    border-top: 2px solid var(--primaryColor);
    color: var(--primaryColor);
}

.plan {
    width: 80%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.plan1 {
    width: 80%;
    height: 100%;
    background-color: var(--primaryColor);
}

.plan img {
    height: auto;
    margin: auto;
}
#plan_1 {
    margin-top: 0px;
    width: 90%;
}
#plan_2 {
    width: 55%;
    margin-bottom: 100px;
    margin-top: 50px;
}

.plan img:nth-child(2) {
    filter: drop-shadow(0px 24px 15px rgba(0, 0, 0, 0.4));
}

.section3 {
    width: 100%;
    background-color: var(--secondaryColor);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -80px;
    background-color: var(--primaryColor);
    clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 100%);
    overflow: visible;
}

.imageDivLeft {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    aspect-ratio: 3 / 1;
    flex-wrap: wrap;
}

.imageDivLeft img {
    width: 50%;
    height: auto;
}

.imageDivLeftText {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: var(--secondaryColor);
}

.imageDivLeftText ul {
    line-height: 30px;
}

.imageDivRight {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    aspect-ratio: 3 / 1;
    flex-wrap: wrap;
}

.imageDivRightText {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: var(--secondaryColor);
}

.imageDivRight img {
    width: 50%;
    height: auto;
}

.imageDivRightText ul {
    line-height: 30px;
}

.section4 {
    height: min-content;
    /* transform: rotate(-5deg) translateX(-100px) translateY(-200px); */
    background-color: var(--primaryColor);
    overflow: hidden;
    padding: 30px;
    width: 100%;
}

.carouselWrapper {
    height: min-content;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

#carouselWrapper1 {
    justify-content: flex-end;
}

.carouselSlider {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    height: 400px;
    gap: 30px;
}

#carouselSlider1 {
    animation: carousel1 30s linear infinite;
}

#carouselSlider2 {
    animation: carousel 30s linear infinite;
}

.carouselSlider img {
    height: 100%;
    width: auto;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

@keyframes carousel1 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.space {
    height: 1000px;
    width: 100%;
}

.section5 {
    width: 100%;
    background-color: var(--secondaryColor);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 30%;
    text-align: center;
}

.section5 h2{
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 20px;
}

.section5 p {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 30px;
}

.section5 img {
    width: 100%;
}

.section6 {
    width: 100%;
    padding: 50px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.section6 h2 {
    color: var(--secondaryColor);
    font-weight: 400;
    font-size: 35px;
    text-align: center;
    margin: auto;
    margin-bottom: 30px;
}

.slikeTerasa {
    display: grid;
    grid-template-rows: 50% 50%;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    width: 80%;
    aspect-ratio: 1.5 / 1;
    gap: 6px;
    overflow: hidden;
    margin: auto;
    margin-top: 50px;
}

.slikeTerasa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carouselSlider.active {
    cursor: grabbing;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primaryColor);
    color: var(--secondaryColor);
    height: 300px;
    width: 100%;
}

.footerContact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footerContact i{
    color: var(--secondaryColor);
    font-size: 30px;
    cursor: pointer;
}

.footerContact i:hover {
    opacity: 0.8;
}

.line {
    height: 1px;
    width: 50px;
    background-color: var(--secondaryColor);
}


.footer-content {
    text-align: center;
}
.logo {
    max-width: 100px;
    height: auto;
}
.footer-content p {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--secondaryColor);
}

.phone {
    cursor: pointer;
}

.phone:hover {
    opacity: 0.8;
}





@media (max-width: 1440px) {
    .details {
        width: 30%;
    }

    .plan {
        width: 70%;
    }

    .plan1 {
        width: 70%;
    }

    .plan img {
        width: 95%;
    }

    .details h3 {
        font-size: 1.8vw;
    }
    
    .details h2 {
        font-size: 3vw;
    }
    
    .details p {
        font-size: 20px;
        margin-top: 30px;
    }

    .section5 {
        padding: 50px 20%;
    }

    #planIMG {
        width: 70%;
    }

}

@media (max-width: 1024px) {
    .menuLinks {
        display: none;
    }

    .menuTel {
        display: flex;
    }

    #openButton {
        display: block;
    }

    .details {
        width: 40%;
    }

    .plan {
        width: 60%;
    }

    .plan1 {
        width: 60%;
    }

    .details h3 {
        font-size: 2vw;
    }
    
    .details h2 {
        font-size: 4vw;
    }
    
    .details p {
        font-size: 20px;
        margin-top: 30px;
    }

    .section5 {
        padding: 50px 10%;
    }

    .imageDivLeftText ul {
        line-height: 20px;
        font-size: 13px;
    }

    .imageDivRightText ul {
        line-height: 20px;
        font-size: 13px;
    }

    .contactBait h2 {
        font-size: 20px;
        width: 50%;
    }

    .tel2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .titleContainer {
        clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 0% 100%);
        height:60%;
    }

    .titleContainer h4 {
        font-size: 20px;
        margin-left: 2px;
    }

    .titleContainer h3 {
        font-size: 18px;
        margin-left: 2px;
    }

    .titleContainer .title {
        margin-top: 25%;
    }

    .details {
        width: 100%;
        padding: 50px 3%;
    }

    .plan {
        width: 100%;
    }

    .plan1 {
        width: 100%;
    }

    .clipDown .plan1{
        display: none;
    }

    .details h3 {
        font-size: 4vw;
    }
    
    .details h2 {
        font-size: 6vw;
    }
    
    .details p {
        font-size: 20px;
        margin-top: 30px;
    }

    .clipUp {
        display: block;
    }

    .imageDivLeftText {
        padding: 10px 20px 10px 50px;
        width: 100%;
        height: min-content;
    }

    .imageDivLeft img {
        width: 100%;
    }
    

    .imageDivRight {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    
    .imageDivRight img {
        width: 100%;
        order: 1;
    }

    .imageDivRightText {
        width: 100%;
        order: 2;
    }

    .section4 {
        padding: 10px;
    }

    .carouselWrapper {
        gap: 10px;
        margin-bottom: 5px;
    }

    .carouselSlider {
        height: 300px;
        gap: 10px;
    }

    .contactBait h2 {
        font-size: 15px;
    }

    .tel2 {
        font-size: 20px;
    }

    #planIMG {
        width: 95%;
    }

    .slikeTerasa {
        display: grid;
        grid-template-rows: 25% 25% 25% 25%;
        grid-template-columns: 1fr;
        aspect-ratio: 0.4 / 1;
        width: 95%;
        margin: auto;
    }

    table {
        font-size: 20px;
    }

}

@media (max-width: 480px) {

    .titleContainer h4 {
        font-size: 15px;
        margin-left: 2px;
    }

    .titleContainer h3 {
        font-size: 13px;
        margin-left: 2px;
    }

    .titleContainer .title {
        margin-top: 25%;
    }


    .imageDivLeftText, .imageDivRightText {
        padding: none;
        height: min-content;
    }

    .imageDivLeftText ul , .imageDivRightText ul{
        font-size: 15px;
        line-height: 25px;
    }

    .section4 {
        padding: 5px;
    }

    .carouselWrapper {
        gap: 10px;
        margin-bottom: 5px;
    }

    .section5 {
        padding: 5%;
    }

    .section5 p {
        font-size: 20px;
    }

    .section6 {
        padding: 50px 5%;
    }

    .section6 h2 {
        font-size: 25px;
    }

    .contactBait h2 {
        font-size: 15px;
    }

    .tel2 {
        font-size: 15px;
    }

}



@keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }
  
  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }
  


.slide-in {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}


.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}


.slide-in-visible {
    opacity: 1;
    transform: translateX(0);
}


.slide-in-right.slide-in-visible {
    transform: translateX(0);
}
