/* ===== Root Variables - Cozy Color Scheme from Logo ===== */
:root {
    /* Primary Colors - From Logo */
    --sage-green: #7B9B7E;
    --sage-green-nav: #71a565;
    --olive-green: #5a7a5d;
    --dark-green: #3d5a40;
    --warm-brown: #B8926A;
    --tan: #D4B896;
    
    /* Accent Colors */
    --cream: #FAF8F3;
    --off-white: #FDFDFB;
    --warm-grey: #8B8680;
    --light-sage: #C8D5C9;
    
    /* Functional Colors */
    --text-dark: #2D3319;
    --text-light: #6B6B6B;
    --border-color: #E8E5DE;
    
    /* Fonts */
    --font-title: 'Birthstone', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-vietnamese: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 90px; /* prevent anchor targets from hiding under navbar */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

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

/* ===== Birthstone Text Utility ===== */
.birthstone-text {
    font-family: var(--font-title);
    font-style: normal;
    font-size: 1.15em;
    letter-spacing: 0.5px;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-green);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 400;
    color: var(--cream);
    font-style: italic;
    letter-spacing: 1px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--tan);
    letter-spacing: 3px;
    margin-top: -10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    flex: 1;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 5px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

@media (max-width: 768px) {
    .nav-menu {
        justify-content: flex-start;
    }
}

.nav-menu::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.nav-link {
    text-decoration: none;
    color: var(--off-white);
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: white;
}

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

/* ===== Language Switcher ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--off-white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
    color: white;
}

.lang-divider {
    color: var(--off-white);
    opacity: 0.5;
    font-size: 12px;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #FAF8F3 0%, #FAF8F3 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 20 Q60 30 50 40 Q40 30 50 20 M70 50 Q75 55 70 60 Q65 55 70 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1.5"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(61, 90, 64, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--dark-green);
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    width: 140px;
    max-width: 45vw;
    display: block;
    margin: 60px auto -10px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.hero-title {
    font-family: var(--font-title);
    font-size: 100px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.02;
    text-shadow: none;
    animation: fadeInUp 1s ease;
}

.hero-homestay {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 6px;
    color: var(--warm-brown);
    margin-top: -10px;
    margin-bottom: 34px;
    animation: fadeInUp 1s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: var(--warm-brown);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--warm-brown);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary:hover {
    background: transparent;
    color: #B8926A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 146, 106, 0.3);
}

.btn-secondary {
    background: var(--sage-green);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--olive-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 155, 126, 0.3);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--warm-brown);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 300;
}

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

/* ===== Homestay Image Banner ===== */
.homestay-banner {
    background: var(--off-white);
    padding: 0;
}

.homestay-figure {
    margin: 0;
    position: relative;
}

.homestay-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    display: block;
}

/* Overlay Contact Card */
.banner-overlay-card {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    background: rgba(61, 90, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 380px;
    z-index: 10;
}

.overlay-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.overlay-logo-image {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.overlay-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.overlay-brand-text {
    font-family: var(--font-title);
    font-size: 32px;
    color: white;
    font-weight: 400;
}

.overlay-brand-sub {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--tan);
    margin-top: 2px;
}

.overlay-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.overlay-value {
    font-size: 15px;
    color: white;
    font-weight: 400;
}

/* Small web resolution - overlay in row layout */
@media (max-width: 900px) and (min-width: 769px) {
    .banner-overlay-card {
        bottom: 20px;
        left: 20px;
        right: auto;
        top: auto;
        transform: none;
        padding: 15px 20px;
        max-width: 380px;
        background: rgba(61, 90, 64, 0.97);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .overlay-logo {
        gap: 10px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        flex-shrink: 0;
    }
    
    .overlay-logo-image {
        width: 40px;
        height: 40px;
    }
    
    .overlay-brand-text {
        font-size: 20px;
    }
    
    .overlay-brand-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .overlay-contacts {
        flex-direction: column;
        gap: 8px;
        flex: 1;
        border-left: none;
        padding-left: 0;
    }
    
    .overlay-contact-item {
        gap: 2px;
    }
    
    .overlay-label {
        font-size: 9px;
    }
    
    .overlay-value {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .homestay-image {
        height: auto;
        max-height: 450px;
        min-height: 300px;
    }
    
    .banner-overlay-card {
        bottom: 15px;
        left: 15px;
        right: 15px;
        top: auto;
        transform: none;
        padding: 12px 15px;
        max-width: none;
        background: rgba(61, 90, 64, 0.97);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .overlay-logo {
        gap: 8px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        flex-shrink: 0;
    }
    
    .overlay-logo-image {
        width: 35px;
        height: 35px;
    }
    
    .overlay-brand-text {
        font-size: 18px;
    }
    
    .overlay-brand-sub {
        font-size: 8px;
        letter-spacing: 2px;
    }
    
    .overlay-contacts {
        flex-direction: row;
        gap: 15px;
        flex: 1;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 15px;
    }
    
    .overlay-contact-item {
        gap: 2px;
    }
    
    .overlay-label {
        font-size: 9px;
    }
    
    .overlay-value {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .homestay-image {
        height: auto;
        max-height: 350px;
        min-height: 250px;
    }
    
    .banner-overlay-card {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px 12px;
        gap: 10px;
    }
    
    .overlay-logo {
        gap: 6px;
    }
    
    .overlay-logo-image {
        width: 28px;
        height: 28px;
    }
    
    .overlay-brand-text {
        font-size: 14px;
    }
    
    .overlay-brand-sub {
        font-size: 6px;
        letter-spacing: 1px;
    }
    
    .overlay-contacts {
        gap: 10px;
        padding-left: 10px;
    }
    
    .overlay-label {
        font-size: 8px;
    }
    
    .overlay-value {
        font-size: 9px;
    }
}

.about-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 300;
}

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

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(123, 155, 126, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

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

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

.room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(123, 155, 126, 0.2);
}

.room-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.room-image.no-image {
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-image.no-image::before {
    content: '🏡';
    font-size: 80px;
    position: absolute;
    opacity: 0.2;
}

.room-image .placeholder-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: white;
    z-index: 1;
    font-style: italic;
}

.room-image img.room-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.room-image-placeholder {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.room-image-placeholder::before {
    content: '🏡';
    font-size: 80px;
    position: absolute;
    opacity: 0.2;
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: white;
    z-index: 1;
    font-style: italic;
}

.room-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.room-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: auto;
}

.amenity {
    font-size: 12px;
    color: var(--sage-green);
    background: var(--light-sage);
    padding: 5px 12px;
    border-radius: 12px;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.room-price {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--warm-brown);
    font-weight: 600;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 25px rgba(123, 155, 126, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-note {
    font-size: 12px;
    color: var(--warm-brown);
    font-style: italic;
    margin-top: 5px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--dark-green);
    margin-bottom: 25px;
}

.contact-map-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-map-container h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    background: white;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-green);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-text {
    color: white;
    font-size: 32px;
}

.footer-logo .logo-sub {
    color: var(--tan);
}

.footer-tagline {
    margin-top: 10px;
    font-size: 14px;
    font-style: italic;
    opacity: 0.8;
}

.footer-social h4 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--tan);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    opacity: 0.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }
    
    .hero-logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }
    
    .hero-logo {
        width: 100px;
        margin: 40px auto -10px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-homestay {
        font-size: 14px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .nav-container {
        padding: 8px 15px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .hero {
        padding: 100px 15px 50px;
    }
    
    .hero-logo {
        width: 80px;
        margin: 20px auto -10px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-homestay {
        font-size: 12px;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .about-intro {
        font-size: 16px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .room-content {
        padding: 20px;
    }
    
    .room-title {
        font-size: 20px;
    }
    
    .room-description {
        font-size: 13px;
    }
    
    .room-price {
        font-size: 16px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .contact-card {
        padding: 20px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-homestay {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* ===== Calendar Modal Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-green);
    margin: 0 0 8px 0;
    font-size: 24px;
}

.modal-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* ===== Calendar Container ===== */
.calendar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.dual-calendar-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.calendar-slider {
    display: flex;
    gap: 0;
    width: 200%;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateX(-25%);
}

.calendar-month {
    flex: 0 0 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.calendar-month-title {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.calendar-nav-btn {
    background: var(--sage-green);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.calendar-nav-btn:hover {
    background: var(--dark-green);
    transform: scale(1.1);
}

.calendar-nav-btn:active {
    transform: scale(0.95);
    background: var(--olive-green);
}

.calendar-grid {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--sage-green);
    color: white;
}

.calendar-header span {
    padding: 12px 4px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

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

.calendar-day {
    background: white;
    padding: 12px 4px;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.calendar-day.empty {
    background: #f9f9f9;
    cursor: default;
}

.calendar-day.past {
    background: #e8e8e8 !important;
    color: #aaa !important;
    cursor: default;
    opacity: 0.6;
}

.calendar-day.past:hover {
    background: #e8e8e8 !important;
}

.calendar-day.available {
    background: white;
    color: #333;
}

.calendar-day.available:hover {
    background: #e8f5e9;
}

.calendar-day.booked {
    background: #e0e0e0;
    color: #757575;
    font-weight: 400;
    text-decoration: line-through;
    cursor: not-allowed;
}

.calendar-day.booked:hover {
    background: #e0e0e0;
}

.calendar-day.today {
    background: var(--sage-green);
    color: white;
    font-weight: bold;
    border-radius: 6px;
}

.calendar-day.today.booked {
    background: linear-gradient(135deg, var(--sage-green) 50%, #ef5350 50%);
    border-radius: 6px;
}

/* ===== Calendar Legend ===== */
.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 16px 20px 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

/* ===== Room Gallery Modal Styles ===== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.gallery-container {
    background: white;
    border-radius: 16px;
    max-width: 1000px;
    width: 95%;
    height: 85vh;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.gallery-close:hover {
    background: #f0f0f0;
    color: #333;
}

.gallery-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-green);
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 16px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.gallery-image-main {
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.gallery-image-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.gallery-image-main:hover img {
    transform: scale(1.02);
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    max-height: 100%;
}

/* Custom scrollbar for thumbnails */
.gallery-thumbnails::-webkit-scrollbar {
    width: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--sage-green);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

.thumbnail-section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 4px 4px 4px;
    margin-top: 4px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.thumbnail-section-label:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.thumbnail-item:hover {
    opacity: 0.8;
}

.thumbnail-item.active {
    border-color: var(--sage-green);
}

/* ===== Sectioned Gallery Modal Styles ===== */
.gallery-container.sectioned {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
}

.gallery-cover-section {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 300px;
}

.gallery-cover-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-cover-image:hover {
    transform: scale(1.02);
}

.gallery-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-section {
    width: 100%;
}

.gallery-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-sage);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--sage-green);
    border-radius: 2px;
}

.gallery-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-section-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-section-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* ===== Fullscreen Image Viewer ===== */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.2s ease;
}

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

.fullscreen-viewer img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Responsive styles for sectioned gallery */
@media (max-width: 768px) {
    .gallery-container.sectioned {
        padding: 16px;
        max-height: 95vh;
    }
    
    .gallery-cover-section {
        max-height: 200px;
    }
    
    .gallery-cover-image {
        max-height: 200px;
    }
    
    .gallery-section-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .gallery-section-title {
        font-size: 16px;
    }
    
    .fullscreen-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .gallery-container.sectioned {
        padding: 12px;
        border-radius: 12px;
    }
    
    .gallery-title {
        font-size: 20px;
    }
    
    .gallery-section-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .gallery-section-item {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        height: 90vh;
        padding: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    
    .gallery-image-main {
        max-height: 50vh;
    }
    
    .gallery-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding-right: 0;
        padding-bottom: 4px;
    }
    
    .thumbnail-item img {
        width: 80px;
        height: 80px;
    }
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available {
    background: #e8f5e9;
    border: 2px solid #81c784;
}

.legend-dot.today {
    background: var(--sage-green);
}

/* ===== Booking Details ===== */
.booking-details {
    padding: 16px 24px 24px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.booking-details h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 16px;
}

.booking-details p {
    margin: 4px 0;
    color: #666;
    font-size: 14px;
}

/* ===== View Calendar Button ===== */
.view-calendar-btn {
    width: 100%;
    margin-top: 12px;
    background: var(--sage-green) !important;
    color: white !important;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-calendar-btn:hover {
    background: var(--dark-green) !important;
    transform: translateY(-2px);
}

/* ===== Loading State ===== */
.loading-rooms {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-rooms p {
    font-size: 18px;
}

/* ===== Modal Responsive ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 5px;
        max-width: 98%;
        border-radius: 12px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 16px 15px 12px;
    }
    
    .modal-header h2 {
        font-size: 18px;
        padding-right: 30px;
    }
    
    .modal-header p {
        font-size: 12px;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
        top: 8px;
        right: 8px;
    }
    
    .calendar-wrapper {
        flex-direction: row;
        gap: 8px;
        padding: 12px 8px;
        justify-content: space-between;
        flex: 1;
        overflow-y: auto;
    }
    
    .dual-calendar-container {
        width: 100%;
        order: 2;
        flex: 1;
        min-height: 0;
    }
    
    .calendar-slider {
        flex-direction: row;
        gap: 12px;
        overflow-x: hidden;
        width: 200%;
    }
    
    .calendar-month {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        padding: 0;
    }
    
    .calendar-month-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .calendar-nav-btn.nav-prev {
        order: 1;
        width: 30px;
        height: 30px;
        font-size: 14px;
        flex-shrink: 0;
        padding: 0;
    }
    
    .calendar-nav-btn.nav-next {
        order: 3;
        width: 30px;
        height: 30px;
        font-size: 14px;
        flex-shrink: 0;
        padding: 0;
    }
    
    .calendar-grid {
        border-radius: 8px;
    }
    
    .calendar-day {
        padding: 8px 2px;
        min-height: 36px;
        font-size: 11px;
    }
    
    .calendar-header span {
        padding: 8px 2px;
        font-size: 10px;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 12px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .legend-item {
        font-size: 10px;
    }
    
    .legend-dot {
        width: 8px;
        height: 8px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .modal-content {
        width: 96%;
        margin: 10px auto;
        max-height: 96vh;
    }
    
    .modal-header {
        padding: 14px 12px 10px;
    }
    
    .modal-header h2 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .modal-header p {
        font-size: 11px;
    }
    
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: 6px;
        right: 6px;
    }
    
    .calendar-wrapper {
        flex-direction: column;
        gap: 0;
        padding: 8px 6px;
        align-items: center;
        justify-content: flex-start;
    }
    
    .calendar-nav-btn.nav-prev {
        order: 1;
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-bottom: 8px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .calendar-nav-btn.nav-prev::before {
        content: '▲';
    }
    
    .dual-calendar-container {
        width: 100%;
        order: 2;
        flex: 0 0 auto;
        display: block;
        overflow: hidden !important;
        position: relative;
        height: 380px;
        max-height: 380px;
    }
    
    .calendar-slider {
        flex-direction: column;
        width: 100%;
        height: 760px;
        transform: translateY(-190px);
        transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
        gap: 0;
        padding: 0 4px;
        display: flex;
        position: relative;
    }
    
    .calendar-month {
        width: 100%;
        padding: 2px 0;
        height: 190px;
        min-height: 190px;
        max-height: 190px;
        flex: 0 0 190px;
        max-width: none;
        box-sizing: border-box;
        display: block;
        visibility: visible !important;
        overflow: visible;
    }
    
    /* All 4 months visible for animation, but container clips to show only 2 */
    .calendar-month#calendar-prev-prev,
    .calendar-month#calendar-next-next,
    .calendar-month#calendar-left,
    .calendar-month#calendar-right {
        display: block !important;
        visibility: visible !important;
    }
    
    .calendar-nav-btn.nav-next {
        order: 3;
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-top: 8px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .calendar-nav-btn.nav-next::before {
        content: '▼';
    }
    
    .calendar-month-title {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .calendar-grid {
        border-radius: 8px;
        width: 100%;
    }
    
    .calendar-day {
        padding: 3px 1px;
        min-height: 22px;
        font-size: 9px;
    }
    
    .calendar-header span {
        padding: 3px 1px;
        font-size: 8px;
    }
    
    .calendar-legend {
        gap: 10px;
        padding: 10px;
    }
}

/* Remove duplicate media query */

/* ===== Vietnamese Language Font Support ===== */
html[lang="vi"] body,
html[lang="vi"] p,
html[lang="vi"] span:not(.logo-text):not(.birthstone-text):not(.overlay-brand-text),
html[lang="vi"] a,
html[lang="vi"] li,
html[lang="vi"] td,
html[lang="vi"] th,
html[lang="vi"] label,
html[lang="vi"] input,
html[lang="vi"] textarea,
html[lang="vi"] button,
html[lang="vi"] .btn-primary,
html[lang="vi"] .btn-secondary,
html[lang="vi"] .nav-link,
html[lang="vi"] .section-subtitle,
html[lang="vi"] .hero-subtitle,
html[lang="vi"] .about-text,
html[lang="vi"] .feature-description,
html[lang="vi"] .room-description,
html[lang="vi"] .amenity-item,
html[lang="vi"] .contact-info,
html[lang="vi"] .footer-text {
    font-family: var(--font-vietnamese);
}

html[lang="vi"] h1:not(.hero-title),
html[lang="vi"] h2,
html[lang="vi"] h3,
html[lang="vi"] h4,
html[lang="vi"] h5,
html[lang="vi"] h6,
html[lang="vi"] .section-title,
html[lang="vi"] .room-title,
html[lang="vi"] .feature-title {
    font-family: var(--font-vietnamese);
    font-weight: 600;
}

/* Preserve decorative Birthstone font for branding elements */
html[lang="vi"] .logo-text,
html[lang="vi"] .hero-title,
html[lang="vi"] .birthstone-text,
html[lang="vi"] .footer-logo .logo-text,
html[lang="vi"] .overlay-brand-text {
    font-family: var(--font-title) !important;
}
