/*
Theme Name: Car_Rental
Author: Alonso & Florjon
Description: Custom theme for the Car Rental Business
Version: 1.0
*/

:root {
    --bg-dark: #0b1120;
    --bg-dark-soft: #111b2f;
    --bg-light: #f3f6fa;
    --card-bg: #ffffff;
    --text-primary: #111827;
    --text-secondary: #586174;
    --text-light: #dbe3ef;
    --brand: #ff6b1a;
    --brand-dark: #dc4f00;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 45px rgba(13, 25, 46, 0.12);
    --shadow-lift: 0 16px 40px rgba(255, 107, 26, 0.24);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
}

[x-cloak] {
    display: none !important;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-main {
    min-height: 55vh;
}

.section {
    padding: 84px 0;
}

.section--muted {
    background: #ecf1f7;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading--left {
    text-align: left;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand);
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-heading h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.section-heading p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 14px auto 0;
}

.section-heading--left p {
    margin-left: 0;
}

.btn {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-lift);
}

.btn--primary:hover {
    background: var(--brand-dark);
}

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
    background: var(--bg-dark);
    color: #fff;
}

.btn--dark:hover {
    background: #19243d;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 14, 28, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 18px;
}

.site-brand {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
    color: #fff;
    font-size: 1.45rem;
}

.site-brand span {
    color: var(--brand);
}

.site-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: pointer;
}

.site-nav-toggle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: #e5ebf8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--brand);
}

.site-nav .site-nav__cta {
    background: var(--brand);
    color: #fff;
    padding: 11px 20px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(255, 107, 26, 0.28);
}

.site-nav .site-nav__cta:hover {
    color: #fff;
    background: var(--brand-dark);
}

.site-nav__language {
    display: flex;
    align-items: center;
}

.site-nav__language ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.site-nav__language a {
    font-size: 11px;
    letter-spacing: 0.05em;
}

/* Footer */
.site-footer {
    margin-top: 0;
    background: var(--bg-dark);
    color: #b5bfd0;
    padding: 70px 0 24px;
}

.site-footer__grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.2fr 0.9fr 1fr;
}

.site-footer__brand p {
    color: #9da8bc;
    max-width: 380px;
    margin: 14px 0 0;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer a {
    text-decoration: none;
    color: #b5bfd0;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--brand);
}

.site-footer__meta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 34px;
    padding-top: 18px;
    text-align: center;
    color: #7e8798;
    font-size: 14px;
}

/* Home page */
.home-hero {
    position: relative;
    color: #fff;
    padding: 110px 0 130px;
    background-image:
        linear-gradient(100deg, rgba(6, 13, 26, 0.93) 20%, rgba(6, 13, 26, 0.72) 65%, rgba(6, 13, 26, 0.4) 100%),
        url("https://images.unsplash.com/photo-1493238792000-8113da705763?q=80&w=2200&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4rem);
    line-height: 1.08;
}

.home-hero p {
    margin: 18px 0 0;
    max-width: 580px;
    color: #d2dae6;
}

.home-hero__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 34px 0 0;
    max-width: 560px;
}

.home-stats li {
    list-style: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}

.home-stats strong {
    display: block;
    font-size: 1.45rem;
    color: #fff;
    line-height: 1;
}

.home-stats span {
    display: block;
    margin-top: 6px;
    color: #cbd4e2;
    font-size: 13px;
}

.home-hero__image {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 80px rgba(7, 12, 24, 0.55);
}

.booking-section {
    margin-top: -70px;
    position: relative;
    z-index: 3;
    padding-bottom: 28px;
}

.booking-panel {
    background: var(--card-bg);
    border-radius: 26px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.info-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 24, 39, 0.07);
    padding: 26px;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 26, 0.1);
    color: var(--brand);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.info-card h3 {
    margin: 14px 0 6px;
    font-size: 1.15rem;
}

.info-card p {
    margin: 0;
    color: var(--text-secondary);
}

.fleet-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fleet-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 34px rgba(17, 24, 39, 0.08);
}

.fleet-card__image {
    height: 196px;
    width: 100%;
    object-fit: cover;
}

.fleet-card__body {
    padding: 20px;
}

.fleet-card__title {
    margin: 0;
    font-size: 1.14rem;
}

.fleet-card__meta {
    margin: 10px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fleet-card__meta span {
    font-size: 12px;
    background: #edf2f8;
    color: #364153;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 600;
}

.fleet-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fleet-card__price {
    color: #111827;
    font-weight: 800;
}

.process-panel {
    background: linear-gradient(130deg, #0b1120 10%, #14213c 100%);
    border-radius: 30px;
    color: #fff;
    padding: 50px;
}

.process-panel .eyebrow {
    color: #ffb081;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.process-step {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    padding: 22px;
}

.process-step__number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.process-step h3 {
    margin: 0 0 6px;
}

.process-step p {
    margin: 0;
    color: #d0d9e8;
}

.cta-band {
    background: linear-gradient(130deg, #ff7a2f 0%, #ff5e00 90%);
    color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 54px 28px;
}

.cta-band h2 {
    margin: 0;
    line-height: 1.2;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
}

.cta-band p {
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
}

.cta-band .btn--dark {
    margin-top: 22px;
}

/* Inner pages */
.page-hero {
    position: relative;
    color: #fff;
    background-image:
        linear-gradient(120deg, rgba(8, 14, 28, 0.86), rgba(8, 14, 28, 0.56)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    padding: 82px 0;
}

.page-hero .section-heading p {
    color: #c8d2e0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.media-card img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.content-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 24, 39, 0.08);
    padding: 30px;
    box-shadow: 0 10px 32px rgba(17, 24, 39, 0.08);
}

.content-card h2,
.content-card h3 {
    margin-top: 0;
}

.content-card p {
    color: var(--text-secondary);
}

.tick-list {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #253045;
    font-weight: 600;
}

.promo-split__content .tick-list li {
    color: #d5dcea;
}

.tick-list svg {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    fill: var(--brand);
    flex-shrink: 0;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 107, 26, 0.12);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-item h4 {
    margin: 0 0 2px;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.map-frame {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 24, 39, 0.12);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-frame #vrcmapcanvas {
    width: 100%;
    height: 420px;
}

.promo-split {
    overflow: hidden;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-dark);
}

.promo-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.promo-split__content {
    color: #fff;
    padding: 40px;
}

.promo-split__content p {
    color: #c5cfdd;
}

.page-shell {
    padding: 80px 0;
}

.page-shell__content {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: var(--shadow-soft);
    padding: clamp(24px, 5vw, 42px);
}

/* Blog templates */
.blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.blog-pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d6deea;
    background: #fff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination .page-numbers:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.blog-pagination .page-numbers.current {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.single-post-content {
    color: #243044;
    font-size: 1rem;
    line-height: 1.9;
}

.single-post-content > *:first-child {
    margin-top: 0;
}

.single-post-content > *:last-child {
    margin-bottom: 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 1.9em 0 0.7em;
}

.single-post-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.05rem);
}

.single-post-content h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.25em;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.2em;
}

.single-post-content li + li {
    margin-top: 0.4em;
}

.single-post-content a {
    color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.single-post-content blockquote {
    margin: 1.8em 0;
    padding: 1.2em 1.3em;
    border-left: 4px solid var(--brand);
    border-radius: 10px;
    background: #fff7f2;
    color: #3a4458;
    font-weight: 500;
}

.single-post-content img {
    border-radius: 16px;
    margin: 1.7em 0;
}

.single-post-content .wp-caption {
    margin: 1.7em 0;
    max-width: 100%;
}

.single-post-content .wp-caption-text {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7689;
    text-align: center;
}

.single-post-content code {
    font-family: "JetBrains Mono", "Fira Code", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    border-radius: 6px;
    background: #eef2f8;
    color: #132239;
}

.single-post-content pre {
    border-radius: 14px;
    padding: 18px;
    overflow-x: auto;
    background: #0f172a;
    color: #e5e7eb;
    margin: 1.8em 0;
}

.single-post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-post-nav__item {
    border-radius: 20px;
    border: 1px solid #dce4f0;
    background: #fff;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 110px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-post-nav__item:hover {
    transform: translateY(-1px);
    border-color: #fdba74;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.blog-post-nav__item--next {
    text-align: right;
}

.blog-post-nav__item--empty {
    visibility: hidden;
}

.blog-post-nav__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    font-weight: 700;
}

.blog-post-nav__title {
    color: #111827;
    font-weight: 700;
    line-height: 1.4;
}

/* VikRentCar Search Form UI */
.vrcdivsearch {
    width: 100%;
    margin: 0 auto;
}

.vrcdivsearch-inner {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.vrcdivsearch-inner form {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr auto;
    gap: 16px;
    align-items: end;
}

.vrc-searchf-section-locations,
.vrc-searchf-section-datetimes,
.vrc-searchf-section-categories,
.vrc-searchf-section-sbmt {
    display: contents;
}

.vrcsfentrycont {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vrcsfentrycont label,
.vrcsfentrylabsel label,
.vrcsfentrytime label {
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #6c778c;
    margin-bottom: 7px;
}

.vrcsfentryselect select,
.vrcsfentrydate input,
.vrcsfentrytime select {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #d8e0ea;
    background-color: #f8fafc;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    padding: 0 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vrcsfentryselect select:focus,
.vrcsfentrydate input:focus,
.vrcsfentrytime select:focus {
    border-color: #1f2937;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.vrcsfentrydate {
    position: relative;
}

.vrcsfentrydate input {
    padding-right: 44px;
    cursor: pointer;
}

.vrcsfentrydate i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.vrc-searchf-section-datetimes .vrcsfentrycont {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
}

.vrc-sf-time-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vrc-sf-time-container span {
    flex: 1;
}

.vrc-sf-time-container .vrctimesep {
    color: #64748b;
    font-weight: 700;
}

.vrcsfentrysubmit input,
.vrc-search-btn {
    height: 50px;
    min-width: 160px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--brand) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    padding: 0 24px !important;
    transition: transform 0.2s ease, background 0.2s ease;
}

.vrcsfentrysubmit input:hover,
.vrc-search-btn:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-1px);
}

.vrc-main-title,
.vrc-page-title {
    display: none;
}

@media (max-width: 1024px) {
    .home-hero__grid,
    .split-layout,
    .promo-split {
        grid-template-columns: 1fr;
    }

    .info-grid-3,
    .fleet-showcase-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .vrcdivsearch-inner form {
        grid-template-columns: 1fr;
    }

    .vrc-searchf-section-locations,
    .vrc-searchf-section-datetimes,
    .vrc-searchf-section-categories,
    .vrc-searchf-section-sbmt {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .vrc-searchf-section-sbmt {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-nav-toggle {
        display: inline-flex;
    }

    .site-header__inner {
        flex-wrap: wrap;
        min-height: 74px;
        padding: 10px 0;
    }

    .site-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav .site-nav__cta {
        width: 100%;
        justify-content: center;
    }

    .home-hero {
        padding: 84px 0 120px;
    }

    .home-stats {
        grid-template-columns: 1fr;
    }

    .booking-section {
        margin-top: -50px;
    }

    .process-panel {
        padding: 30px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .blog-post-nav__item--next {
        text-align: left;
    }

    .blog-post-nav__item--empty {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 28px);
    }

    .section,
    .page-shell {
        padding: 64px 0;
    }

    .booking-panel {
        padding: 20px;
    }

    .info-grid-3,
    .fleet-showcase-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        border-radius: var(--radius-lg);
    }

    .promo-split__content {
        padding: 26px;
    }

    .map-frame #vrcmapcanvas {
        height: 320px;
    }

    .vrc-searchf-section-locations,
    .vrc-searchf-section-datetimes,
    .vrc-searchf-section-categories {
        grid-template-columns: 1fr;
    }

    .vrc-searchf-section-datetimes .vrcsfentrycont {
        grid-template-columns: 1fr;
    }
}