/**
 * Ella Sri Lanka - Custom Styles
 * Color Palette: #113D31, #0F4A45, #AAB3A8, #C7E3E0, #3B2111, #000302, #0F2E26, #598884
 */

:root {
    /* Color Palette */
    --ella-dark-forest: #113D31;
    --ella-dark-teal: #0F4A45;
    --ella-sage: #AAB3A8;
    --ella-pale-blue: #C7E3E0;
    --ella-mahogany: #3B2111;
    --ella-black: #000302;
    --ella-dark-green: #0F2E26;
    --ella-teal: #598884;
    
    /* Semantic Colors */
    --ella-overlay: rgba(15, 46, 38, 0.85);
    --ella-overlay-light: rgba(17, 61, 49, 0.75);
    --ella-text: #ffffff;
    --ella-text-muted: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ella-text);
    overflow-x: hidden;
}

/* ========== Header - Sticky on scroll, glass effect ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: linear-gradient(135deg, rgba(199, 227, 224, 0.16) 0%, rgba(17, 61, 49, 0.4) 45%, rgba(15, 46, 38, 0.35) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.25s ease, transform 0.25s ease;
    /* Keeps header visible when user scrolls */
}

/* On scroll: slimmer, more solid, slightly elevated nav bar */
.header.scrolled {
    padding: 0.65rem 0;
    background: rgba(15, 46, 38, 0.96);
    border-bottom-color: rgba(199, 227, 224, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
}

/* Slightly tighten brand and nav text when scrolled for a compact look */
.header.scrolled .navbar-brand {
    font-size: 1.3rem;
}

.header.scrolled .brand-icon,
.header.scrolled .brand-logo {
    transform: scale(0.92);
}

.header.scrolled .nav-link {
    font-size: 0.8rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ella-text) !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--ella-teal);
    border-radius: 8px;
    font-weight: 800;
}

.brand-text {
    letter-spacing: 0.05em;
}

.brand-logo {
    max-height: 46px;
    width: auto;
    border-radius: 6px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--ella-text) !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ella-pale-blue) !important;
}

.btn-cta-header {
    background: #ffffff !important;
    color: var(--ella-black) !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========== All site pages: same fixed background (index, blog, hotels) ========== */
.site-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-page-body {
    flex: 1;
}

.site-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: linear-gradient(135deg, rgba(15, 46, 38, 0.72) 0%, rgba(17, 61, 49, 0.68) 50%, rgba(0, 3, 2, 0.65) 100%),
        url('../../nine-arch.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.site-page > header {
    z-index: 1000;
    /* keep position: fixed from .header; high z-index so header stays above content */
}

/* Prevent content from being hidden under the fixed header */
.site-page-body > main {
    padding-top: 5.5rem;
}

.site-page-body > main,
.site-page-body > section,
.site-page-body > div {
    position: relative;
    z-index: 1;
}

/* Index only: Hero and About keep their own section bg; Travel, Hotels, Explore use page bg only */
body.index-page .travel-to-ella {
    background-image: none;
}

body.index-page .travel-to-ella::before {
    display: none;
}

body.index-page .hotel-slider-section {
    background-image: none;
}

body.index-page .hotel-slider-section::before {
    display: none;
}

body.index-page .vehicle-slider-section {
    background-image: none;
}

body.index-page .vehicle-slider-section::before {
    display: none;
}

body.index-page .restaurant-slider-section {
    background-image: none;
}

body.index-page .restaurant-slider-section::before {
    display: none;
}

body.index-page .guider-slider-section {
    background-image: none;
}

body.index-page .guider-slider-section::before {
    display: none;
}

/* Index: Explore Destinations uses same background as rest of page (no local bg) */
body.index-page .explore-destinations::before,
body.index-page .explore-destinations::after {
    display: none;
}
body.index-page .explore-destinations {
    background: transparent;
}

/* Blog, Hotels and Vehicle Rentals pages: content areas use page bg (no solid fill) */
.site-page .hotels-listing,
.site-page .hotel-detail,
.site-page .blog-listing,
.site-page .blog-single,
.site-page .vehicles-listing,
.site-page .vehicle-detail,
.site-page .restaurants-listing,
.site-page .restaurant-detail,
.site-page .guiders-listing,
.site-page .guider-detail {
    background: transparent;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../nine-arch.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 46, 38, 0.5) 0%, rgba(0, 3, 2, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-left {
    padding: 2rem 0;
}

/* Startup text motion */
.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.hero-headline .line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: headlineReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-headline .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-headline .line:nth-child(2) {
    animation-delay: 0.45s;
}

@keyframes headlineReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left .btn-cta-hero {
    opacity: 0;
    transform: translateY(24px);
    animation: headlineReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.hero-left .trust-score {
    opacity: 0;
    transform: translateY(20px);
    animation: headlineReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

.hero-left .stat-card-left {
    opacity: 0;
    transform: translateY(20px);
    animation: headlineReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.btn-cta-hero {
    background: #ffffff !important;
    color: var(--ella-black) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.trust-score {
    margin-top: 2rem;
}

.trust-rating {
    font-size: 1.25rem;
    font-weight: 700;
}

.trust-icon {
    color: #f5c542;
    margin-left: 0.25rem;
}

.trust-text {
    font-size: 0.85rem;
    color: var(--ella-text-muted);
    margin-top: 0.25rem;
}

/* Stat Cards */
.stat-card {
    background: var(--ella-overlay);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: inline-block;
    backdrop-filter: blur(8px);
}

.stat-card-left {
    max-width: 200px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
}

/* Hero Right - startup motion */
.hero-right {
    padding: 2rem 0;
    position: relative;
}

.hero-right .hero-description {
    opacity: 0;
    transform: translateX(30px);
    animation: headlineReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-right .stat-card-explorers {
    opacity: 0;
    transform: translateX(30px);
    animation: headlineReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.hero-right .adventure-card {
    opacity: 0;
    transform: translateX(30px);
    animation: headlineReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

.hero-description {
    background: var(--ella-overlay);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ella-text-muted);
}

.stat-card-explorers {
    margin-bottom: 1.5rem;
}

.avatar-group {
    display: flex;
    margin-bottom: 0.5rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ella-teal);
    border: 2px solid var(--ella-dark-teal);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Adventure Card */
.adventure-card {
    background: var(--ella-overlay);
    border-radius: 12px;
    padding: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.adventure-card-image {
    height: 120px;
    background: linear-gradient(135deg, var(--ella-teal) 0%, var(--ella-dark-teal) 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.adventure-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.adventure-card p {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-cta-card {
    background: #ffffff !important;
    color: var(--ella-black) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-cta-card:hover {
    transform: translateY(-2px);
}

/* ========== About Ella Section ========== */
.about-ella {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    background-image: url('../../Train.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.about-ella-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 100%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 3, 2, 0.0) 00%);
}

.about-ella-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0 3rem;
}

.about-ella-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-ella-text {
    flex: 1;
    min-width: 280px;
    opacity: 0;
    transform: translateY(30px);
}

.about-ella.section-visible .about-ella-text {
    animation: headlineReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-ella-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--ella-text);
}

.about-title-script {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-style: italic;
}

.about-title-bold {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.about-ella-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ella-text-muted);
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.btn-explore-more {
    display: inline-block;
    background: var(--ella-pale-blue) !important;
    color: var(--ella-dark-forest) !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-explore-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 227, 224, 0.35);
}

.about-ella-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
}

.about-ella.section-visible .about-ella-profile {
    animation: headlineReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.about-profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.about-profile-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ella-text);
}

.about-profile-role {
    display: block;
    font-size: 0.85rem;
    color: var(--ella-text-muted);
}

/* About section responsive */
@media (max-width: 991px) {
    .about-ella {
        min-height: 75vh;
        background-attachment: scroll;
    }
    
    .about-ella-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-ella-profile {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .about-ella-content-wrap {
        padding: 3rem 0 2rem;
    }
}

/* ========== Travel to Ella Section ========== */
.travel-to-ella {
    padding: 5rem 0;
    position: relative;
    background-image: url('../../Train.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.travel-to-ella::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 46, 38, 0.82) 0%, rgba(17, 61, 49, 0.78) 50%, rgba(0, 3, 2, 0.75) 100%);
    z-index: 0;
}

.travel-to-ella .container {
    position: relative;
    z-index: 1;
}

.travel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.travel-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--ella-text);
    margin-bottom: 0.5rem;
}

.travel-subtitle {
    font-size: 1rem;
    color: var(--ella-text-muted);
    margin-bottom: 1rem;
}

.travel-override-btn {
    background: transparent;
    border: 1px solid var(--ella-pale-blue);
    color: var(--ella-pale-blue);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.travel-override-btn:hover {
    background: var(--ella-pale-blue);
    color: var(--ella-dark-forest);
}

/* Transport selector panel - Colombo → Ella leg */
.travel-transport-panel {
    margin-bottom: 1.75rem;
}

.travel-transport-heading {
    font-size: 0.95rem;
    color: var(--ella-text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.travel-transport-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 100%;
    margin: 0 auto;
}

.transport-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.35rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--ella-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.transport-option-card:hover {
    color: var(--ella-teal);
    border-bottom-color: rgba(199, 227, 224, 0.4);
}

.transport-option-card.selected {
    color: var(--ella-pale-blue);
    border-bottom-color: var(--ella-pale-blue);
    box-shadow: 0 2px 12px rgba(199, 227, 224, 0.25);
}

.transport-option-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.transport-option-label {
    text-align: center;
    line-height: 1.2;
}

.travel-override-section {
    margin-bottom: 1.5rem;
}

.travel-override-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.travel-override-form label {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
}

.travel-override-form input {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--ella-teal);
    background: rgba(255, 255, 255, 0.08);
    color: var(--ella-text);
}

.travel-override-form input::placeholder {
    color: var(--ella-sage);
}

.btn-travel-apply {
    background: var(--ella-pale-blue) !important;
    color: var(--ella-dark-forest) !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.travel-results {
    min-height: 120px;
}

.travel-loading {
    text-align: center;
    padding: 2rem;
}

.travel-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ella-teal);
    border-top-color: var(--ella-pale-blue);
    border-radius: 50%;
    animation: travelSpin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes travelSpin {
    to { transform: rotate(360deg); }
}

.travel-loading-text {
    color: var(--ella-text-muted);
    font-size: 0.95rem;
}

/* Journey section: transport buttons, then 2-column row (vehicles | route info) */
.journey-section-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
}

.transport-selection {
    margin-bottom: 1.5rem;
}

/* Two-column: Left = vehicle types, Right = Colombo to Ella route info */
.journey-two-column-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Keep left and right section titles aligned; same top spacing for card areas */
.journey-left-switcher .latest-vehicle-types-title,
.route-information .journey-colombo-card {
    margin-top: 0;
}

.bus-route-information .latest-vehicle-types-title,
.latest-vehicle-types .latest-vehicle-types-title {
    margin-bottom: 0.75rem;
}

.latest-vehicle-types {
    margin-bottom: 0;
}

.latest-vehicle-types-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 1rem;
}

.route-information {
    margin-top: 0;
}

/* Right column: invisible spacer same height as left column title so both cards start on same line */
.journey-colombo-title-spacer {
    visibility: hidden;
    pointer-events: none;
    margin-bottom: 0.75rem;
}

.journey-colombo-title-spacer.latest-vehicle-types-title {
    display: block;
}

/* Public transport: bus route card (same glass style as Colombo to Ella) */
.bus-route-information {
    margin-bottom: 0;
}

.bus-route-card-scroll {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.bus-route-card-scroll .journey-colombo-card {
    margin-bottom: 0;
}

.journey-colombo-card {
    background: var(--ella-overlay);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-rows: minmax(2.5em, auto) minmax(2em, auto) minmax(5.5em, auto) 1fr;
    row-gap: 0.5rem;
    align-content: start;
    min-height: 320px;
}

.journey-colombo-card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0;
}

.journey-colombo-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ella-teal);
    color: var(--ella-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.journey-colombo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.journey-colombo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ella-text);
    margin: 0;
}

.journey-colombo-subtitle {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
    margin-bottom: 1rem;
}

.journey-vt-cards-wrap.travel-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.journey-vt-empty,
.journey-vt-empty a {
    color: var(--ella-text-muted);
    font-size: 0.95rem;
}

.journey-vt-empty a {
    color: var(--ella-pale-blue);
    text-decoration: none;
}

.journey-vt-empty a:hover {
    text-decoration: underline;
}

.journey-vt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.journey-vt-card {
    background: linear-gradient(145deg, rgba(23, 61, 48, 0.85) 0%, rgba(9, 30, 24, 0.95) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-vt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.journey-vt-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.journey-vt-card-image-wrap {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.journey-vt-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.journey-vt-card-image--placeholder {
    background: linear-gradient(135deg, var(--ella-teal) 0%, var(--ella-dark-teal) 100%);
}

.journey-vt-card:hover .journey-vt-card-image {
    transform: scale(1.06);
}

.journey-vt-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.journey-vt-card-body {
    padding: 0.9rem 1rem;
}

.journey-vt-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.journey-vt-card-desc {
    font-size: 0.8rem;
    color: var(--ella-text-muted);
    margin-bottom: 0.4rem;
}

.journey-vt-card-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.5rem;
}

.journey-vt-price-row {
    font-size: 0.85rem;
    color: var(--ella-text-muted);
}

.journey-vt-price-row strong {
    color: var(--ella-pale-blue);
}

.journey-vt-card-cta {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: rgba(199, 227, 224, 0.2);
    color: var(--ella-text);
    border: 1px solid rgba(199, 227, 224, 0.4);
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.journey-vt-card:hover .journey-vt-card-cta {
    background: var(--ella-pale-blue);
    color: var(--ella-dark-forest);
}

@media (max-width: 576px) {
    .journey-vt-grid {
        grid-template-columns: 1fr;
    }
    .journey-vt-card-cta {
        display: block;
        text-align: center;
    }
}

.journey-colombo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}

.journey-colombo-meta-item {
    font-size: 0.9rem;
    color: var(--ella-sage);
}

/* Fixed min-height so both cards’ bullet lists start on the same horizontal line */
.journey-colombo-desc {
    font-size: 0.95rem;
    color: var(--ella-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.journey-colombo-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journey-colombo-details li {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
    line-height: 1.55;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.journey-colombo-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ella-teal);
}

.travel-results.journey-vehicles-loaded {
    width: 100%;
    max-width: 100%;
}

.journey-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.journey-vehicle-card {
    background: linear-gradient(145deg, rgba(23, 61, 48, 0.92) 0%, rgba(9, 30, 24, 0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.journey-vehicle-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.journey-vehicle-card-image-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.journey-vehicle-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.journey-vehicle-card-image--placeholder {
    background: linear-gradient(135deg, var(--ella-teal) 0%, var(--ella-dark-teal) 100%);
}

.journey-vehicle-card:hover .journey-vehicle-card-image {
    transform: scale(1.08);
}

.journey-vehicle-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.journey-vehicle-card-body {
    padding: 1.2rem 1.25rem 1.3rem;
}

.journey-vehicle-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.journey-vehicle-card-type {
    font-size: 0.85rem;
    color: var(--ella-sage);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.journey-vehicle-card-type-label {
    font-weight: 600;
    color: var(--ella-text-muted);
}

.journey-vehicle-card-desc {
    font-size: 0.88rem;
    color: var(--ella-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.journey-vehicle-card-rating {
    font-size: 0.9rem;
    color: var(--ella-pale-blue);
    margin-bottom: 0.4rem;
}

.journey-vehicle-card-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.journey-vehicle-price-row {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
}

.journey-vehicle-price-row strong {
    color: var(--ella-pale-blue);
    font-weight: 700;
}

.journey-vehicle-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    background: rgba(199, 227, 224, 0.16);
    color: var(--ella-text);
    border: 1px solid rgba(199, 227, 224, 0.45);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.journey-vehicle-card:hover .journey-vehicle-card-cta {
    background: var(--ella-pale-blue);
    color: var(--ella-dark-forest);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.journey-vehicles-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.journey-vehicles-empty-text {
    color: var(--ella-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.journey-vehicles-empty-text a {
    color: var(--ella-pale-blue);
    text-decoration: none;
}

.journey-vehicles-empty-text a:hover {
    text-decoration: underline;
}

.travel-location-warning {
    background: rgba(199, 227, 224, 0.15);
    color: var(--ella-pale-blue);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-travel-retry-inline {
    background: transparent;
    border: 1px solid var(--ella-pale-blue);
    color: var(--ella-pale-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

.travel-cta {
    margin-top: 2rem;
}

.travel-cta--minimal {
    text-align: center;
}

.travel-cta-card {
    background: var(--ella-overlay);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.travel-cta-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ella-text);
    margin-bottom: 0.75rem;
}

.travel-cta-card p {
    font-size: 0.95rem;
    color: var(--ella-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .travel-to-ella {
        padding: 3.5rem 0;
    }
    
    .travel-transport-grid {
        grid-template-columns: repeat(6, minmax(72px, 1fr));
        gap: 0.5rem;
        overflow-x: auto;
        justify-content: start;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .transport-option-card {
        font-size: 0.7rem;
        padding: 0.6rem 0.25rem;
        min-width: 0;
    }
    
    .transport-option-icon {
        font-size: 1.3rem;
    }
    
    /* Stack: vehicles first, then route info */
    .journey-two-column-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .journey-two-column-row .route-information {
        padding-top: 0;
    }
    
    .journey-colombo-title-spacer {
        display: none;
    }
    
    .latest-vehicle-types {
        margin-bottom: 0;
    }
    
    .journey-vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .journey-vehicle-card-cta {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .journey-colombo-card {
        padding: 1.25rem 1.25rem;
    }
}

/* ========== Explore Destinations Section (cinematic, masonry, glassmorphism) ========== */
.explore-destinations {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Full-width background image with slight blur (behind cards) */
.explore-destinations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../nine-arch.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
}

/* Dark green overlay - cinematic */
.explore-destinations::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 50, 30, 0.6);
    z-index: 1;
}

.explore-destinations .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.destinations-header {
    text-align: center;
    margin-bottom: 3rem;
}

.destinations-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    font-family: inherit;
}

.destinations-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Pinterest-like asymmetrical grid: 3 cols, masonry heights */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1rem;
    margin: 0 auto;
}

.dest-card {
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.dest-card-tall {
    grid-row: span 2;
}

.destinations-grid-dynamic .dest-card { grid-column: auto; grid-row: auto; }
.destinations-grid-dynamic .dest-card-tall { grid-row: span 2; }
.destinations-grid-dynamic .dest-card-short { grid-row: span 1; }

/* Staggered fade-in on scroll */
.explore-destinations.section-visible .dest-card {
    animation: headlineReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(1) { animation-delay: 0.05s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(2) { animation-delay: 0.1s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(3) { animation-delay: 0.15s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(4) { animation-delay: 0.2s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(5) { animation-delay: 0.25s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(6) { animation-delay: 0.3s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(7) { animation-delay: 0.35s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(8) { animation-delay: 0.4s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(9) { animation-delay: 0.45s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(10) { animation-delay: 0.5s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(11) { animation-delay: 0.55s; }
.explore-destinations.section-visible .destinations-grid-dynamic .dest-card:nth-child(12) { animation-delay: 0.6s; }

.destinations-grid-dynamic .dest-card-tall .dest-card-inner { min-height: 380px; }
.destinations-grid-dynamic .dest-card-short .dest-card-inner { min-height: 280px; }

/* Card link: full area clickable */
.dest-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.dest-card-link:hover { color: inherit; }

/* Card inner: 25px radius, overflow hidden, hover scale 1.05 + shadow + elevation */
.dest-card-inner {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-card:hover .dest-card-inner {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Background image + zoom on hover */
.dest-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.dest-card:hover .dest-card-bg {
    transform: scale(1.08);
}

.dest-card-bg-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--ella-dark-green) 0%, rgba(17, 61, 49, 0.9) 100%);
    border-radius: 25px;
}

/* Bottom dark gradient overlay - text readability */
.dest-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 45%, transparent 75%);
    border-radius: 25px;
}

/* Content: bottom-left, white text, soft shadow */
.dest-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.75rem 1.5rem 1.25rem;
}

.dest-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    font-family: inherit;
}

.dest-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dest-card-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Circle avatar with initials (glassmorphism style) */
.dest-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 50, 30, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.dest-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dest-profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.dest-profile-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Empty state */
.destinations-empty {
    text-align: center;
    padding: 3rem 1rem;
}
.destinations-empty-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.destinations-footer {
    text-align: right;
    margin-top: 2rem;
}

.dest-see-more {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ella-pale-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.dest-see-more:hover {
    color: #ffffff;
}

/* ========== Footer ========== */
.site-footer {
    padding: 2rem 0;
    background: var(--ella-dark-green);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-links {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.footer-legal-links a {
    color: var(--ella-pale-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: var(--ella-text);
    text-decoration: underline;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
    margin-bottom: 0.5rem;
}

.footer-credit {
    font-size: 0.9rem;
    color: var(--ella-text-muted);
}

.footer-link {
    color: var(--ella-pale-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--ella-text);
}

/* Explore Destinations responsive: 2 cols tablet, 1 col mobile */
@media (max-width: 991px) {
    .explore-destinations {
        min-height: auto;
        padding: 4rem 0;
    }
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .destinations-grid-dynamic .dest-card-tall .dest-card-inner { min-height: 320px; }
    .destinations-grid-dynamic .dest-card-short .dest-card-inner { min-height: 280px; }
}

@media (max-width: 576px) {
    .explore-destinations {
        padding: 3.5rem 0;
    }
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .destinations-grid-dynamic .dest-card-tall .dest-card-inner,
    .destinations-grid-dynamic .dest-card-short .dest-card-inner {
        min-height: 320px;
    }
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .hero-left,
    .hero-right {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .stat-card-left {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-card-explorers .avatar-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}
