:root {
    /* Fresh Tropical Morning Theme */
    --bg-color: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;

    /* Fresh Hues */
    --color-primary: #06B6D4;
    /* Cyan 500 */
    --color-secondary: #0EA5E9;
    /* Sky 500 */
    --color-accent: #10B981;
    /* Emerald 500 */
    --color-highlight: #FACC15;
    /* Amber 400 */
    --color-coral: #FB7185;
    /* Rose 400 */

    /* Shared Gradients */
    --gradient-primary: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-text: linear-gradient(90deg, #06B6D4, #0EA5E9, #10B981);
    --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 40px rgba(6, 182, 212, 0.1);
    --shadow-hover: 0 20px 60px rgba(6, 182, 212, 0.2);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-color: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;

    /* More vibrant hues for dark mode */
    --color-primary: #22D3EE;
    --color-secondary: #38BDF8;
    --color-accent: #34D399;
    --color-highlight: #FDE047;

    --gradient-card: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

.text-highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.logo-image {
    display: block;
    height: 3.6rem;
    width: auto;
    max-width: min(58vw, 320px);
    filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.28));
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/* Dropdown Navigation */
.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown>.nav-link::before {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 0.4rem;
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.1);
    margin-top: 1rem;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.dropdown-item:hover {
    color: var(--color-primary);
    background: rgba(6, 182, 212, 0.05);
    padding-left: 2rem;
}

.dropdown-item:hover::before {
    height: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, var(--bg-card) 0%, var(--bg-color) 100%);
    overflow: hidden;
    text-align: center;
}

/* Decorative Blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 15s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 18s infinite ease-in-out reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    min-height: 500px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

/* Glassmorphism spheres for a premium look */
.hero-image::before,
.hero-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
}

.hero-image::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    top: -10%;
    right: -10%;
}

.hero-image::after {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition);
    position: relative;
}

.hero-image.img-failed::after {
    content: '✈️';
    font-size: 8rem;
    position: absolute;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.5));
    animation: float 4s infinite ease-in-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.2));
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 254, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 254, 0.2);
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

/* Cards & Grids */
.section {
    padding: 6rem 10%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

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

/* Journey Map Explorer */
.map-explorer-section {
    padding-top: 0;
}

.hero-map-shell {
    flex-direction: column !important;
    padding: 1.5rem !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(10px);
}

.hero-map-intro {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.map-explorer-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin: -1.5rem auto 2rem;
    max-width: 720px;
    font-size: 1.05rem;
}

.map-option-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.map-option-btn {
    border: 1px solid rgba(6, 182, 212, 0.35);
    background: rgba(6, 182, 212, 0.06);
    color: var(--text-secondary);
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
}

.map-option-btn:hover {
    color: var(--color-primary);
    border-color: rgba(6, 182, 212, 0.55);
}

.map-option-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.35);
}

.map-tab-icon {
    display: inline-block;
    margin-right: 0.6rem;
    font-size: 1.1rem;
    vertical-align: middle;
}

.map-tab-icon-real::before {
    content: '🗺️';
}

.map-tab-icon-globe::before {
    content: '🌍';
}

.map-tab-icon-focus::before {
    content: '🧭';
}

.map-option-panels {
    background: linear-gradient(135deg, rgba(11, 42, 86, 0.96), rgba(24, 64, 118, 0.95));
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 24px 60px rgba(6, 182, 212, 0.16);
}

.map-panel {
    display: none;
}

.map-panel.is-active {
    display: block;
}

.map-canvas {
    width: 100%;
    min-height: 560px;
    border-radius: 22px;
    overflow: hidden;
    background: #0b2a56;
}

.map-canvas .map-fallback {
    min-height: 560px;
    display: grid;
    place-items: center;
    color: #dbeafe;
    font-weight: 600;
    padding: 1.5rem;
}

#journey-globe-map .modebar {
    display: none !important;
}

.timeline-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 1rem;
}

.timeline-map-canvas {
    min-height: 560px;
}

.timeline-map-wrap {
    width: 100%;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .timeline-layout {
        grid-template-columns: 1fr;
    }

    .timeline-map-canvas {
        min-height: 380px;
    }
}

.timeline-side {
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 1rem;
    color: #e2ecf6;
}

.timeline-controls {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.timeline-controls label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bfdbfe;
    font-weight: 700;
}

.timeline-controls input[type="range"] {
    width: 100%;
    accent-color: #10b981;
}

.timeline-play-btn {
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    color: #0f172a;
    background: linear-gradient(135deg, #22d3ee, #10b981);
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    max-height: 430px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.4rem;
}

.timeline-list::-webkit-scrollbar {
    width: 5px;
}

.timeline-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.timeline-list::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 10px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.45);
    padding: 0.62rem;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: rgba(34, 211, 238, 0.58);
    transform: translateX(2px);
}

.timeline-item.active {
    border-color: rgba(16, 185, 129, 0.9);
    background: rgba(16, 185, 129, 0.18);
}

.timeline-step-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.25);
    color: #e2ecf6;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.timeline-item.active .timeline-step-index {
    background: #10b981;
    color: #062028;
}

.timeline-step-title {
    color: #e2ecf6;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.timeline-step-title:hover {
    color: #22d3ee;
}

.timeline-step-meta {
    margin: 0.15rem 0 0;
    color: #cbd5e1;
    font-size: 0.8rem;
}

.leaflet-container {
    font-family: var(--font-body);
}

.map-point-tooltip {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.4);
    padding: 0.2rem 0.55rem;
}

.map-point-tooltip.leaflet-tooltip-top:before {
    border-top-color: rgba(15, 23, 42, 0.92);
}

.map-point-link {
    color: #e2ecf6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.map-point-link:hover {
    color: #22d3ee;
}

/* Travel Grid */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.travel-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.travel-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
}

.card-img-placeholder {
    height: 240px;
    background: linear-gradient(135deg, #16213E, #1A1A2E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
}

/* Add a diagonal overlay to placeholder */
.card-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 14, 23, 0.8) 100%);
}

.card-content {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 800;
}

.card-date {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.card-link {
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    gap: 1rem;
    color: var(--color-teal);
}

/* Page Headers */
.page-header {
    padding: 12rem 5% 8rem;
    text-align: center;
    background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-color) 100%);
    position: relative;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.share-page-btn {
    margin-top: 1rem;
    padding: 0.8rem 2rem !important;
    gap: 0.8rem;
    font-size: 0.85rem !important;
    border-radius: 12px !important;
}

/* Content Sections */
.content-section {
    padding: 6rem 10%;
}

.content-block {
    margin-bottom: 5rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
}

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.vm-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vm-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Travelers/Board */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-card);
    padding: 2.5rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-img-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.member-name {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 6rem 5% 4rem;
    text-align: center;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    position: relative;
}

.footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.footer-links {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: left;
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-group h4 {
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.footer-links a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--color-primary);
    opacity: 1;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.05);
}

.social-links a:hover {
    color: var(--color-accent);
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 5%;
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-secondary);
        padding: 6rem 2rem;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 107, 53, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

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

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

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 1.5rem;
        display: none;
        min-width: auto;
        margin-top: 0.5rem;
    }

    .nav-item.has-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-container {
        flex-direction: column-reverse;
        padding-top: 6rem;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }
}

/* Comments Section */
.comments-section {
    background: radial-gradient(circle at bottom, var(--bg-card) 0%, var(--bg-color) 100%);
    padding-bottom: 8rem;
}

.giscus-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(6, 182, 212, 0.15);
    box-shadow: var(--shadow-hover);
    margin-top: 2rem;
}

/* ========================================
   PHOTO GALLERY COMPONENT STYLES
   ======================================== */

.gallery-coming-soon {
    padding: 3rem;
    text-align: center;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    margin: 2rem 0;
}

.gallery-coming-soon h3 {
    color: var(--color-orange);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.gallery-coming-soon p {
    color: var(--text-secondary);
    margin: 0;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.view-btn {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 254, 0.05);
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.view-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.view-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Gallery Container */
.gallery-container {
    margin-top: 2rem;
}

/* Grid View */
.gallery-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* List View */
.gallery-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-container.list-view .photo-card {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.gallery-container.list-view .photo-wrapper {
    flex: 0 0 400px;
}

.gallery-container.list-view .photo-info {
    flex: 1;
}

/* Photo Card */
.photo-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.2);
    border-color: rgba(0, 180, 216, 0.3);
}

.photo-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
}

/* Photo Overlay */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
    pointer-events: auto;
}

.fullscreen-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--color-pink);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fullscreen-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

/* Photo Info (List View) */
.photo-info {
    padding: 1.5rem;
}

.photo-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.photo-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========================================
   LIGHTBOX / FULLSCREEN VIEWER
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    transform: rotate(90deg);
}

.lightbox-image-container {
    width: min(100%, 1800px);
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.photo-counter {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav:hover:not(:disabled) {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .logo-image {
        height: 2.9rem;
        max-width: min(62vw, 240px);
    }

    .map-explorer-subtitle {
        margin-top: -1rem;
        font-size: 0.95rem;
    }

    .map-option-panels {
        padding: 0.7rem;
        border-radius: 20px;
    }

    .map-option-toggle {
        gap: 0.5rem;
    }

    .map-option-btn {
        font-size: 0.78rem;
        padding: 0.62rem 0.85rem;
    }

    .map-canvas {
        min-height: 420px;
        border-radius: 14px;
    }

    .timeline-layout {
        grid-template-columns: 1fr;
    }

    .timeline-map-canvas {
        min-height: 360px;
    }

    .timeline-list {
        max-height: none;
    }

    .gallery-container.grid-view {
        grid-template-columns: 1fr;
    }

    .gallery-container.list-view .photo-card {
        flex-direction: column;
    }

    .gallery-container.list-view .photo-wrapper {
        flex: 1;
        width: 100%;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-content {
        padding: 1rem;
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    font-size: 1.5rem;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-hover);
    background: var(--color-primary);
    color: white;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--color-highlight);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--color-highlight);
    color: var(--bg-color);
}