/* ===== Bakir Rent a Car — site public ===== */
:root {
    --orange: #D87622;
    --orange-dark: #b85f16;
    --orange-soft: #fbeee0;
    --charcoal: #211D1E;
    --charcoal-2: #2f2a2b;
    --gray: #5C595A;
    --gray-light: #8a8687;
    --line: #ececec;
    --bg: #ffffff;
    --bg-soft: #f8f6f4;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(33, 29, 30, 0.08);
    --shadow-sm: 0 4px 14px rgba(33, 29, 30, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--charcoal);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow {
    color: var(--orange); font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; font-size: 13px;
}
.section-head h2 { font-size: 34px; font-weight: 700; margin: 8px 0 12px; line-height: 1.2; }
.section-head p { color: var(--gray); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: 10px; font-weight: 600;
    font-size: 15px; cursor: pointer; border: 2px solid transparent;
    transition: all .18s ease; white-space: nowrap;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--charcoal-2); }
.btn-ghost { color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo img { height: 44px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; color: var(--charcoal); font-size: 15px; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 600; color: var(--charcoal); font-size: 15px; }
.header-phone span { color: var(--orange); }
.burger { display: none; font-size: 26px; background: none; border: 0; color: var(--charcoal); cursor: pointer; }

/* ===== Hero ===== */
.hero {
    position: relative; background: var(--charcoal); color: #fff; overflow: hidden;
    padding: 96px 0 110px;
}
.hero::before {
    content: ''; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(216,118,34,.28), transparent 62%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--orange); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.08; margin: 14px 0 18px; max-width: 720px; }
.hero h1 .accent { color: var(--orange); }
.hero p { font-size: 18px; color: #d8d3d1; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Quick reservation bar */
.quick-bar {
    margin-top: 46px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end;
}
.quick-bar .field { display: flex; flex-direction: column; gap: 6px; }
.quick-bar label { font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; }
.quick-bar input, .quick-bar select {
    border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; font-size: 15px;
    color: var(--charcoal); font-family: inherit; background: #fff;
}
.quick-bar input:focus, .quick-bar select:focus { outline: none; border-color: var(--orange); }

/* ===== Stats / features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: center; padding: 28px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.feature .ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--gray); font-size: 14px; }

/* ===== Categories chips ===== */
.chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip {
    padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-weight: 500; font-size: 14px; color: var(--charcoal); transition: all .15s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== Car grid ===== */
.car-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.car-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-thumb { aspect-ratio: 16/10; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; position: relative; }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-thumb .placeholder { font-size: 46px; color: #cfc9c6; }
.car-cat { position: absolute; top: 12px; left: 12px; background: var(--charcoal); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.car-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-body h3 { font-size: 18px; font-weight: 600; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.spec { font-size: 12.5px; color: var(--gray); background: var(--bg-soft); padding: 4px 10px; border-radius: 8px; }
.car-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.car-price { font-weight: 700; color: var(--charcoal); }
.car-price small { font-weight: 500; color: var(--gray); font-size: 12px; }
.car-price .na { color: var(--gray); font-weight: 500; font-size: 14px; }

/* ===== Detail ===== */
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.detail-media { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.detail-media .placeholder { font-size: 90px; color: #cfc9c6; }
.detail-info h1 { font-size: 34px; margin-bottom: 8px; }
.detail-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.badge { background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 10px; }
.detail-price { font-size: 30px; font-weight: 700; margin: 6px 0 22px; }
.detail-price small { font-size: 15px; color: var(--gray); font-weight: 500; }

/* ===== Reservation form card ===== */
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.res-card h3 { font-size: 20px; margin-bottom: 4px; }
.res-card .sub { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.form-group input, .form-group textarea, .form-group select {
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; font-size: 15px;
    font-family: inherit; color: var(--charcoal); background: #fff; width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(216,118,34,.12); }
.form-error { color: #c0392b; font-size: 12.5px; margin-top: 4px; }

/* ===== Alert ===== */
.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-size: 15px; }
.alert-success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #b8e6c8; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: #cfc9c6; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer p, .site-footer li { font-size: 14px; color: #b8b3b1; margin-bottom: 8px; list-style: none; }
.site-footer a:hover { color: var(--orange); }
.footer-logo img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; text-align: center; font-size: 13px; color: #8a8687; }
.footer-bottom .accent { color: var(--orange); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; border-radius: 20px; padding: 46px; text-align: center; }
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { opacity: .95; margin-bottom: 24px; }
.cta-band .btn-dark { background: var(--charcoal); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .features, .car-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-bar { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
    .nav, .header-phone { display: none; }
    .burger { display: block; }
    .nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 20px; gap: 16px; border-bottom: 1px solid var(--line); }
    .features, .car-grid { grid-template-columns: 1fr; }
    .quick-bar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .hero { padding: 64px 0 76px; }
    .hero h1 { font-size: 33px; }
    .cta-band { padding: 32px 20px; }
}
