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

:root {
    --deep: #0a1f14;
    --forest: #143524;
    --moss: #1e4d35;
    --emerald: #2a7a4b;
    --sage: #6ba368;
    --gold: #c4982a;
    --gold-light: #dbb455;
    --gold-pale: #f0dda0;
    --cream: #f8f4ec;
    --parchment: #efe9dc;
    --warm-white: #faf8f4;
    --text: #1a1815;
    --text-light: #4a4238;
    --text-muted: #6e665c;
    --shadow: 0 4px 24px rgba(10,31,20,0.10);
    --shadow-lg: 0 12px 48px rgba(10,31,20,0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    background: var(--cream);
    color: var(--text);
    font-size: 19px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ═══════════════════════ CELTIC PATTERN ═══════════════════════ */
.celtic-divider {
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.5;
    margin: 8px 0;
}
.celtic-divider::before, .celtic-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.celtic-knot {
    width: 32px;
    height: 32px;
    position: relative;
}
.celtic-knot::before, .celtic-knot::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
}
.celtic-knot::before { transform: translate(-65%, -50%); }
.celtic-knot::after { transform: translate(-35%, -50%); }

/* ═══════════════════════ NAVIGATION ═══════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s ease;
    background: transparent;
}
nav.scrolled {
    background: rgba(10,31,20,0.95);
    backdrop-filter: blur(12px);
    padding: 12px 40px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-links a {
    color: var(--gold-pale);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(196,152,42,0.15);
    color: var(--gold-light);
}
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    transition: all 0.3s ease;
}

/* ═══════════════════════ HERO ═══════════════════════ */
#hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--deep);
}
.hero-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        #1a2a3a 0%, #2a3d4a 20%, #4a6a5a 40%,
        #7a9a7a 60%, #9ab89a 75%, #c8d8c0 90%, #d8e4cc 100%
    );
}
.hero-mist {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(248,244,236,0.3) 100%);
}
.hero-layer {
    position: absolute;
    bottom: 0; left: -5%; right: -5%;
    height: 40%;
}
.hero-layer-1 {
    height: 55%;
    background: #1e3a28;
    clip-path: polygon(0% 65%, 8% 50%, 15% 55%, 25% 35%, 32% 42%, 40% 28%, 50% 38%, 58% 25%, 65% 35%, 72% 30%, 80% 40%, 88% 32%, 95% 45%, 100% 38%, 100% 100%, 0% 100%);
    opacity: 0.5;
}
.hero-layer-2 {
    height: 45%;
    background: #153020;
    clip-path: polygon(0% 58%, 5% 50%, 12% 55%, 20% 40%, 30% 48%, 38% 35%, 48% 45%, 55% 32%, 62% 42%, 70% 35%, 78% 45%, 85% 38%, 92% 50%, 100% 42%, 100% 100%, 0% 100%);
    opacity: 0.7;
}
.hero-layer-3 {
    height: 35%;
    background: linear-gradient(180deg, #0f2518, #0a1a10);
    clip-path: polygon(0% 55%, 10% 45%, 18% 52%, 25% 42%, 35% 50%, 45% 38%, 52% 48%, 60% 40%, 68% 50%, 75% 42%, 82% 55%, 90% 45%, 100% 52%, 100% 100%, 0% 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    animation: heroFadeIn 2s ease forwards;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    animation: heroFadeIn 2s ease 0.3s both;
}
.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    animation: heroFadeIn 2s ease 0.5s both;
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    color: rgba(248,244,236,0.7);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 40px;
    animation: heroFadeIn 2s ease 0.7s both;
}
.hero-cta {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    padding: 14px 40px;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: heroFadeIn 2s ease 0.9s both;
}
.hero-cta:hover {
    background: var(--gold);
    color: var(--deep);
}
.hero-scroll {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: scrollBounce 2s ease infinite;
}
.hero-scroll span {
    display: block; width: 20px; height: 32px;
    border: 2px solid rgba(196,152,42,0.5);
    border-radius: 12px;
    position: relative;
}
.hero-scroll span::after {
    content: '';
    position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 8px;
    background: var(--gold-light);
    border-radius: 2px;
    animation: scrollDot 2s ease infinite;
}
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ═══════════════════════ SECTIONS ═══════════════════════ */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--forest);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ═══════════════════════ ITINERARY ═══════════════════════ */
.day-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.day-tab {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--parchment);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}
.day-tab:first-child { border-radius: 4px 0 0 4px; }
.day-tab:last-child { border-radius: 0 4px 4px 0; }
.day-tab:hover { border-color: var(--gold); color: var(--gold); }
.day-tab.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--gold-light);
}
.day-content { display: none; animation: fadeUp 0.5s ease; }
.day-content.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.day-header {
    text-align: center;
    margin-bottom: 40px;
}
.day-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--forest);
    margin-bottom: 6px;
}
.day-header .day-route {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.timeline {
    position: relative;
    padding-left: 48px;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-light), var(--moss), var(--gold-light));
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 20px 28px;
    background: var(--warm-white);
    border-radius: 8px;
    border: 1px solid rgba(30,77,53,0.08);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 2px var(--gold);
}
.timeline-time {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}
.timeline-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
}
.timeline-why {
    font-size: 0.95rem;
    color: var(--moss);
    font-style: italic;
    font-weight: 500;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--parchment);
}
.timeline-fact {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 6px;
}
.timeline-wiki {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    margin-left: 8px;
    padding: 2px 8px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.timeline-wiki:hover {
    background: var(--gold);
    color: var(--deep);
}
.timeline-maps {
    color: var(--emerald);
    border-color: var(--emerald);
}
.timeline-maps:hover {
    background: var(--emerald);
    color: #fff;
}
.day-route-link {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--emerald);
    text-decoration: none;
    margin-left: 12px;
    padding: 2px 10px;
    border: 1px solid var(--emerald);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.day-route-link:hover {
    background: var(--emerald);
    color: #fff;
}
.timeline-toggle-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}
.timeline-tag {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-top: 8px;
    margin-right: 4px;
}
.tag-food { background: #fef3e0; color: #b87a2a; }
.tag-sight { background: #e8f5e9; color: #2e7d32; }
.tag-nature { background: #e0f2f1; color: #00695c; }
.tag-culture { background: #f3e5f5; color: #7b1fa2; }
.tag-adventure { background: #e3f2fd; color: #1565c0; }
.tag-transport { background: #e3f2fd; color: #1565c0; }

/* ═══════════════════════ MAP ═══════════════════════ */
.map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
#map {
    height: 500px;
    border-radius: 12px;
    border: 3px solid var(--forest);
    box-shadow: var(--shadow-lg);
}
.map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* ═══════════════════════ CARDS GRID ═══════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.card {
    background: var(--warm-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(30,77,53,0.06);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196,152,42,0.2);
}
.card-img {
    height: 180px;
    position: relative;
    overflow: hidden;
}
.card-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-img-bg { transform: scale(1.05); }
.card-img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px 12px;
    background: linear-gradient(transparent, rgba(10,31,20,0.8));
}
.card-img-label {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
}
.card-body { padding: 22px 24px; }
.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 8px;
}
.card-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 12px;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ═══════════════════════ PLACES TOGGLE ═══════════════════════ */
.place-toggle-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}
.place-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.place-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    border-radius: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.place-toggle input:checked + .toggle-slider {
    background: var(--emerald);
}
.place-toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}
.place-card.place-selected {
    border-color: var(--emerald);
    box-shadow: var(--shadow), 0 0 0 2px rgba(42,122,75,0.2);
}
.place-why {
    font-size: 0.95rem;
    color: var(--moss);
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--parchment);
}
.place-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.place-fact-tooltip {
    cursor: help;
    border-bottom: 1px dotted var(--text-muted);
}

/* ═══════════════════════ FILTERS & TRIP ACTIONS ═══════════════════════ */
.places-filters {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--parchment);
    color: var(--text-light);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--gold-light);
}

.trip-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.btn-celtic {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 24px;
    background: var(--forest);
    color: var(--gold-light);
    border: 1px solid var(--forest);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-celtic:hover { background: var(--moss); border-color: var(--moss); }
.btn-celtic.btn-secondary {
    background: transparent;
    border-color: var(--parchment);
    color: var(--text-light);
}
.btn-celtic.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.trip-stats {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}
.manual-badge {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    background: #fef3e0;
    color: #b87a2a;
}

/* ═══════════════════════ DRAG & DROP ═══════════════════════ */
.drag-handle {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: grab;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.3;
    transition: opacity 0.3s;
    user-select: none;
    padding: 4px;
}
.timeline-item:hover .drag-handle { opacity: 0.8; }
.drag-handle:active { cursor: grabbing; }
.sortable-ghost {
    opacity: 0.3;
    border: 2px dashed var(--gold) !important;
    background: var(--parchment) !important;
}
.sortable-chosen {
    box-shadow: var(--shadow-lg) !important;
}
.sortable-drag {
    opacity: 0.9;
}

/* ═══════════════════════ TRANSPORT ═══════════════════════ */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.transport-card {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 28px;
    border: 1px solid rgba(30,77,53,0.06);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}
.transport-card:hover { transform: translateY(-4px); }
.transport-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.transport-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--forest);
    margin-bottom: 8px;
}
.transport-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ═══════════════════════ WEATHER ═══════════════════════ */
.weather-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.weather-card {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(30,77,53,0.06);
}
.weather-icon { font-size: 2.2rem; margin-bottom: 8px; }
.weather-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--forest);
    margin-bottom: 4px;
}
.weather-temp { font-family: 'Cinzel', serif; font-size: 1.3rem; color: var(--gold); }
.weather-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.weather-tips {
    background: linear-gradient(135deg, var(--forest), var(--moss));
    border-radius: 10px;
    padding: 32px;
    color: var(--cream);
}
.weather-tips h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 16px;
}
.weather-tips ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}
.weather-tips li {
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
    opacity: 0.9;
}
.weather-tips li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--gold-light);
}

/* ═══════════════════════ CHECKLIST ═══════════════════════ */
.checklist-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.checklist-group {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(30,77,53,0.06);
}
.checklist-group h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--parchment);
}
.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.checklist-item.checked { opacity: 0.5; }
.checklist-item.checked .check-label { text-decoration: line-through; }
.check-box {
    width: 22px;
    height: 22px;
    border: 2px solid var(--moss);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.checklist-item.checked .check-box {
    background: var(--emerald);
    border-color: var(--emerald);
}
.check-box svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.checklist-item.checked .check-box svg { opacity: 1; }
.check-label { font-size: 1rem; color: var(--text); font-weight: 500; }
.checklist-progress { text-align: center; margin-bottom: 40px; }
.progress-bar-bg {
    width: 300px;
    max-width: 100%;
    height: 8px;
    background: var(--parchment);
    border-radius: 4px;
    margin: 12px auto 0;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--moss), var(--gold));
    border-radius: 4px;
    transition: width 0.5s ease;
}
.progress-text {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ═══════════════════════ BUDGET ═══════════════════════ */
.budget-container { max-width: 800px; margin: 0 auto; }
.budget-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.budget-stat {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}
.budget-stat-label {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.budget-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--forest);
}
.budget-stat-value.gold { color: var(--gold); }
.budget-stat-value.emerald { color: var(--emerald); }
.budget-add {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.budget-add input, .budget-add select {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    padding: 10px 16px;
    border: 1px solid var(--parchment);
    border-radius: 6px;
    background: var(--warm-white);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}
.budget-add input:focus, .budget-add select:focus { border-color: var(--gold); }
.budget-add input[type="text"] { flex: 2; min-width: 150px; }
.budget-add input[type="number"] { flex: 1; min-width: 100px; }
.budget-add select { flex: 1; min-width: 120px; }
.budget-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 24px;
    background: var(--forest);
    color: var(--gold-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.budget-btn:hover { background: var(--moss); }
.budget-table-wrap {
    background: var(--warm-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.budget-table { width: 100%; border-collapse: collapse; }
.budget-table th {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: var(--forest);
    padding: 12px 20px;
    text-align: left;
}
.budget-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--parchment);
    font-size: 0.95rem;
}
.budget-table tr:last-child td { border-bottom: none; }
.budget-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
}
.budget-delete:hover { color: #c0392b; background: #fdecea; }
.budget-empty {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* ═══════════════════════ EMERGENCY ═══════════════════════ */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.emergency-card {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
}
.emergency-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--forest);
    margin-bottom: 12px;
}
.emergency-card p, .emergency-card li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}
.emergency-card ul { list-style: none; }
.emergency-card li { padding: 4px 0; }
.emergency-card li strong { color: var(--text); }
.phrases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.phrase-card {
    background: linear-gradient(135deg, var(--forest), var(--moss));
    border-radius: 8px;
    padding: 20px;
    color: var(--cream);
}
.phrase-irish {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 2px;
}
.phrase-pron { font-style: italic; font-size: 0.85rem; opacity: 0.6; margin-bottom: 6px; }
.phrase-eng { font-size: 0.9rem; opacity: 0.85; }

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
    background: var(--deep);
    padding: 60px 40px 40px;
    text-align: center;
    color: rgba(248,244,236,0.4);
}
.footer-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 8px;
}
.footer-text { font-size: 0.9rem; font-style: italic; }
.footer-gaelic {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-top: 20px;
    opacity: 0.6;
}

/* ═══════════════════════ LOADING ═══════════════════════ */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--parchment);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-celtic.loading { opacity: 0.6; pointer-events: none; }

/* ═══════════════════════ DISABLED PLACE ═══════════════════════ */
.timeline-item-disabled {
    opacity: 0.45;
    filter: grayscale(0.6);
    background: var(--parchment);
    pointer-events: auto;
}
.timeline-item-disabled:hover {
    transform: none;
    box-shadow: var(--shadow);
}
.timeline-item-disabled .timeline-title {
    text-decoration: line-through;
}
.timeline-item-disabled .drag-handle { opacity: 0.15; }
.timeline-item-disabled::before {
    background: var(--text-muted);
    box-shadow: 0 0 0 2px var(--text-muted);
}
/* Keep the toggle fully interactive even when item is muted */
.timeline-item-disabled .timeline-toggle-wrap {
    opacity: 1;
    filter: none;
    pointer-events: auto;
}

/* ═══════════════════════ DISTANCE CONNECTOR ═══════════════════════ */
.timeline-distance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -8px 0 24px;
    padding-left: 0;
    position: relative;
}
.timeline-distance::before,
.timeline-distance::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.timeline-distance-pill {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--cream);
    border: 1px solid var(--gold-pale);
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ═══════════════════════ DAY MINIMAP ═══════════════════════ */
.day-minimap-wrap {
    margin-bottom: 28px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.day-minimap {
    height: 200px;
    border-radius: 10px;
    border: 2px solid var(--forest);
    box-shadow: var(--shadow);
}

/* ═══════════════════════ PHOTO GALLERY ═══════════════════════ */
.place-gallery {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-pale) transparent;
}
.place-gallery::-webkit-scrollbar { height: 4px; }
.place-gallery::-webkit-scrollbar-thumb { background: var(--gold-pale); border-radius: 2px; }
.gallery-thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(30,77,53,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.gallery-thumb:hover {
    transform: scale(1.08);
    border-color: var(--gold);
    box-shadow: 0 2px 8px rgba(196,152,42,0.25);
}

/* ═══════════════════════ GALLERY LIGHTBOX ═══════════════════════ */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 31, 20, 0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
.gallery-lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--cream);
    margin-top: 12px;
    opacity: 0.8;
}
.lightbox-counter {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--gold-pale);
    margin-top: 6px;
    opacity: 0.6;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--gold-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}
.lightbox-close:hover { color: var(--cream); }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(196,152,42,0.15);
    border: 1px solid rgba(196,152,42,0.3);
    color: var(--gold-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 16px 12px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
    z-index: 10;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(196,152,42,0.35);
    color: var(--cream);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 768px) {
    .section { padding: 60px 20px; }
    .map-wrapper { padding: 0 20px; }
    #map { height: 350px; }
    .weather-grid { grid-template-columns: repeat(2, 1fr); }
    .budget-summary { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(10,31,20,0.97);
        padding: 20px;
        gap: 4px;
    }
    .nav-links.open a { padding: 12px 20px; }
    .nav-hamburger { display: flex; }
    .day-tabs { gap: 2px; }
    .day-tab { padding: 8px 12px; font-size: 0.65rem; }
    .timeline { padding-left: 38px; }
    .timeline-item { padding-right: 68px; }
    .timeline-wiki, .timeline-maps { display: inline-block; margin-top: 4px; margin-left: 0; margin-right: 4px; }
    .cards-grid { grid-template-columns: 1fr; }
    .day-minimap { height: 160px; }
    .gallery-thumb { width: 64px; height: 44px; }
    .lightbox-prev, .lightbox-next { padding: 10px 8px; font-size: 1.2rem; }
}
