/* Kibris Transfer — Premium transfer UI */

:root {
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --container: 1180px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg: #eef0f4;
    --bg-muted: #f7f8fa;
    --surface: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --navy: #0c1f3f;
    --navy-soft: #152a4f;
    --gold: #b8952e;
    --gold-light: #f5edd8;
    --accent: #0c1f3f;
    --accent-hover: #152a4f;
    --header-bg: #ffffff;
    --topbar-bg: #0c1f3f;
    --topbar-text: rgba(255,255,255,0.85);
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
    --shadow-md: 0 8px 30px rgba(15,23,42,.08);
    --shadow-lg: 0 24px 60px rgba(15,23,42,.14);
    --hero-overlay: linear-gradient(105deg, rgba(8,18,38,.92) 0%, rgba(8,18,38,.72) 45%, rgba(8,18,38,.35) 100%);
    --input-bg: #f8fafc;
    --logo-light: block;
    --logo-dark: none;
    --theme-light-icon: block;
    --theme-dark-icon: none;
}

[data-theme="dark"] {
    --bg: #0a0f1a;
    --bg-muted: #111827;
    --surface: #151d2e;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #243044;
    --border-strong: #334155;
    --navy: #0c1f3f;
    --navy-soft: #1e293b;
    --gold: #d4af5a;
    --gold-light: rgba(212,175,90,.12);
    --accent: #e2b84a;
    --accent-hover: #f0cb6a;
    --header-bg: #111827;
    --topbar-bg: #060b14;
    --topbar-text: rgba(255,255,255,0.8);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.45);
    --hero-overlay: linear-gradient(105deg, rgba(4,8,16,.95) 0%, rgba(4,8,16,.8) 50%, rgba(4,8,16,.5) 100%);
    --input-bg: #0f172a;
    --logo-light: none;
    --logo-dark: block;
    --theme-light-icon: none;
    --theme-dark-icon: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}
.top-bar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    gap: 16px;
}
.top-bar-tagline { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-bar-contact { display: flex; gap: 20px; flex-shrink: 0; }
.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    transition: color .2s var(--ease);
}
.top-bar-link:hover { color: var(--gold); }

.header-main { background: var(--header-bg); border-bottom: 1px solid var(--border); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 32px;
}
.logo img { height: 42px; width: auto; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: var(--bg-muted); }
.main-nav a.active { color: var(--accent); background: var(--gold-light); }
[data-theme="dark"] .main-nav a.active { color: var(--gold); background: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--text-secondary);
}
.theme-icon-light { display: var(--theme-light-icon); }
.theme-icon-dark { display: var(--theme-dark-icon); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .2s var(--ease);
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
[data-theme="dark"] .btn-primary { color: #0f172a; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-whatsapp { background: #128c3e; color: #fff; padding: 10px 18px; font-size: 13px; }
.btn-whatsapp:hover { background: #0f7a35; color: #fff; }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-light); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-book {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    background: #128c3e;
    color: #fff;
    border-radius: 8px;
    margin-top: 4px;
}
.btn-book:hover { background: #0f7a35; box-shadow: 0 8px 24px rgba(18,140,62,.35); }

.text-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}
.text-link:hover { opacity: .85; }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 72px 0 0;
    margin-bottom: 120px;
}
.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-color: var(--navy);
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}
.hero-layout {
    position: relative;
    padding: 48px 24px 200px;
}
.hero-copy { max-width: 620px; color: #fff; }
.kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.hero-copy h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.08;
}
.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-badges { display: flex; flex-direction: column; gap: 14px; }
.hero-badges li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: rgba(255,255,255,.8);
}
.hero-badges strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.badge-icon {
    width: 8px; height: 8px;
    margin-top: 7px;
    background: var(--gold);
    flex-shrink: 0;
    transform: rotate(45deg);
}

.hero-booking {
    position: relative;
    margin-top: -140px;
    z-index: 10;
    padding-bottom: 0;
}

/* ── Booking panel ── */
.booking-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.booking-panel-head {
    padding: 24px 28px 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 0;
    background: linear-gradient(180deg, var(--bg-muted) 0%, var(--surface) 100%);
}
.booking-panel-head h2 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}
.booking-panel-head p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.booking-form { padding: 24px 28px 28px; }

.booking-primary {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}
.field-swap {
    width: 40px; height: 48px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-bottom: 0;
}
.field { flex: 1; min-width: 0; }
.field-grow { flex: 2; }
.field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.field input,
.field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--gold-light);
}
.booking-secondary,
.booking-contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

/* ── Promises ── */
.promises {
    padding: 0 0 80px;
    margin-top: -20px;
}
.promises-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.promise-card {
    background: var(--surface);
    padding: 28px 24px;
}
.promise-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 12px;
}
.promise-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.promise-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section-muted { background: var(--bg-muted); }
.section-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}
.section-title-row h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ── Routes ── */
.route-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.route-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 24px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.route-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.route-card-route {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 15px;
}
.route-from { color: var(--text); }
.route-to { color: var(--text-secondary); }
.route-arrow {
    width: 24px; height: 2px;
    background: var(--border-strong);
    position: relative;
    flex-shrink: 0;
}
.route-arrow::after {
    content: '';
    position: absolute;
    right: 0; top: -3px;
    border: 4px solid transparent;
    border-left-color: var(--gold);
}
.route-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}
.route-card-meta strong {
    font-size: 1.125rem;
    color: var(--accent);
}
[data-theme="dark"] .route-card-meta strong { color: var(--gold); }

/* ── Services ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    border-left: 4px solid var(--gold);
}
.service-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
}
.service-item h3 { font-size: 1.0625rem; }
.service-item h3 a:hover { color: var(--accent); }
.service-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}
[data-theme="dark"] .service-price { color: var(--gold); }
.service-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ── Fleet ── */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fleet-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fleet-visual {
    height: 120px;
    background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
    position: relative;
}
.fleet-visual::after {
    content: '';
    position: absolute;
    bottom: 20px; left: 24px;
    width: 60%; height: 24px;
    background: rgba(255,255,255,.08);
    border-radius: 4px;
}
.fleet-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.fleet-body h3 { font-size: 1rem; margin-bottom: 10px; }
.fleet-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.fleet-specs li {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--bg-muted);
    border-radius: 4px;
}
.fleet-body p {
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 16px;
}
.fleet-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fleet-price { font-size: 14px; font-weight: 800; color: var(--accent); }
[data-theme="dark"] .fleet-price { color: var(--gold); }

/* ── Reviews ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}
.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.review-stars span {
    width: 14px; height: 14px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.review-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.review-card cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
}
.review-card footer span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── CTA ── */
.cta-band {
    background: var(--navy);
    color: #fff;
    padding: 64px 0;
}
.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.cta-band h2 { font-size: 1.75rem; margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .85; font-size: 15px; }

/* ── Inner pages ── */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 56px 0;
}
.page-hero h1 { font-size: 2rem; }
.page-lead { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin: 12px 0 0; }
.content-block { max-width: 720px; font-size: 15px; color: var(--text-secondary); }
.content-block h2 { color: var(--text); margin-top: 2rem; }

.route-table-wrap { overflow-x: auto; }
.route-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.route-table th, .route-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.route-table th {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    background: var(--bg-muted);
}
.price-cell { font-weight: 800; color: var(--accent); }
[data-theme="dark"] .price-cell { color: var(--gold); }

.faq-list { max-width: 720px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    background: var(--surface);
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 22px 18px; font-size: 14px; color: var(--text-muted); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.contact-info ul li { margin-bottom: 12px; font-size: 14px; }

/* Legacy booking widget on inner pages */
.booking-widget { margin-top: 0; }
.section-compact { padding: 56px 0; }

/* ── Footer ── */
.site-footer {
    background: #060d1a;
    color: #94a3b8;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 72px 0 48px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.footer-col a { color: #94a3b8; font-size: 13px; display: block; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
}
.footer-bottom p { margin: 0; font-size: 12px; color: #64748b; }

.mt-lg { margin-top: 40px; }
.price-highlight { font-size: 1.125rem; font-weight: 700; color: var(--accent); }
.route-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
    padding: 24px;
    background: var(--bg-muted);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.route-details dt { font-weight: 700; font-size: 13px; color: var(--text-muted); }
.route-details dd { margin: 0; font-size: 14px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .promises-grid { grid-template-columns: repeat(2, 1fr); }
    .route-cards { grid-template-columns: repeat(2, 1fr); }
    .fleet-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-secondary, .booking-contact { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-tagline { display: none; }
    .main-nav {
        position: fixed;
        top: 112px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 12px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all .3s var(--ease);
    }
    .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; }
    .nav-toggle { display: flex; }
    .hero { margin-bottom: 40px; }
    .hero-layout { padding-bottom: 40px; }
    .hero-booking { margin-top: 0; }
    .booking-primary { flex-direction: column; align-items: stretch; }
    .field-swap { display: none; }
    .booking-secondary, .booking-contact { grid-template-columns: 1fr; }
    .promises-grid { grid-template-columns: 1fr; }
    .route-cards, .service-grid, .fleet-grid, .reviews-grid { grid-template-columns: 1fr; }
    .cta-band-inner { flex-direction: column; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title-row { flex-direction: column; align-items: flex-start; }
}
