@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Pathfinder Theme: Maritime Pine & Naval Heritage (Light Aesthetic) --- */
:root {
    --bg: #F8FAF8;
    --bg-card: #FFFFFF;
    --bg-elevated: #F0F5F1;
    --fg: #15221B;
    --fg-muted: #4A5B52;
    --accent: #1B5E39; /* Rich Pine Forest Green */
    --accent-hover: #134529;
    --accent-2: #E76F51; /* Vibrant Coral CTA */
    --accent-2-hover: #D65A3D;
    --accent-3: #1D3557; /* Historic Naval Navy */
    --border: #DDE5E0;
    --border-light: #EEF2EF;
    --card-shadow: 0 4px 20px rgba(27, 94, 57, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--fg);
}

p {
    color: var(--fg);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

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

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(248, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(21, 34, 27, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-3);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent-2);
    color: #FFF !important;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--accent-2-hover);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fg);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 8rem 0 5rem 0;
    background: linear-gradient(rgba(21, 34, 27, 0.65), rgba(21, 34, 27, 0.75)), url('/assets/images/hero.jpg') center/cover no-repeat;
    color: #FFF;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(231, 111, 81, 0.9);
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: 3.2rem;
    color: #FFF;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.hero p {
    font-size: 1.25rem;
    color: #E2E8F0;
    max-width: 820px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: var(--accent-2);
    color: #FFF;
    box-shadow: 0 4px 14px rgba(231, 111, 81, 0.3);
}

.btn-primary:hover {
    background: var(--accent-2-hover);
    color: #FFF;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #FFF;
    color: var(--accent-3);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-3);
    color: var(--accent-3);
}

/* --- Key Takeaways (TL;DR) Callout Box --- */
.ia-takeaways {
    background: #EBF4EE;
    border-left: 5px solid var(--accent);
    padding: 1.5rem 1.8rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 2px 10px rgba(27, 94, 57, 0.05);
}

.ia-takeaways-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ia-takeaways-title::before {
    content: "🌲";
    font-size: 1.2rem;
}

.ia-takeaways ul {
    margin: 0;
    padding-left: 1.2rem;
}

.ia-takeaways li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    color: #21352A;
}

.ia-takeaways li:last-child {
    margin-bottom: 0;
}

/* --- 4-Tour Comparison Matrix --- */
.cmp-table-container {
    overflow-x: auto;
    margin: 2.5rem 0;
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    -webkit-overflow-scrolling: touch;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 0.95rem;
}

.cmp-table th, .cmp-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cmp-table th {
    background: #F0F5F1;
    color: var(--accent-3);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    position: relative;
}

.cmp-table th.highlight-col {
    background: #E4EFE7;
    border-top: 3px solid var(--accent);
}

.cmp-table td.highlight-col {
    background: rgba(27, 94, 57, 0.03);
}

.cmp-badge {
    display: inline-block;
    background: var(--accent-2);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.cmp-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.cmp-usd {
    font-size: 0.85rem;
    color: var(--fg-muted);
    font-weight: 400;
}

.cmp-btn {
    display: inline-block;
    background: var(--accent-2);
    color: #FFF !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
}

.cmp-btn:hover {
    background: var(--accent-2-hover);
}

/* Sticky first column on mobile */
@media (max-width: 768px) {
    .cmp-table th:first-child,
    .cmp-table td:first-child {
        position: sticky;
        left: 0;
        background: #F0F5F1;
        z-index: 2;
        width: 105px;
        min-width: 105px;
        max-width: 105px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
}

/* --- In-Article Callout Box --- */
.article-cta-box {
    background: linear-gradient(135deg, #F0F5F1 0%, #E8F0EA 100%);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent-2);
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    box-shadow: var(--card-shadow);
}

.article-cta-box h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: var(--accent-3);
}

.article-cta-box p {
    margin-bottom: 1.2rem;
    color: #2D3748;
}

/* --- Hotel Grid & Cards --- */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hotel-card {
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.hotel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
}

.hotel-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-badge {
    align-self: flex-start;
    background: #EBF4EE;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hotel-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--accent-3);
}

.hotel-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.hotel-features {
    list-style: none;
    font-size: 0.9rem;
    color: var(--fg-muted);
    margin-bottom: 1.2rem;
    flex: 1;
}

.hotel-features li {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hotel-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

/* --- Data & Transit Tables --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0 2.5rem 0;
}

.data-table th, .data-table td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.data-table th {
    background: #F0F5F1;
    color: var(--accent-3);
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    margin: 2rem 0;
}

.faq-item {
    background: #FFF;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(27, 94, 57, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
    background: #FDFEFC;
}

.faq-answer-inner {
    padding: 0 1.4rem 1.4rem 1.4rem;
    color: #374151;
    line-height: 1.7;
}

/* --- Mobile Sticky Booking Bar --- */
.sticky-book {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-top: 2px solid var(--accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    padding: 0.75rem 1.2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-book.visible {
    transform: translateY(0);
}

.sticky-book-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-book-info {
    display: flex;
    flex-direction: column;
}

.sticky-book-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
}

.sticky-book-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-3);
}

.sticky-book-usd {
    font-size: 0.85rem;
    color: var(--fg-muted);
    font-weight: 400;
}

.sticky-book-btn {
    background: var(--accent-2);
    color: #FFF !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(231, 111, 81, 0.3);
}

.sticky-book-btn:hover {
    background: var(--accent-2-hover);
}

/* --- Footer --- */
.footer {
    background: #15221B;
    color: #E2E8F0;
    padding: 4.5rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    color: #FFF;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent-2);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #A0AEC0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFF;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #A0AEC0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .burger { display: block; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: #F8FAF8;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border);
        z-index: 1000;
    }
    .nav-menu.active { left: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1.05rem; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
}
