﻿/* Reset & Base */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    background-color: #f4f7f6;

    color: #333;

    line-height: 1.6;

}



/* Typography */

h1,

h2,

h3,

h4 {

    color: #2c3e50;

    font-weight: 600;

}



a {

    color: #3498db;

    text-decoration: none;

    transition: color 0.2s;

}



a:hover {

    color: #2980b9;

}



/* Layout */

.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



/* Header & Nav */

.site-header {

    background: #fff;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    position: sticky;

    top: 0;

    z-index: 100;

}



.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 20px;

    max-width: 1200px;

    margin: 0 auto;

}



.logo {

    font-size: 1.5rem;

    font-weight: 700;

    color: #2c3e50;

    letter-spacing: -0.5px;

}



.nav-links {

    display: flex;

    list-style: none;

    gap: 25px;

}



.nav-links a {

    color: #555;

    font-weight: 500;

    font-size: 0.95rem;

}



.nav-links a:hover,

.nav-links a.active {

    color: #3498db;

}



.mobile-menu-btn {

    display: none;

    background: none;

    border: none;

    font-size: 1.5rem;

    cursor: pointer;

    color: #333;

}



/* Cards */

.card {

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

    padding: 20px;

    margin-bottom: 20px;

    border: 1px solid rgba(0, 0, 0, 0.05);

}



/* Badges */

.badge {

    padding: 4px 10px;

    border-radius: 20px;

    font-size: 0.8rem;

    font-weight: 600;

}



.badge-success {

    background: #e8f8f5;

    color: #1abc9c;

}



.badge-warning {

    background: #fef5e7;

    color: #f39c12;

}



.badge-danger {

    background: #fdedec;

    color: #e74c3c;

}



/* Buttons */

.btn {

    display: inline-block;

    padding: 8px 16px;

    background: #3498db;

    color: #fff;

    border-radius: 6px;

    font-weight: 500;

    text-align: center;

    cursor: pointer;

    border: none;

    transition: background 0.2s;

}



.btn:hover {

    background: #2980b9;

    color: #fff;

}



.btn-sm {

    padding: 5px 10px;

    font-size: 0.85rem;

}



/* Overview Grid */

.overview-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;

    margin: 30px 0;

}



.overview-card {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.overview-card h3 {

    margin-bottom: 15px;

    border-bottom: 2px solid #f0f2f5;

    padding-bottom: 10px;

}



/* Section Titles */

.section-title {

    margin: 40px 0 20px;

    font-size: 1.8rem;

    position: relative;

    padding-left: 15px;

}



.section-title::before {

    content: '';

    position: absolute;

    left: 0;

    top: 5px;

    bottom: 5px;

    width: 4px;

    background: #3498db;

    border-radius: 2px;

}



/* Flight Details Section (Largest) */

.flight-section {

    margin-bottom: 50px;

}



/* Tabs */

.tabs-header {

    display: flex;

    border-bottom: 2px solid #e0e0e0;

    margin-bottom: 20px;

}



.tab-btn {

    background: none;

    border: none;

    padding: 12px 24px;

    font-size: 1rem;

    font-weight: 600;

    color: #7f8c8d;

    cursor: pointer;

    border-bottom: 3px solid transparent;

    margin-bottom: -2px;

    transition: all 0.2s;

}



.tab-btn:hover {

    color: #3498db;

}



.tab-btn.active {

    color: #3498db;

    border-bottom-color: #3498db;

}



.tab-pane {

    display: none;

}



.tab-pane.active {

    display: block;

    animation: fadeIn 0.3s ease;

}



/* Accordion */

.accordion-btn {

    width: 100%;

    text-align: left;

    background: #f8f9fa;

    border: 1px solid #e9ecef;

    padding: 15px 20px;

    font-size: 1.1rem;

    font-weight: 600;

    color: #2c3e50;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-radius: 8px;

    margin-bottom: 10px;

}



.accordion-btn .icon {

    transition: transform 0.3s;

}



.accordion-btn.active .icon {

    transform: rotate(180deg);

}



.accordion-content {

    display: none;

    padding: 10px 0;

}



.accordion-content.active {

    display: block;

}



/* Flight Summary Card */

.flight-summary-card {

    background: linear-gradient(to right, #ffffff, #f8f9fa);

    border-left: 4px solid #3498db;

}



.summary-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid #eee;

}



.summary-details {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    gap: 15px;

}



.summary-item {

    display: flex;

    flex-direction: column;

}



.summary-item .label {

    font-size: 0.8rem;

    color: #7f8c8d;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 4px;

}



.summary-item .value {

    font-weight: 600;

    color: #2c3e50;

}



/* Timeline & Segments */

.flight-timeline {

    position: relative;

    padding: 20px 0;

}



.segment-card {

    border-radius: 12px;

    margin-bottom: 0;

    position: relative;

    z-index: 2;

}



.segment-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    padding-bottom: 10px;

    border-bottom: 1px dashed #eee;

}



.airline-info {

    font-weight: 600;

    color: #34495e;

    display: flex;

    gap: 10px;

    align-items: center;

}



.flight-no {

    color: #7f8c8d;

    font-size: 0.9rem;

    background: #ecf0f1;

    padding: 2px 8px;

    border-radius: 4px;

}



.duration {

    font-size: 0.9rem;

    color: #7f8c8d;

    font-weight: 500;

}



.segment-body {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}



.station {

    text-align: center;

    flex: 1;

}



.station.dep {

    text-align: left;

}



.station.arr {

    text-align: right;

}



.time {

    font-size: 1.6rem;

    font-weight: 700;

    color: #2c3e50;

    line-height: 1.2;

}



.date {

    font-size: 0.85rem;

    color: #7f8c8d;

    margin-bottom: 5px;

}



.airport {

    font-weight: 500;

}



.loc-link {

    color: #2980b9;

    font-weight: 600;

}



.loc-link:hover {

    text-decoration: underline;

}



.terminal {

    color: #95a5a6;

    font-size: 0.85rem;

    margin-left: 4px;

}



.flight-line {

    flex: 1.5;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 15px;

    color: #bdc3c7;

}



.flight-line .line {

    height: 2px;

    background: #bdc3c7;

    width: 100%;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: -1;

}



.flight-line i {

    background: #fff;

    padding: 0 10px;

    font-style: normal;

    font-size: 1.2rem;

}



.segment-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 15px;

    border-top: 1px solid #eee;

    font-size: 0.9rem;

    color: #7f8c8d;

}



/* Layover Card */

.layover-card {

    display: flex;

    align-items: center;

    padding: 15px 20px;

    background: #fdfefe;

    border-left: 3px solid #f39c12;

    margin: 15px 0 15px 40px;

    border-radius: 0 8px 8px 0;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

}



.layover-icon {

    font-size: 1.5rem;

    color: #f39c12;

    margin-right: 15px;

}



.layover-title {

    font-weight: 600;

    color: #d68910;

    margin-bottom: 4px;

}



.layover-note {

    font-size: 0.85rem;

    color: #7f8c8d;

}



.layover-note.customs {

    color: #e74c3c;

    font-weight: 500;

}



/* Hotel Cards */

.hotels-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

    gap: 20px;

}



.hotel-card {

    border-top: 4px solid #3498db;

    transition: transform 0.2s, box-shadow 0.2s;

}



.hotel-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

}



.hotel-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid #eee;

}



.hotel-name-group {

    display: flex;

    align-items: center;

    gap: 10px;

}



.hotel-name-group h3 {

    margin: 0;

    font-size: 1.15rem;

}



.hotel-group-badge {

    padding: 3px 10px;

    border-radius: 20px;

    font-size: 0.75rem;

    font-weight: 700;

}



.badge-blue {

    background: #e8f4fd;

    color: #2980b9;

}



.badge-pink {

    background: #fce4ec;

    color: #e91e63;

}



.hotel-nights {

    font-size: 1.4rem;

    font-weight: 700;

    color: #3498db;

}



.hotel-body {

    margin-bottom: 15px;

}



.hotel-info-row {

    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-bottom: 15px;

}



.hotel-label {

    font-size: 0.8rem;

    color: #7f8c8d;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    font-weight: 600;

}



.hotel-dates {

    display: flex;

    align-items: center;

    gap: 15px;

    background: #f8f9fa;

    border-radius: 8px;

    padding: 12px 15px;

    margin-bottom: 12px;

}



.hotel-date-item {

    flex: 1;

}



.hotel-date-value {

    font-weight: 600;

    color: #2c3e50;

    font-size: 0.95rem;

}



.hotel-date-arrow {

    color: #bdc3c7;

    font-size: 1.3rem;

    font-weight: 700;

}



.hotel-notes {

    font-size: 0.85rem;

    color: #f39c12;

    background: #fef9e7;

    padding: 8px 12px;

    border-radius: 6px;

    border-left: 3px solid #f39c12;

}



.hotel-footer {

    padding-top: 12px;

    border-top: 1px solid #eee;

}



/* Timeline / Schedule */

.day-tabs-header {

    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 15px;

    margin-bottom: 25px;

    border-bottom: 2px solid #e0e0e0;

}



.day-tab-btn {

    background: #f8f9fa;

    border: 2px solid #e9ecef;

    padding: 10px 18px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;

    color: #7f8c8d;

    transition: all 0.2s;

    white-space: nowrap;

    text-align: center;

    min-width: 80px;

}



.day-tab-btn small {

    font-weight: 400;

    color: #95a5a6;

}



.day-tab-btn:hover {

    border-color: #3498db;

    color: #3498db;

}



.day-tab-btn.active {

    background: #3498db;

    color: #fff;

    border-color: #3498db;

}



.day-tab-btn.active small {

    color: rgba(255, 255, 255, 0.8);

}



.day-pane {

    display: none;

}



.day-pane.active {

    display: block;

    animation: fadeIn 0.3s ease;

}



.scope-section {

    margin-bottom: 30px;

}



.scope-label {

    font-size: 1.1rem;

    font-weight: 700;

    padding: 8px 15px;

    border-radius: 8px;

    margin-bottom: 15px;

    display: inline-block;

}



.scope-master {

    background: #eaf2f8;

    color: #2980b9;

}



.scope-group {

    background: #f5eef8;

    color: #8e44ad;

}



.events-timeline {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding-left: 10px;

}



.event-card {

    display: flex;

    gap: 15px;

    background: #fff;

    border-radius: 10px;

    padding: 15px;

    border: 1px solid rgba(0, 0, 0, 0.05);

    border-left: 4px solid #3498db;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);

    transition: transform 0.15s, box-shadow 0.15s;

}



.event-card:hover {

    transform: translateX(3px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

}



.event-time-col {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-width: 65px;

    font-weight: 700;

    color: #2c3e50;

    font-size: 0.9rem;

}



.event-time-sep {

    color: #bdc3c7;

    font-size: 0.8rem;

}



.event-content-col {

    flex: 1;

}



.event-title-row {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 6px;

    flex-wrap: wrap;

}



.event-type-icon {

    font-size: 1.1rem;

}



.event-title {

    font-weight: 600;

    color: #2c3e50;

    font-size: 0.95rem;

}



.event-type-badge {

    padding: 2px 8px;

    border-radius: 12px;

    font-size: 0.7rem;

    font-weight: 700;

}



.event-location {

    font-size: 0.85rem;

    margin-bottom: 4px;

}



.event-desc {

    font-size: 0.85rem;

    color: #7f8c8d;

    margin-bottom: 4px;

}



.event-warning {

    color: #e67e22;

    background: #fef9e7;

    padding: 4px 8px;

    border-radius: 4px;

    border-left: 3px solid #f39c12;

}



.event-tags {

    display: flex;

    gap: 5px;

    flex-wrap: wrap;

    margin-top: 5px;

}



.event-tag {

    background: #ecf0f1;

    color: #7f8c8d;

    padding: 2px 8px;

    border-radius: 10px;

    font-size: 0.7rem;

    font-weight: 600;

}



/* Weather Cards */

.weather-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    align-items: center;

    margin-bottom: 20px;

    padding: 12px 18px;

    background: #f8f9fa;

    border-radius: 10px;

    font-size: 0.85rem;

    color: #7f8c8d;

}



.weather-refresh-btn {

    margin-left: auto;

}



.weather-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 15px;

}



.weather-card {

    border-top: 4px solid #3498db;

    text-align: center;

    transition: transform 0.2s, box-shadow 0.2s;

}



.weather-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

}



.weather-sunny {

    border-top-color: #f39c12;

}



.weather-cloudy {

    border-top-color: #95a5a6;

}



.weather-rainy {

    border-top-color: #3498db;

}



.weather-foggy {

    border-top-color: #bdc3c7;

}



.weather-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 8px;

}



.weather-date {

    text-align: left;

}



.weather-day {

    font-size: 1.2rem;

    font-weight: 700;

    color: #2c3e50;

}



.weather-dayname {

    font-size: 0.85rem;

    color: #7f8c8d;

}



.weather-icon {

    font-size: 2.5rem;

}



.weather-desc {

    font-weight: 600;

    color: #2c3e50;

    margin-bottom: 10px;

    font-size: 0.95rem;

}



.weather-temps {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 5px;

    font-size: 1.1rem;

    font-weight: 700;

}



.temp-max {

    color: #e74c3c;

}



.temp-min {

    color: #3498db;

}



.weather-feels {

    font-size: 0.8rem;

    color: #95a5a6;

    margin-bottom: 12px;

}



.weather-details {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px;

    background: #f8f9fa;

    border-radius: 8px;

    padding: 10px;

    font-size: 0.8rem;

}



.weather-detail {

    text-align: left;

}



.wd-label {

    color: #95a5a6;

    display: block;

    font-size: 0.7rem;

}



.wd-value {

    font-weight: 600;

    color: #2c3e50;

}



/* Locations Directory */

.locations-filter {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;

    justify-content: center;

}



.loc-filter-btn {

    background: #f8f9fa;

    border: 2px solid #e9ecef;

    padding: 10px 18px;

    border-radius: 20px;

    cursor: pointer;

    font-weight: 600;

    color: #7f8c8d;

    transition: all 0.2s;

}



.loc-filter-btn:hover {

    border-color: #3498db;

    color: #3498db;

}



.loc-filter-btn.active {

    background: #3498db;

    color: #fff;

    border-color: #3498db;

}



.loc-category-section {

    margin-bottom: 40px;

    animation: fadeIn 0.4s ease;

}



.loc-category-title {

    font-size: 1.4rem;

    color: #2c3e50;

    margin-bottom: 20px;

    padding-bottom: 10px;

    border-bottom: 2px solid #ecf0f1;

}



.loc-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 20px;

}



.loc-card {

    display: flex;

    flex-direction: column;

    padding: 20px;

    border-top: 4px solid #9b59b6;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

    transition: transform 0.2s, box-shadow 0.2s;

    height: 100%;

}



.loc-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

}



.loc-name {

    font-size: 1.15rem;

    font-weight: 700;

    color: #2c3e50;

    margin-bottom: 10px;

}



.loc-address {

    font-size: 0.9rem;

    color: #7f8c8d;

    line-height: 1.4;

    margin-bottom: 15px;

    flex-grow: 1;

}



.loc-icon {

    margin-right: 5px;

}



.loc-action {

    margin-top: auto;

    padding-top: 15px;

    border-top: 1px dashed #ecf0f1;

}



/* Placeholder Empty States */

.placeholder-content {

    text-align: center;

    padding: 60px 20px;

    background: #fff;

    border-radius: 12px;

    border: 2px dashed #bdc3c7;

    color: #7f8c8d;

}



.placeholder-content h2 {

    color: #95a5a6;

    margin-bottom: 10px;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(5px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* Responsive */

@media (max-width: 768px) {

    .navbar {

        flex-wrap: wrap;

    }



    .mobile-menu-btn {

        display: block;

    }



    .nav-links {

        display: none;

        width: 100%;

        flex-direction: column;

        gap: 10px;

        padding-top: 15px;

    }



    .nav-links.active {

        display: flex;

    }



    .summary-details {

        grid-template-columns: 1fr 1fr;

    }



    .layover-card {

        margin-left: 10px;

    }

}
/* iOS/Mobile click area fix */
@media (max-width: 768px) {
    .mobile-menu-btn {
        z-index: 99999 !important;
        position: relative !important;
        touch-action: manipulation !important;
        padding: 10px 15px !important;
        cursor: pointer !important;
    }
}
