/* Globitude Travels — base styles */
:root {
    --brand: #0d4f8a;
    --brand-dark: #083258;
    --accent: #ffb400;
    --text: #1a1a1a;
    --muted: #666;
    --bg: #f4f6fb;
    --card: #fff;
    --border: #e2e6ec;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
.site-header {
    background: var(--brand);
    color: #fff;
    padding: 14px 0;
    box-shadow: var(--shadow);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header .brand { font-size: 22px; font-weight: 700; color: #fff; }
.site-header nav a { color: #fff; margin-left: 18px; opacity: .9; }

/* ===== Hero ===== */
.hero { text-align: center; padding: 48px 0 24px; }
.hero h1 { font-size: 36px; margin: 0 0 8px; color: var(--brand-dark); }
.hero p { color: var(--muted); font-size: 18px; }

/* ===== Search card ===== */
.search-card {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-row .tab { padding: 8px 14px; background: #f0f3f8; border-radius: 999px; cursor: pointer; }
.form-row .tab input { margin-right: 6px; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.field input, .field select {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: 6px; font-size: 15px;
    background: #fff;
}
.btn-primary {
    background: var(--accent);
    color: #1a1a1a;
    border: 0;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-secondary {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--brand);
    color: var(--brand);
    border-radius: 6px;
    margin-top: 8px;
    font-size: 14px;
}

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.feature {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.feature h3 { margin: 0 0 6px; color: var(--brand-dark); }
.feature p { margin: 0; color: var(--muted); }

/* ===== Results ===== */
.results-summary { margin: 24px 0; }
.results-summary h1 { margin: 0 0 8px; }
.results-summary p { color: var(--muted); }
.itinerary {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 16px;
}
.itinerary > header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px; margin-bottom: 12px;
}
.itinerary .stops { margin-left: 12px; color: var(--muted); font-size: 14px; }
.itinerary .price .amount { font-size: 28px; font-weight: 700; color: var(--brand-dark); }
.itinerary .price .per-pax { color: var(--muted); font-size: 12px; margin-left: 4px; }
.leg h4 { margin: 12px 0 8px; color: var(--brand); font-size: 14px; }
.sector {
    display: grid;
    grid-template-columns: 1fr 24px 1fr 2fr;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}
.sector:last-child { border-bottom: none; }
.sector .arrow { text-align: center; color: var(--muted); }
.sector .flightno { color: var(--muted); font-size: 13px; }
.itinerary footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); text-align: right; }

/* ===== Alerts ===== */
.alert { padding: 14px 18px; border-radius: 6px; background: #fff8e0; border: 1px solid #f1d97a; margin: 18px 0; }
.alert-error { background: #fde7e7; border-color: #f0a0a0; }
.alert .small { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ===== Footer ===== */
.site-footer { background: var(--brand-dark); color: #d3dbe6; margin-top: 60px; padding: 32px 0 18px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { color: #fff; margin: 0 0 10px; }
.footer-cols a { display: block; color: #d3dbe6; padding: 3px 0; font-size: 14px; }
.copyright { border-top: 1px solid #1f4a76; margin-top: 24px; padding-top: 16px; font-size: 13px; text-align: center; }

/* ===== Static pages ===== */
.page-content { background: var(--card); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 24px 0; }
.page-content h1 { color: var(--brand-dark); margin-top: 0; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .form-grid    { grid-template-columns: repeat(2, 1fr); }
    .features     { grid-template-columns: 1fr; }
    .footer-cols  { grid-template-columns: 1fr; }
    .sector       { grid-template-columns: 1fr 24px 1fr; }
    .sector .flightno { grid-column: 1 / -1; padding-top: 4px; }
    .hero h1      { font-size: 28px; }
}
