:root{
    --primary: #c19a6b;
    --primary-dark: #9a7a52;
    --secondary: #2c3e50;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #555555;
    --success: #27ae60;
    --danger: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'System-UI';
    font-display: swap;
    src: local('Segoe UI'), local('Tahoma'), local('Geneva'), local('Verdana'), local('sans-serif');
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================ */
/* CUMULATIVE LAYOUT SHIFT (CLS) PREVENTION */
/* ============================================ */
img {
    height: auto;
    max-width: 100%;
}

img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

.room-img {
    aspect-ratio: 4 / 3;
}

.hero-background-image img {
    aspect-ratio: 16 / 9;
}

.gallery-item img,
.about-grid img {
    aspect-ratio: 4 / 3;
}

@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
    src: local('Segoe UI'), local('Tahoma'), local('Geneva'), local('Verdana');
}

.modal-img {
    aspect-ratio: 4 / 3;
}

/* ============================================ */
/* LOADING SPINNER STYLES */
/* ============================================ */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.spinner {
    position: relative;
    z-index: 10000;
    text-align: center;
}

.spinner-ring {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
    margin: 20px;
}

.spinner-ring::after {
    content: " ";
    display: block;
    width: 48px;
    height: 48px;
    margin: 6px;
    border-radius: 50%;
    border: 5px solid var(--primary);
    border-color: var(--primary) transparent transparent transparent;
    animation: spinner-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinner-text {
    color: var(--white);
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

body.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 2rem;
    max-width: 100%;
    border-bottom: 1px solid rgba(193, 154, 107, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 2rem;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--primary-dark);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link-active {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link:hover,
.nav-link-active:hover {
    color: var(--primary-dark);
}

.nav-link:focus-visible,
.nav-link-active:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 3px;
}

.nav-link.active,
.nav-link-active.active {
    color: var(--primary-dark);
}

.nav-link.active::after,
.nav-link-active.active::after {
    width: 100%;
}

.nav-link::after,
.nav-link-active::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link-active:hover::after {
    width: 100%;
}

/* Hamburger Menu */
#navHamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0.5rem;
    margin-right: 1rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#navHamburger:hover {
    background: rgba(193, 154, 107, 0.1);
    border-radius: 5px;
}

#navHamburger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-dropdown {
    background: transparent;
    border: 2px solid #ddd;
    color: var(--text);
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 120px;
}

/* Mobile-specific language dropdown - Hidden on desktop */
.language-mobile {
    display: none;
    min-width: 60px;
    padding: 0.5rem;
    font-size: 0.85rem;
    background: white;
}

/* Desktop-specific language dropdown - Visible on desktop */
.language-desktop {
    display: inline-block;
}

/* Mobile navigation controls container - Hidden on desktop */
.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.language-dropdown:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.language-dropdown:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.15);
}

.btn-book {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.4);
}

.btn-book:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInUp 0.3s ease 0.1s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    animation: slideDown 0.3s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.3s ease;
    letter-spacing: 0.5px;
    line-height: 1.6;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 0.8s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 13px;
    position: relative;
    margin-bottom: 20px;
}

.wheel {
    width: 4px;
    height: 6px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 0.5s infinite;
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.arrow span {
    width: 2px;
    height: 8px;
    background: white;
    display: block;
    animation: slideDown 0.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.1s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.2s;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(193, 154, 107, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(193, 154, 107, 0.3);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 117, 125, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(108, 117, 125, 0.3);
}

.btn-secondary:focus-visible {
    outline: 3px solid #5a6268;
    outline-offset: 2px;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature i {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* About grid image styling */
.about-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
}

.about-grid:has(img):hover img {
    transform: scale(1.05);
}

/* Tablet portrait improvements (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .about {
        padding: 4rem 0;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .about-grid img {
        border-radius: 8px;
        max-height: 300px;
    }

    .amenity-card {
        padding: 1.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .amenity-icon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .amenity-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .amenity-card p {
        font-size: 0.95rem;
    }
}

/* Small phones improvements (361px - 480px) */
@media (max-width: 480px) and (min-width: 361px) {
    .about {
        padding: 2.5rem 0;
    }

    .about-grid {
        gap: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        letter-spacing: 0px;
        line-height: 1.3;
    }

    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
        color: var(--text-light);
    }

    .about-grid img {
        border-radius: 8px;
        max-height: 250px;
    }

    .amenity-card {
        padding: 1.5rem 1rem;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .amenity-icon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .amenity-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }

    .amenity-card p {
        font-size: 0.88rem;
    }
}

/* Extra small phones improvements (≤360px) */
@media (max-width: 360px) {
    .about {
        padding: 2rem 0;
    }

    .about-grid {
        gap: 1.2rem;
    }

    .about-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0px;
        line-height: 1.2;
    }

    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        color: var(--text-light);
    }

    .about-grid img {
        border-radius: 6px;
        max-height: 200px;
    }

    .about-grid:has(img):hover img {
        transform: scale(1.02);
    }

    .amenity-card {
        padding: 1.2rem 0.8rem;
        min-height: 145px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .amenity-icon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .amenity-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .amenity-card p {
        font-size: 0.8rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.white-text {
    color: white;
}

.white-text h2,
.white-text p {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Rooms Section */
.rooms {
    padding: 6rem 2rem;
    background: var(--light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.room-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Disable hover transform on touch devices */
@media (hover: none) and (pointer: coarse) {
    .room-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .room-card:active {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    }

    .room-overlay {
        opacity: 0.92;
    }

    .room-card:active .room-overlay {
        opacity: 1;
    }
}

/* Image area */
.room-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex-shrink: 0;
    min-height: 180px;
    max-height: 280px;
}

.room-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease-in-out;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.room-img.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Room Image Navigation */
.room-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 18px;
    color: var(--text);
}

.room-image:hover .room-image-nav {
    opacity: 1;
}

.room-image-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.room-image-nav.prev {
    left: 10px;
}

.room-image-nav.next {
    right: 10px;
}

.room-image-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.room-image-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-image-indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Hover overlay — transparent dark with centered content */
.room-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
    z-index: 10;
    border-radius: inherit;
    pointer-events: none;
}

.room-overlay button {
    background: white !important;
    color: #ea580c !important;
    font-weight: 600 !important;
    padding: 10px 28px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

.room-overlay button:hover {
    background: #f3f4f6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.room-card:hover .room-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile touch-friendly overlay visibility */
@media (max-width: 768px) {
    .rooms-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .room-card {
        width: 100%;
        max-width: 420px;
        text-align: left;
    }

    .room-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 62%) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        padding: 0.6rem 0.85rem 0.75rem !important;
        gap: 0.25rem !important;
    }

    .room-card:hover .room-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .room-overlay button {
        opacity: 1 !important;
        pointer-events: auto !important;
        padding: 0.3rem 0.9rem !important;
        font-size: 0.78rem !important;
        box-shadow: none !important;
        align-self: flex-start !important;
    }

    .room-content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .room-content span,
    .room-content .room-highlights {
        display: none !important;
    }
}

/* For touch devices - show overlay button always */
@media (hover: none) and (pointer: coarse) {
    .room-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 62%) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        padding: 0.6rem 0.85rem 0.75rem !important;
        gap: 0.25rem !important;
    }

    .room-overlay button {
        display: block;
        opacity: 1;
        pointer-events: auto !important;
        padding: 0.3rem 0.9rem !important;
        font-size: 0.78rem !important;
        box-shadow: none !important;
        align-self: flex-start !important;
    }

    .room-card:active {
        transform: scale(0.98);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    }
}

/* Keyboard focus accessibility */
.room-overlay button:focus-visible {
    outline: 3px solid #ea580c;
    outline-offset: 2px;
}

.room-overlay .btn {
    align-self: center;
    padding: 0.5rem 1.4rem;
    font-size: 0.9rem;
}

/* Content inside overlay */
.room-content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
}

.room-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 0.3px;
    width: 100%;
}

.room-content .room-description {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    width: 100%;
}

.room-content span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    opacity: 0.9;
    margin-right: 0.6rem;
    margin-bottom: 0.2rem;
}

.room-content span i {
    color: var(--primary-dark);
    font-size: 0.75rem;
}

.room-content .room-highlights {
    display: none;
}

/* "Most Popular" badge */
.Most-Popular {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 15;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.limited-stock {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    text-transform: uppercase;
}

.room-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 3;
}

/* Price row — always visible below image */
.room-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.room-card:hover .room-price {
    background: rgba(193, 154, 107, 0.03);
}

.room-price > div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 120px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.per-night {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.room-price .btn {
    width: auto;
    padding: 0.6rem 1.4rem;
    font-size: 0.88rem;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 600;
}

/* Amenities Section */
.amenities {
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.amenities-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.amenities > .container {
    position: relative;
    z-index: 1;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.amenity-card:hover {
    background: rgba(193, 154, 107, 0.2);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.amenity-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.amenity-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(193, 154, 107, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2.5rem;
    color: white;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-card:focus-within {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.review-author strong {
    font-weight: 600;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.rating-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.rating-score {
    font-size: 4rem;
    font-weight: 700;
}

.rating-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Booking Section */
.booking-section {
    padding: 6rem 0;
    background: var(--light);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.booking-form-container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.15);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid {
    border-color: var(--success);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.price-summary {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
}

.price-summary div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.price-summary div:last-child {
    margin-bottom: 0;
}

.price-summary .total {
    border-top: 2px solid #ddd;
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item i {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-col p {
    color: #d4d4d4;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #d4d4d4;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--danger);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    z-index: 10;
    background: none;
    border: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.close:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 5px;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    background: var(--light);
    overflow: hidden;
    position: relative;
}

.modal-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease-in-out;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-img.active {
    display: block;
    opacity: 1;
}

.modal-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 1;
    z-index: 10;
    min-width: 44px;
    min-height: 44px;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.modal-slider-prev {
    left: 1rem;
}

.modal-slider-next {
    right: 1rem;
}

.modal-slider-btn:hover {
    background: rgba(193, 154, 107, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-slider-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.modal-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.modal-slider-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.modal-slider-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    display: block;
}

.modal-slider-dot.active::after {
    background: white;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.modal-image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    z-index: 10;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .modal-image {
        height: 250px;
    }

    .modal-slider-btn {
        min-width: 40px;
        min-height: 40px;
        font-size: 1.2rem;
    }

    .modal-slider-prev {
        left: 0.5rem;
    }

    .modal-slider-next {
        right: 0.5rem;
    }

    .modal-slider-dot::after {
        width: 8px;
        height: 8px;
    }

    .modal-slider-dot.active::after {
        width: 22px;
    }

    .modal-image-counter {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        right: 0.5rem;
        bottom: 0.5rem;
    }
}

.modal-info h2 {
    margin-bottom: 1rem;
    color: var(--text);
}

.modal-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 3000;
    max-width: 400px;
    border-left: 4px solid var(--success);
    animation: slideIn 0.3s ease;
}

.toast.show {
    display: block;
}

.toast.error {
    border-left-color: var(--danger);
    color: var(--danger);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 0;
        transform: translateY(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.4);
    animation: fadeInUp 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(193, 154, 107, 0.5);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Breakpoints */

/* Large desktop (1200px+): default styles apply */

/* Medium desktop / laptop (max 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        gap: 2rem;
    }

    .rooms {
        padding: 5rem 1.5rem;
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .room-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-wrapper {
        gap: 2rem;
    }
}

/* Tablet Landscape (900px - 1024px) */
@media (max-width: 900px) and (min-width: 769px) {
    .rooms {
        padding: 5rem 1.5rem;
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .room-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
        justify-content: space-between;
    }

    .nav-container {
        flex: 1;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 2rem;
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        color: var(--primary-dark);
        background: var(--light);
    }

    .nav-hamburger {
        display: flex;
    }

    #navHamburger {
        display: flex;
    }

    /* Show mobile navigation controls (language + hamburger) */
    .mobile-nav-controls {
        display: flex !important;
    }

    /* Show mobile language selector */
    .language-mobile {
        display: inline-block !important;
    }

    /* Hide desktop language selector */
    .language-desktop {
        display: none !important;
    }

    .btn-book {
        display: none;
    }

    .nav-right {
        display: none !important;
    }

    .hero {
        padding-top: 70px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .about-grid,
    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .rating-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-grid {
        gap: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .about-image img {
        border-radius: 8px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .room-card {
        max-width: 100%;
    }

    .room-card:hover,
    .room-card:active {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.11);
    }

    .room-image {
        aspect-ratio: 16 / 10;
        min-height: 200px;
    }

    .room-price {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .room-price > div {
        flex: 0 1 auto;
    }

    .room-price .btn {
        flex-shrink: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toast {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 70px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .about {
        padding: 2.5rem 0;
    }

    .about-grid {
        gap: 1.2rem;
    }

    .about-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .rating-box {
        padding: 2rem;
    }

    .room-card:hover,
    .room-card:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Extra Small Mobile (max 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .navbar {
        padding: 0 0.75rem;
        height: 65px;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .nav-logo i {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 0px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .about {
        padding: 2rem 0;
    }

    .about-grid {
        gap: 1rem;
    }

    .about-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
        line-height: 1.2;
    }

    .about-content p {
        font-size: 0.85rem;
        margin-bottom: 0.9rem;
        line-height: 1.5;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .room-card {
        border-radius: 8px;
    }

    .room-image {
        aspect-ratio: 16 / 10;
        min-height: 180px;
    }

    .room-price {
        padding: 1rem;
    }

    .room-price .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        margin-top: 0.5rem;
        order: 3;
    }

    .room-price > div {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        border-radius: 8px;
    }

    .modal-image {
        height: 200px;
        border-radius: 8px;
    }

    .modal-body {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .modal-info h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .modal-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .modal-slider-btn {
        min-width: 36px;
        min-height: 36px;
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .amenity-card {
        padding: 1.5rem 1rem;
    }

    .amenity-icon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .amenity-card h3 {
        font-size: 1rem;
    }

    .amenity-card p {
        font-size: 0.85rem;
    }

    .rating-box {
        padding: 1.2rem;
    }

    .review-card {
        padding: 1rem;
    }

    .review-card p {
        font-size: 0.9rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    footer h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    footer p,
    footer a {
        font-size: 0.85rem;
    }

    .close {
        right: 0.4rem;
        top: 0.4rem;
        font-size: 1.5rem;
        min-width: 40px;
        min-height: 40px;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Small Mobile (361px - 480px) improvements */
@media (max-width: 480px) and (min-width: 361px) {
    .modal-content {
        width: 92%;
        max-width: 92%;
    }

    .modal-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .modal-image {
        height: 230px;
    }

    .room-image {
        height: 200px;
    }
}

/* Mobile booking form improvements (max 768px) */
@media (max-width: 768px) {
    .booking-form {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .booking-form-container > p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .form-row {
        gap: 0.8rem;
    }

    .price-summary {
        padding: 1.2rem;
    }

    .summary-grid label {
        font-size: 0.9rem;
    }

    .summary-grid div {
        font-size: 1rem;
    }
}

/* Extra small mobile booking form (max 360px) */
@media (max-width: 360px) {
    .booking-form {
        padding: 1rem;
        border-radius: 6px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.55rem;
        font-size: 0.9rem;
    }

    .price-summary {
        padding: 1rem;
        border-radius: 6px;
    }

    .summary-grid label,
    .summary-grid div {
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .room-overlay {
        padding: 1rem 1.2rem;
        opacity: 0.95;
    }

    .room-overlay .btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }

    .room-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .room-description {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .room-content span {
        font-size: 0.8rem;
        display: block;
        margin-bottom: 0.3rem;
    }

    .room-highlights {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-top: 0.4rem;
    }
}

/* Extra small mobile room cards (max 360px) */
@media (max-width: 360px) {
    .rooms {
        padding: 3rem 1rem;
    }

    .rooms-grid {
        gap: 1.25rem;
    }

    .room-overlay {
        padding: 0.8rem 1rem;
        opacity: 0.95;
    }

    .room-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .room-description {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .room-content span {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .room-highlights {
        font-size: 0.7rem;
        display: none;
    }

    .room-price {
        padding: 0.8rem 1rem;
        flex-direction: column;
    }

    .room-price > div {
        width: 100%;
    }

    .room-price .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .per-night {
        font-size: 0.75rem;
    }

    .room-image {
        min-height: 160px;
    }

    .room-card:hover,
    .room-card:active {
        transform: translateY(-2px);
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
    }
}

/* Desktop Large screens (min-width: 1200px) */
@media (min-width: 1200px) {
    .rooms {
        padding: 7rem 2rem;
    }

    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .room-card {
        height: 100%;
    }

    .room-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    }

    .room-price {
        gap: 1.5rem;
    }

    .room-image {
        aspect-ratio: 16 / 10;
        min-height: 220px;
        max-height: 320px;
    }

    .room-overlay {
        padding: 1.5rem 1.75rem;
    }

    .room-content h3 {
        font-size: 1.1rem;
    }

    .room-content span {
        font-size: 0.85rem;
    }
}

/* Universal mobile improvements for touch-friendly interface */
@media (max-width: 768px) {
    /* Ensure all buttons and clickable elements are at least 44x44px touch target */
    button {
        min-height: 44px;
        min-width: 44px;
    }

    a {
        min-height: 44px;
        display: inline-block;
        padding: 0.5rem 0.75rem;
    }

    /* Improve spacing in list items and links */
    nav a,
    footer a {
        padding: 0.75rem 1rem;
    }

    /* Section spacing improvements */
    section {
        padding: 2rem 0;
    }

    /* Container bottom padding for mobile */
    .container {
        margin-bottom: 1rem;
    }

    /* Modal improvements */
    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        border-radius: 12px;
    }

    /* Review card improvements */
    .review-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    /* Footer spacing */
    .footer-grid {
        row-gap: 2rem;
    }

    footer h4 {
        margin-bottom: 1rem;
    }

    /* Amenity card touch improvements */
    .amenity-card {
        min-height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .amenity-icon {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero button spacing */
    .btn-primary,
    .btn-white,
    .btn-lg {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
}

/* Very small phones landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 400px;
        padding: 100px 0 50px 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Ensure proper text rendering on mobile */
@media (max-width: 768px) {
    * {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Improve horizontal scrolling prevention */
    body,
    html {
        overflow-x: hidden;
        max-width: 100%;
    }

    .container {
        overflow-x: hidden;
    }
}



/* ============================================
   MODAL STYLES
   ============================================ */

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
}

#modal-overlay .modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#modal-overlay.active .modal {
    transform: scale(1);
}

#modal-overlay .modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.modal-close:hover {
    opacity: 1;
}

#modal-overlay .modal-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.room-modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-modal-content p {
    color: var(--text);
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.modal-book-btn {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 16px;
}

/* Modal scrollbar styling */
.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.modal::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    #modal-overlay .modal {
        width: 95%;
        max-height: 80vh;
    }

    #modal-overlay .modal-header {
        padding: 16px;
    }

    #modal-overlay .modal-body {
        padding: 16px;
    }

    #modal-overlay .modal-title {
        font-size: 20px;
    }
}

/* ============================================
   TOAST NOTIFICATION STYLES
   ============================================ */

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid var(--secondary);
    transform: translateX(450px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.toast-message {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    margin-left: 12px;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
}

/* Success toast */
.toast-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.toast-success .toast-message {
    color: #065f46;
}

.toast-success::before {
    content: "✓";
    color: #10b981;
    font-size: 18px;
    font-weight: bold;
    margin-right: -8px;
}

/* Error toast */
.toast-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.toast-error .toast-message {
    color: #7f1d1d;
}

.toast-error::before {
    content: "✕";
    color: #ef4444;
    font-size: 18px;
    font-weight: bold;
    margin-right: -8px;
}

/* Warning toast */
.toast-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbf0, #ffffff);
}

.toast-warning .toast-message {
    color: #92400e;
}

.toast-warning::before {
    content: "⚠";
    color: #f59e0b;
    font-size: 18px;
    font-weight: bold;
    margin-right: -8px;
}

/* Info toast */
.toast-info {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, #fffaf0, #ffffff);
}

.toast-info .toast-message {
    color: #78350f;
}

.toast-info::before {
    content: "ℹ";
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: bold;
    margin-right: -8px;
}

/* Mobile toast adjustments */
@media (max-width: 480px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* ============================================ */
/* ACCESSIBILITY: REDUCED MOTION SUPPORT */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================ */
/* OPTIMIZED ANIMATION TIMINGS */
/* ============================================ */
/* All animations reduced from 0.8-1.5s to 0.2-0.3s for snappier UX */

/* ============================================ */
/* SKIP NAVIGATION LINK (ACCESSIBILITY) */
/* ============================================ */
.skip-to-content,
.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-to-content:focus,
.skip-nav:focus {
    top: 0;
}

/* ============================================ */
/* GLOBAL FOCUS RING (ACCESSIBILITY) */
/* ============================================ */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================ */
/* BOOKING CONFIRMATION MODAL STYLES */
/* ============================================ */
#bookingConfirmationModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
}

#bookingConfirmationModal .modal-content {
    position: relative;
    width: min(600px, calc(100vw - 2rem));
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

#bookingConfirmationModal input,
#bookingConfirmationModal select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#bookingConfirmationModal input:focus,
#bookingConfirmationModal select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.2);
}

#confirmPaymentBtn,
#cancelConfirmBtn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

#confirmPaymentBtn {
    background: var(--primary);
    color: var(--white);
}

#confirmPaymentBtn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

#cancelConfirmBtn {
    background: #ecf0f1;
    color: var(--secondary);
}

#cancelConfirmBtn:hover {
    background: #dde1e3;
}

#confirmPaymentBtn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

/* ============================================ */
/* TOAST CONTAINER */
/* ============================================ */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(380px, calc(100vw - 2rem));
}

/* ============================================ */
/* TOAST TYPES (Phase 2 - Error/Success/Warn/Info) */
/* ============================================ */
.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: var(--white);
    border-left: 4px solid #ccc;
    animation: slideIn 0.3s ease;
    min-width: 260px;
}

.toast-success { border-left-color: var(--success); }
.toast-error   { border-left-color: var(--danger); }
.toast-warning { border-left-color: #f39c12; }
.toast-info    { border-left-color: #3498db; }

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error   .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: #f39c12; }
.toast-info    .toast-icon { color: #3498db; }

.toast-body { flex: 1; }
.toast-message { font-size: 0.875rem; color: var(--text); line-height: 1.4; }

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-light);
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.toast-close:hover { opacity: 1; }

/* ============================================ */
/* Hamburger → X animation */
/* ============================================ */
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================ */
/* FORM ERROR STATES (Phase 2 - Input Validation UX) */
/* ============================================ */
.form-group {
    position: relative;
}

.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: var(--danger);
    background: #fff5f5;
}

.form-group input.is-valid,
.form-group select.is-valid {
    border-color: var(--success);
    background: #f5fff8;
}

.field-error {
    display: block;
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 3px;
    animation: fadeIn 0.2s ease;
}

/* ============================================ */
/* CARD HOVER - Reduced box-shadow (Phase 2) */
/* ============================================ */
.amenity-card,
.review-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amenity-card:hover,
.review-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ============================================ */
/* BOOKING FORM - Live price calculator (Phase 2) */
/* ============================================ */
.price-summary {
    transition: background 0.3s ease;
}

.price-summary .total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.price-summary .total-price.updated {
    transform: scale(1.05);
}

/* ============================================ */
/* IMAGE LAZY-LOAD FADE (Phase 2) */
/* ============================================ */
img[loading="lazy"] {
    opacity: 1; /* Changed from 0 to 1 - images visible by default */
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================ */
/* PRINT STYLES (Phase 3 - Quality) */
/* ============================================ */
@media print {
    .navbar, .back-to-top, .loading-spinner,
    #bookingConfirmationModal, .toast-container,
    .skip-nav { display: none !important; }

    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .room-card { break-inside: avoid; }
    h1, h2, h3 { page-break-after: avoid; }
}

