/* ==========================================================================
   TRAVELS PRO — PUBLIC STOREFRONT
   Loaded after style.css; overrides admin styles for the customer-facing site.
   ========================================================================== */

body.sf-body {
    background: #f4f6fb;
    color: #0f172a;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ Navbar */
.sf-navbar {
    position: sticky; top: 0; z-index: 1030;
    background: linear-gradient(120deg, #0f172a 0%, #1e293b 55%, #312e81 100%);
    color: #fff; padding: 12px 22px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .18);
}
.sf-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; text-decoration: none; font-size: 17px; letter-spacing: -.01em; }
.sf-brand img { height: 34px; max-width: 130px; object-fit: contain; }
.sf-brand i { font-size: 22px; color: #93c5fd; }
.sf-navlink { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14px; padding: 7px 12px; border-radius: 10px; transition: .18s; }
.sf-navlink:hover, .sf-navlink.active { color: #fff; background: rgba(255,255,255,.14); }
.sf-navbar .dropdown-menu { font-size: 14px; border: none; border-radius: 14px; box-shadow: 0 18px 44px rgba(15,23,42,.2); padding: 8px; }
.sf-navbar .dropdown-item { border-radius: 9px; padding: 9px 12px; font-weight: 500; }
.sf-navbar .dropdown-item:hover { background: #f1f5f9; }
.sf-navbar .btn-light { border-radius: 10px; font-weight: 600; }

/* -------------------------------------------------------------------- Hero */
.sf-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 380px at 12% -20%, #3b82f6 0%, transparent 60%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #4f46e5 100%);
    color: #fff; padding: 76px 20px; text-align: center;
}
.sf-hero h1 { font-weight: 800; font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.02em; margin-bottom: 10px; }
.sf-hero p { opacity: .92; font-size: clamp(15px, 1.6vw, 18px); max-width: 660px; margin: 0 auto 22px; }
.sf-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sf-hero .badge-soft {
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff;
    padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 13px; backdrop-filter: blur(4px);
}

/* ------------------------------------------------------------------ Panels */
.sf-panel { background: #fff; border: 1px solid #e8ecf1; border-radius: 18px; box-shadow: 0 1px 3px rgba(15,23,42,.05); overflow: hidden; }
.sf-panel + .sf-panel { margin-top: 20px; }
.sf-panel-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 1px solid #eef1f6; background: linear-gradient(180deg, #fbfcfe, #fff); }
.sf-panel-head h4, .sf-panel-head h5 { margin: 0; font-weight: 800; letter-spacing: -.01em; }
.sf-panel-head .sub { color: #64748b; font-size: 13px; margin-top: 2px; }
.sf-panel-body { padding: 26px; }
.sf-panel-body.tight { padding: 20px; }

/* ------------------------------------------------- Service chooser cards */
.sf-service-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 22px; background: #fff; border: 1.5px solid #e8ecf1; border-radius: 16px;
    text-decoration: none; color: inherit; height: 100%; transition: .2s; position: relative;
}
.sf-service-card:hover { border-color: var(--tp-primary); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(37,99,235,.14); }
.sf-service-card .ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.sf-service-card .t { font-weight: 700; font-size: 15px; }
.sf-service-card .d { font-size: 12.5px; color: #64748b; line-height: 1.5; }
.sf-service-card .go { position: absolute; top: 18px; right: 18px; color: #cbd5e1; transition: .2s; }
.sf-service-card:hover .go { color: var(--tp-primary); transform: translateX(3px); }

/* -------------------------------------------------------------------- Form */
.sf-form .sf-section { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #64748b; margin: 4px 0 18px; }
.sf-form .sf-section i { color: var(--tp-primary); font-size: 15px; }
.sf-form .sf-section::after { content: ''; flex: 1; height: 1px; background: #eef1f6; }
.sf-form .form-label { font-weight: 600; font-size: 13px; color: #334155; margin-bottom: 7px; display: block; }
.sf-form .form-label .req { color: #ef4444; margin-left: 2px; }

.sf-form .input-group { border-radius: 12px; }
.sf-form .input-group-text { background: #f1f5f9; border: 1.5px solid #e2e8f0; border-right: 0; color: #94a3b8; border-radius: 12px 0 0 12px; padding: 0 13px; font-size: 15px; }
.sf-form .form-control, .sf-form .form-select {
    border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 11px 14px;
    font-size: 14.5px; color: #0f172a; background: #fff; transition: .18s;
}
.sf-form .input-group > .form-control, .sf-form .input-group > .form-select { border-radius: 0 12px 12px 0; }
.sf-form .form-control::placeholder { color: #9aa6b6; }
.sf-form .form-control:focus, .sf-form .form-select:focus { border-color: var(--tp-primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.sf-form .input-group .form-control:focus, .sf-form .input-group .form-select:focus { box-shadow: none; }
.sf-form .input-group:focus-within { box-shadow: 0 0 0 4px rgba(37,99,235,.12); border-radius: 12px; }
.sf-form .input-group:focus-within .input-group-text { border-color: var(--tp-primary); color: var(--tp-primary); background: #eef2ff; }
.sf-form .input-group:focus-within .form-control, .sf-form .input-group:focus-within .form-select { border-color: var(--tp-primary); }
.sf-form .form-control.is-invalid, .sf-form .form-select.is-invalid { border-color: #ef4444; }
.sf-form .form-control.is-invalid:focus, .sf-form .form-select.is-invalid:focus { box-shadow: 0 0 0 4px rgba(239,68,68,.14); }
.sf-form .invalid-feedback { font-weight: 500; }
.sf-form textarea.form-control { min-height: 100px; }
.sf-form .hint { font-size: 12px; color: #94a3b8; margin-top: 5px; }

.sf-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #eef1f6; flex-wrap: wrap; }
.sf-submit .note { font-size: 12.5px; color: #94a3b8; }
.sf-btn { border: 0; border-radius: 12px; font-weight: 700; padding: 13px 26px; font-size: 15px; }
.sf-btn-primary { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.28); transition: .2s; }
.sf-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(37,99,235,.36); }
.sf-btn-light { background: #f1f5f9; color: #334155; }

/* --------------------------------------------------------- Airline cards */
.sf-airline-logo { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; letter-spacing: .02em; }
.sf-airline-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; height: 100%; transition: .2s; }
.sf-airline-card:hover { border-color: #c7d2fe; box-shadow: 0 12px 28px rgba(37,99,235,.1); transform: translateY(-2px); }

/* ------------------------------------------------------------- Requests */
.sf-req { background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; padding: 20px; }
.sf-req + .sf-req { margin-top: 14px; }

/* ----------------------------------------------------------------- Footer */
.sf-footer { background: #0f172a; color: #94a3b8; margin-top: 60px; }
.sf-footer a { color: #cbd5e1; text-decoration: none; }
.sf-footer a:hover { color: #fff; }
.sf-footer-inner { padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: 13px; }

/* ---------------------------------------------------------------- Utility */
.sf-container { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sf-empty { text-align: center; padding: 60px 20px; color: #94a3b8; }
.sf-page-head { margin-bottom: 22px; }
.sf-page-head h3 { font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
.sf-page-head p { color: #64748b; margin: 0; }

.sf-pills { gap: 8px; }
.sf-pills .nav-link { color: #334155; background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; font-weight: 600; font-size: 14px; padding: 9px 16px; }
.sf-pills .nav-link:hover { border-color: #c7d2fe; color: var(--tp-primary); }
.sf-pills .nav-link.active { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(37,99,235,.24); }

.badge-soft { background: #eef2ff; border: 1px solid #e0e7ff; color: #4338ca; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 12.5px; }

@media (max-width: 575.98px) {
    .sf-panel-head { padding: 18px; }
    .sf-panel-body { padding: 18px; }
    .sf-hero { padding: 54px 18px; }
}
