/* Font Awesome Icon Fixes */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    line-height: 1;
}

.far {
    font-weight: 400;
}

.fab {
    font-weight: 400;
}

/* Ensure icons are visible */
[class*="fa-"]:before,
[class*="fas"]:before,
[class*="far"]:before,
[class*="fab"]:before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class*="far"]:before {
    font-weight: 400;
}

[class*="fab"]:before {
    font-weight: 400;
}

/* Session Messages */
.session-message {
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.session-error {
    background: #f8d7da;
    color: #721c24;
    border-bottom: 1px solid #f5c6cb;
}

.session-success {
    background: #d4edda;
    color: #155724;
    border-bottom: 1px solid #c3e6cb;
}

.session-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-message {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #183153;
    --secondary-color: #2563eb;
    --accent-color: #38bdf8;
    --text-dark: #183153;
    --text-light: #5a6a85;
    --text-white: #ffffff;
    --bg-light: #f3f7fb;
    --bg-dark: #183153;
    --border-color: #b6c6e3;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    --shadow-light: 0 2px 20px rgba(24, 49, 83, 0.08);
    --shadow-medium: 0 4px 30px rgba(24, 49, 83, 0.13);
    --shadow-heavy: 0 8px 40px rgba(24, 49, 83, 0.18);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 0; /* Default untuk desktop */
}

/* Add padding for mobile navbar */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Sesuai dengan tinggi navbar */
    }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 8px 12px;
    z-index: 1100;
    border-radius: 0 0 6px 6px;
}
.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #1d4fd7;
    border-color: #1d4fd7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(24, 49, 83, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.navbar.scrolled {
    background: rgba(24, 49, 83, 0.98);
    box-shadow: var(--shadow-light);
}

/* Navbar language dropdown & layout fix */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    flex-shrink: 0;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    margin: 0 40px;
}
.nav-actions {
    flex-shrink: 0;
}

/* Home navbar balancing: bring menus closer to the center logo */
body.is-home .navbar .nav-container {
    justify-content: space-between; /* kembali seimbang default */
    gap: 0;
}
body.is-home .navbar .nav-menu {
    flex: 0 0 auto;
    margin: 0 12px;
}
body.is-home .navbar .nav-left-menu { justify-content: flex-end; }
body.is-home .navbar .nav-right-menu { justify-content: flex-start; margin-left: 8px; margin-right: 0; }
body.is-home .nav-logo { min-width: 120px; }

/* Geser hanya sisi kanan agar lebih dekat logo */
/* Geser kelompok kanan (menu kanan + tombol) lebih dekat ke logo */
body.is-home .navbar .nav-right { display: flex; align-items: center; gap: 10px; margin-left: -120px; }
body.is-home .navbar .nav-actions { margin-left: 0; }
/* Custom style for navbar language dropdown */
#langSwitcher select {
    min-width: 120px;
    font-size: 1rem;
    background: #1a2a36;
    color: #fff;
    border: 1.5px solid #28406a;
    border-radius: 6px;
    padding: 6px 16px 6px 12px;
    outline: none;
    box-shadow: none;
    transition: border 0.2s, background 0.2s, color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
#langSwitcher select:focus, #langSwitcher select:hover {
    border: 1.5px solid #007b7f;
    background: #22345a;
    color: #fff;
}
#langSwitcher {
    position: relative;
}
#langSwitcher::after {
    content: '\25BC';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #fff;
    font-size: 0.8em;
}
@media (max-width: 900px) {
    #langSwitcher select {
        min-width: 90px;
        font-size: 0.95rem;
        padding: 5px 12px 5px 8px;
    }
    .nav-menu {
        gap: 15px;
    }
    .nav-link {
        padding: 32px 15px;
        font-size: 14px;
    }
}
@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-left, .nav-right {
        justify-content: flex-start;
    }
    .nav-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-left: 0;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
    flex-shrink: 0;
    min-width: 200px;
}

.nav-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 32px 20px;
    display: block;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
    line-height: 1;
}


/* Navbar underline hover/active with precise alignment */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px; /* match horizontal padding */
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 40px); /* full width minus left/right padding */
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-right: 0;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-actions .btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.nav-actions .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.nav-actions .btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-actions .btn-primary:hover {
    background: #1d4fd7;
    border-color: #1d4fd7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 49, 83, 0.5) 0%, rgba(24, 49, 83, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-feature i {
    color: var(--accent-color);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
    opacity: 0.7;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    margin-bottom: 8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Quick Booking */
.quick-booking {
    background: var(--bg-dark);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-field label {
    color: var(--text-white);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-input {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 14px;
    transition: var(--transition-fast);
}

.booking-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.booking-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Styling untuk dropdown options */
.booking-input option {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 8px 12px;
}

/* Styling untuk dropdown saat dibuka */
.booking-input:focus option {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Styling untuk dropdown yang belum dipilih */
.booking-input:invalid {
    color: rgba(255, 255, 255, 0.6);
}

/* Styling untuk dropdown yang sudah dipilih */
.booking-input:valid {
    color: var(--text-white);
}

/* Styling untuk placeholder option (disabled selected) */
.booking-input option[disabled][selected] {
    color: rgba(255, 255, 255, 0.6);
    background: var(--bg-dark);
}

/* Styling untuk option yang dipilih */
.booking-input option:checked {
    background: var(--secondary-color);
    color: var(--text-white);
}

.booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.booking-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.booking-submit:hover::before {
    left: 100%;
}

.booking-submit:hover {
    background: #1d4fd7;
    border-color: #1d4fd7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.booking-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 4px 15px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-story p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

/* Rooms Section */
.rooms {
    padding: var(--section-padding);
}

.room-categories {
    margin-bottom: 60px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
}

.category-tab.active,
.category-tab:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-white);
}

/* Room Scroll Container */
.room-scroll-container {
    position: relative;
    margin: 0 -24px;
    padding: 0 60px;
}

.room-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.room-grid::-webkit-scrollbar {
    display: none;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-light);
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.scroll-btn:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: 12px;
}

.scroll-right {
    right: 12px;
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.scroll-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-50%);
    box-shadow: var(--shadow-light);
}

.room-card {
    flex: 0 0 350px;
    background: var(--text-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    position: relative;
    min-width: 350px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    height: auto; /* ubah dari fixed height ke auto */
    min-height: 550px; /* tinggi minimum yang lebih fleksibel */
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0; /* mencegah gambar menyusut */
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-medium);
}

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

/* Harga selalu terlihat di mobile */
@media (max-width: 768px) {
    .room-overlay {
        opacity: 1;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    }
}

/* Memastikan semua elemen harga menggunakan warna putih */
.room-overlay .room-price,
.room-overlay .price-from,
.room-overlay .price-amount,
.room-overlay .price-night {
    color: #ffffff !important;
}

/* Override untuk harga di card content */
.room-content .price-amount,
.room-content .price-from,
.room-content .price-night {
    color: #ffffff !important;
}

.room-price {
    color: #ffffff !important;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 16px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.price-from {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
    color: #ffffff !important;
}

.price-amount {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.price-night {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
    color: #ffffff !important;
}

.room-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.room-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1; /* mengambil ruang yang tersedia */
    min-height: 0; /* izinkan konten menyusut jika perlu */
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-shrink: 0; /* mencegah header menyusut */
}

.room-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.room-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-color);
    font-weight: 600;
}

/* Harga alternatif di dalam card content */
.room-price-inline {
    display: none; /* sembunyikan di desktop, tampilkan di mobile */
    background: var(--accent-color);
    color: #ffffff !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.room-price-inline .price-amount {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    color: #ffffff !important;
}

.room-price-inline .price-from {
    font-size: 11px;
    opacity: 0.9;
    display: block;
    color: #ffffff !important;
}

.room-price-inline .price-night {
    color: #ffffff !important;
}

.room-description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
    flex: 1; /* mengambil ruang yang tersedia */
    min-height: 40px; /* tinggi minimum yang lebih kecil */
    overflow: hidden; /* mencegah teks meluber */
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px; /* kurangi margin bottom */
    min-height: 60px; /* tinggi minimum yang lebih kecil */
    align-content: flex-start;
    flex-shrink: 0; /* mencegah fitur menyusut */
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.feature-tag i {
    color: var(--accent-color);
}

.room-actions {
    display: flex;
    gap: 12px;
    margin-top: auto; /* selalu di bawah */
    flex-shrink: 0; /* mencegah tombol menyusut */
    padding-top: 16px; /* tambah padding atas */
}

/* Konsistensi tombol di kartu */
.room-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px; /* tinggi minimum tombol */
    white-space: nowrap; /* mencegah teks tombol wrap */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .room-card {
        height: auto !important;
        min-height: 500px !important;
    }
    
    .room-card .room-description {
        max-height: none !important;
        -webkit-line-clamp: unset !important;
    }
    
    .room-card .room-features {
        max-height: none !important;
    }
}

/* Desktop-specific card improvements */
@media (min-width: 769px) {
    .room-card {
        height: auto;
        min-height: 580px;
        max-height: none;
    }
    
    .room-content {
        padding: 28px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .room-description {
        min-height: 50px;
        margin-bottom: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    .room-features {
        min-height: 70px;
        margin-bottom: 20px;
    }
    
    .room-actions {
        display: flex;
        gap: 12px;
        margin-top: auto;
        padding-top: 16px;
        flex-shrink: 0;
    }
    
    .room-actions .btn {
        flex: 1;
        min-height: 44px;
        white-space: nowrap;
    }
}

/* Experiences Section */
.experiences {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.experience-card {
    background: var(--text-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.experience-image {
    height: 200px;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.experience-card:hover .experience-image img {
    transform: scale(1.1);
}

.experience-content {
    padding: 24px;
}

.experience-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.experience-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.experience-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Spa Section */
.spa {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #204080 100%);
    color: var(--text-white);
}

.spa .section-title,
.spa .section-subtitle,
.spa h3,
.spa h4 {
    color: var(--text-white);
}

.spa .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.spa-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.spa-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spa-description h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.spa-description p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.spa-treatments {
    margin: 24px 0;
}

.treatment {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.treatment h4 {
    color: var(--accent-color);
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
}

.treatment p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.spa-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

/* Spa Button Styling */
.spa-text .btn {
    background: var(--secondary-color);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-top: 24px;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.spa-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.spa-text .btn:hover::before {
    left: 100%;
}

.spa-text .btn:hover {
    background: #1d4fd7;
    border-color: #1d4fd7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Dining Section */
.dining {
    padding: var(--section-padding);
    background: var(--text-white);
}

.dining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.restaurant {
    background: var(--text-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.restaurant:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.restaurant-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.restaurant:hover .restaurant-image img {
    transform: scale(1.1);
}

.restaurant-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.restaurant-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}

.restaurant-hours {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin-top: auto;
}

.restaurant-hours h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.restaurant-hours p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.restaurant-hours p:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--text-white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 4px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: var(--text-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.contact-form form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--text-white);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 40px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Newsletter Form Styling */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.newsletter-form input[type="email"] {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.newsletter-form .btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    background: var(--secondary-color);
    color: var(--text-white);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-form .btn:hover::before {
    left: 100%;
}

.newsletter-form .btn:hover {
    background: #1d4fd7;
    border-color: #1d4fd7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

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

.modal-content {
    background: var(--text-white);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    margin-bottom: 20px;
}

/* Booking Modal Styles */
.booking-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-modal-form .form-group {
    margin-bottom: 15px;
}

.booking-modal-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.booking-modal-form .form-group input,
.booking-modal-form .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-fast);
    background: white;
}

.booking-modal-form .form-group input:focus,
.booking-modal-form .form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.booking-modal-form .form-group input::placeholder {
    color: #adb5bd;
}

.booking-modal-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 10px;
}

.booking-modal-form .form-actions .btn {
    min-width: 120px;
}

@media (max-width: 768px) {
    .booking-modal-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-modal-form .form-group {
        margin-bottom: 20px;
    }
    
    .booking-modal-form .form-actions {
        flex-direction: column;
    }
    
    .booking-modal-form .form-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Responsive Design - Updated */
@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 20px;
        width: 100%;
        gap: 20px;
    }
    
    .nav-logo {
        margin-left: 0;
    }
    
    .nav-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .nav-logo-text {
        font-size: 18px;
        white-space: nowrap;
        line-height: 1;
    }
    
    /* Mobile navigation styles moved to the end of file */
    
    /* Hero responsive */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Section responsive */
    .section-title {
        font-size: 2rem;
    }
    
    /* About responsive */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Room grid responsive */
    .category-tab {
        height: 40px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .room-grid {
        gap: 16px;
        padding: 16px 0;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .room-card {
        flex: 0 0 300px;
        min-width: 300px;
        scroll-snap-align: start;
        height: auto;
        min-height: 500px; /* tinggi minimum yang lebih kecil untuk mobile */
    }
    
    .room-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    
    .room-description {
        min-height: 30px; /* tinggi minimum yang lebih kecil untuk mobile */
        margin-bottom: 16px;
    }
    
    .room-features {
        min-height: 50px; /* tinggi minimum yang lebih kecil untuk mobile */
        margin-bottom: 16px;
    }
    
    .room-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: auto;
        padding-top: 12px;
    }
    
    .room-actions .btn {
        width: 100%;
        justify-content: center;
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
        min-height: 40px; /* tinggi tombol yang lebih kecil untuk mobile */
        font-size: 13px; /* ukuran font yang lebih kecil untuk mobile */
    }
    
    /* Tampilkan harga inline di mobile */
    .room-price-inline {
        display: block;
        margin-bottom: 12px;
    }
    
    /* Sembunyikan overlay harga di mobile untuk menghindari duplikasi */
    .room-overlay {
        display: none;
    }
    
    /* Hide scroll buttons on mobile */
    .scroll-btn {
        display: none !important;
    }
    
    .room-scroll-container {
        margin: 0;
        padding: 0;
        position: relative;
    }
    
    /* Experiences responsive */
    .experiences-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .experience-content {
        padding: 20px;
    }
    
    /* Spa responsive */
    .spa {
        padding: 60px 0;
    }
    
    .spa-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .spa-text {
        gap: 20px;
    }
    
    .spa-description h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .spa-description p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .spa-treatments {
        margin: 20px 0;
    }
    
    .treatment {
        padding: 14px 16px;
        margin-bottom: 10px;
    }
    
    .spa-image img {
        height: 240px;
    }
    
    /* Spa button responsive */
    .spa-text .btn {
        padding: 12px 24px;
        font-size: 13px;
        font-weight: 600;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
    }
    
    /* Dining responsive */
    .dining-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .restaurant-image {
        height: 240px;
    }
    
    .restaurant-content {
        padding: 24px;
    }
    
    .restaurant-content h3 {
        font-size: 1.5rem;
    }
    
    .restaurant-hours {
        padding: 16px;
    }
    
    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    /* Contact responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .contact-form form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
    }
    
    .contact-form .btn {
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    /* Newsletter form responsive */
    .newsletter-form {
        gap: 10px;
        margin-top: 12px;
    }
    
    .newsletter-form input[type="email"] {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .newsletter-form .btn {
        padding: 10px 16px;
        font-size: 13px;
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 20px;
        padding: 24px;
        max-height: calc(100vh - 40px);
    }
}

/* Floating Call Button - consolidated in section below */

/* Page Transition Animations */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-logo {
    width: 80px;
    height: 80px;
    background: var(--text-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: logoPulse 2s ease-in-out infinite;
}

.page-transition-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }
}

/* Page Content Animations */
.page-content {
    animation: pageFadeIn 0.8s ease-out;
}

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

/* Section Animations */
.hero {
    animation: heroSlideIn 1s ease-out;
}

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

.section {
    animation: sectionFadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.section:nth-child(odd) {
    animation-delay: 0.2s;
}

.section:nth-child(even) {
    animation-delay: 0.4s;
}

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

/* Card Animations */
.room-card,
.experience-card,
.restaurant,
.gallery-item {
    animation: cardSlideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.2s; }
.room-card:nth-child(3) { animation-delay: 0.3s; }
.room-card:nth-child(4) { animation-delay: 0.4s; }
.room-card:nth-child(5) { animation-delay: 0.5s; }
.room-card:nth-child(6) { animation-delay: 0.6s; }

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }

.restaurant:nth-child(1) { animation-delay: 0.1s; }
.restaurant:nth-child(2) { animation-delay: 0.2s; }
.restaurant:nth-child(3) { animation-delay: 0.3s; }

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Navigation Link Hover Animation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* Hapus .nav-link::before dan .nav-link:hover::before agar tidak ada dua underline */
/* .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
} */

/* Button Hover Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img[loading] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Floating Elements Animation */
.floating-call {
    animation: floatIn 0.8s ease-out 1s both;
}

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

/* Footer Animation */
.footer {
    animation: footerSlideUp 0.8s ease-out 0.6s both;
}

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

/* Responsive Animations */
@media (max-width: 768px) {
    .page-transition-logo {
        width: 60px;
        height: 60px;
    }
    
    .page-transition-logo img {
        width: 35px;
        height: 35px;
    }
    
    .section {
        animation-delay: 0.1s !important;
    }
    
    .room-card,
    .experience-card,
    .restaurant,
    .gallery-item {
        animation-delay: 0.1s !important;
    }
} 

/* What's On Page Styles */
.whats-on {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
}

.whats-on-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
    justify-items: center; /* Pusatkan card */
}

/* Coming Soon Card Styling */
.whats-on-card {
    max-width: 400px; /* Batasi lebar maksimal */
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    text-align: center; /* Pusatkan konten */
}

.whats-on-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.whats-on-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

.whats-on-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.whats-on-content {
    padding: 24px 20px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.whats-on-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #1a2a36;
}

.whats-on-content p {
    margin-bottom: 12px;
    color: #444;
}

.promo-date {
    font-size: 0.98rem;
    color: #007b7f;
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center; /* Pusatkan tanggal */
}

/* Coming Soon specific styling */
.whats-on-card h3 {
    color: #2563eb !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.whats-on-card .whats-on-content p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: #666 !important;
}

/* Responsive adjustments for What's On page */
@media (max-width: 768px) {
    .whats-on {
        padding: 100px 0 60px 0;
    }
    
    .whats-on-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .whats-on-content {
        padding: 20px 16px 16px 16px;
    }
} 

/* Floating Call & Language Switcher */
.floating-call {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    pointer-events: auto;
}
.floating-call-toggle, .floating-lang-toggle {
    width: 48px;
    height: 48px;
    background: #1a2a36;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid #28406a;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.15s;
    margin-bottom: 0;
    outline: none;
}
.floating-call-toggle:hover, .floating-lang-toggle:hover {
    background: #007b7f;
    color: #fff;
    border: 2px solid #007b7f;
    transform: scale(1.08);
}
/* Language options */
.floating-lang-options {
    display: none;
    position: absolute;
    right: 58px;
    bottom: 60px;
    flex-direction: column-reverse;
    gap: 8px;
    z-index: 1300;
    animation: fadeInLangUp 0.18s;
    pointer-events: auto;
}
.floating-lang-options.show {
    display: flex;
}
/* Accessibility focus styles */
.floating-call-toggle:focus, .floating-lang-toggle:focus, .lang-btn:focus,
.floating-call-option:focus, .btn:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 127, 0.45);
}
@keyframes fadeInLangUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Call options */
.floating-call-options {
    display: none;
    position: absolute;
    right: 0;
    bottom: 60px;
    flex-direction: column;
    gap: 8px;
    z-index: 1300;
    animation: fadeInCallUp 0.18s;
}
.floating-call-options.show {
    display: flex;
}
@keyframes fadeInCallUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.floating-call-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #1a2a36;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 1px solid #28406a;
    transition: background 0.2s, color 0.2s, border 0.2s;
    white-space: nowrap;
}
.floating-call-option:hover {
    background: #007b7f;
    color: #fff;
    border: 1px solid #007b7f;
}
.floating-call-option.whatsapp:hover {
    background: #25d366;
    border: 1px solid #25d366;
}
.floating-call-option.phone:hover {
    background: #007b7f;
    border: 1px solid #007b7f;
}
/* Language buttons */
.lang-btn {
    width: 40px;
    height: 40px;
    background: #1a2a36;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 2px solid #28406a;
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.15s;
    cursor: pointer;
    position: relative;
}
.lang-btn:hover, .lang-btn.active {
    background: #007b7f;
    color: #fff;
    border: 2px solid #007b7f;
    transform: scale(1.12);
    z-index: 2;
}
.lang-btn[title]:hover:after {
    content: attr(title);
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    background: #22345a;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.98rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: none;
    opacity: 1;
    z-index: 10;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
}
@media (max-width: 700px) {
    .floating-call {
        right: 12px;
        bottom: 12px;
        gap: 6px;
    }
    .floating-call-toggle, .floating-lang-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
    .floating-lang-options {
        right: 56px;
        gap: 5px;
        bottom: 50px;
    }
    .floating-call-options {
        bottom: 50px;
        gap: 6px;
    }
    .lang-btn {
        width: 32px;
        height: 32px;
        font-size: 0.92rem;
    }
    .floating-call-option {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    .lang-btn[title]:hover:after {
        display: none;
    }
} 

/* Bike Details Page */
.room-details {
	padding: 120px 0 80px;
	background: var(--bg-light);
}

.room-details .container {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: start;
}

.room-details-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.room-images .main-image {
	position: relative;
	height: 480px;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: var(--shadow-medium);
}

.room-images .main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-medium);
}

.room-images .main-image:hover img {
	transform: scale(1.03);
}

.room-info {
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow-light);
	padding: 28px;
}

.room-info .room-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 8px;
}

.room-info h1 {
	font-family: var(--font-secondary);
	font-size: 2rem;
	line-height: 1.2;
	color: var(--text-dark);
}

.room-info .room-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent-color);
	font-weight: 600;
}

.room-info .room-rating i {
	color: #f6c445;
}

.room-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 12px 0 16px;
}

.room-price .price-amount {
	font-family: var(--font-secondary);
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
}

.room-price .price-night {
	font-size: 0.95rem;
	color: var(--text-light);
}

.room-description {
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 18px;
}

.room-features h3 {
	font-family: var(--font-secondary);
	font-size: 1.25rem;
	margin: 10px 0 12px;
	color: var(--text-dark);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--text-dark);
}

.feature-item i {
	color: var(--accent-color);
}

.room-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.room-actions .btn {
	height: 44px;
}

.room-details-sidebar .booking-card {
	position: sticky;
	top: 100px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow-medium);
	padding: 24px;
}

.room-details-sidebar .booking-card h3 {
	font-family: var(--font-secondary);
	font-size: 1.25rem;
	margin-bottom: 16px;
}

.bike-rental-form .form-group + .form-group {
	margin-top: 10px;
}

.room-details-sidebar #rental-form {
	scroll-margin-top: 110px;
}

.btn-large { padding: 14px 28px; font-size: 15px; }

.btn-full {
	width: 100%;
}

@media (max-width: 1024px) {
	.room-details .container {
		grid-template-columns: 1.5fr 1fr;
		gap: 28px;
	}
	.room-images .main-image { height: 400px; }
}

@media (max-width: 768px) {
	.room-details { padding: 100px 0 60px; }
	.room-details .container {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.room-images .main-image { height: 300px; }
	.room-info { padding: 20px; }
	.features-grid { grid-template-columns: 1fr; }
	.room-details-sidebar .booking-card { top: 80px; }
}

/* Mobile Navigation Styles - Fixed */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        min-height: 70px;
    }

    /* Reset semua menu untuk mobile - PERBAIKAN UTAMA */
    .nav-menu,
    .nav-left-menu,
    .nav-right-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        transition: left 0.3s ease-in-out !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        padding: 20px 0 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        margin: 0 !important;
        gap: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Tambahan untuk memastikan konten terlihat */
        min-height: 200px !important;
        padding-top: 50px !important;
    }

    /* PERBAIKAN: Pastikan menu aktif terlihat - FIX UTAMA */
    .nav-menu.active,
    .nav-left-menu.active,
    .nav-right-menu.active {
        left: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        transform: translateX(0) !important;
        z-index: 1001 !important;
    }

    /* PERBAIKAN: Tambahan untuk memastikan semua menu terlihat saat aktif */
    .nav-menu.active,
    .nav-left-menu.active,
    .nav-right-menu.active {
        left: 0 !important;
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        z-index: 1001 !important;
    }

    .nav-item {
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
    }

    .nav-link {
        display: block !important;
        padding: 20px !important;
        color: var(--text-white) !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        border-bottom: none !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1000 !important;
        background: transparent !important;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--secondary-color) !important;
    }

    /* Tambahan untuk memastikan link menu terlihat - FIX UTAMA */
    .nav-menu .nav-link,
    .nav-left-menu .nav-link,
    .nav-right-menu .nav-link {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
        font-weight: 600 !important;
        font-size: 18px !important;
        padding: 15px 20px !important;
        margin: 5px 0 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
        min-width: 200px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
    }

    .nav-menu .nav-link:hover,
    .nav-left-menu .nav-link:hover,
    .nav-right-menu .nav-link:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: var(--secondary-color) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

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

    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        padding: 8px !important;
        border-radius: 4px !important;
        background: transparent !important;
        border: none !important;
        z-index: 1001 !important;
    }

    .bar {
        width: 25px !important;
        height: 3px !important;
        background: var(--text-dark) !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px) !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px) !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }

    /* Overlay untuk menutup menu ketika diklik di luar */
    .nav-overlay {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        pointer-events: none !important;
    }

    .nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Logo positioning */
    .nav-logo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .nav-logo-img {
        width: 40px !important;
        height: 40px !important;
    }

    .nav-logo-text {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
    }

    /* Hide desktop elements */
    .nav-left,
    .nav-right {
        display: none !important;
    }

    /* PERBAIKAN: Tambahan untuk memastikan menu terlihat di halaman index */
    .nav-left-menu,
    .nav-right-menu {
        /* Pastikan menu terlihat saat aktif */
        &.active {
            left: 0 !important;
            transform: translateX(0) !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
        }
    }
}