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

:root {
    --primary-color: #6B8E9F;
    --secondary-color: #4A6B7A;
    --accent-color: #F5F5F0;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --card-bg: #FAFAF5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--accent-color);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: #6B8E9F; transition: all 0.3s ease; }

/* ── PAGE HERO ── */
.page-hero {
    padding: 140px 20px 70px;
    text-align: center;
    background: linear-gradient(135deg, #e8eef1 0%, var(--accent-color) 60%, #eaf0ec 100%);
    border-bottom: 1px solid rgba(107,142,159,0.15);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto;
}

/* ── TAB NAV ── */
.tab-nav-wrapper {
    position: sticky;
    top: 64px;
    z-index: 900;
    background: rgba(245,245,240,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107,142,159,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tab-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    flex: 0 0 auto;
    padding: 1rem 1.4rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.25s, border-color 0.25s;
    white-space: nowrap;
}

.tab-btn:hover { color: var(--primary-color); }
.tab-btn.active { color: var(--secondary-color); border-bottom-color: var(--primary-color); }

/* ── MAIN LAYOUT ── */
main { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }

/* ── TAB PANELS ── */
.tab-panel { display: none; padding-top: 56px; }
.tab-panel.active { display: block; }

/* ── SECTION HEADERS ── */
.section-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.4rem;
    padding-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--primary-color);
}

.section-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 680px;
    line-height: 1.8;
}

.subsection { margin-bottom: 3rem; }

.subsection-label {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.subsection-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(107,142,159,0.25);
}

/* ── CARDS ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    border-left: 4px solid var(--primary-color);
    flex-direction: column;
    gap: 0.6rem;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.card-icon { font-size: 1.8rem; }

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.card-distance {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(107,142,159,0.12);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 0.25rem;
    width: fit-content;
}

.card-desc { color: var(--text-light); font-size: 0.97rem; line-height: 1.7; }

.card-address {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

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

.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }

.tag {
    font-size: 0.75rem;
    padding: 2px 9px;
    border-radius: 20px;
    background: rgba(107,142,159,0.1);
    color: var(--secondary-color);
    font-weight: 500;
}

/* ── WIDE GRID (day trips / waterfalls) ── */
.cards-grid-wide {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* ── HIGHLIGHTED CARD ── */
.card-highlight {
    border-left: 4px solid var(--primary-color);
}

/* ── VIBE BADGE ── */
.vibe-badge {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-light);
}

.vibe-badge strong { color: var(--secondary-color); font-style: normal; }

/* ── TIPS BOX ── */
.tips-box {
    background: linear-gradient(135deg, rgba(107,142,159,0.1), rgba(107,142,159,0.05));
    border: 1px solid rgba(107,142,159,0.25);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 2.5rem;
}

.tips-box h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.tips-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.tips-list li { color: var(--text-light); font-size: 0.95rem; display: flex; gap: 0.6rem; }
.tips-list li::before { content: '💧'; flex-shrink: 0; }

/* ── PANEL INTRO TEXT ── */
.panel-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ── FOOTER ── */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.4rem;
}

.footer-note {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-container { position: relative; padding: 1rem 14px; }

    .nav-logo {
        position: relative;
        left: 45%;
        transform: translateX(-50%);
        z-index: 1001;
        pointer-events: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--accent-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .page-hero h1 { font-size: 2.4rem; }

    .tab-btn { padding: 0.9rem 1rem; font-size: 0.8rem; }

    .cards-grid,
    .cards-grid-wide { grid-template-columns: 1fr; }

    .section-heading { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .page-hero { padding: 120px 20px 50px; }
    .page-hero h1 { font-size: 2rem; }
}
