:root {
    --white: #FFFFFF;
    --transparent-white: rgba(255, 255, 255, .1);
    --texts-background-color: rgba(218, 211, 202, .8);
}

html {
    scroll-behavior: smooth;
    font-family: 'FiraGo', sans-serif;
    font-weight: 100;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
}



.header {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

nav {
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: absolute;
    padding: .5rem;
}

.navigation-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.burger-menu-button {
    width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    background: transparent;
    font-size: 1.5em;
    color: #FFF;
    background-color: var(--texts-background-color);
    cursor: pointer;
    z-index: 15;
    padding: .5rem 1rem;
    border: none;
    border-radius: .5rem;
}

.menu {
    position: relative;
    width: 60%;
    min-width: 300px;
    height: 0;
    z-index: 20;
    margin-top: 4rem;
    /* Initially small height */
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: .5rem;
    /* Smooth expansion */
}

/* Menu Items */
.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    margin: 20px 0;
    text-align: center;
}

.menu ul li a {
    color: #d6d2c9;
    text-decoration: none;
    font-size: 20px;
}

/* Close Button */
.close-btn {
    color: white;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.book-room-url {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--texts-background-color);
    color: #fff;
    padding: .5rem 1rem;
    font-size: 1.3em;
    border-radius: .5rem;
}

/* Show the Menu when Active (Expanding the menu) */
.menu.active {
    height: 100%;
    /* Expand to full height */
}

.languages {
    overflow: hidden;
    display: flex;
    top: 20px;
    right: 20px;
    gap: 10px;
    z-index: 999;
}

.languages img {
    width: 30px;
    background: transparent;
    cursor: pointer;
}

.languages button {
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
}

.headerBackground_container img {
    object-fit: cover;
    /* height: 100vh; */
    width: 100%;
}

.header_content {
    top: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    width: 100%;
    padding: 50px;
    padding-top: 50px;
    padding-bottom: 17px;
    background-color: rgba(0, 0, 0, 0.3);
}

.logo {
    max-width: 100px;
    width: 100%;
    cursor: pointer;
}

.header_paragraph {
    font-family: 'GLSatitulo-regular', sans-serif;
    font-size: clamp(2.5em, 2.5vw, 4em);
    font-feature-settings: "case" on;
    text-transform: uppercase;
    text-align: center;
    color: white;
    max-width: 1090px;
    font-weight: 500;
    width: 100%;
}

.scrollDown {
    width: 36px;
    cursor: pointer;
}

/* Main */

.main {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.resort {
    display: flex;
    width: 100%;
    background-color: #F3F1ED;

}

.resort_div_half1 {
    position: relative;
    width: 50%;
}

.resort_div_half1 img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.half1_content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(150, 146, 146, 0.3);
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 90px 70px;
}

.half1_content>p {
    color: white;
    font-size: 1.4rem;
    line-height: 120%;
    margin-top: 0.5rem;
}

.resort_h2_background {
    height: 78px;
    width: 288px;
    background-color: #DAD3CA;
    position: relative;
    margin-top: 75px;
}



.resort_h2_background>h2 {
    font-family: 'GLSatitulo-regular', sans-serif;
    font-size: 6.8rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -20%);
}

.resort_h2_background>h2.resorts-en {
    font-size: 3.5em;
    width: 288px;
    top: 40%;
    left: 50%;
    text-align: center;
}

.resort_div_half2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 50%;
    padding: 20px;
}

.currency-expan-box {
    width: 100%;
    position: relative;
    height: 200px;
}

.table-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 0.5rem;
  position: absolute;
  transition: all 0.4s ease-in-out; /* ლამაზად გადიდდეს */
  padding: 1rem 2rem;
  z-index: 2000;
  background-color: #F3F1ED;
}

.table-container.expanded {
  height: 900px;
  box-shadow: 0px 0px 4px gray;
  transition: all 0.4 ease-in-out;
}

.currency {
    position: absolute;
    bottom: 0;
    padding: 5px 10px;
    font-family: 'FiraGo', sans-serif;
    font-size: 1rem;
    border-radius: 0.5rem;
    color: white;
    right: 0;
    background-color: #6c757d;
    cursor: pointer;
    border: none;
    z-index: 30000;
}

.currency:hover {
    background-color: #400f49;
    transition: .2s ease-in-out;
}

.currency:focus {
    scale: 0.9;
}

#currencyTable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    height: 50px;
    margin: 0 auto;
}

thead {
    display: table-header-group;
}

tbody {
    position: relative;
}

tr {
    display: flex;
    align-items: center;
    width: 100%;
}

th {
    text-align: center;
    padding: .5rem;
    padding-bottom: 1rem;
    font-size: 1.1em;
    color: #6c757d;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
}
.flag-title {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #6c757d;
    width: 100%;
    padding: 0.5rem;
    font-weight: bold;
}

.currency-flag {
    width: 48px;
}


.currency-value {
    color: #D1AE72;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    width: 100%;
    vertical-align: middle;
}

.resort_div_half2 > video {
    max-width: 386px;
    width: 100%;
    object-fit: cover;
    height: 300px;
    border-radius: 1rem;
}


/* Houses and VIlla section */

.houses_section {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    height: 100vh;
}

.houses_villa_half {
    display: flex;
    flex-direction: column;
    margin-top: 3.2rem;
    gap: 35px;
    padding-left: 60px;
}

.houses_section_subdiv {
    display: flex;
    text-align: center;
    gap: 30px;
}

.houses_section_subdiv img {
     width: 258px;
     height: 208px;
}


.houses_section_imgDiv {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0 3px 0 gray;
}


.houses_section_subdiv img {
    border-radius: 1rem;
}

.houses_villa_half>h2 {
    font-family: 'GLSatitulo-regular', sans-serif;
    font-size: 5.7em;
    position: relative;
    z-index: 1;
}

.houses_villa_half2>img {
    max-width: 100%;
    width: 100%;
    height: 100vh;
}

.houses_section_subdiv p {
    font-size: 1.5em;
    margin-top: 0.5em;
    margin-bottom: 0.6em;
}

/* POOL PARTY */

.party_section {
    background-color: #F3F1ED;
    position: relative;
}

.party_section img {
    width: 100%;
}

.party_section h2 {
    position: absolute;
    font-size: clamp(2.5em, 7.5vw, 13em);
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'GLSatitulo-regular', sans-serif;

}


.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.text-fade-in {
    opacity: 0;
    transition: opacity 1.5s ease-out, transform 0.6s ease-out;
}

.text-fade-in.visible {
    opacity: 1;
}

@media screen and (max-width:930px) {
    .resort_h2_background {
        width: 200px;
        height: 50px;
    }

    .resort_h2_background>h2 {
        font-size: 4.5rem;
    }

    .resort_h2_background>h2.resorts-en {
        font-size: 2.5rem;
    }

    .half1_content>p {
        font-size: 1.2rem;
    }

    .half1_content {
        padding: 30px;

    }

}

@media screen and (max-width:800px) {

    .houses_villa_half {
        width: 100%;
        align-items: center;
        padding: 10px;
    }

    .houses_villa_half2 {
        width: 100%;
    }

    .party_section {
        height: auto;
    }

    .party_section h2 {
        font-size: clamp(2.5em, 2.5vw, em);
    }
}

@media screen and (max-width: 750px) {

    .header_paragraph {
        font-size: 3rem;
    }

}

@media screen and (max-width:650px) {

    .resort {
        flex-direction: column;
        height: auto;
    }

    .resort_div_half1 {
        width: 100%;
    }

    .resort_div_half2 {
        width: 100%;
        height: 700px;
    }

    .table-container {
        height: 280px;
        padding: 10px;
    }

    .table-container.expanded {
        height:920px;
    }

    #currencyTable {
        margin-top: 1.5rem;
    }

    .resort_h2_background {
        width: 200px;
        height: 50px;
    }

    .resort_h2_background>h2 {
        font-size: 4.5rem;
    }

    .half1_content>p {
        font-size: 1.2rem;
    }

    .half1_content {
        padding: 10px;

    }

    .houses_section_subdiv {
        flex-direction: column;
    }

    .houses_section_subdiv img{
        width: 100%;
    }

    .houses_villa_half h2 {
        font-size: 3rem;
        text-align: center;
    }


}

@media screen and (max-width: 388px) {
    .resort_h2_background {
        width: 150px;
        height: 35px;
    }

    .resort_h2_background>h2 {
        font-size: 3rem;
    }

    .half1_content > p {
        font-size: .8rem;
    }
}

/* !!! INSIGHTS SECTION */

.insights-section {
    background-color: #F3F1ED;
    background-image: url('../assets/insights/insights-background.png');
    padding: 3rem 7rem;
    max-width: 1280px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.insights-row {
    display: flex;
    gap: 2rem;
}

.insight {
    width: 100%;
    max-width: 330px;
    margin: auto;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}

.insight-image {
    width: 100%;
}

.insight-title {
    font-size: 1.25em;
    font-weight: 400;
    text-align: center;
}

/* !!! INSIGHTS SECTION <END>  */

/* !!! RESTAURANT SECTION */

.restaurant-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.restaurant-image {
    width: 100%;
    z-index: 5;
}

.restaurant-title {
    font-family: 'GLSatitulo-regular', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: clamp(2.5em, 7.5vw, 12em);
    ;
    font-weight: 500;
    color: var(--white);
}


/* !!! RESTAURANT SECTION <END> */

/* !!! COUSINE SECTION */

.cousine-section {
    padding-block: 5rem;
    display: flex;
    justify-content: space-evenly;
}

.cousine-article {
    position: relative;
}

.cousine-article-image {
    width: 100%;
}

.cousine-article-title {
    position: absolute;
    border-radius: .5rem;
    padding-inline: 1rem;
    width: max-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: clamp(1.5em, 2.5vw, 2.375em);
    ;
    text-align: center;
    line-height: 1.6;
    background-color: var(--texts-background-color);
}

.cousine-article-title.link {
    color: black;
}

/* !!! COUSINE SECTION <END> */

/* !!! BOOK ROOM BOX */

.book-room-box {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--texts-background-color);
    border-radius: .5rem;
    color: #FFF;
    padding: 15px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.book-room-box>a {
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1;
}

/* !!! BOOK ROOM BOX <END> */

/* !!! FOOTER */

footer {
    width: 100%;
    max-width: 1280px;
    position: relative;
    margin-inline: auto;
}

.address-container {
    position: absolute;
    right: 20%;
    top: 3%;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--white);
}

.location {
    line-height: 1.6;
    font-size: 1.375em;
}

.location a {
    color: white;
    text-decoration: underline;
}

.footer-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2.5em, 7.5vw, 12em);
    color: var(--transparent-white);
    width: 100%;
    text-align: center;
}

.map-image {
    width: 100%;
}

/* !!! FOOTER <END> */

@media screen and (max-width: 1000px) {

    .header_content {
        padding: 1rem;
    }

    .header_paragraph {
        font-size: clamp(1.2rem, 5vw, 2.4rem);
    }

    video {
        margin-block: 1rem;
        width: 100%;
    }

    .location {
        font-size: 1em;
    }

    .houses_section {
        flex-wrap: wrap;
        height: auto;
        width: 100%;
        justify-content: center;
    }

    .insights-section {
        padding-inline: 2rem;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 2rem;
    }

    .insights-row {
        justify-content: center;
    }

  

    .insight-image {
        width: 100%;
    }

    .cousine-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }


    .resorts-en {
        font-size: 1.5em;
        max-width: 288px;
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    .insights-row {
        flex-direction: column;
    }

}

