@import url(subPageStyle.css);
@font-face {
    font-family: 'Montserrat';
    src: url(montserrat/Montserrat-Regular.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat Bold';
    src: url(montserrat/Montserrat-Bold.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat ExtraBold';
    src: url(montserrat/Montserrat-ExtraBold.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat ExtraLight';
    src: url(montserrat/Montserrat-ExtraLight.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat Light';
    src: url(montserrat/Montserrat-Light.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat Medium';
    src: url(montserrat/Montserrat-Medium.ttf) format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat Thin';
    src: url(montserrat/Montserrat-Thin.ttf) format('truetype');
    font-display: swap;
}
body{
    font-family: 'Montserrat', Helvetica, sans-serif;
    margin: 0 auto;
    background-color: rgb(246, 246, 246);
    word-spacing: 0.04em;
    letter-spacing: 0.015em;
    font-size: 105%;
    z-index: -9999;
    position: relative;
}
    a:focus-visible{
        outline: 4px solid black !important;
        border-radius: 1px;
    }
    main{
       position: relative; 
       z-index: -9998;
    }
        h1{
            text-transform: uppercase;
        }

    /* HEADER AND NAVBAR STYLING */

/* 
- Creates a wrapper thats 100%, whilst the actual header is 80%.
- Adds a red shadow/light effect to the bottom.
- Centers everything and makes the header stick to the top of the page.
*/
#headerWrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    position: static;
    top: 0px;
    box-shadow: 0px 2px 5px rgba(230, 0, 0, 0.3);
    z-index: 9999;
}
    /* 
    - Sets the header width to 80% to fit the rest of the content
    for 15.6 laptops and other similar types of displays.
    - Aligns everything to be center on the y axis and pushes each
    element to the side so that you have a standard header design.
    - Adds som minimal top/bottom padding for user experience.
    */
    header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: white;
        padding: 11.69px 0% 7.69px 0%;
        letter-spacing: 0.03em;
        width: 95%;
    }
        #logo img{
            width: auto;
            height: 80px;
        }

        /* 
        Negates all effects of the unordered list and displays
        all list items in a linear style.
        */
        .currentPage:hover{
            text-shadow: none;
        }
        .currentPage::after{
            transform: scaleX(1);
        }
        nav #desktopNav{
        list-style: none;
        align-items: center;
        display: flex;
        margin: 0;
        padding: 0;
        }
        /* adds some side padding to the list item elements */
        header> nav > ul > li{
            padding: 1.1em 0.8em;
            position: relative;
        }
        header> nav > ul > li:first-of-type{
            padding-right: 0.8em;
            padding-left: 0;
            }
            header> nav > ul > li:last-of-type{
                padding-right: 0;
                padding-left: 0.8em;
            }
            /* 
            Styles the actual text (links).
            - Makes them uppercase, a different color, removes the inherent underline.
            - The relative position is used in combination with the animation underline effect.
            - Makes the font a bit bigger and bold.
            */
            header> nav > ul > li a{
                text-decoration: none;
                color: #DC0000;
                text-transform: uppercase;
                font-weight: bold;
                position: relative;
                font-size: 110%;
                transition: text-shadow 0.4s;
            }

            /* 
            Adds the small black underline.
            - Content are quotes as we don't want any text showing.
            - Positions it to be absolute (take up space but also able to be moved freely).
            - Specifies to be as wide as the li element, the height, and the distance from 
            the actual text (bottom margin).
            - transform origin is bottom right as with scaleX set at 0,
            it will end at the rightmost corner, and if we pair this
            with the :hover::after, we set scaleX to 1 (we make the underline visible)
            and make it begin from the leftmost corner and end as usual.
            */
            header> nav > ul > li a::after{
                content: '';
                position: absolute;
                width: 100%;
                height: 2.4px;
                bottom: -5px;
                left: 0%;
                background-color: black;
                transform-origin: bottom right;
                transition: transform 0.4s ease-out;
                transform: scaleX(0);
            }
                nav li a:hover::after{
                    transform: scaleX(1);
                    transform-origin: bottom left;
                }
                /* needs commenting adds the dropdown */
                nav ul li ul{
                    visibility: hidden;
                    border-top: #DC0000 3px solid;
                    position: absolute;
                    background-color: white;
                    list-style: none;
                    padding: 1em;
                    left: 0;    
                    opacity: 0;
                    margin-top: 1.1em;
                    transition: 0.4s;
                }
                nav ul li:hover ul{
                    opacity: 1;
                    visibility: visible;
                }
                nav ul li ul li{
                    padding-top: 8%;
                }
                nav ul li ul li:first-of-type{
                    padding-top: 0;
                }         
            .dropdown:hover{
                cursor: default;
            }

            
                    /* MAIN BODY STYLING, SECTIONS, ARTICLES, LANDING PAGE STYLING, ETC */

/* 
Uses background-size:cover in order to adjust when 
screen gets bigger, it stretches out and covers
the 550px height irrespective of display width.
*/
#homePageTitle{
    background-image: url(nuotraukos/index/landingPhoto2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}
    /* 
    Colors the landing section's text white, changes the direction 
    of display from row to column and aligns text to center.
     */
    #homePageTitle section{
        display: flex;
        flex-direction: column;
        color: white;
        text-align: center;
        align-items: center;
    }
    /*
    Increases the font size of the main header on the landing section 
    as well as the spacing. 
    Adds a glow effect which is paired with an animation where
        the letters get bigger and the glowing effect appears.
        */
        #homePageTitle h1{
            font-size: 500%;
            letter-spacing: 0.1em;
            text-shadow: #DC0000 0px 0px 50px;
            margin: 0;
        }
        #homePageTitle p{
            font-size: 150%;
            margin-bottom: 9%;
            margin-top: 3%;
            letter-spacing: 0.25em; 
            text-transform: uppercase; 
            font-family: "Montserrat Light";
        }
img{
    width: 100%;
    height: auto;
}
section{
    display: flex;
    /* aligns containers on Y axis */
    align-items: center;
    /* 80% of body's width (100%) */
    width: 80%;
    /* centers sections within body */
    margin: 0 auto;
    /* adds slight bottom and top styling */
    padding-bottom: 6%;
}
    /* 
    Depending on where each section element is located,
    a specific padding will be applied so that the 48%
    element width becomes 50% with the padding. 
    */
    section .rightPos{
        padding-left: 2%;
    }
    section .leftPos{
        padding-right: 2%;
    }
    /* adds to the first and last section extra padding */
    main section:first-of-type{
        padding-top: 6%;
    }
    /* 
    - By making the img and article elements within a section
    have a width value, they scale the same and take
    up a proportional amount of space.
    - Each article element that doesn't have more specific CSS
    code will be 48% of the 80% (=38.4%) section standard 
    - The 48% is not 50% because we have a padding of 2% per 
    img and article element, that way they actually take up equal
    amounts of space.
    */

    /* each img element that doesn't have more specific CSS
    code will be 48% of the 80% section standard */
    section img{
        width: 48%;
        position: relative;
    }
    /* sets the articles of each section to be 48% */
    section article{
        width: 48%;
    }
        /* increases whitespace between lines */
        section article p{
            line-height: 150%;
        }
            /* adds a margin to last p element to distance button from text */
            section article p:last-of-type{
                margin-bottom: 7%;
            }
            /* increases size of titles of paragraphs and makes them bold
            also removes margin so that both headers are closer to eachother*/
            section article h2{
                font-size: 220%;
                text-transform: uppercase;
                /* or montserrat bold? */
                font-family: 'Montserrat ExtraBold';
                margin: 0;
                letter-spacing: 0.04em;
                /* font-weight: bold; */
            }
            /* creates the thin top (super)title over the main article header */
            .lightTitle{
                font-size: 190%;
                /* or montserrat thin? */
                font-family: 'Montserrat Light'; 
                font-weight: lighter;
            }
    /* 
    - When a section has a full width image that is blurred,
    this styling makes the image 100% wide and uses the
    same principles as the top landing page backgrounds with
    cover and center so that they adapt to a changing diplay size
    - On top of that we add a margin to create a larger discrepancy 
    between each section.
    */
    .fullWidthImage{
        width: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        margin-bottom: 6%;
        position: relative;
    }
        .fullWidthImage img{
            visibility: hidden;
        }
        .fullWidthImage::after{
            content: '';
            position: absolute;
            width: 30%;
            height: 1.5%;
            top: 100%;
            left: 0%;
            background-color: #DC0000;
        }
        .fullWidthImage::before{
            content: '';
            position: absolute;
            width: 15%;
            height: 2.5%;
            right: 0%;
            top: -2.5%;
            background-color: #DC0000;
        }


        /* FIX THIS */

        .article1{
            position: relative;
        }
        .article1::after{
            content: '';
            position: absolute;
            width: 25%;
            height: 20%;
            left: -15%;
            bottom: 7%;
            background-color: #dc0000;
            border-radius: 100000px;
            transition: transform 0.2s ease-out;

        }
        .article2{
            position: relative;
        }
        .article2::after{
            content: '';
            position: absolute;
            width: 25%;
            height: 12%;
            left: 5%;
            bottom: -8%;
            background-color: #dc0000;
            border-radius: 100000px;
            transition: transform 0.2s ease-out;

        }
        .article3{
            position: relative;
        }
        .article3::after{
            content: '';
            position: absolute;
            width: 30%;
            height: 10%;
            right: -15%;
            top: 5%;
            background-color: #dc0000;
            border-radius: 100000px;
            transition: transform 0.2s ease-out;

        }

        .article1:hover::after{
            transform: scale(0.7);
        }
        .article2:hover::after{
            transform: scale(0.7);
        }

        .article3:hover::after{
            transform: scale(0.7);
        }

    /* creates the button styling, removes underline and adds padding  */
    .button{
        text-decoration: none;
        color: white;
        background-image: linear-gradient(135deg, rgba(220,0,0,1) 0%, rgba(150,0,16,1) 50%, rgba(220,0,0,1) 100%);
        padding: 2.5% 5%;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: 0.25s;
        background-size: 200% auto;
    }
        /* Adds a simple hover background color change */
        .button:hover, .button:focus-visible{
            background-position: 100% 0;
            box-shadow: #dc000070 0px 0px 15px;
        }

    /* FOOTER STYLING */
/* colors the footer black but keeps the 80% width for text elements */
#footerWrapper{
    width: 100%;
    background-color: rgb(18, 17, 17);
    /* helps put the subfooter under the main footer (2 + iframe banners) */
    flex-direction: column;
    /* removes the previous section padding from the bottom */
    padding-bottom: 0%;
    position: relative;
    border-bottom: 5px #DC0000 solid;
}
#footerWrapper::before{
    content: '';
    position: absolute;
    background-color: rgb(18, 17, 17);
    height: 25%;
    width: 3%;
    right: 0;
    top: -100%;
}
#footerWrapper::after{
    content: '';
    position: absolute;
    background-color: #dc0000;
    height: 6%;
    width: 25%;
    right: 0;
    top: -6%;
}
    /* specifies the standard 80% of 100% body and decrease font size */
    footer{
        width: 100%;
        display: flex;
        color: white;
        font-size: 90%;
        justify-content: center;
    }
        footer div{
            width: 50%;
            display: flex;
            align-items:flex-start;
            justify-content: center;
            margin: auto 0;
        }
        /* adds some padding to each article */
        footer article{
            padding-left: 3%;
        }
            footer iframe{
                width: 50%;
                height: 500px;
                filter: grayscale(95%) brightness(90%);
                transition: filter 0.4s;
                border: none;
            }
            footer iframe:hover{
                filter: grayscale(0%) brightness(100%);
            }
            /* adds some extra space between the header and the text in the footer*/
            footer h3{
                margin-bottom: 8%;
                font-size: 107.5%;
                margin-top: 0;
            }
            footer article p:last-of-type{
                margin-bottom: 0;
            }
            /* removes all inherent unordered list styling */
            footer ul{
                margin: 0;
                list-style: none;
                padding: 0;
            }
            /* adds some extra padding between the li elements */
            footer ul li{
                padding-bottom: 7%;
            }
            /* adds some basic styling to all of the links (might remove later) */
            /* footer ul li a{
                border-bottom: 1px solid white;
                padding-bottom: 1px;
                color: white;
                text-decoration: none;
            }
            footer ul li a:hover{
                transition: 0.25s;
                color: rgb(139, 139, 139);
            } */
            footer i{
                color: white;
                font-size: 150%;
                transition: 0.2s;
                padding: 0.2em;
            }
            footer i:hover{
                color: #DC0000;
            }
            footer p a:first-child i{
                margin-left: -3px;
            }
/* 
.tooltip{
    position: relative;
}
.tooltip i{
    color: #dc0000;
    font-size: 95%;
}
.tooltip .tooltipText{
    visibility: hidden;
    position: absolute;
    width: 10em;
    background-color: #dc0000;
    border-radius: 20px;
    color: white;
    padding: 1em;
    opacity: 0;
    z-index: 1;
    transition: 0.4s;
    left: 50%;
    bottom: 150%;
    margin-left: -6em;
    font-size: 90%;

}
.tooltip:hover .tooltipText{
    visibility: visible;
    opacity: 1;
}
.tooltip .tooltipText::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #dc0000 transparent transparent transparent;
  }
   */

.serviceLink{
    color: #DC0000;
    transition: 0.2s
}
.serviceLink:hover{
    color: #750000;
}

/* mobile navigation hamburger menu styling */
.mobileNav{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 22.305px;
    right: 2.5%;
    width: 27px;
    height: 21px;
    justify-content: space-between;
    cursor: pointer;
}
.mobileNav .bar{
    width: 100%;
    background-color: #dc0000;
    position: relative;
    height: 2px;
    border-radius: 10px;
    transition: 0.5s;
}
.change .bar:nth-of-type(1){
    transform: translate(0, 9.5px) rotate(-405deg);
}
.change .bar:nth-of-type(2){
    opacity: 0;
}
.change .bar:nth-of-type(3){
    transform: translate(0, -9.5px) rotate(405deg);
}

/* changing the Rezervacija header link appearance */
.reservationHeader{
   background-image: linear-gradient(135deg, rgba(220,0,0,1) 0%, rgba(150,0,16,1) 50%, rgba(220,0,0,1) 100%);
   color: white;
   border-radius: 100px;
   padding: 0.5em 0.75em;
   transition: 0.25s;
   background-size: 200% auto;
   /* background-position: 200% 100%; */
}
    .reservationHeader::after{
        display: none;
    }
    .reservationHeader:hover{
        background-position: 100% 0;
        box-shadow: #dc000070 0px 0px 15px;

    }

textarea{
    resize: vertical;
}

@media screen and (min-width: 2860px){
    section, .priceNotice{
        width: 45%;
    }
    header{
        width: 95%;
    }
} 
@media screen and (max-width: 2860px){
    section, .priceNotice{
        width: 49%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 2560px){
    section, .priceNotice{
        width: 53%;
    }
    header{
        width: 95%;
    }
    #homePageTitle{
        background-image: url(nuotraukos/index/landingPhoto2-medium.webp);
    }
}
@media screen and (max-width: 2360px){
    section, .priceNotice{
        width: 57%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 2200px){
    section, .priceNotice{
        width: 61%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 2080px){
    section, .priceNotice{
        width: 64%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1940px){
    section, .priceNotice{
        width: 67%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1880px){
    section, .priceNotice{
        width: 70%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1800px){
    section, .priceNotice{
        width: 73%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1680px){
    section, .priceNotice{
        width: 77%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1590px){
    section, .priceNotice{
        width: 80%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1520px){
    section, .priceNotice{
        width: 82%;
    }
    header{
        width: 95%;
    }
}
@media screen and (max-width: 1420px){
    section, .priceNotice{
        width: 84%;
    }
    header{
        width: 95%;
    }
    #homePageTitle{
        background-image: url(nuotraukos/index/landingPhoto2-small.webp);
    }
}
@media screen and (max-width: 1260px){

    #headerWrapper{
        position: sticky;
    }
    header nav #desktopNav{
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: flex-end;
        padding-bottom: 1em;
    }
    header #desktopNav li{
        width: 100%;
        padding: 0 !important;
        padding-top: 1em !important;
        text-align: center;
    }
    nav{
        width: 100%;
    }
    header{
        flex-direction: column;
        align-items: flex-start;
        padding: 7.67px 0% 3.67px 0%;
    }
    .mobileNav{
        display: flex;
    }
    #logo img{
        height: 50px;
        width: auto;
    }
    nav ul li ul{
        display: none;
        position: static;
        background-color: white;
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: none;
    }


    section, .priceNotice{
        width: 85%;
    }
    header{
        width: 95%;
    }
    #homePageTitle h1{
        font-size: 450% !important;
    }
    #homePageTitle p{
        font-size: 135%;
    }
    
}
@media screen and (min-width: 1261px){
    /* fixes a bug where opening and closing the
    phone menu causes the greater-than-1100px inline 
    nav menu to disappear (gets a display value of none) */
    #desktopNav{
        display: flex !important;
    }
}
@media screen and (max-width: 1100px){
    #homePageTitle h1{
        font-size: 400% !important;
    }
    #homePageTitle p{
        font-size: 120%;
        margin-bottom: 8%;
    }
    .button{
        font-size: 105% !important
    }
}
@media screen and (max-width: 1000px){
    #homePageTitle{
        height: 400px;
    }
    #homePageTitle h1{
        font-size: 375% !important;
    }
    #homePageTitle p{
        font-size: 115%;
        margin-bottom: 11%;
    }
    .button{
        font-size: 100% !important;
        padding: 2% 4%;
    }
    section{
        flex-direction: column;
    }
    section .rightPos, section .leftPos{
        padding: 2% 0%;
        width: 100%;
    }
    .reverseColumn{
        flex-direction: column-reverse;
    }
    .imgMobile{
        margin-top: 1em;
    }
    #footerWrapper::after{
        display: none;
    }
    footer{
        flex-direction: column;
        align-items: center;
    }
    footer iframe{
        width: 100%;
        filter: none;
        transition: none;
    }
    footer div{
        flex-direction: column;
        width: 85%;
    }
    footer #svg{
        display: none;
    }
    footer article{
        width: 100%;
        padding: 0;
    }
    footer article:first-of-type{
        margin-top: 6%;
    }
    footer h3{
        margin-bottom: 4%;
    }
    footer article p:last-of-type{
        margin-bottom: 6%;
    }
}

@media screen and (max-width: 700px){
    body{
        font-size: 100% !important;
    }
    #homePageTitle h1{
        font-size: 375% !important;
    }
    #homePageTitle p{
        font-size: 110%;
        margin-bottom: 12%;
    }
    .button{
        font-size: 95% !important;
        padding: 3% 6% !important;
    }
    .article1::after{
        display: none;
    }
    .article2::after{
        display: none;
    }
    .article3::after{
        display: none;
    }
}
@media screen and (max-width: 600px){
    #homePageTitle h1{
        font-size: 325% !important;
    }
    #homePageTitle p{
        font-size: 105%;
        margin-bottom: 13%;
    }
}
@media screen and (max-width: 500px){
    #homePageTitle h1{
        font-size: 300% !important;
    }
    #homePageTitle p{
        font-size: 100%;
        margin-top: 4%;
        margin-bottom: 14%;
    }

}
@media screen and (max-width: 450px){
    body{
        font-size: 95% !important;
    }
    #homePageTitle h1{
        font-size: 300% !important;
    }
}
@media screen and (max-width: 400px){
    #homePageTitle h1{
        font-size: 275% !important;
    }
    #homePageTitle p{
        margin-bottom: 17%;
        margin-top: 6%;
    }
    .button{
        font-size: 90% !important;
        padding: 4% 8% !important;
    }
    section{
        width: 87.5%;
    }
        section article h2{
            font-size: 200% !important;
        }
        .lightTitle{
            font-size: 180% !important;
        }
    header{
        width: 87.5%;
    }
    footer div{
        width: 87.5%;
    }
    .mobileNav{
        right: 6.25%;
    }
}
@media screen and (max-width: 350px){
    #homePageTitle h1{
        font-size: 235% !important;
    }
    #homePageTitle p{
        margin-bottom: 18%;
        margin-top: 7%;
    }
}
@media screen and (max-width: 325px){
    #homePageTitle h1{
        font-size: 220% !important;
    }
    section article h2{
        font-size: 180% !important;
    }
    .lightTitle{
        font-size: 160% !important;
    }
    #homePageTitle p{
        margin-bottom: 19%;
        margin-top: 8%;
    }
}
@media screen and (max-width: 290px){
    #homePageTitle h1{
        font-size: 200% !important;
    }
    section article h2{
        font-size: 160% !important;
    }
}
@media screen and (max-width: 270px){
    .button{
        font-size: 80% !important;
    }
}
@media screen and (max-width: 250px){
    #homePageTitle h1{
        font-size: 175% !important;
    }
    .button{
        font-size: 75% !important;
    }
}
@media screen and (max-width: 230px){
    section article h2{
        font-size: 140% !important;
    }
    .lightTitle{
        font-size: 130% !important;
    }
    .button{
        font-size: 65% !important;
    }
}

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
    z-index: 999;
  }

  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    padding-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Make sure the popup appears above the overlay */
    width: 800px; /* Set an initial width */
  }

  .popup-content {
    text-align: center;
  }

  .close {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color:#DC0000;
  }

  .popup-content img {
    width: 100%;
    height: auto;
  }

  @media only screen and (max-width: 4000px) {
    .popup {
      width: 30%; /* Adjust the width as needed */
    }
  }
  @media only screen and (max-width: 1680px) {
    .popup {
      width: 40%; /* Adjust the width as needed */
    }
  }
  @media only screen and (max-width: 1400px) {
    .popup {
      width: 50%; /* Adjust the width as needed */
    }
  }
  @media only screen and (max-width: 1100px) {
    .popup {
      width: 60%; /* Adjust the width as needed */
    }
  }
  @media only screen and (max-width: 600px) {
    .popup {
      width: 80%; /* Adjust the width as needed */
    }
  }


  .priceFrom{
    font-size: 50%;
    font-family: 'Montserrat';
    text-transform: lowercase;
  }