﻿
.background-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100%; /* Fallback height, overridden by JS */
background-image: url('/Images/Welcome/main-landing-page-image.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: -1;
}
body {
    background-color: #FCFBF9;
}
@media (min-width: 1400px) {
    .background-wrapper {
        transform: scale(0.95);
        transform-origin: top center;
        width: 105.26vw; /* = 100 / 0.95 */
        left: -2.63vw; /* = -( (width - 100) / 2 ) */
        background-position: top center;
    }
}

@media (max-width: 760px) {
    .background-wrapper {
        transform: scale(0.8);
        transform-origin: top center;
        width: 126vw; /* 1 / 0.8 = 125% */
        left: -12.5vw; /* Center it */
    }
}

@media (max-width: 480px) {
    .background-wrapper {
        height: 616px !important; /* Maintain specific height for small screens */
        min-height: 616px !important;
    }
}

.navbar-nav .nav-link
{
    color: white;
}
.dropdown-item a {
    color: black;
}
/* ✅ Apply white filter to top-level nav items and icons (including globe) */
#main-navbar .nav-item > .nav-link,
#main-navbar .nav-item > .nav-link > .fa,
#main-navbar .nav-item > .nav-icon,
#main-navbar .nav-icon .global-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* ❌ Exclude dropdown items and their icons from being inverted */
#main-navbar .dropdown-menu .dropdown-item,
#main-navbar .dropdown-menu .dropdown-item i {
    filter: none !important;
}


#main-navbar .toggle-container img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* White for sun/moon SVGs */
}
#main-navbar .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* White for sun/moon SVGs */
}

.navbar {
    background-color: transparent !important;
    transition: background-color 0.3s ease-in-out;
    z-index: 1001;
}
.dropdown-menu {
    color: #000;

}
    .login-btn {
    background-color: white;
    color: #000000;
}


.login-btn:hover{
    color: #000000;
    background-color: #eee7e7;
}

.hero-content {
    color: white;
    text-align: left;
    padding-top: 108px;
    padding-bottom: 38px;
}
.hero-text {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

.headline-wrapper {
    position: relative;
    display: inline-block;
}

.unforgettable {
    font-family: 'Kollektif', sans-serif;
    font-size: clamp(28px, 6vw, 60px);
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.stays {
    font-family: 'Buongiorno_Rastellino', cursive;
    font-size: clamp(60px, 15vw, 160px); /* Responsive: min 60px, max 160px */
    position: absolute;
    left: 50%;
    top: -30%;
    transform: translate(-50%, -20%);
    z-index: 2;
    white-space: nowrap;
    pointer-events: none;
}

.tagline {
    font-family: 'Kollektif', sans-serif;
    font-size: clamp(14px, 2.3vw, 27px); /* Responsive font size */
    letter-spacing: 0.5em;
    margin-top: clamp(30px, 12vw, 160px); /* Adjusts space under text */
    text-transform: uppercase;
}

.search-bar {
    background-color: white;
    border-radius: 50px;
    padding: 20px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
    direction: ltr; /* fallback default */

}

html[dir="rtl"] .search-bar {
    direction: rtl;
}

.search-group {
    display: flex;
    align-items: center;
    flex: 1 1 130px;
    max-width: 160px;
    min-width: 120px;
 
    gap: 10px;
}

.search-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}

.search-bar label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue-color);
    white-space: nowrap;
    margin-inline-start: 15px;
}

html[dir="rtl"] .search-bar label {
    margin-inline-start: 0;
    margin-inline-end: 15px;
    text-align: right;
}
.search-bar select,
.search-bar input {
    padding: 9px 1px 10px 12px;
    border: none;
    font-size: 15px;
    background-color: transparent;
    color: #333;
    min-width: 120px;
    outline: none;
    /* NEW FIX FOR OVERFLOW */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


html[dir="rtl"] .search-bar input,
html[dir="rtl"] .search-bar select {
    text-align: right;
    direction: rtl;
}

.search-bar select option,
.search-bar input::placeholder {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.search-bar button {
    background-color: var(--primary-blue-color);
    color: white;
    border: none;
    padding: 0px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    flex-shrink: 0;
    margin: 0;
    align-self: center;
}

    .search-bar button::before {
        content: "\f002"; /* Font Awesome magnifier icon */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-inline-end: 8px;
    }

html[dir="rtl"] .search-bar button::before {
    margin-inline-end: 8px;
}

.separator {
    height: 70px;
    width: 1px;
    background-color: #8CBED1;
    flex-shrink: 0;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0; /* hide visually */
    cursor: pointer; /* still clickable */
    position: relative;
    z-index: 2;
}

@media (min-width: 1200px) {
    .search-bar {
        flex-wrap: nowrap;
        padding: 20px 60px;
    }

    .search-group {
        max-width: 160px;
    }

    .container {
        min-width: 1160px;
    }
}

@media (max-width: 1199px) and (min-width: 250px) {
    .search-bar {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
        padding: 20px 40px;
        gap: 20px;
    }

    .search-group {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        min-width: 200px;
        margin: 0;
        align-items: center;
        gap: 10px;
    }

    .search-content {
        flex: 1;
    }

    .search-bar label {
        margin-inline-start: 10px;
    }

    .search-bar select,
    .search-bar input {
        min-width: 0;
        width: 100%;
        padding: 9px 1px 10px 10px;
    }

    .separator {
        display: none;
    }

    .search-bar button {
        width: auto;
        margin: 10px auto 0;
        padding: 0 30px;
        height: 40px;
    }
}



/* Updated Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 300px; /* Fixed width instead of 100% */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 100;
    overflow: hidden;
    background-color: #F5F2ED;
    border: 1px solid #CBC3B4;
}
.custom-dropdown-color {
    background-color: #F5F2ED;
    border: 1px solid #CBC3B4;
}
.dropdown-open .dropdown-content {
    display: block;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px; /* Reduced padding */
    border-bottom: 1px solid #eee;
}

    .option-row:last-child {
        border-bottom: none;
    }

.option-label {
    display: flex;
    flex-direction: column;
}

.option-name {
    font-weight: 500;
    font-size: 14px; /* Smaller font */
    margin-bottom: 2px;
    color: #333; /* Ensure visibility */
}

.option-description {
    font-size: 12px; /* Smaller font */
    color: #666;
}

.counter {
    display: flex;
    align-items: center;
}

.counter-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px; /* Smaller buttons */
    height: 28px; /* Smaller buttons */
    border-radius: 50%;
    border: 1px solid #006064;
    background-color: white;
    color: #006064;
    font-size: 16px; /* Smaller font */
    cursor: pointer;
    user-select: none;
}

.counter-value {
    width: 30px; /* Smaller width */
    text-align: center;
    font-size: 14px; /* Smaller font */
    color:#000000;
}

.custom-content{
    position:relative;
}
/* Toggle switch for pets */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .toggle-slider {
    background-color: #006064;
}

    input:checked + .toggle-slider:before {
        transform: translateX(24px);
    }
#optionsDisplay {
    padding: 10px 12px;
    color: #333; /* Make sure text is visible */
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
    display: flex;
    align-items: center;
}
.custom-rounded-card {
    border-top-left-radius: 12px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
[dir="rtl"] .custom-rounded-card {
    border-top-left-radius: 100px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
.custom-review-card {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    background-color: var(--bg-secondary-color);
    border:1px solid #8CBED1;
}

.sand-color {
    background-color: #F5F2ED;
}
.reviews-navigation button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    color: #378DAF;
    background-color: transparent;
    transition: all 0.3s ease;
}
    .reviews-navigation button:hover:not(.disabled) {
        background-color: #f8f9fa;
        color: #212529;
        cursor: pointer;
    }

    .reviews-navigation button.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
.faq-section .accordion-item {
    border-radius: 12px;
    overflow: hidden;
 
    background-color: transparent;
}

.faq-section .accordion-button {
    border-radius: 12px;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.custom-faq-button::after {
    display: none !important;
}

.faq-icon {
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--primary-blue-color);
    order: 1;
    margin-left: auto;
}

.accordion-item.show-bg,
.custom-faq-button:not(.collapsed) {
    background-color: #F5F2ED;
}

[dir="rtl"] .faq-section .accordion-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-icon {
    order: -1;
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .faq-text {
    text-align: right;
}