/* Modern Chiang Mai Travel Color Palette */
:root {
    --primary-brand: #6A26CD; /* Lovable.dev Purple - or your chosen primary */
    --primary-brand-dark: #521E9F;
    --accent-color: #8B5CF6; /* Lighter purple accent or a contrasting color */
    --warm-terracotta: #D4846A;
    --forest-green: #2D5A3D;
    --sage-green: #7A9B76;
    --background-light: #F9FAFB; /* Very light gray, almost white */
    --background-white: #FFFFFF;
    --text-primary: #1F2937; /* Darker gray for high contrast text */
    --text-secondary: #6B7280; /* Medium gray for secondary text */
    --dark-brown: #3C2414;
    --text-dark: var(--text-primary);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gradient-primary: linear-gradient(135deg, var(--primary-brand) 0%, var(--accent-color) 70%, #A78BFA 100%); /* Subtle gradient */
    --gradient-secondary: linear-gradient(135deg, #2D5A3D 0%, #7A9B76 100%);
    --navbar-height: 80px;
    --navbar-height-mobile: 70px;
}

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

body {
    font-family: 'Kanit', 'Noto Sans SC', 'Noto Sans TC', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Added system fonts for broader compatibility */
    line-height: 1.65; /* Adjusted line height */
    background-color: var(--background-white); /* Cleaner white background */
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: var(--navbar-height); /* Space for fixed navbar */
}

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

/* ====================================================================== */
/*                          NAVIGATION MENU                              */
/* ====================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(8px); 
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #F3F4F6; /* Even lighter border */
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md); 
}

.nav-container {
    max-width: 1280px; /* Slightly wider container */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600; /* Slightly less bold */
    color: var(--text-dark); /* Consistent text color */
    text-decoration: none;
}

.nav-logo i {
    font-size: 1.8rem; /* Slightly smaller icon */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 25px; /* Slightly reduced gap */
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 15px; 
    border-radius: 6px; /* Softer radius */
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link:focus-visible {
    /* background-color: var(--background-light); */ /* Remove background on hover for cleaner look */
    color: var(--primary-brand);
}

.nav-link.active {
    color: var(--primary-brand);
    font-weight: 600;
    /* background: transparent; Remove background for active, rely on color/font-weight */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher-nav {
    display: flex;
    gap: 0; /* Remove gap, let buttons touch */
    /* background: var(--soft-beige); */ /* Remove background for a cleaner look */
    padding: 0;
    border-radius: 6px; /* Consistent border-radius */
    border: 1px solid #E5E7EB; /* Lighter border for lang switcher */
    overflow: hidden; /* To clip button borders */
}

.lang-btn-nav {
    background: transparent;
    border: none;
    /* border-right: 1px solid rgba(0,0,0,0.1); */ /* Optional separator */
    padding: 8px 16px;
    border-radius: 0; 
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.lang-btn-nav.active,
.lang-btn-nav:hover,
.lang-btn-nav:focus-visible { /* Added focus-visible for accessibility */
    background: var(--primary-brand);
    color: #fff;
}

/* .lang-btn-nav:last-child {
    border-right: none;
} */

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark); 
    transition: 0.3s;
    border-radius: 2px;
}

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

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Enhanced Header */
.main-header {
    background: linear-gradient(rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.8)), /* Darker, more sophisticated overlay */
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    color: #fff;
    padding: 10rem 0 7rem; 
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--navbar-height)); /* Offset the navbar padding */
    padding-top: calc(var(--navbar-height) + 7rem); /* Compensate navbar height + desired top padding for content */
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: var(--gradient-primary); */ /* Remove gradient overlay if main overlay is sufficient */
    /* opacity: 0.1; */
    z-index: 1;
}

.main-header .container {
    position: relative;
    z-index: 2;
}

.main-header h1 {
    font-size: 3.5rem; 
    margin: 0;
    color: var(--background-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.header-subtitle {
    font-size: 1.25rem; /* Slightly smaller for better hierarchy */
    margin-top: 20px;
    color: #E9ECEF; /* Lighter subtitle color */
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.header-cta {
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-brand); 
    color: white;
    padding: 15px 30px;
    border-radius: 6px; 
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: none; /* Remove border if background is strong */
}

.cta-button:hover,
.cta-button:focus-visible { /* Added focus-visible for accessibility */
    background: var(--primary-brand-dark); 
    transform: translateY(-2px);
    box-shadow: var(--shadow-md); /* Use defined shadow */
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Slightly more gap */
    background: transparent; /* Make secondary buttons ghost buttons */
    border: 1px solid #CED4DA; /* Light border for secondary buttons */
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.contact-btn:hover,
.contact-btn:focus-visible { /* Added focus-visible for accessibility */
    background: var(--primary-brand); /* Fill on hover */
    color: var(--background-white);
    border-color: var(--primary-brand);
    transform: translateY(-2px);
}

.contact-btn.line-btn {
    background: linear-gradient(135deg, #06c755 0%, #00b04f 100%);
}

/* Modern Section Styling */
section {
    padding: 70px 0; /* Slightly reduced section padding */
    /* position: relative; */ /* Remove if not strictly needed for pseudo-elements */
}

h2 {
    text-align: center;
    font-size: 2.5rem; 
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 50px; 
    position: relative;
}

/* h2::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
} */

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    display: none;
}

/* Intro Section */
#intro-th p, #intro-zh p, #intro-tw p { /* Apply to all intro paragraphs */
    font-size: 1.1rem; /* Slightly smaller for better balance */
    text-align: center;
    max-width: 900px;
    margin: 0 auto; /* Center directly under h2 */
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Enhanced Tabs */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Prevent wrapping if possible, allow scroll on mobile */
    margin: 0 0 40px; /* Adjust margin */
    gap: 10px;
    overflow-x: auto; /* Allow horizontal scroll on small screens */
}

.tab-button {
    padding: 15px 30px;
    cursor: pointer;
    background: var(--background-white);
    border: 1px solid #DEE2E6; 
    color: var(--text-primary); /* Slightly darker inactive tab text */
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
    /* position: relative; */ /* Simplify if ::before animation is removed or changed */
    overflow: hidden;
}
/*
.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-brand);
    transition: left 0.3s ease;
    z-index: 0;
} */ /* Remove ::before animation for cleaner tabs */

.tab-button span {
    position: relative;
    z-index: 1;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary-brand);
    border-color: var(--primary-brand);
    color: white;
    /* transform: translateY(-3px); */ /* Remove transform for a flatter design */
    /* box-shadow: 0 8px 25px var(--shadow); */
    outline: none; /* Remove default focus outline if using custom style */
}

.tab-button:focus-visible {
    outline: 2px solid var(--primary-brand);
    outline-offset: 2px;
}

/* Enhanced Tab Content */
.tab-content {
    display: none;
    background: var(--background-light); 
    padding: 30px; /* Slightly less padding */
    border-radius: 8px; 
    /* box-shadow: 0 10px 40px var(--shadow); */ /* Remove or soften shadow */
    /* border: 1px solid #E9ECEF; */ /* Remove border for flatter look */
    position: relative;
    overflow: hidden;
}

.tab-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary); /* Use gradient for tab content top border */
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content h3 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab-content ul {
    padding-left: 0;
    list-style: none;
}

.tab-content ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.tab-content ul li::before {
    content: '🔸';
    position: absolute;
    left: 0; /* Align with text */
    color: var(--accent-color);
}

.tab-content ul li b {
    color: var(--text-dark);
}

/* Enhanced Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly smaller min card width */
    gap: 25px; /* Slightly reduced gap */
    margin-top: 60px;
}

.highlight-card {
    background: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm); /* Lighter shadow for cards */
    transition: all 0.4s ease;
    position: relative;
    /* border: 1px solid #E9ECEF; */ /* Remove border for cleaner cards */
}
/*
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.highlight-card:hover::before {
    opacity: 0.1; 
} */ /* Optional: Remove overlay for cleaner card design */

.highlight-card:hover {
    transform: translateY(-4px); /* Even more subtle lift */
    box-shadow: var(--shadow-md); /* Use defined medium shadow on hover */
}

.highlight-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; /* Slightly slower image zoom */
}

.highlight-card:hover img {
    transform: scale(1.05); /* Less dramatic image zoom */
}

.highlight-card-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.highlight-card-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.highlight-card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Info Sections */
.info-section {
    background: var(--background-light); 
    padding: 40px; /* Reduced padding */
    border-radius: 8px;
    /* box-shadow: 0 15px 35px var(--shadow); */ /* Remove or soften shadow */
    /* border: 1px solid #E9ECEF; */ /* Remove border */
    /* position: relative; */ /* Remove if ::before is not essential */
    overflow: hidden;
}
/*
.info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary-brand);
    opacity: 0.05;
    border-radius: 50%;
} */ /* Optional: Remove decorative pseudo-element */

.info-section h2 {
    color: var(--text-primary);
    margin-bottom: 30px;
}

.info-section ul {
    padding-left: 0;
    list-style: none;
}

.info-section li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.info-section li::before {
    content: '🌟';
    position: absolute;
    left: 0;
}

.info-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.info-section b {
    color: var(--text-dark);
}

/* Enhanced Footer */
.footer {
    background: var(--background-light); /* Light footer */
    color: var(--text-secondary); /* Secondary text color for footer */
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary); /* Use gradient for footer top border */
}

/* ====================================================================== */
/*                          HERO SECTION                                 */
/* ====================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 38, 205, 0.8) 0%, rgba(45, 90, 61, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.highlight-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1F2937;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.5s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 4px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* ====================================================================== */
/*                        PACKAGES SECTION                               */
/* ====================================================================== */

.packages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #F3F4F6;
}

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

.package-card.featured {
    border: 2px solid var(--primary-brand);
    transform: scale(1.02);
}

.package-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1F2937;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.package-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.package-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.package-content {
    padding: 30px;
}

.package-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.package-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.package-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.package-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.highlight-tag {
    background: linear-gradient(135deg, var(--primary-brand), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
}

.price-from {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-brand);
}

.price-per {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.package-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-brand), var(--accent-color));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(106, 38, 205, 0.3);
}

.package-btn i {
    transition: transform 0.3s ease;
}

.package-btn:hover i {
    transform: translateX(4px);
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.modal-body {
    padding: 30px;
}

/* Package Detail Modal Styles */
.package-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F3F4F6;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-duration {
    background: var(--primary-brand);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-price {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1F2937;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4:before {
    content: "✨";
    font-size: 1rem;
}

.detail-highlights,
.detail-itinerary {
    list-style: none;
    padding: 0;
}

.detail-highlights li,
.detail-itinerary li {
    padding: 12px 0;
    border-bottom: 1px solid #F9FAFB;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.detail-highlights li:before {
    content: "🎯";
    position: absolute;
    left: 0;
    top: 12px;
}

.detail-itinerary li:before {
    content: "📍";
    position: absolute;
    left: 0;
    top: 12px;
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
    flex-wrap: wrap;
}

.contact-btn-modal {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, var(--primary-brand), var(--accent-color));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(106, 38, 205, 0.3);
}

.contact-btn-modal.line-btn {
    background: linear-gradient(135deg, #00B900, #00E600);
}

.contact-btn-modal.line-btn:hover {
    box-shadow: 0 10px 25px rgba(0, 185, 0, 0.3);
}

@media (max-width: 640px) {
    .detail-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .detail-duration,
    .detail-price {
        display: inline-block;
        margin-right: 12px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .contact-btn-modal {
        min-width: auto;
    }
}

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

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

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

/* Modern Animations and Effects */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for package cards */
.package-card {
    animation-fill-mode: both;
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.packages-section.is-visible .package-card {
    animation-name: slideInUp;
}

/* Highlight cards hover effects */
.highlight-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Button ripple effect */
.cta-button,
.package-btn,
.contact-btn-modal {
    position: relative;
    overflow: hidden;
}

.cta-button:before,
.package-btn:before,
.contact-btn-modal:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:active:before,
.package-btn:active:before,
.contact-btn-modal:active:before {
    width: 300px;
    height: 300px;
}

/* Improved navbar scroll effect */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Modern shadows */
.modern-shadow {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24);
}

.modern-shadow-lg {
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem; /* Slightly larger for better touch on tablet */
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--navbar-height-mobile);
    }
    
    .nav-container {
        height: var(--navbar-height-mobile);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%; /* Start off screen */
        top: var(--navbar-height-mobile); /* Position below navbar */
        flex-direction: column;        
        background-color: rgba(255, 255, 255, 0.98); /* Slightly more opaque for mobile menu */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 20px 0;
        backdrop-filter: blur(10px);
        gap: 15px;
    }

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

    .hamburger {
        display: flex;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .nav-logo i {
        font-size: 1.5rem;
    }

    .main-header {
        /* padding: 8rem 0 4rem; */ /* Original padding values, adjust as needed */
        margin-top: calc(-1 * var(--navbar-height-mobile));
        padding-top: calc(var(--navbar-height-mobile) + 5rem); /* Adjust 5rem as needed */
    }
    
    .main-header h1 { 
        font-size: 2.5rem; 
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    h2 { 
        font-size: 2.2rem; 
    }    
    
    .tabs { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 15px;
    }
    
    .tab-button { 
        width: 100%; 
        text-align: center; 
        border-radius: 6px; 
    }
    
    .tab-content,
    .info-section {
        padding: 30px 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .main-header h1 {
        font-size: 2.2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}