:root {
    /* Color Palette */
    --clr-primary: #e47b02;
    --clr-primary-hover: #ed8f0c;
    --clr-primary-light: rgba(228, 123, 2, 0.1);
    --clr-secondary: #f5a524;
    
    --clr-text-dark: #1f2933;
    --clr-text-body: #52606d;
    --clr-text-light: #7b8794;
    
    --clr-bg-light: #f9f9fb;
    --clr-bg-white: #ffffff;
    --clr-bg-dark: #1f2933;
    --clr-bg-footer: #0f171e;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 30px rgba(228, 123, 2, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--clr-text-body);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open { overscroll-behavior: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--clr-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-primary-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.w-full {
    width: 100%;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-bg-white);
    box-shadow: 0 4px 15px rgba(228, 123, 2, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    color: var(--clr-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 123, 2, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--clr-bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--clr-bg-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-links a,
.navbar.navbar-light .nav-links a {
    color: var(--clr-text-dark);
}

.navbar.scrolled .logo-text,
.navbar.navbar-light .logo-text {
    color: var(--clr-text-dark);
}

.navbar.scrolled .social-icon,
.navbar.navbar-light .social-icon {
    color: var(--clr-text-dark);
    border-color: rgba(31, 41, 51, 0.2);
}

.navbar.scrolled .mobile-menu-btn,
.navbar.navbar-light .mobile-menu-btn {
    color: var(--clr-text-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-bg-white);
    transition: color var(--transition-normal);
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-bg-white);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-bg-white);
    transform: translateY(-2px);
}

.social-icon.facebook:hover { background-color: #3b5998; border-color: #3b5998; }
.social-icon.youtube:hover { background-color: #FF0000; border-color: #FF0000; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-bg-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--clr-bg-white);
    z-index: 2000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.text-dark {
    color: var(--clr-text-dark) !important;
}

.mobile-menu-close {
    background: var(--clr-bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--clr-text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-text-dark);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--clr-primary);
    padding-left: 10px;
}

.mobile-menu-footer {
    margin-top: auto;
}

.mobile-menu-footer .social-icons {
    justify-content: center;
}

.mobile-menu-footer .social-icon {
    color: var(--clr-text-dark);
    border-color: rgba(0,0,0,0.1);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 30, 0.7) 0%, rgba(15, 23, 30, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(228, 123, 2, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--clr-bg-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}


/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    display: block;
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: var(--clr-primary);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--clr-bg-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: 1px solid transparent;
    border-left: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(228, 123, 2, 0.12);
    border-left-color: var(--clr-primary);
    box-shadow: 0 20px 40px rgba(228, 123, 2, 0.12), 0 4px 12px rgba(0,0,0,0.06);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--clr-primary);
    color: #fff;
    transform: scale(1.05);
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--clr-text-dark);
}

.service-content p {
    color: var(--clr-text-body);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--clr-primary);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding-bottom: 8rem;
}

.cta-card {
    display: flex;
    background-color: var(--clr-bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.cta-content {
    flex: 1;
    padding: 4rem;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--clr-text-body);
}

.cta-image {
    flex: 1;
    height: 100%;
    min-height: 400px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Cards */
.social-cards-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--clr-bg-light);
}

.social-card-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: var(--clr-bg-white);
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.social-card-item i {
    font-size: 2.5rem;
}

.social-card-item.yt-card i {
    color: #ff0000;
}

.social-card-item.fb-card i {
    color: #1877f2;
}

.social-card-content h4 {
    color: var(--clr-text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.social-card-content span {
    color: var(--clr-text-body);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--clr-bg-footer);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-bg-white);
}

.footer-text {
    max-width: 400px;
}

.social-icon-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-bg-white);
    transition: all var(--transition-fast);
}

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

.widget-title {
    color: var(--clr-bg-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--clr-primary);
}

.widget-links li {
    margin-bottom: 1rem;
}

.widget-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-links a i {
    font-size: 0.8rem;
    color: var(--clr-primary);
    transition: transform var(--transition-fast);
}

.widget-links a:hover {
    color: var(--clr-primary);
}

.widget-links a:hover i {
    transform: translateX(3px);
}

.widget-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    color: var(--clr-primary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-dhamma-message {
    max-width: 980px;
    margin: 0 auto 1.25rem;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--clr-primary);
}

/* ---- Typewriter Preloader ---- */
.loader-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.typewriter-text {
    font-size: 1.25rem;
    color: var(--clr-primary);
    font-weight: 600;
    min-height: 2rem;
    margin-top: 1rem;
    text-align: center;
    border-right: 2px solid var(--clr-primary);
    padding-right: 4px;
    animation: blink-cursor 0.75s step-end infinite;
}
@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--clr-primary); }
}

/* ---- Accommodation Badges ---- */
.badge-good { background: rgba(19, 97, 46, 0.15); color: #13612e; border: 1px solid rgba(19, 97, 46, 0.3); }
.badge-medium { background: rgba(228, 123, 2, 0.15); color: #e47b02; border: 1px solid rgba(228, 123, 2, 0.3); }
.badge-low { background: rgba(207, 46, 46, 0.15); color: #cf2e2e; border: 1px solid rgba(207, 46, 46, 0.3); }
.badge-bookable { background: rgba(19, 97, 46, 0.15); color: #13612e; }
.badge-not-bookable { background: rgba(100, 100, 100, 0.15); color: #555; }

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu, .nav-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-card {
        flex-direction: column;
    }
    
    .cta-image {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .container, .nav-container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 3.5rem 0; }
    .navbar { padding: 0.85rem 0; }
    .logo-img { height: 38px; }
    .logo-text { font-size: 1.15rem; }
    .nav-actions { gap: 0.75rem; }
    .social-icons { gap: 0.5rem; }
    .social-icon { width: 34px; height: 34px; }
    .mobile-menu-overlay { max-width: min(400px, 92vw); padding: 1.5rem; }
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-dhamma-message { font-size: 0.88rem; }
    
    .cta-content {
        padding: 2.5rem;
    }
    .social-cards-container { padding: 1.25rem; }
    .social-card-item { padding: 1.1rem 1.25rem; gap: 1rem; }
}

@media (max-width: 420px) {
    .nav-actions .social-icons { display: none; }
    .hero { min-height: 560px; }
    .hero-content { padding: 0 1.25rem; }
    .hero-title { font-size: 1.9rem; }
    .btn-large { width: 100%; }
    .cta-content { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
