:root {
    --primary-color: #2c5f4f;
    --primary-dark: #1a3d31;
    --secondary-color: #d4a574;
    --accent-color: #e8b86d;
    --success-color: #06c755;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: var(--bg-white);
    padding: 5px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

/* Hide language toggle in desktop menu */
.nav-menu .language-menu-item {
    display: none;
}

.lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-icon {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 50%;
    filter: grayscale(60%) brightness(0.9);
    transition: var(--transition);
    overflow: hidden;
}

.lang-btn.active .flag-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.lang-btn.active {
    background: var(--bg-light);
}

.lang-btn:hover:not(.active) {
    background: rgba(0,0,0,0.05);
}

.lang-btn:hover .flag-icon {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.02);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link:not(.btn-primary):hover {
    color: var(--primary-color);
}

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

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

/* Contact Us button in navbar */
.nav-link.btn-primary {
    padding: 10px 24px;
    border-radius: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 79, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-success:hover {
    background: #05a847;
    border-color: #05a847;
}

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

.btn-white:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(rgba(28, 61, 49, 0.75), rgba(44, 95, 79, 0.75)),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

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

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

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Rooms Section */
.rooms {
    background: var(--bg-light);
}

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

.room-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.room-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-secondary {
    background: var(--secondary-color);
}

.room-content {
    padding: 30px;
}

.room-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.room-amenities {
    list-style: none;
    margin-bottom: 25px;
}

.room-amenities li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.room-footer {
    border-top: 1px solid var(--bg-light);
    padding-top: 20px;
}

.rooms-note {
    text-align: center;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.rooms-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

/* Location Section */
.location {
    background: var(--bg-white);
}

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.7;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 5px 0;
    color: var(--text-dark);
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}

.location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 450px;
}

.location-map iframe {
    height: 100%;
    min-height: 450px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

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

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-name {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.text-muted {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.contact-cta {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .logo {
        font-size: 1rem;
        display: none; /* Hide text logo on mobile, keep icon only */
    }

    /* Hide desktop language toggle on mobile */
    body > .language-toggle {
        display: none !important;
    }

    /* Show language toggle in mobile menu */
    .nav-menu .language-menu-item {
        display: block;
        padding: 20px 0 10px;
        border-top: 1px solid var(--bg-light);
        margin-top: 10px;
    }

    .nav-menu .language-toggle {
        position: static;
        display: flex;
        justify-content: center;
        gap: 15px;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-menu .lang-btn {
        padding: 10px 15px;
        background: var(--bg-light);
        border-radius: 12px;
    }

    .nav-menu .flag-icon {
        width: 32px;
        height: 32px;
    }

    .nav-menu .lang-btn.active {
        background: var(--primary-color);
    }

    .nav-menu .lang-btn.active .flag-icon {
        box-shadow: 0 0 0 3px white;
    }

    /* Fix Contact Us button in mobile menu */
    .nav-menu .nav-link.btn-primary {
        background: transparent;
        color: var(--text-dark);
        border: none;
        padding: 8px 0;
        font-weight: 600;
    }

    .nav-menu .nav-link.btn-primary:hover {
        color: var(--primary-color);
        transform: none;
        box-shadow: none;
    }

    /* Fix hero background on mobile */
    .hero {
        background-attachment: scroll;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map {
        order: -1;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .language-toggle {
        top: 80px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .feature-card,
    .room-card,
    .info-card,
    .contact-card {
        padding: 20px;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
