:root {
    --color-bg:              #f5f0e8;
    --color-surface:         #faf7f2;
    --color-surface-2:       #ede7da;
    --color-surface-offset:  #e0d8cb;
    --color-text:            #1e1a14;
    --color-text-muted:      #6b6256;
    --color-text-faint:      #b0a898;
    --color-primary:         #8b4513;
    --color-primary-hover:   #6b3410;
    --color-primary-active:  #4a2208;
    --color-primary-highlight: #f0dfd0;
    --color-accent-green:    #4a6741;
    --color-accent-sky:      #5b7fa6;
    --color-gold:            #c9960a;
    --color-divider:         #d4cdc2;
    --color-border:          #c8c0b4;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', 'Helvetica Neue', sans-serif;

    --text-hero: 4rem;
    --text-3xl: 3rem;
    --text-2xl: 2.25rem;
    --text-xl: 1.5rem;
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;

    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

[data-theme='dark'] {
    --color-bg:              #0f0d0a;
    --color-surface:         #161310;
    --color-surface-2:       #1d1a15;
    --color-surface-offset:  #26231c;
    --color-text:            #e8e0d4;
    --color-text-muted:      #8a8075;
    --color-text-faint:      #5c554e;
    --color-primary:         #c4633a;
    --color-primary-hover:   #a54e2b;
    --color-primary-active:  #8b4513;
    --color-primary-highlight: #3a1d0d;
    --color-accent-green:    #6a9467;
    --color-gold:            #e8b030;
    --color-divider:         #2a2622;
    --color-border:          #3d3832;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text);
    line-height: 1.1;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border-radius: 4px; }

input, select, textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
label { font-size: 0.875rem; margin-bottom: 4px; display: inline-block; color: var(--color-text-muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; font-family: var(--font-body); font-weight: 500; font-size: 1rem;
    border-radius: 4px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.btn-ghost-white { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-ghost { border-color: var(--color-border); color: var(--color-text); background: transparent; }
.btn-ghost:hover { border-color: var(--color-text); background: var(--color-surface-offset); }
.btn-full { width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 120px 0; }
.text-center { text-align: center; }
.color-primary { color: var(--color-primary); }
.color-muted { color: var(--color-text-muted); }

.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.animate-in { opacity: 1; transform: translateY(0); }

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

header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 16px 5%; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.4s, backdrop-filter 0.4s; }
header.scrolled { background: rgba(15, 13, 10, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; z-index: 101;}
.logo svg { width: 32px; height: 32px; fill: currentColor; }
.logo-text { font-size: 1.5rem; }
.logo-text .jost { font-family: var(--font-body); font-weight: 300; }
.logo-text .corm { font-family: var(--font-display); font-weight: 600; }

.nav-center { display: flex; gap: 32px; }
.nav-link { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #fff; position: relative; padding-bottom: 4px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-primary); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; z-index: 101;}
.theme-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 50%; transition: background 0.2s; }
.theme-btn:hover { background: rgba(255,255,255,0.1); }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; cursor: pointer; padding: 6px 10px; border-radius: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; transition: background 0.2s, border-color 0.2s; }
.lang-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hamburger { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }

.mobile-overlay { position: fixed; inset: 0; background: var(--color-bg); z-index: 99; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-link { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-text); }

.app-page { display: none; min-height: 100vh; }
.app-page.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero { position: relative; width: 100%; display: flex; align-items: center; overflow: hidden; }
.hero-full { height: 100dvh; }
.hero-half { height: 60vh; align-items: flex-end; padding-bottom: 60px; }
.hero-bg-wrap { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; z-index: -2; will-change: transform; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%); z-index: -1; }
.hero-content, .hero-content h1, .hero-content h2, .hero-content p { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }

.label-gold { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-gold); margin-bottom: 16px; }
.hero-h1 { font-size: var(--text-hero); line-height: 1.05; margin-bottom: 24px; }
.hero-p { font-size: var(--text-lg); font-weight: 300; opacity: 0.8; max-width: 480px; margin-bottom: 40px; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; transition: opacity 0.3s;}
.scroll-indicator.hidden { opacity: 0; pointer-events: none;}
.scroll-pulse-line { width: 1px; height: 30px; background: #fff; margin: 8px auto 0; animation: pulseDown 2s infinite; transform-origin: top; }
@keyframes pulseDown { 0% { transform: scaleY(0); opacity: 0; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; } }

.two-col { display: grid; grid-template-columns: 60% 40%; gap: 40px; align-items: center; }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: var(--text-2xl); color: var(--color-primary); line-height: 1.2; }
.trust-row { display: flex; gap: 32px; padding-top: 40px; border-top: 1px solid var(--color-divider); margin-top: 40px;}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text-muted); }
.trust-item[data-lucide] { width: 20px; height: 20px; color: var(--color-primary); }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.bento-card { position: relative; height: 400px; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none; color: #fff; border-bottom: 2px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%); z-index: -1; }
.bento-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); border-bottom-color: var(--color-primary); }
.bento-card:hover .bento-img { transform: scale(1.05); }
.bento-feat { grid-column: span 2; }
.bento-full { grid-column: span 3; }

.duration-badge { position: absolute; top: 24px; left: 24px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 20px; font-size: 12px; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.bento-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: 8px; color: #fff; }
.bento-desc { font-family: var(--font-body); font-weight: 300; font-size: 14px; opacity: 0.75; margin-bottom: 12px; }
.bento-footer { display: flex; justify-content: space-between; align-items: center; }
.bento-price { color: var(--color-gold); font-weight: 500; font-size: 14px; }
.bento-link { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.dest-card { background: var(--color-surface); border-radius: 4px; overflow: hidden; transition: box-shadow 0.3s; }
.dest-card:hover { box-shadow: var(--shadow-md); }
.dest-card-img { height: 200px; width: 100%; object-fit: cover; display: block; }
.dest-card-content { padding: 24px; }
.dest-card-content h4 { font-size: var(--text-lg); margin-bottom: 8px; }
.dest-card-content p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.dest-card-link { color: var(--color-primary); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.dest-card-link:hover { text-decoration: underline; }

.testim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.testim-card { padding: 32px; background: var(--color-bg); border-radius: 4px; }
.quote-icon { font-family: var(--font-display); font-size: 4rem; line-height: 0; color: var(--color-primary); margin-bottom: 24px; opacity: 0.5; }
.testim-card p { font-size: 1rem; color: var(--color-text); margin-bottom: 16px; }
.testim-author { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--color-text-muted); }

.dark-section { background: #161310; color: #fff; position: relative; padding: 120px 0; border-top: 1px solid #3d3832; overflow: hidden; }
.dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.7); margin: 0 auto 32px; }

.filter-bar { display: flex; gap: 12px; padding: 16px 5%; overflow-x: auto; background: var(--color-surface); border-bottom: 1px solid var(--color-border); position: sticky; top: 80px; z-index: 90; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn { padding: 8px 16px; border-radius: 20px; background: var(--color-surface-offset); border: none; font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); cursor: pointer; white-space: nowrap; transition: 0.2s; }
.filter-btn.active { background: var(--color-primary); color: #fff; }

.tour-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.tour-list-card { display: flex; background: var(--color-surface); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s; }
.tour-list-img { width: 40%; object-fit: cover; display: block; flex-shrink: 0; min-height: 250px; }
.tour-list-content { width: 60%; padding: 32px; display: flex; flex-direction: column; }
.tour-list-cat { font-size: 12px; background: var(--color-surface-offset); padding: 4px 10px; border-radius: 12px; display: inline-block; margin-bottom: 12px; width: fit-content; }
.tour-list-content h3 { font-size: var(--text-xl); margin-bottom: 12px; }
.tour-list-content p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; flex-grow: 1; }
.tour-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-text-muted); margin-bottom: 24px; flex-wrap: wrap;}
.tour-meta span { display: flex; align-items: center; gap: 4px; }
.tour-list-footer { display: flex; justify-content: space-between; align-items: center; }
.tour-list-price { font-size: 1.125rem; font-weight: 600; color: var(--color-primary); }
.tour-list-actions { display: flex; gap: 12px; }

.tour-overview-bar { display: flex; justify-content: space-around; background: var(--color-surface); padding: 24px; border-radius: 4px; box-shadow: var(--shadow-md); margin-top: -40px; position: relative; z-index: 10; margin-bottom: 60px; flex-wrap: wrap; gap: 16px;}
.overview-item { text-align: center; }
.overview-label { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; margin-bottom: 4px; }
.overview-val { font-size: 1.125rem; font-weight: 500; }

.tour-content-grid { display: grid; grid-template-columns: 65% 30%; gap: 5%; }
.tour-body p { margin-bottom: 16px; }
.sticky-booking { position: sticky; top: 120px; background: var(--color-surface-2); padding: 32px; border-radius: 4px; border: 1px solid var(--color-border); }
.sticky-price { font-size: var(--text-2xl); color: var(--color-primary); margin-bottom: 24px; font-family: var(--font-display); }
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.inc-list li, .exc-list li { margin-bottom: 12px; display: flex; gap: 8px; align-items: flex-start; }

.itinerary { margin-top: 40px; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 32px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 5px; top: 24px; bottom: -32px; width: 2px; background: var(--color-border); }
.timeline-item:last-child::before { display: none; }
.timeline-bullet { width: 12px; height: 12px; background: var(--color-primary); border-radius: 50%; margin-top: 6px; position: relative; z-index: 2; flex-shrink: 0;}
.timeline-time { font-weight: 600; width: 60px; flex-shrink: 0; }
.timeline-desc { padding-bottom: 16px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.gallery-img { aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block; border-radius: 4px; cursor: zoom-in; transition: transform 0.3s; }
.gallery-img:hover { transform: scale(1.03); }

.dest-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.dest-split.reverse { direction: rtl; }
.dest-split.reverse > * { direction: ltr; }
.dest-img { aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block; border-radius: 4px; box-shadow: var(--shadow-md); }
.dest-info-box { background: var(--color-surface); padding: 16px; border-left: 3px solid var(--color-primary); margin-top: 24px; font-size: 14px; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px;}
.guide-card { text-align: center; }
.guide-img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--color-surface-2); }
.guide-title { font-size: 14px; color: var(--color-primary); margin-bottom: 12px; }
.guide-quote { font-style: italic; font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }

.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; text-align: center; padding-top: 60px; border-top: 1px solid var(--color-divider); }
.value-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--color-primary); }

footer { background: #0f0d0a; color: #e8e0d4; padding: 80px 5% 40px; border-top: 1px solid #2a2622; }
.footer-grid { display: grid; grid-template-columns: 30% 1fr; gap: 60px; margin-bottom: 60px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; margin-bottom: 24px; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #8a8075; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-primary); }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { color: #fff; opacity: 0.7; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid #2a2622; font-size: 13px; color: #5c554e; }

dialog { margin: auto; padding: 0; border: none; border-radius: 8px; background: var(--color-surface); color: var(--color-text); max-width: 540px; width: 95%; box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.dialog-inner { padding: 40px; position: relative; }
.close-dialog { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--color-text-muted); cursor: pointer; padding: 8px; }
.dialog-title { margin-bottom: 24px; border-bottom: 1px solid var(--color-divider); padding-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-full { grid-column: span 2; }
.input-error { border-color: #d32f2f; }
.error-msg { color: #d32f2f; font-size: 12px; margin-top: 4px; display: none; }
#booking-success { display: none; text-align: center; padding: 40px 0; }
.success-circle { width: 64px; height: 64px; background: var(--color-accent-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: #fff; }

@media (max-width: 900px) {
    .two-col, .dest-split, .tour-content-grid { grid-template-columns: 1fr; }
    .bento-grid, .dest-grid { grid-template-columns: 1fr; }
    .bento-feat, .bento-full { grid-column: span 1; }
    .tour-list-grid, .testim-grid, .guide-grid, .values-row { grid-template-columns: 1fr; }
    .tour-list-card { flex-direction: column; }
    .tour-list-img { width: 100%; height: 200px; }
    .tour-list-content { width: 100%; }
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .footer-grid, .footer-cols { grid-template-columns: 1fr; }
    .nav-actions .btn { display: none; }
    :root { --text-hero: 3rem; --text-3xl: 2.5rem; --text-2xl: 2rem; }
    .sticky-booking { position: static; margin-top: 40px; }
}

.contact-grid { display: grid; grid-template-columns: 40% 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
