/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* Variables */
:root {
    --header-height: 6.5rem;

    /* Colors */
    --hue-color: 190;
    /* Teal/Cyan base */
    --first-color: hsl(var(--hue-color), 64%, 22%);
    --first-color-second: hsl(var(--hue-color), 64%, 22%);
    --first-color-alt: hsl(var(--hue-color), 64%, 15%);
    --title-color: hsl(var(--hue-color), 64%, 18%);
    --text-color: hsl(var(--hue-color), 24%, 35%);
    --text-color-light: hsl(var(--hue-color), 8%, 60%);
    --input-color: hsl(var(--hue-color), 24%, 97%);
    --body-color: hsl(var(--hue-color), 100%, 99%);
    --container-color: #FFF;

    /* Font and Typography */
    --body-font: 'Outfit', sans-serif;
    --title-font: 'Playfair Display', serif;

    /* Fluid Typography using clamp */
    --big-font-size: clamp(2rem, 8vw, 3.5rem);
    --h1-font-size: clamp(1.5rem, 5vw, 2.25rem);
    --h2-font-size: clamp(1.25rem, 4vw, 1.5rem);
    --h3-font-size: clamp(1rem, 3vw, 1.25rem);
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* Margins */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* Base */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--title-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Reusable CSS Classes */
.section {
    padding: 4rem 0 3rem;
}

.section-title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: var(--mb-1);
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-2);
    text-align: center;
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #FFF;
    padding: 1rem 1.75rem;
    border-radius: .5rem;
    font-weight: 600;
    transition: .3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.button:hover {
    background-color: var(--first-color-alt);
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-highlight {
    background: linear-gradient(90deg, var(--first-color), #20b2aa);
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 114, 114, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(18, 114, 114, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(18, 114, 114, 0);
    }
}

.button-small {
    padding: .75rem 1rem;
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    /* Initial transparent or body color */
    transition: .3s;
}

/* Scroll Header */
.scroll-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    background-color: var(--container-color);
}

/* Nav */
.header-container {
    max-width: 968px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btns {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

/* Language Switcher Custom */
.lang-switcher {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.lang-selected {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    padding: .5rem .75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--text-color-light);
    border-radius: .5rem;
    font-size: var(--small-font-size);
    font-weight: 600;
    color: var(--title-color);
    transition: .3s;
}

.lang-selected:hover {
    border-color: var(--first-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-options {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    width: 120px;
    z-index: var(--z-tooltip);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s;
}

.lang-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-options li {
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    column-gap: .75rem;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: var(--text-color);
    transition: .3s;
}

.lang-options li:hover {
    background-color: var(--input-color);
    color: var(--first-color);
}

.lang-options .fi {
    font-size: 1rem;
}

.lang-selected .fi {
    font-size: 1.1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-toggle {
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-close {
    position: absolute;
    right: 1.5rem;
    bottom: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--first-color);
}

/* Mobile Menu */
@media screen and (max-width: 767px) {
    .nav-menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 1.5rem 1rem 3rem;
        box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.1);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: .4s;
        z-index: var(--z-fixed);
    }

    .nav-cta {
        margin-top: .5rem;
        grid-column: span 3;
        width: 100%;
        text-align: center;
        padding: .75rem !important;
    }
}

.show-menu {
    bottom: 0 !important;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: 500;
    transition: .3s;
}

.nav-link:hover {
    color: var(--first-color);
}

/* Active Link */
.active-link {
    color: var(--first-color);
}

.nav-cta {
    padding: .5rem 1rem !important;
    font-size: var(--smaller-font-size) !important;
    color: #FFF !important;
    border-radius: .25rem !important;
    margin-top: -.25rem;
}

@media screen and (max-width: 767px) {
    .nav-cta {
        margin-top: 0;
        grid-column: span 3;
        width: 100%;
        text-align: center;
    }
}

/* Home */
.home-container {
    gap: 1rem;
}

.home-content {
    grid-template-columns: .5fr 3fr;
    padding-top: 3.5rem;
    align-items: center;
}

.home-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    z-index: -1;
}

.home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.home {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    color: #FFF;
    overflow: hidden;
}

.home-title,
.home-subtitle,
.home-description {
    color: #FFF;
}

.home-subtitle {
    display: block;
    font-size: var(--small-font-size);
    font-weight: 600;
    margin-bottom: var(--mb-0-5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-1);
    line-height: 1.2;
}

.home-description {
    margin-bottom: var(--mb-2);
    font-size: 1.1rem;
    max-width: 600px;
}

/* About */
.about-data {
    text-align: center;
}

.about-description {
    margin-bottom: var(--mb-2-5);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Rooms */
.room-card {
    background-color: var(--container-color);
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: .3s;
    width: 100%;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.room-img-wrapper {
    width: 100%;
}

.room-content {
    padding: 1.5rem;
    text-align: center;
}

.room-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    text-align: center;
}

.room-price {
    display: block;
    font-size: var(--h2-font-size);
    font-weight: 600;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.room-price-period {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    font-weight: 400;
}

.room-amenities {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: var(--mb-1-5);
}

.room-img-placeholder {
    height: 450px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

@media screen and (max-width: 568px) {
    .room-img-placeholder {
        height: 250px !important;
    }
}

/* Room Slider */
.room-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.room-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.room-slide {
    min-width: 100%;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--title-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    opacity: 0;
}

.room-slider-wrapper:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background-color: var(--first-color);
    color: #FFF;
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    column-gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #FFF;
    transform: scale(1.2);
}

.room-amenities li {
    display: flex;
    align-items: center;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    gap: .25rem;
}

/* Location */
.location-container {
    align-items: center;
}

.location-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: var(--mb-2);
}

@media screen and (max-width: 350px) {
    .location-highlights {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
}

.highlight-item {
    text-align: center;
}

.highlight-item h3 {
    font-size: 1.5rem;
    color: var(--first-color);
    margin-bottom: .25rem;
}

.highlight-item p {
    font-size: var(--smaller-font-size);
    font-weight: 500;
}

/* Amenities */
.amenities-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

@media screen and (max-width: 350px) {
    .amenities-container {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: .75rem;
    }
}

.amenity-card {
    background-color: var(--container-color);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: .3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
    width: 40px;
    height: 40px;
}

.amenity-title {
    font-size: var(--h3-font-size);
}

@media screen and (min-width: 768px) {
    .amenities-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact */
.contact-container {
    row-gap: 3rem;
}

.contact-information {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    margin-bottom: var(--mb-2);
}

.contact-icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-right: var(--mb-0-5);
}

.contact-card {
    background-color: var(--container-color);
    padding: 1rem;
    border-radius: .5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-card-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.contact-card-data {
    font-size: var(--small-font-size);
    display: block;
    color: var(--text-color-light);
}

.contact-form {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form-div {
    margin-bottom: var(--mb-1);
}

.contact-form-tag {
    display: block;
    margin-bottom: var(--mb-0-5);
    font-size: var(--small-font-size);
    font-weight: 500;
}

.contact-form-input {
    width: 100%;
    background-color: var(--input-color);
    padding: 1rem;
    border-radius: .5rem;
    border: none;
    outline: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

.contact-form-area {
    height: 11rem;
}

.contact-form-area textarea {
    height: 100%;
    resize: none;
}

/* Footer */
.footer {
    background-color: var(--first-color-alt);
    padding: 2rem 0 3rem;
    color: #FFF;
}

.footer-container {
    display: grid;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--mb-1);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #FFF;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: #FFF;
    font-size: 1.25rem;
}

.footer-copy {
    display: block;
    margin-top: 3rem;
    font-size: var(--smaller-font-size);
    text-align: center;
    color: #BDC3C7;
}

/* Book Now Section */
.book-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: .3s;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 1rem;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.book-card.disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.book-card.disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.book-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--mb-0-5);
}

.direct-booking-icon {
    color: var(--first-color);
}

.coming-soon {
    background-color: #f1c40f;
    color: #fff;
    font-size: var(--smaller-font-size);
    padding: .25rem .75rem;
    border-radius: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-text {
    font-size: var(--small-font-size);
    font-weight: 600;
    color: var(--title-color);
}

/* Specific styling for brand recognition support */
.booking-card {
    border-bottom: 4px solid #003580;
    /* Booking.com Blue */
}

.airbnb-card {
    border-bottom: 4px solid #FF5A5F;
    /* Airbnb Red */
}

.direct-card {
    border-bottom: 4px solid var(--first-color);
}

/* Scroll Up */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    padding: .5rem;
    display: flex;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    color: #FFF;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-.25rem);
}

/* Show Scroll */
.show-scroll {
    bottom: 5rem;
}

/* Media Queries */
@media screen and (min-width: 568px) {
    .rooms-container {
        display: flex;
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 1024px) {
    .rooms-container {
        max-width: 50%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 568px) {
    .book-container {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    body {
        margin: 0;
    }

    .section {
        padding: 6rem 0 2rem;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .header-container {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav-icon,
    .nav-close,
    .nav-toggle {
        display: none;
    }

    .nav-list {
        display: flex;
        column-gap: 2rem;
        /* Was using grid before */
    }

    .nav-menu {
        margin-left: auto;
        margin-right: 3rem;
    }

    .home-container {
        row-gap: 5rem;
    }

    .home-content {
        padding-top: 5.5rem;
        column-gap: 2rem;
    }

    /* Fixed room conflict */
    .rooms-container {
        display: flex;
        justify-content: center;
    }

    .location-container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-information {
        flex-direction: row;
        column-gap: 1rem;
    }

    .contact-card {
        flex: 1;
    }
}