html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

section {
    scroll-margin-top: 75px; /* Offset for fixed navbar height */
    padding-top: 20px; /* Optional: Adds padding inside the section */
}

#about p, #rooms p {
    padding: 0 20px;
}

h2 {
	text-align: center;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 18px;
    border-radius: 50%;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.overlay {
    position: absolute;
    top: 0;
	bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 5;
}

/* Active Slide Animation */
.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
}

@keyframes slideshow {
    0% { background-image: url("images/slide1.jpg"); }
    33% { background-image: url("images/slide2.jpg"); }
    66% { background-image: url("images/slide3.jpg"); }
    100% { background-image: url("images/slide1.jpg"); }
}

.navbar {
    position: fixed; /* Keeps the navigation bar fixed */
    top: 0;          /* Sticks the navbar to the top of the page */
    left: 0;         /* Ensures it spans from the left edge */
	width: 100%;     /* Full-width navigation bar */
    z-index: 1000;   /* Ensures it stays above other elements */
    background: transparent;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
	transition: background-color 0.3s ease, height 0.3s ease; /* Smooth transitions */
}

.navbar.scrolled {
    background: black; /* Background color on scroll */
    height: 60px; /* Reduced height on scroll */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Optional shadow for effect */
}

.logo img {
    width: 200px;
	height: auto;
	transition: max-width 0.3s ease; /* Smooth transition */
}

.navbar.scrolled .logo img {
   width: 70px; /* Shrink logo size on scroll */
   height: 70px;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding-right: 40px;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #ff9800; /* Highlight color on hover */
}

#rooms {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 40px clamp(8px, 1vw, 14px);
    background-color: #f9f9f9;
}

#rooms h2{
	margin: 0;
}

#rooms, #booking {
    padding: 30px 18px;
    background: #f9f9f9;
}

.room-container {
	padding-top: 10px;
    width: 100%;
    max-width: 1760px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-content: center;
    gap: 28px;
    overflow: hidden;
}

.room-container--empty {
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-top: 18px;
}

.rooms-section--empty {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 48px;
}

/* Base styles for the room container */
.room {
    position: relative;
	width: 100%;
    border: 1px solid #ddd;
    padding: 16px;
    max-width: none;
	text-align: center;
    cursor: pointer;
}

.room-empty-state {
    max-width: 620px;
    padding: 28px 22px;
    text-align: center;
    cursor: default;
}

.room-empty-state h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.room-empty-state p {
    margin: 0;
}

#selected-rooms-container .room-details {
    background: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

button {
    background: #ff9800;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;/* Space between rooms and the button */
    width: 200px;  /* Make the button width consistent */
}

button:hover {
    background: #e68a00;
}

/* General styles for Reset buttons */
.reset-button {
    display: none; /* Initially hidden */
	margin: 0;
    padding: 8px 15px; /* Adjust padding for size */
    font-size: 14px; /* Font size for text */
    font-weight: bold; /* Bold text */
    color: white; /* Text color */
    background-color: #ff5722; /* Reset button color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions for hover and click */
    width: fit-content; /* Button width adjusts to text size */
}

/* Hover effect for Reset buttons */
.reset-button:hover {
    background-color: #e64a19; /* Slightly darker shade on hover */
    transform: scale(1.05); /* Slight scaling effect */
}

/* Active effect when clicking the Reset button */
.reset-button:active {
    background-color: #d84315; /* Darker shade when clicked */
    transform: scale(0.95); /* Slight shrink effect */
}

.guest-input {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.room-guest-container {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.room-guest-container h3 {
    margin-bottom: 10px;
}

.room-guest-container label {
    font-weight: bold;
}

.room-guest-container input, .room-guest-container select {
    padding: 8px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.room-guest-container select {
    appearance: none;
}

.guest-selection-row {
    display: grid;
    grid-template-columns: auto minmax(120px, 180px) auto minmax(120px, 180px);
    gap: 12px;
    align-items: center;
}

.guest-stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.guest-stepper-button {
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    font-size: 24px;
    line-height: 1;
}

.guest-stepper-button:disabled {
    background-color: #d7d7d7;
    cursor: not-allowed;
}

.guest-stepper-value {
    width: 64px;
    min-width: 64px;
    height: 42px;
    margin: 0;
    text-align: center;
    font-weight: 700;
    background: #fff;
}

.children-ages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.child-age-field {
    display: flex;
    flex-direction: column;
}

.child-age-field label {
    padding-top: 0;
    margin-bottom: 6px;
}

/* Amenities row */
.amenities {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    transition: opacity 0.3s ease;
}

/* Individual amenity icon */
.amenities i {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    position: relative;
}

/* Tooltip text */
.amenities i::after {
    content: attr(data-name);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show tooltip on hover */
.amenities i:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Slideshow container */
.room-slideshow {
    position: relative;
    overflow: hidden;
	height: clamp(260px, 22vw, 360px);
}

/* Hover effect on slideshow */
.room-slideshow:hover + .amenities {
    opacity: 0;
}

.room h3 {
    margin-bottom: 10px;
    margin-top: 0px;
}

.room-slideshow {
    position: relative;
    max-width: 100%;
    height: clamp(260px, 22vw, 360px);
    overflow: hidden;
}

.room-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.room-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room .prev, .room .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    font-size: 18px;
    border-radius: 50%;
    user-select: none;
    z-index: 10;
}

.room .prev {
    left: 10px;
}

.room .next {
    right: 10px;
}

.room .amenities {
    margin-top: 85px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
}

.room .amenities h4 {
    flex-basis: 100%;
    margin-bottom: 5px;
}

.room .amenities ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.room .amenities li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room .amenities i {
    color: #555;
    font-size: 16px;
}

.rates {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.rates-grid--triple {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rate-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.rate-option--button {
    min-height: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fffaf2;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rate-option--button:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 22px rgba(131, 68, 23, 0.12);
}

.rate-option--button input[type="radio"] {
    margin-top: 3px;
}

.rate-option--button input[type="radio"]:checked + span {
    color: #173b3a;
    font-weight: 700;
}

@media (max-width: 640px) {
    .rates-grid--triple {
        grid-template-columns: 1fr;
    }
}

button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #ff7a00;
}

/* Amenities Section */
#amenities {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

#amenities h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.amenities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

@media (min-width: 1200px) {
    .amenities-container {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .amenities-container .amenity:nth-child(9) {
        grid-column: 2;
    }

    .amenities-container .amenity:nth-child(10) {
        grid-column: 3;
    }

    .amenities-container .amenity:nth-child(11) {
        grid-column: 4;
    }

    .amenities-container .amenity:nth-child(12) {
        grid-column: 5;
    }

    .amenities-container .amenity:nth-child(13) {
        grid-column: 6;
    }

    .amenities-container .amenity:nth-child(14) {
        grid-column: 7;
    }
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.amenity .material-icons {
    font-size: 40px;
    color: #ff9800;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.amenity .material-icons:hover {
    color: #ff6347;
}

.amenity i {
    font-size: 40px;
    color: #ff9800;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.amenity i:hover {
    color: #ff6347;
}

.amenity p {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.fan-icon {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #ff9800;
    transition: color 0.3s ease;
}

.fan-icon:hover {
    color: #ff6347;
}

/* Photo Gallery */
#gallery{
	padding-top: 10px;
}

#gallery p{
	text-align: center;
}

.gallery-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
	padding: 20px;
}

.gallery-images img {
    width: 32%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Flex container for room details and image */
.room-details-container {
    display: flex;
    align-items: center; /* Align image and text vertically */
    margin-bottom: 20px; /* Space between rooms */
	gap: 20px;
}

/* Style for room details */
.room-details {
    flex: 1; /* Take up remaining space */
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-right: 20px;
    border-radius: 5px;
}

/* Style for the room image */
.room-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Add some padding and margin */
#selected-rooms-container {
    padding: 20px;
}

#booking-form {
    display: flex;
    flex-direction: column;
}

#guest-fields {
    display: block; /* Ensure it's displayed */
    visibility: visible; /* Ensure it's not hidden */
}

/* General styling for the input groups */
.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.input-box {
    flex: 1;
}

.input-box label{
	width: 150px;
}

input[type="date"],
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
	height: 30px;
    padding: 8px;
    margin: 5px;
    box-sizing: border-box;
}

button {
    padding: 10px 15px;
    cursor: pointer;
}

.room-guest-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-guest-container label{
	padding-top: 0;
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-box {
    display: flex;
}

input[type="number"] {
    width: 45px;
    padding: 8px;
    margin: 10px 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .guest-selection-row {
        grid-template-columns: 1fr;
    }
}

label {
	padding-top: 10px;
	display: block;
    margin-bottom: 5px;
	font-weight: bold;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.phone-input select {
    font-size: 1rem;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.phone-input input[type="tel"] {
    flex: 1;
    font-size: 1rem;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#phone {
	height: 35px;
    font-size: 16px;
    padding: 5px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-and-map {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.contact, .map-container {
    flex: 1;
    min-width: 300px;
    margin: 10px;
}

.contact h2 {
    margin-bottom: 10px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 5px;
}

.contact p {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.contact .material-icons {
    font-size: 24px; /* Icon size */
    margin-right: 10px; /* Spacing between the icon and text */
    color: #ff9800; /* Icon color */
}

.contact .material-icons:hover {
    color: #ff6347; /* Change color on hover */
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #25D366; /* WhatsApp green color */
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
	padding-left: 10px;
}

.whatsapp-link i {
    font-size: 24px;
    margin-right: 8px;
}

.whatsapp-link:hover {
    color: #128C7E; /* Darker WhatsApp green on hover */
}

footer {
    background-color: #333; /* Dark background color */
    color: #fff; /* Text color */
    text-align: center; /* Center-align text */
    padding: 20px 0; /* Padding for spacing */
    position: relative;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between text and social link */
}

.social-link {
    color: #fff; /* White color for the icon */
    text-decoration: none; /* Remove underline */
    font-size: 18px; /* Font size for the link */
}

.social-link i {
    font-size: 24px; /* Font size for the Facebook icon */
    margin-right: 5px; /* Space between icon and text */
}

.social-link:hover {
    color: #1877F2; /* Facebook's brand blue on hover */
}

/* Style for the guest capacity text and icon */
.guest-capacity {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    gap: 5px; /* Space between the icon and text */
}

.guest-capacity i {
    font-size: 16px;
    color: #0b0b0b; /* Icon color */
}

.room-meta--inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 6px auto 10px;
    padding: 0 16px;
    box-sizing: border-box;
}

.room-meta--inline .guest-capacity,
.room-meta--inline .bed-config {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.room-meta {
    margin: 6px auto 10px;
}

.room-meta .guest-capacity {
    margin: 0;
}

.room-meta-item {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    min-width: 0;
}

@media (max-width: 768px) {
    .room-header {
        min-height: auto;
    }

    .room-meta--inline {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.bed-config {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

.bed-config i {
    font-size: 16px;
    color: #0b0b0b;
}

/* Visual refresh: typography, color, and readability */
:root {
    --color-ink: #1f2933;
    --color-muted: #5f6f7a;
    --color-surface: #ffffff;
    --color-soft: #f6f2ea;
    --color-line: #e7ddcf;
    --color-primary: #b76322;
    --color-primary-dark: #834417;
    --color-accent: #236967;
    --shadow-soft: 0 18px 45px rgba(31, 41, 51, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-ink);
    background: #fbfaf7;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.navbar ul li a,
button,
.btn {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1 {
    margin: 0 20px 12px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

h2 {
    margin: 0 0 22px;
    color: #173b3a;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.15;
    font-weight: 800;
}

h3 {
    color: #26343b;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 750;
}

p {
    color: var(--color-muted);
}

section {
    padding: 64px 24px;
    scroll-margin-top: 82px;
}

#about,
#gallery,
#reviews {
    background: #fbfaf7;
}

#about p,
#rooms p {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 1.03rem;
}

.overlay {
    background: linear-gradient(180deg, rgba(9, 26, 28, 0.35), rgba(9, 26, 28, 0.67));
    padding: 0 24px;
}

.overlay p {
    margin: 0;
    color: #f6eee3;
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    font-weight: 500;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.navbar {
    padding: 14px 32px;
    background: linear-gradient(180deg, rgba(18, 31, 36, 0.72), rgba(18, 31, 36, 0));
    box-sizing: border-box;
}

.navbar.scrolled {
    background: rgba(21, 33, 38, 0.96);
    box-shadow: 0 8px 24px rgba(14, 28, 32, 0.22);
}

.navbar ul {
    gap: 4px;
    padding-right: 0;
}

.navbar ul li {
    margin: 0 8px;
}

.navbar ul li a {
    font-size: 0.94rem;
    font-weight: 700;
    color: #fff8ef;
    letter-spacing: 0;
}

.navbar ul li a:hover {
    color: #f4c36f;
}

.btn,
button {
    width: auto;
    min-width: 160px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fffaf2;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0;
    box-shadow: 0 12px 24px rgba(131, 68, 23, 0.22);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(131, 68, 23, 0.27);
}

.prev,
.next,
.room .prev,
.room .next {
    background: rgba(20, 32, 37, 0.62);
    color: #fffaf2;
}

#rooms,
#booking,
#amenities,
#contact-and-map {
    background: var(--color-soft);
}


.booking-intro {
    max-width: 980px;
    margin: 0 auto 10px;
    text-align: center;
}

.availability-status {
    min-height: 24px;
    margin: 0 auto 20px;
    text-align: center;
    font-weight: 700;
}

.availability-status--muted {
    color: var(--color-muted);
}

.availability-status--success {
    color: #1d6b52;
}

.availability-status--error {
    color: #b0442d;
}

.room-container {
    gap: 18px;
    padding: 8px 0 14px;
    flex-wrap: wrap;
    overflow-x: visible;
}

.rooms-book-now-button {
    margin-top: 22px;
}

.room {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-surface);
    padding: 14px;
    box-shadow: var(--shadow-soft);
}

.room--sold-out {
    background: #f7f2eb;
}

.room--guest-mismatch {
    border-color: #e2c1b7;
}

.room-header {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.room h3 {
    margin-top: 4px;
    color: #173b3a;
    font-size: 1.24rem;
}

.sold-out {
    margin: 18px 0;
    color: #b0442d;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sold-out--hidden {
    display: none;
}

.room-slideshow,
.room-slide img,
.gallery-images img,
.map-container iframe {
    border-radius: 8px;
}

.amenities {
    background-color: rgba(255, 250, 242, 0.9);
    border-bottom: 1px solid rgba(231, 221, 207, 0.8);
}

.amenities i,
.room .amenities i {
    color: #2f4d4c;
}

.rates {
    color: var(--color-ink);
    font-size: 0.98rem;
}

.room input,
.room button,
.room .prev,
.room .next,
.room label,
.room a {
    cursor: pointer;
}

.room-modal[hidden] {
    display: none;
}

.room-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.room-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 22, 0.72);
    backdrop-filter: blur(4px);
}

.room-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    max-height: min(96vh, 1080px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    background: #fffaf2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(8, 14, 18, 0.28);
}

.room-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    min-width: 48px;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
    background: rgba(23, 59, 58, 0.92);
    color: #fffaf2;
}

.room-modal-gallery {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-height: 100%;
    background: linear-gradient(180deg, #1d3b40 0%, #0d1f24 100%);
    padding: 28px 28px 20px;
}

.room-modal-slideshow {
    position: relative;
    flex: 1;
    min-height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.room-modal-slides {
    width: 100%;
    height: 100%;
}

.room-modal-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.room-modal-slide.is-active {
    display: block;
}

.room-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    min-width: 46px;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(10, 18, 22, 0.55);
    color: #fffaf2;
}

.room-modal-nav--prev {
    left: 14px;
}

.room-modal-nav--next {
    right: 14px;
}

.room-modal-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
}

.room-modal-dot {
    width: 10px;
    height: 10px;
    border: 0;
    min-width: 10px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.35);
    box-shadow: none;
}

.room-modal-dot.is-active {
    background: #f0b762;
    transform: scale(1.15);
}

.room-modal-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 30px 24px 24px;
    scrollbar-gutter: stable;
}

.room-modal-content h3 {
    margin: 0 0 14px;
    color: #173b3a;
    font-size: 2rem;
}

.room-modal-section + .room-modal-section {
    margin-top: 22px;
}

.room-modal-section:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.room-modal-section h4 {
    margin: 0 0 12px;
    color: #173b3a;
    font-size: 1.08rem;
}

.room-modal-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.room-modal-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(215, 202, 187, 0.9);
    border-radius: 12px;
    background: #fff;
    color: #31444b;
    font-weight: 650;
}

.room-modal-amenity i {
    color: #b76322;
    font-size: 1rem;
}

.room-modal-rates {
    display: grid;
    flex: 1;
    gap: 10px;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.room-modal-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 13px 16px;
    border: 1px solid rgba(215, 202, 187, 0.9);
    border-radius: 14px;
    background: #fff;
    color: #31444b;
}

.room-modal-rate-plan {
    font-weight: 750;
}

.room-modal-rate-price {
    color: #b76322;
    font-weight: 800;
    white-space: nowrap;
}

body.room-modal-open {
    overflow: hidden;
}

@media (min-width: 1025px) {
    #rooms {
        min-height: calc(100vh - 76px);
        justify-content: center;
        padding: 18px 18px 14px;
    }

    #rooms h2 {
        margin-bottom: 8px;
    }

    .room-container {
        align-items: stretch;
        gap: 16px;
        padding: 4px 0 8px;
    }

    .room-container--empty {
        padding: 6px 0 0;
    }

    .rooms-section--empty {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .room {
        padding: 12px;
    }

    .room h3 {
        margin-bottom: 8px;
        font-size: 1.15rem;
    }

    .room-slideshow {
        height: clamp(180px, 22vh, 250px);
    }

    .rates {
        margin-top: 8px;
        font-size: 0.95rem;
    }

    .rates p {
        margin: 10px 0;
    }

    #rooms > button,
    .rooms-book-now-button {
        margin-top: 12px;
    }
}

@media (max-width: 1200px) {
    .room-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .room-modal-dialog {
        grid-template-columns: 1fr;
        max-height: 92vh;
    }

    .room-modal-gallery {
        min-height: 360px;
    }
}

.rates p,
.guest-capacity {
    color: var(--color-muted);
}

.amenity .material-icons,
.amenity i,
.fan-icon,
.contact .material-icons {
    color: var(--color-accent);
}

.amenity .material-icons:hover,
.amenity i:hover,
.fan-icon:hover,
.contact .material-icons:hover {
    color: var(--color-primary);
}

.amenity p {
    color: #31444b;
    font-size: 0.98rem;
    font-weight: 650;
}

.gallery-images {
    justify-content: center;
}

.gallery-images img {
    width: calc((100% - 30px) / 3);
    box-shadow: 0 14px 34px rgba(31, 41, 51, 0.15);
}

#booking-form,
#selected-rooms-container .room-details,
.room-guest-container {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
}

#booking-form {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 28px;
}

label {
    color: #26343b;
    font-size: 0.95rem;
    font-weight: 750;
}

input[type="date"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
.room-guest-container input,
.room-guest-container select,
.phone-input select,
.phone-input input[type="tel"],
#phone {
    min-height: 44px;
    border: 1px solid #d7cabb;
    border-radius: 8px;
    background: #fffdf9;
    color: var(--color-ink);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iti {
    width: 100%;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="tel"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="tel"] {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
}

.iti__flag-container,
.iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
    top: 0;
    bottom: 0;
    height: 44px;
}

.iti__selected-flag {
    height: 100%;
    border-radius: 8px 0 0 8px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(35, 105, 103, 0.16);
}

#booking input[type="date"],
#booking input[type="text"],
#booking input[type="email"],
#booking input[type="tel"] {
    margin-left: 0;
    margin-right: 0;
}

.country-select {
    position: relative;
    width: 100%;
    margin: 5px;
}

.country-select-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px 38px 8px 12px;
    border: 1px solid #d7cabb;
    border-radius: 8px;
    background: #fffdf9;
    color: var(--color-ink);
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    box-shadow: none;
}

.country-select-toggle::after {
    content: "";
    position: absolute;
    right: 15px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #5f6f7a;
    border-bottom: 2px solid #5f6f7a;
    transform: rotate(45deg);
}

.country-select-toggle:hover,
.country-select.is-open .country-select-toggle {
    background: #fffdf9;
    color: var(--color-ink);
    transform: none;
    box-shadow: 0 0 0 4px rgba(35, 105, 103, 0.16);
}

.country-select-placeholder {
    color: #76848d;
}

.country-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #d7cabb;
    border-radius: 8px;
    background: #fffdf9;
    box-shadow: 0 16px 32px rgba(31, 41, 51, 0.14);
}

.country-select.is-open .country-select-menu {
    display: block;
}

.country-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border-radius: 0;
    background: #fffdf9;
    color: var(--color-ink);
    font-size: 0.98rem;
    font-weight: 500;
    text-align: left;
    box-shadow: none;
}

.country-select-option:hover,
.country-select-option[aria-selected="true"] {
    background: #f3eadf;
    color: #173b3a;
    transform: none;
    box-shadow: none;
}

.guest-stepper-button {
    min-width: 42px;
    border-radius: 8px;
}

.guest-stepper-value {
    border-color: #d7cabb;
    border-radius: 8px;
    color: #173b3a;
}

.reset-button {
    border-radius: 999px;
    background-color: #b0442d;
    font-size: 0.9rem;
}

.reset-button:hover {
    background-color: #87321f;
}

.contact p,
.whatsapp-link {
    color: #31444b;
    font-size: 1rem;
}

.whatsapp-link {
    color: #16845b;
}

footer {
    background: #16242a;
    color: #f7efe5;
}

footer p,
.social-link {
    color: #f7efe5;
}

@media (max-width: 900px) {
    .navbar {
        align-items: flex-start;
        padding: 12px 18px;
    }

    .logo img {
        width: 132px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px 10px;
        padding-right: 16px;
    }

    .navbar ul li {
        margin: 0;
    }

    .navbar ul li a {
        font-size: 0.86rem;
    }

    .room-container {
        grid-template-columns: minmax(280px, 1fr);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 48px 18px;
    }

    .slideshow-container {
        height: 82vh;
    }

    #booking-form {
        padding: 20px;
    }

    .input-group,
    .input-box {
        display: block;
    }

    .gallery-images img {
        width: 100%;
    }

    .contact,
    .map-container {
        min-width: 100%;
        margin: 0 0 18px;
    }

    .room-modal {
        padding: 14px;
    }

    .room-modal-gallery,
    .room-modal-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .room-modal-slideshow {
        min-height: 260px;
    }

    .room-modal-rate {
        flex-direction: column;
        align-items: flex-start;
    }
}
