/* Transport Page Specific Styles - Spain Edition */
body {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    color: white;
}

.transport-page-wrapper {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    min-height: 70vh;
    padding-bottom: 100px;
    margin-bottom: -50px;
    overflow: hidden;
}

.transport-hero {
    padding: 100px 20px 60px 20px;
    text-align: center;
    color: white;
}

.transport-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -1px;
}

.transport-hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
}

.popular-routes {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.route-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-chip:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: #FF6B00;
    transform: translateY(-2px);
}

.transport-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.planner-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.planner-input-group {
    margin-bottom: 20px;
    position: relative;
}

.planner-input-group label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 700;
}

.planner-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.planner-input:focus {
    border-color: #FF6B00;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 6px;
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #e2e8f0;
}

.autocomplete-item:hover {
    background: rgba(255, 107, 0, 0.2);
    color: white;
}

.combined-date-time {
    display: flex;
    gap: 15px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 24px;
}

.dt-half {
    flex: 1;
}

.dt-half label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 4px;
}

.clean-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    outline: none;
    width: 100%;
}

.dt-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-search {
    width: 100%;
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.5);
}

.suggestions-wrapper {
    margin-top: 24px;
}

.suggestions-title {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.results-area {
    margin-top: 30px;
}

.journey-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.journey-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.vehicle-id {
    font-size: 11px;
    color: #64748b;
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.journey-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    background: rgba(30, 41, 59, 0.5);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.time-block {
    display: flex;
    flex-direction: column;
}

.time-block.arrival {
    text-align: right;
}

.time-main {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.station-name {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 4px;
    line-height: 1.3;
}

.platform-tag {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.journey-duration-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

.duration-time {
    font-size: 13px;
    font-weight: 800;
    color: #FF6B00;
}

.duration-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF6B00, rgba(255,107,0,0.3));
    margin: 6px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration-line i {
    font-size: 12px;
    color: #FF6B00;
    background: #1e293b;
    padding: 0 6px;
}

.direct-tag {
    font-size: 11px;
    color: #22c55e;
    font-weight: 700;
    text-transform: uppercase;
}

.journey-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.operator-name {
    font-size: 12px;
    color: #64748b;
}

.journey-badge {
    background: rgba(255, 107, 0, 0.15);
    color: #FF6B00;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.provider-wrapper {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.provider-link {
    color: #94a3b8;
    text-decoration: underline;
}

/* Sidebar Cross-Sell Widget */
.cross-sell-widget {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.cross-sell-widget img {
    width: 70px;
    margin-bottom: 14px;
}

.cross-sell-widget h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: white;
}

.cross-sell-widget p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.price-tag {
    font-size: 22px !important;
    font-weight: 900;
    color: #FF6B00 !important;
    margin: 16px 0 !important;
}

.btn-buy-esim {
    display: block;
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    padding: 14px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-buy-esim:hover {
    transform: scale(1.03);
}

/* SEO Content Section */
.seo-content-container {
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.seo-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.seo-icon {
    font-size: 24px;
    color: #FF6B00;
    margin-bottom: 12px;
}

.seo-card h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: white;
}

.seo-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.faq-section {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
}

.faq-section h2 {
    font-size: 26px;
    margin: 0 0 30px 0;
    color: white;
}

.faq-item {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.faq-summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.faq-content {
    margin-top: 12px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.back-home-wrapper {
    margin-top: 40px;
    text-align: center;
}

.back-home-btn {
    text-decoration: none;
    display: inline-flex;
}

@media (max-width: 900px) {
    .transport-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .transport-hero {
        padding: 80px 16px 40px 16px;
    }
    .transport-hero h1 {
        font-size: 2rem;
    }
    .planner-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .combined-date-time {
        flex-direction: column;
        gap: 10px;
    }
    .dt-divider {
        width: 100%;
        height: 1px;
    }
    .journey-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .journey-card > div:last-child {
        text-align: left !important;
        width: 100%;
        border-top: 1px dashed rgba(255,255,255,0.1);
        padding-top: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .faq-section {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .route-chip {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}
