/* Trips collection page */

.trips-page {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */

.trips-header {
    background: #EAEFF2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 20px;
}

.trips-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trips-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.trips-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.trips-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trips-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2C5F7C;
    line-height: 1;
}

.trips-tagline {
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
}

.trips-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trips-nav-link {
    color: #2C5F7C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.trips-nav-link:hover {
    background: rgba(44, 95, 124, 0.08);
}

.trips-nav-btn {
    background: #2C5F7C;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.trips-nav-btn:hover {
    background: #1e4a62;
}

/* ── Hero ── */

.trips-hero {
    background: linear-gradient(135deg, #2C5F7C 0%, #1e4a62 100%);
    color: #fff;
    text-align: center;
    padding: 64px 24px;
}

.trips-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.trips-hero p {
    font-size: clamp(15px, 2vw, 18px);
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.88;
    line-height: 1.6;
}

/* ── Grid section ── */

.trips-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    width: 100%;
    box-sizing: border-box;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.trips-loading {
    text-align: center;
    padding: 64px 0;
    color: #666;
    font-size: 16px;
}

.trips-empty {
    text-align: center;
    padding: 64px 0;
    color: #888;
    font-size: 16px;
}

/* ── Trip card ── */

.trip-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.trip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.trip-card-img-wrap {
    position: relative;
}

.trip-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.trip-card-img-placeholder {
    background: linear-gradient(135deg, #3a7a9c 0%, #2C5F7C 100%);
    height: 200px;
}

.trip-card-img-credit {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

.trip-card-img-credit:hover { color: #fff; }

.trip-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.trip-card-region {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2C5F7C;
}

.trip-card-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a35;
    margin: 0;
    line-height: 1.25;
}

.trip-card-tagline {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.trip-card-meta {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.trip-card-meta-item {
    font-size: 13px;
    color: #666;
}

.trip-card-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #2C5F7C;
}

/* ── Bottom CTA ── */

.trips-cta {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    padding: 64px 24px;
}

.trips-cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a35;
    margin: 0 0 12px;
}

.trips-cta p {
    font-size: 16px;
    color: #555;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.trips-cta-btn {
    display: inline-block;
    background: #2C5F7C;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.15s;
}

.trips-cta-btn:hover {
    background: #1e4a62;
}

/* ── Footer ── */

.trips-footer {
    margin-top: auto;
    background: #EAEFF2;
    border-top: 1px solid #d0d8df;
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.trips-footer a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

.trips-footer a:hover {
    color: #2C5F7C;
    text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .trips-header-content {
        flex-wrap: wrap;
    }

    .trips-nav-link {
        font-size: 13px;
        padding: 4px 8px;
    }

    .trips-nav-btn {
        font-size: 13px;
        padding: 8px 16px;
    }

    .trips-footer {
        flex-wrap: wrap;
        gap: 12px;
    }

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