/* Radaville-inspired Theme */
:root {
    --bg-color: #361A15;
    --text-color: #F7ECD8;
    --accent-color: #F7ECD8;
    --border-color: rgba(247, 246, 239, 0.2);
    --font-main: 'Manrope', sans-serif;
    --font-display: 'Manrope', sans-serif;
    --middle: #F7ECD8 !important;
    /* Override white from webflow-overrides.css */
    --colory: #F7ECD8 !important;
    /* Override for hotel titles */
}

body,
.body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    font-family: var(--font-main) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-page,
.text-2,
.text-3,
.city-name,
.hotel-title {
    font-family: var(--font-display) !important;
    color: var(--text-color) !important;
    letter-spacing: -0.02em;
}

/* Links & Buttons */
a,
.link,
.navbar-link {
    color: var(--text-color) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover,
.link:hover,
.navbar-link:hover {
    opacity: 0.7;
}

.button,
.search-btn,
.c_search_button {
    background-color: var(--text-color) !important;
    color: var(--bg-color) !important;
    border: none !important;
    border-radius: 4px !important;
    /* Slightly sharper than standard rounded */
    font-family: var(--font-main) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
}

.button:hover,
.search-btn:hover,
.c_search_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 246, 239, 0.2) !important;
}

/* Inputs */
input,
select,
textarea,
.c_search_input,
.date-input,
.guests-input {
    background-color: #111 !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-color) !important;
    font-family: var(--font-main) !important;
    border-radius: 4px !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--text-color) !important;
    outline: none;
}

/* Navbar */
.navbar-logo-left-container {
    background-color: rgba(54, 26, 21, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Mobile navbar spacing - logo left margin = symbol right margin (halved) */
@media (max-width: 767px) {
    .navbar-content {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-brand-2 {
        margin-left: 10px !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

    .navbar-symbol {
        margin-right: 10px !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }
}

/* Footer */
.footer {
    background-color: var(--bg-color) !important;
    border-top: 1px solid var(--border-color);
}

/* Date Picker Overrides */
.date-selector-header {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid var(--border-color) !important;
}

#date-picker-overlay {
    backdrop-filter: blur(5px);
}

#date-picker-overlay>div {
    background: #111 !important;
    border: 1px solid var(--border-color);
}

.day.selected {
    background: var(--text-color) !important;
    color: var(--bg-color) !important;
}

.day.in-range {
    background: rgba(247, 246, 239, 0.1) !important;
    color: var(--text-color) !important;
}

.day:hover:not(.disabled) {
    border-color: var(--text-color) !important;
}

/* Specific Text Overrides */
.text-2 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
    font-size: inherit !important;
    /* Prevent large font-size from being applied */
}

/* Mobile: Ensure H2 text size is reasonable */
@media (max-width: 767px) {
    .text-2 {
        font-size: 14px !important;
    }
}

/* Pagination buttons - wine red text */
.w-pagination-previous,
.w-pagination-next,
.w-pagination-previous .text-5,
.w-pagination-next .text-5 {
    color: #C9A961 !important;
    /* Wine red/gold color for text */
}

.title-page {
    font-weight: 500;
}

/* Cards */
.square-city-item,
.hotel-post {
    border: none;
    /* Removed border */
    background: transparent;
    transition: border-color 0.3s ease;
}

.square-city-item:hover,
.hotel-post:hover {
    border-color: var(--text-color);
}

.hotel-card {
    background: transparent;
    border: none;
    /* Remove border */
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
}

.hotel-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.hotel-card:hover .hotel-image {
    filter: brightness(1);
}

/* Loader */
.loader-spinner {
    border-color: rgba(247, 246, 239, 0.1);
    border-top-color: var(--text-color);
}

/* Calendar Styles */
.month-calendar {
    width: 100%;
}

.month-header {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-color);
}

.nav-btn {
    background: #2a2a2a;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    color: rgba(247, 246, 239, 0.5);
    font-weight: 500;
    padding: 6px 0;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    background: rgba(247, 236, 216, 0.05);
    border: 1px solid transparent;
    color: var(--text-color);
}

.day:hover:not(.disabled) {
    border-color: var(--text-color);
    background: rgba(247, 236, 216, 0.1);
}

.day.disabled {
    color: rgba(247, 246, 239, 0.2);
    cursor: not-allowed;
    background: transparent;
}

.day.today {
    border-color: var(--text-color);
    font-weight: 600;
}

.day.selected {
    background: var(--text-color) !important;
    color: var(--bg-color) !important;
    font-weight: 700;
}

.day.in-range {
    background: rgba(247, 246, 239, 0.15) !important;
    color: var(--text-color);
}

.day.empty {
    background: transparent;
    cursor: default;
}

/* Guest Selector Modal */
.guest-selector-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    z-index: 10001;
    width: 300px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.guest-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Leaflet Map Zoom Controls */
.leaflet-control-zoom a {
    color: #000 !important;
    background-color: #F7ECD8 !important;
    border: 1px solid #ccc !important;
    font-weight: bold !important;
    line-height: 26px !important;
}

.leaflet-control-zoom a:hover {
    background-color: #f4f4f4 !important;
    color: #000 !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    color: #000 !important;
}

/* Luxury Amenities Display */
.luxury-amenities {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #1a1a1a;
    border: 1px solid rgba(247, 236, 216, 0.2);
    border-radius: 4px;
    color: #F7ECD8;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.amenity-badge:hover {
    background: #2a2a2a;
    border-color: rgba(247, 236, 216, 0.4);
}

.luxury-features {
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(247, 236, 216, 0.1);
    border-bottom: 1px solid rgba(247, 236, 216, 0.1);
}

.luxury-features-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(247, 236, 216, 0.6);
    margin-bottom: 8px;
    font-weight: 600;
}

/* Remove border radius from city/country boxes on landing and destination pages */
.square-city-item,
.square-city {
    border-radius: 0 !important;
}

/* City name text box width - 80% of the box */
.city-name {
    width: 80% !important;
    margin: 0 auto !important;
}

/* Leaflet map attribution text - black */
.leaflet-control-attribution {
    color: #000 !important;
    background-color: rgba(247, 236, 216, 0.8) !important;
}

.leaflet-control-attribution a {
    color: #000 !important;
}

/* Tablet and smaller desktop - remove spacing from city hero subtitle */
@media (max-width: 1024px) {
    .city-hero .text-2 {
        margin-bottom: 0px !important;
        padding-top: 0px !important;
    }
}