@import url('shared-theme.css?v=20260430w');

.hero {
    background:
        linear-gradient(90deg, rgba(2, 11, 16, 0.9), rgba(5, 24, 32, 0.66), rgba(6, 23, 31, 0.5)),
        linear-gradient(180deg, rgba(6, 23, 31, 0.08), #031118 96%),
        url("../assets/images/header_8.jpg") center/cover;
}

.hero h1,
.hero p {
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
}

.hero h1 {
    animation-delay: 0.3s;
}

.hero p {
    animation-delay: 0.5s;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container.tips-page {
    padding-top: 62px;
    padding-bottom: 42px;
}

.section-title--spaced {
    margin-top: 60px;
}

.tips-filter {
    display: flex;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    scrollbar-width: thin;
}

.filter-tab {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.filter-tab::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--teal);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: rgba(105, 208, 196, 0.22);
    background: rgba(105, 208, 196, 0.12);
    color: var(--text);
}

.filter-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.tips-section.is-hidden {
    display: none;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0 68px;
}

.tip-card,
.info-box,
.final-checklist {
    opacity: 0;
    transform: translateY(28px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 48px rgba(0, 8, 14, 0.34);
    backdrop-filter: blur(24px) saturate(1.05);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.tip-card.visible,
.info-box.visible,
.final-checklist.visible {
    opacity: 1;
    transform: translateY(0);
}

.tip-card.is-filter-hiding {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

.tip-card:nth-child(3n + 1) { transition-delay: 0ms; }
.tip-card:nth-child(3n + 2) { transition-delay: 100ms; }
.tip-card:nth-child(3n) { transition-delay: 200ms; }

.tip-card.is-filter-hidden {
    display: none;
}

.tip-card.visible:hover,
.info-box.visible:hover,
.final-checklist.visible:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow: 0 28px 70px rgba(0, 6, 10, 0.46), var(--glow);
}

.tip-card {
    padding: 28px;
}

.tip-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: var(--dark);
}

.tip-icon i {
    font-size: 1.7rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 16px;
    padding: 0 12px;
    border: 1px solid rgba(218, 239, 242, 0.16);
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
}

.category-essential {
    background: rgba(255, 209, 102, 0.12);
    color: var(--warning);
}

.category-tips {
    background: rgba(143, 201, 216, 0.14);
    color: var(--info);
}

.category-beginner {
    background: rgba(95, 240, 177, 0.12);
    color: var(--success);
}

.tip-card h3,
.info-box h3,
.final-checklist h3 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
}

.info-box h3 > i,
.final-checklist h3 > i,
.info-box h4 > i {
    color: var(--teal);
}

.tip-card ul,
.info-box ul,
.final-checklist ul {
    display: grid;
    gap: 9px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.tip-card li,
.info-box li,
.final-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.tip-card li > i,
.info-box li > i,
.final-checklist li > i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--teal);
}

.pro-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(143, 212, 203, 0.22);
    border-radius: 10px;
    background: rgba(143, 212, 203, 0.1);
    color: var(--text);
    line-height: 1.65;
}

.pro-tip i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--warning);
}

.info-box {
    margin: 30px 0;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(148, 181, 189, 0.14), rgba(48, 77, 88, 0.08)),
        linear-gradient(90deg, rgba(143, 201, 216, 0.12), transparent);
}

.info-box--warning {
    border-left: 4px solid var(--warning);
    background:
        linear-gradient(90deg, rgba(255, 209, 102, 0.12), transparent),
        rgba(255, 255, 255, 0.065);
}

.info-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-box h4 {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text);
}

.final-checklist {
    margin: 44px 0 68px;
    padding: 30px;
}

.final-checklist ul {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.final-checklist li {
    padding: 12px;
    border: 1px solid rgba(218, 239, 242, 0.12);
    border-radius: 10px;
    background: rgba(151, 183, 191, 0.08);
}

.tips-cta {
    padding: 76px 0;
    border-top: 1px solid rgba(105, 208, 196, 0.18);
    border-bottom: 1px solid rgba(105, 208, 196, 0.18);
    background:
        linear-gradient(135deg, rgba(105, 208, 196, 0.14), rgba(147, 198, 216, 0.05)),
        rgba(7, 19, 25, 0.76);
}

.tips-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.tips-cta h2 {
    margin-bottom: 8px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.tips-cta p {
    color: var(--muted);
    line-height: 1.7;
}

.tips-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tips-cta-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tips-cta-btn:hover {
    transform: translateY(-2px);
}

.tips-cta-primary {
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: var(--dark);
    box-shadow: 0 12px 28px rgba(105, 208, 196, 0.18);
}

.tips-cta-secondary {
    border: 1px solid rgba(229, 238, 241, 0.24);
    background: transparent;
    color: var(--text);
}

.tips-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.065);
}

@media (max-width: 768px) {
    .container.tips-page {
        padding-top: 44px;
    }

    .tips-filter {
        margin-right: -14px;
        margin-left: -14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .tip-card,
    .info-box,
    .final-checklist {
        padding: 22px;
    }

    .final-checklist ul {
        grid-template-columns: 1fr;
    }

    .tips-cta-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .tips-cta-actions,
    .tips-cta-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero p,
    .tip-card,
    .info-box,
    .final-checklist,
    .tips-cta-btn {
        animation: none;
        transition: none;
    }

    .hero h1,
    .hero p,
    .tip-card,
    .info-box,
    .final-checklist {
        opacity: 1;
        transform: none;
    }
}

/* === Final Teal Travel Page Override === */
:root {
    --bg: #eef4f7;
    --bg-2: #f6f9fb;
    --panel: #ffffff;
    --line: #d9e3ea;
    --line-strong: #b9c8d3;
    --text: #10202b;
    --muted: #607080;
    --primary: #0f766e;
    --teal: #0f766e;
    --cyan: #256d85;
    --warning: #d97706;
    --success: #15803d;
    --danger: #b91c1c;
    --shadow: 0 14px 34px rgba(16, 32, 43, 0.09);
}

body {
    background: #eef4f7 !important;
    color: var(--text) !important;
}

h1,
h2,
h3,
h4,
p,
li,
span {
    color: inherit;
}

.header,
.tip-card,
.info-box,
.final-checklist,
.packing-list,
.checklist-card,
.tips-panel,
.important-note {
    background: #ffffff !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow) !important;
}

.logo h1,
.header h1,
.tip-card h3,
.info-box h3,
.final-checklist h3,
.section-title,
h2,
h3 {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}

.hero h1,
.hero p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.logo p,
.header p,
.tip-card p,
.info-box p,
.final-checklist p,
.tip-card li,
.info-box li {
    color: var(--muted) !important;
}

.nav a {
    color: #263747 !important;
}

.nav a:hover,
.nav a.active {
    color: var(--primary) !important;
    background: #e8f5f3 !important;
    border-color: #b8ded8 !important;
}

.tips-cta-btn,
.btn,
button {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18) !important;
}
/* === End Final Teal Travel Page Override === */

/* === Coastal Blue Client Page Override === */
:root {
    --bg: #f3f8fb;
    --panel: #ffffff;
    --line: #d9e7ef;
    --line-strong: #b8ccd8;
    --text: #14283a;
    --muted: #63768a;
    --primary: #1f7a9c;
    --teal: #1f7a9c;
    --cyan: #4ea7c8;
    --warning: #d99a2b;
    --shadow: 0 16px 38px rgba(20, 40, 58, 0.1);
}

body {
    background: #f3f8fb !important;
    color: var(--text) !important;
}

.header,
.tip-card,
.info-box,
.final-checklist,
.packing-list,
.checklist-card,
.tips-panel,
.important-note {
    background: #ffffff !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow) !important;
}

.hero h1,
.hero p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.logo h1,
.header h1,
.tip-card h3,
.info-box h3,
.final-checklist h3,
.section-title,
h2,
h3 {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}

.logo p,
.header p,
.tip-card p,
.info-box p,
.final-checklist p,
.tip-card li,
.info-box li {
    color: var(--muted) !important;
}

.nav a {
    color: #2d4053 !important;
}

.nav a:hover,
.nav a.active {
    color: var(--primary) !important;
    background: #eaf6fb !important;
    border-color: #bfe1ee !important;
}

.tips-cta-btn,
.btn,
button {
    background: #e6b44f !important;
    border-color: #e6b44f !important;
    color: #14283a !important;
    box-shadow: 0 12px 26px rgba(170, 121, 34, 0.2) !important;
}
/* === End Coastal Blue Client Page Override === */
