/* Artemisa Travel — modern theme */
:root {
    --navy: #0a2540;
    --navy-2: #103a63;
    --blue: #1b6fe0;
    --blue-dark: #0f4fb0;
    --sky: #4aa8ff;
    --accent: #ff9f1c;
    --accent-dark: #dd8400;
    --bg: #f3f6fb;
    --card: #ffffff;
    --ink: #16233a;
    --muted: #5d6d84;
    --line: #e3eaf4;
    --green: #1e9e5a;
    --red: #d64545;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(10, 37, 64, .10);
    --shadow-sm: 0 4px 14px rgba(10, 37, 64, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
section { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 14px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 159, 28, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 159, 28, .45); }
.btn-outline {
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,.18); box-shadow: none; }
.btn-blue { background: linear-gradient(180deg, var(--blue), var(--blue-dark)); box-shadow: 0 8px 20px rgba(27,111,224,.35); }
.btn-blue:hover { box-shadow: 0 12px 26px rgba(27,111,224,.45); }
.btn-sm { padding: 9px 22px; font-size: .9rem; }
.btn.danger { background: var(--red); box-shadow: none; }
.btn.gray { background: var(--muted); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
    background: linear-gradient(180deg, #081c33, var(--navy));
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.logo { height: 58px; width: auto; border-radius: 10px; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: #dbe7f7; text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--accent); }
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: #0e1f36;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}
.lang-toggle a {
    color: #8fa2bd !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .78rem !important;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    margin: 0 !important;
    line-height: 1;
    border-radius: 999px;
    transition: background .15s ease, color .15s ease;
}
.lang-toggle a.active { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); color: #fff !important; box-shadow: 0 2px 8px rgba(255,159,28,.4); }
.lang-toggle a:not(.active):hover { color: #fff !important; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 96px 0 110px;
    background: linear-gradient(130deg, #071c33 0%, #0c3a6e 55%, #1663c7 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 15% 20%, rgba(74,168,255,.25), transparent 60%),
        radial-gradient(500px 260px at 85% 80%, rgba(255,159,28,.18), transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 18px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; font-weight: 800; margin-bottom: 16px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 1.18rem; max-width: 620px; opacity: .92; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: .9rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* ---------- Car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.car-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-media { height: 190px; position: relative; background: linear-gradient(135deg, var(--navy-2), var(--blue)); display: flex; align-items: center; justify-content: center; }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.car-media svg { width: 110px; height: 110px; opacity: .9; }
.car-price-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .92rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.car-price-tag small { font-weight: 600; opacity: .85; }
.car-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.car-cat { font-size: .75rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.car-body h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.car-specs { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.car-specs span { display: inline-flex; align-items: center; gap: 6px; }
.car-specs svg { width: 15px; height: 15px; }
.car-desc { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.car-body .btn { margin-top: auto; text-align: center; }

/* ---------- Booking ---------- */
.booking-section { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.booking-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 38px;
}
.booking-card h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.4rem; }
.booking-card > p { color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fbfcfe;
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(27,111,224,.14);
    background: #fff;
}
.alert { padding: 15px 19px; border-radius: 10px; margin-bottom: 22px; font-size: .95rem; }
.alert.success { background: #e6f7ed; color: #146c38; border: 1px solid #bfe6cd; }
.alert.error { background: #fdecec; color: #a82626; border: 1px solid #f3c1c1; }
.alert ul { margin-left: 18px; }

.contact-card {
    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: #e6eefb;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
}
.contact-card h3 { color: #fff; margin-bottom: 4px; }
.contact-card .tag { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .95rem; }
.contact-row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.contact-row a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-row a:hover { color: var(--accent); }
.hours-mini { list-style: none; margin-top: 8px; font-size: .88rem; width: 100%; }
.hours-mini li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-mini li:last-child { border-bottom: none; }

/* ---------- Features ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-icon {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    box-shadow: 0 8px 18px rgba(27,111,224,.3);
}
.info-icon svg { width: 30px; height: 30px; color: #fff; }
.info-card h3 { color: var(--navy); margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #071c33; color: #c4d3e8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding: 56px 22px 40px; }
.footer-brand img { height: 74px; border-radius: 12px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.hours { list-style: none; font-size: .9rem; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-bottom { text-align: center; padding: 16px; background: #051423; font-size: .85rem; color: #8fa2bd; }

/* ---------- Admin ---------- */
.admin-bar { background: linear-gradient(90deg, #071c33, var(--navy-2)); color: #fff; padding: 14px 0; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-bar a { color: #dbe7f7; margin-left: 6px; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 8px; }
.admin-bar a:hover { background: rgba(255,255,255,.12); color: #fff; }
.page-title { color: var(--navy); margin: 8px 0 4px; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; margin-top: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.data th, table.data td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
table.data th { background: var(--navy); color: #fff; font-size: .82rem; letter-spacing: .6px; text-transform: uppercase; }
table.data tr:hover td { background: #f6f9fd; }
table.data tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .4px; }
.badge.pending { background: #fff3d6; color: #96690a; }
.badge.confirmed { background: #e6f7ed; color: #146c38; }
.badge.cancelled { background: #fdecec; color: #a82626; }
.badge.completed { background: #e3edfd; color: var(--blue-dark); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #071c33, #0c3a6e 60%, #1663c7); padding: 24px; }
.login-box { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 40px 36px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.login-box h2 { text-align: center; margin-bottom: 6px; color: var(--navy); }
.login-box .sub { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.login-box .btn { width: 100%; }
.filters { margin: 22px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 600; }
.filters a.active, .filters a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.actions { white-space: nowrap; }
.actions form { display: inline; }
.actions select { padding: 7px 10px; border-radius: 8px; border: 1.5px solid var(--line); font-size: .85rem; }

/* ---------- Tiered pricing ---------- */
.tier-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: .85rem; }
.tier-table th {
    background: var(--navy);
    color: #fff;
    font-size: .7rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 8px 6px;
}
.tier-table th:first-child { border-radius: 8px 0 0 0; }
.tier-table th:last-child { border-radius: 0 8px 0 0; }
.tier-table td {
    text-align: center;
    padding: 9px 6px;
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--navy);
    background: #f8fbff;
}
.rates-note {
    margin-top: 30px;
    background: #fff8ec;
    border: 1px solid #f0d9a8;
    border-radius: var(--radius);
    padding: 20px 24px;
    font-size: .93rem;
    color: #6b5a35;
    text-align: center;
}
.rates-note strong { color: #8a6a1f; }
.estimate-line {
    background: #eef4fd;
    border: 1.5px solid #c4d9f7;
    color: var(--navy);
    font-weight: 700;
    padding: 13px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
}

/* ---------- Customer account ---------- */
.nav-hello { color: var(--accent); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.booking-as {
    background: #eef4fd;
    border: 1.5px solid #c4d9f7;
    color: var(--navy);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: .93rem;
}
.booking-as a { color: var(--blue); font-weight: 700; }
.auth-alt { text-align: center; margin-top: 16px; font-size: .93rem; color: var(--muted); }
.auth-alt a { color: var(--blue); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.doc-hint { font-size: .82rem; color: var(--muted); margin: -4px 0 16px; }
input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d5dde8;
    border-radius: 10px;
    font-size: .95rem;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
}
input[type="file"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,90,160,.12); }
.login-required { text-align: center; padding: 48px 24px; }
.login-required h3 { color: var(--navy); margin: 0 0 10px; font-size: 1.35rem; }
.login-required p { color: var(--muted); max-width: 420px; margin: 0 auto; }
.login-required .btn { margin: 4px 6px; }
.docs-status { font-size: .88rem; padding: 10px 16px; border-radius: 10px; margin-bottom: 18px; }
.docs-status.ok { background: #e6f7ed; border: 1.5px solid #bfe6cd; color: #1c6b3c; }
.docs-status.warn { background: #fff7e6; border: 1.5px solid #f0d9a8; color: #8a5a00; }
.docs-status a { font-weight: 700; color: inherit; text-decoration: underline; }
.doc-current { margin: 6px 0 10px; font-size: .88rem; color: var(--muted); }
.doc-current.none { font-style: italic; }
.doc-current img { max-width: 140px; border-radius: 8px; border: 1px solid #d5dde8; display: block; margin-top: 6px; }
.doc-current a { color: var(--blue); font-weight: 700; }

/* ---------- Account dropdown ---------- */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > button { font-family: inherit; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(11,42,79,.22);
    min-width: 210px;
    padding: 8px;
    z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block !important;
    padding: 11px 14px !important;
    margin: 0 !important;
    border-radius: 9px;
    color: var(--navy) !important;
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: #eef4fd; color: var(--blue) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .booking-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .header-inner { flex-direction: column; padding: 14px 18px; }
    .main-nav { gap: 14px; justify-content: center; }
    .main-nav a:not(.btn) { font-size: .88rem; }
    .form-row { grid-template-columns: 1fr; }
    .booking-card { padding: 26px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 80px; }
    .hero-stats { gap: 24px; }
}
