
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
    --primary-orange: #E87E1C;
    --primary-orange-hover: #d06d10;
    --primary-orange-light: #f5a623;
    --bg-black: #000000;
    --bg-dark: #1a1a1a;
    --bg-dark-card: #222222;
    --bg-dark-footer: #111111;
    --bg-grey: #f0f0f0;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --text-muted: #999999;
    --text-dark: #222222;
    --border-dark: #333333;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.25);
    --radius: 4px;
    --transition: all 0.3s ease;
}

/* --- Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-grey);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Focus States --- */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-orange);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--text-muted);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ==========================================
   HEADER — Top Contact Bar
   ========================================== */
.top-contact-bar {
    background-color: var(--bg-black);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-dark);
}

.top-contact-bar a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.top-contact-bar a:hover {
    color: var(--primary-orange);
}

.top-contact-bar .icon {
    color: var(--primary-orange);
    margin-right: 5px;
    font-size: 0.9rem;
}

/* ==========================================
   HEADER — Logo Bar
   ========================================== */
.logo-bar {
    background-color: var(--bg-dark);
    padding: 12px 0;
}

.site-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(232, 126, 28, 0.35);
    height: 54px;
    transition: var(--transition);
}

.logo-bar .brand-name:hover .site-logo-badge {
    transform: translateY(-1px) scale(1.03);
    border-color: var(--primary-orange);
    box-shadow: 0 4px 16px rgba(232, 126, 28, 0.45);
}

.site-header-logo {
    height: 46px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    display: block;
}

.logo-bar .brand-name {
    text-decoration: none;
}

.brand-text-container {
    line-height: 1.1;
}

.brand-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-style: italic;
    transition: var(--transition);
}

.brand-title span {
    color: var(--text-white);
    font-style: italic;
}

.brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #aaaaaa;
    font-weight: 600;
    margin-top: 2px;
}

.logo-bar .brand-name:hover .brand-title {
    color: var(--primary-orange-light);
}

.site-logo-badge-footer {
    height: 52px;
}

.site-footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.admin-sidebar-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-orange);
    height: 60px;
}

.admin-sidebar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}


.logo-bar .header-contact {
    color: var(--text-white);
    font-size: 0.9rem;
}

.logo-bar .header-contact a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.logo-bar .header-contact a:hover {
    color: var(--primary-orange-light);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.main-nav {
    background-color: var(--bg-black);
    border-bottom: 3px solid var(--primary-orange);
    padding: 0;
}

.main-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 24px !important;
    transition: var(--transition);
    border: none;
    position: relative;
}

.main-nav .nav-link:hover {
    background-color: var(--primary-orange);
    color: var(--text-white) !important;
}

.main-nav .nav-link.active-nav {
    background-color: var(--primary-orange);
    color: var(--text-white) !important;
}

.main-nav .navbar-toggler {
    border-color: var(--primary-orange);
}

.main-nav .navbar-toggler-icon {
    filter: invert(1);
}

/* ==========================================
   HERO / BANNER
   ========================================== */
.hero-tagline {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-hover) 100%);
    color: var(--text-white);
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-tagline strong {
    font-weight: 700;
}

/* ==========================================
   SEARCH BAR
   ========================================== */
.search-bar {
    background-color: var(--bg-dark);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-dark);
}

.search-bar .form-control,
.search-bar .form-select {
    background-color: var(--text-white);
    border: 2px solid var(--border-dark);
    color: var(--text-dark);
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    height: 50px;
    font-weight: 500;
}

.search-bar .form-control:focus,
.search-bar .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(232, 126, 28, 0.2);
}

.search-bar .form-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.btn-search {
    background-color: var(--primary-orange);
    color: var(--text-white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    height: 50px;
    padding: 0 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--primary-orange-hover);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 126, 28, 0.4);
}

.btn-clear {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    height: 50px;
    padding: 0 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-clear:hover {
    border-color: var(--text-light);
    color: var(--text-white);
}

/* ==========================================
   CTA BANNERS (Sell To Us / Visit Showroom)
   ========================================== */
.cta-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.cta-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cta-banner:hover img {
    transform: scale(1.05);
}

.cta-banner .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px;
}

.cta-banner .cta-overlay h2 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.cta-banner .cta-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
    border: none;
}

.btn-cta:hover {
    background-color: var(--primary-orange-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 126, 28, 0.5);
}

/* ==========================================
   WELCOME SECTION
   ========================================== */
.welcome-section {
    background-color: var(--bg-grey);
    padding: 50px 0;
    text-align: center;
}

.welcome-section h1,
.welcome-section h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.welcome-section h1 strong,
.welcome-section h2 strong {
    font-weight: 700;
}

.welcome-section p {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================
   VEHICLE CARDS
   ========================================== */
.vehicles-section {
    padding: 40px 0 60px;
}

.vehicles-section h2 {
    font-weight: 700;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Sort Bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary-orange);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-count {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.sort-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select-wrapper label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--text-white);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 8px 35px 8px 12px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 180px;
}

.page-size-select {
    min-width: 80px;
    padding-right: 28px;
    background-position: right 8px center;
}

.sort-select:hover {
    border-color: var(--primary-orange);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(232, 126, 28, 0.15);
}

@media (max-width: 576px) {
    .sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .sort-controls {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }
    .sort-select {
        min-width: 140px;
    }
    .page-size-select {
        min-width: 70px;
    }
}

.vehicle-card {
    background: var(--text-white);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    width: 100%;
}

.vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

/* --- GRID LAYOUT (Default State) --- */
.vehicle-card.grid-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vehicle-card.grid-layout .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card.grid-layout .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}

.vehicle-card.grid-layout:hover .card-img-wrapper img {
    transform: scale(1.04) translateZ(0);
}

.vehicle-card.grid-layout .card-img-wrapper .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.vehicle-card.grid-layout .card-img-wrapper .photo-count {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vehicle-card.grid-layout .card-img-wrapper .year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-orange);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.vehicle-card.grid-layout .card-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-card.grid-layout .card-body {
    padding: 18px 18px 10px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-card.grid-layout .card-sidebar {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.vehicle-card.grid-layout .vehicle-price {
    padding: 12px 18px 0 18px;
    border-top: 1px solid #eee;
}

.vehicle-card.grid-layout .card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 18px 18px 18px;
}

/* --- LIST LAYOUT (Sıralama Yapıldığında) --- */
.vehicle-card.list-layout {
    display: flex;
    flex-direction: column;
}

.vehicle-card.list-layout .card-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card.list-layout .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}

.vehicle-card.list-layout:hover .card-img-wrapper img {
    transform: scale(1.04) translateZ(0);
}

.vehicle-card.list-layout .card-img-wrapper .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.vehicle-card.list-layout .card-img-wrapper .photo-count {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vehicle-card.list-layout .card-img-wrapper .year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-orange);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.vehicle-card.list-layout .card-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-card.list-layout .card-body {
    padding: 18px 18px 10px 18px;
    display: flex;
    flex-direction: column;
}

.vehicle-card.list-layout .card-sidebar {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.vehicle-card.list-layout .vehicle-price {
    padding: 12px 18px 0 18px;
    border-top: 1px solid #eee;
}

.vehicle-card.list-layout .card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 18px 18px 18px;
}

/* --- Shared inner styles --- */
.vehicle-card .vehicle-title {
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.vehicle-card .vehicle-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 400;
}

.vehicle-card .vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vehicle-card .vehicle-specs .spec-badge {
    background: var(--bg-grey);
    color: #555;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 500;
}

.vehicle-card .vehicle-price .price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.vehicle-card .vehicle-price .price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.vehicle-card .card-actions .btn-view {
    flex: 1;
    background: var(--bg-dark);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 10px;
    border: none;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.vehicle-card .card-actions .btn-view:hover {
    background: var(--primary-orange);
    color: var(--text-white);
}

.vehicle-card .card-actions .btn-enquire {
    flex: 1;
    background: var(--primary-orange);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 10px;
    border: none;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.vehicle-card .card-actions .btn-enquire:hover {
    background: var(--primary-orange-hover);
    color: var(--text-white);
}

/* Horizontal List Layout for Desktop (Sahibinden style) */
@media (min-width: 768px) {
    .vehicle-card.list-layout {
        flex-direction: row;
        height: 200px;
        align-items: stretch;
    }

    .vehicle-card.list-layout .card-img-wrapper {
        width: 300px;
        min-width: 300px;
        height: 100%;
        flex-shrink: 0;
    }

    .vehicle-card.list-layout .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: high-quality;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .vehicle-card.list-layout .card-content-wrapper {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        flex-grow: 1;
    }

    .vehicle-card.list-layout .card-body {
        padding: 20px;
        justify-content: center;
        flex-grow: 1;
    }

    .vehicle-card.list-layout .card-sidebar {
        min-width: 240px;
        border-left: 1px solid #eee;
        background-color: #fafafa;
        padding: 20px;
        margin-top: 0;
        justify-content: space-between;
        align-items: flex-end;
    }

    .vehicle-card.list-layout .vehicle-price {
        padding: 0;
        border-top: none;
        width: 100%;
        text-align: right;
    }

    .vehicle-card.list-layout .card-actions {
        padding: 0;
        width: 100%;
        margin-top: auto;
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--text-white);
    border: 2px dashed #ddd;
    border-radius: var(--radius);
}

.empty-state h4 {
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
}

/* ==========================================
   FOOTER — Newsletter / CTA Bar
   ========================================== */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-hover) 100%);
    padding: 20px 0;
}

.footer-cta p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-cta .btn-signup {
    background: var(--text-white);
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    padding: 10px 30px;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.footer-cta .btn-signup:hover {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* ==========================================
   FOOTER — Main
   ========================================== */
.site-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-footer) 100%);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.site-footer h5 {
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.site-footer .footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 15px;
}

.site-footer .footer-brand span {
    color: var(--text-white);
    font-style: italic;
}

.site-footer p, .site-footer li {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text-light);
}

.site-footer a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--primary-orange-light);
}

.site-footer .footer-icon {
    color: var(--primary-orange);
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Opening Hours Table */
.opening-hours {
    width: 100%;
}

.opening-hours td {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.opening-hours td:first-child {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-right: 20px;
}

.opening-hours td:last-child {
    text-align: right;
    color: var(--text-white);
}

.opening-hours .sunday td {
    font-weight: 700;
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-hero {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.about-hero h1 {
    font-weight: 300;
    font-size: 2.5rem;
}

.about-hero h1 strong {
    color: var(--primary-orange);
    font-weight: 700;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-content {
    padding: 50px 0;
}

.about-content h3 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-content p {
    color: #555;
    line-height: 1.8;
}

.feature-card {
    background: var(--text-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    border-top-color: var(--primary-orange);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.feature-card h4 {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-hero {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-weight: 300;
    font-size: 2.5rem;
}

.contact-hero h1 strong {
    color: var(--primary-orange);
}

.contact-hero p {
    color: var(--text-light);
}

.contact-form-card {
    background: var(--text-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    border-top: 4px solid var(--primary-orange);
}

.contact-form-card .btn-submit {
    background: var(--primary-orange);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    padding: 12px;
    transition: var(--transition);
}

.contact-form-card .btn-submit:hover {
    background: var(--primary-orange-hover);
}

.contact-info-card {
    background: var(--bg-dark);
    color: var(--text-white);
    border-radius: var(--radius);
    border-top: 4px solid var(--primary-orange);
}

.contact-info-card h4 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-card .info-icon {
    color: var(--primary-orange);
    margin-right: 10px;
}

/* ==========================================
   DETAILS PAGE
   ========================================== */
.detail-hero {
    background: var(--bg-dark);
    padding: 15px 0;
}

.detail-hero .breadcrumb {
    margin-bottom: 0;
}

.detail-hero .breadcrumb-item a {
    color: var(--primary-orange);
    text-decoration: none;
}

.detail-hero .breadcrumb-item.active {
    color: var(--text-light);
}

.detail-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* 2-Row Scrollable Thumbnail Gallery */
.detail-thumbnails-wrapper {
    position: relative;
    margin-top: 12px;
    margin-bottom: 24px;
    padding: 0 38px;
}

.detail-thumbnails-scroll {
    display: grid;
    grid-template-rows: repeat(2, 74px);
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 4px 2px 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) #f1f5f9;
}

.detail-thumbnails-scroll::-webkit-scrollbar {
    height: 6px;
}

.detail-thumbnails-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.detail-thumbnails-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.2s;
}

.detail-thumbnails-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

.detail-thumb-item {
    width: 104px;
    height: 74px;
    flex-shrink: 0;
}

.detail-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f172a;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    display: block;
}

.detail-thumbnail:hover {
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.detail-thumbnail.active {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px var(--primary-orange);
    transform: scale(1.02);
}

/* Nav buttons on sides of thumbnail strip */
.thumb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 64px;
    background: #1e293b;
    color: #fff;
    border: 1px solid #334155;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.thumb-nav-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.thumb-prev-btn {
    left: 0;
}

.thumb-next-btn {
    right: 0;
}

@media (max-width: 576px) {
    .detail-thumbnails-wrapper {
        padding: 0 28px;
    }
    .detail-thumbnails-scroll {
        grid-template-rows: repeat(2, 60px);
        grid-auto-columns: 84px;
        gap: 6px;
    }
    .detail-thumb-item {
        width: 84px;
        height: 60px;
    }
    .thumb-nav-btn {
        width: 24px;
        height: 52px;
        font-size: 0.75rem;
    }
}

.detail-specs-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-specs-table td {
    font-weight: 500;
    text-align: right;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.detail-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.detail-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-contact-detail {
    background: var(--primary-orange);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-contact-detail:hover {
    background: var(--primary-orange-hover);
    color: var(--text-white);
    transform: translateY(-1px);
}

.btn-call-detail {
    background: var(--bg-dark);
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.btn-call-detail:hover {
    background: var(--bg-black);
    color: var(--primary-orange);
}

.btn-carvx-detail {
    background: linear-gradient(135deg, #005696 0%, #003e6b 100%);
    color: var(--text-white) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.9rem;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 86, 150, 0.25);
}

.btn-carvx-detail:hover {
    background: linear-gradient(135deg, #006eb8 0%, #004d84 100%);
    color: var(--text-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 86, 150, 0.35);
}

.description-section {
    border-top: 3px solid var(--primary-orange);
    background: var(--text-white);
}

/* ==========================================
   ADMIN LOGIN
   ========================================== */
.admin-login-card .card-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-black) 100%) !important;
    border-bottom: 3px solid var(--primary-orange);
}

.admin-login-card .btn-login {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.admin-login-card .btn-login:hover {
    background: var(--primary-orange-hover);
    border-color: var(--primary-orange-hover);
}

/* ==========================================
   ADMIN SIDEBAR
   ========================================== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%) !important;
    border-right: 3px solid var(--primary-orange);
}

.admin-sidebar h4 {
    color: var(--primary-orange);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
}

.admin-sidebar .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 10px 15px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--text-white) !important;
    background: rgba(232, 126, 28, 0.1);
    border-left-color: var(--primary-orange);
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.pagination-info strong {
    color: var(--text-dark);
    font-weight: 700;
}

.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--text-white);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.page-btn:hover {
    background: var(--bg-dark);
    color: var(--text-white);
    border-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.page-btn.page-active {
    background: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(232, 126, 28, 0.4);
    cursor: default;
    pointer-events: none;
}

.page-btn.page-prev,
.page-btn.page-next {
    font-size: 0.75rem;
    background: var(--bg-dark);
    color: var(--text-white);
    border-color: var(--bg-dark);
}

.page-btn.page-prev:hover,
.page-btn.page-next:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--text-white);
}

.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 42px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    user-select: none;
}

/* ==========================================
   FILTER DROPDOWNS
   ========================================== */
.filter-dropdown {
    position: relative;
    width: 100%;
}

.filter-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--text-white);
    border: 2px solid var(--border-dark);
    color: var(--text-dark);
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    height: 50px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.filter-dropdown-toggle:hover,
.filter-dropdown.open .filter-dropdown-toggle {
    border-color: var(--primary-orange);
}

.filter-dropdown-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.filter-dropdown-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.filter-dropdown.open .filter-dropdown-icon {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: var(--text-white);
    border: 1px solid var(--border-dark);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.filter-dropdown.open .filter-dropdown-menu {
    display: flex;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    margin: 0;
}

.filter-checkbox-item:last-child {
    border-bottom: none;
}

.filter-checkbox-item:hover {
    background-color: #fafafa;
}

.filter-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

.filter-checkbox-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    flex-grow: 1;
}

.filter-checkbox-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.filter-dropdown-empty {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-orange { color: var(--primary-orange) !important; }
.bg-orange { background-color: var(--primary-orange) !important; }
.border-orange { border-color: var(--primary-orange) !important; }

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .cta-banner { height: 160px; }
    .cta-banner .cta-overlay h2 { font-size: 1.3rem; }
    .main-nav .nav-link { padding: 10px 16px !important; }
    .logo-bar .brand-name { font-size: 1.5rem; }
    .vehicle-card .card-actions { flex-direction: column; }
    .pagination-wrapper { margin-top: 30px; padding-top: 20px; }
    .page-btn { min-width: 36px; height: 36px; font-size: 0.8rem; }
    .page-ellipsis { min-width: 24px; height: 36px; }
}

@media (max-width: 576px) {
    .cta-banner { height: 140px; }
    .cta-banner .cta-overlay { padding: 15px 20px; }
    .pagination-list { gap: 4px; }
    .page-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 0.75rem; }
}

/* ========================================== 
   RIBBON BANNER OVERLAY (Large / Details Page)
   ========================================== */
.ribbon-wrapper {
    width: 250px;
    height: 250px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

.ribbon-text {
    position: absolute;
    display: block;
    width: 350px;
    padding: 6px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-hover) 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
    left: -100px;
    top: 75px; /* Pulled further down */
    transform: rotate(-45deg);
    letter-spacing: 5px;
    border-top: 1.5px solid rgba(255,255,255,0.4);
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
}

.ribbon-text::before {
    content: "\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0"; /* Extra spaces at the start of the text */
}

.ribbon-text::after {
    content: "\00a0\00a0\00a0\00a0\00a0"; /* Spaces at the end */
}

/* Showroom / Homepage Card Ribbon Overlay (Small) */
.vehicle-card .ribbon-wrapper {
    width: 140px;
    height: 140px;
}

.vehicle-card .ribbon-text {
    width: 220px;
    padding: 4px 0;
    font-weight: 700;
    font-size: 0.62rem;
    left: -60px;
    top: 22px; /* Pulled slightly higher up */
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.vehicle-card .ribbon-text::before {
    content: ""; /* Removed start space completely to pull text further left */
}

.vehicle-card .ribbon-text::after {
    content: "\00a0\00a0\00a0"; /* 3 spaces at the end */
}

/* ==========================================================================
   CarVX & Japanese Import Verification Components
   ========================================================================== */
.carvx-verification-card {
    background: linear-gradient(145deg, #ffffff 0%, #f4f8fb 100%);
    border: 1.5px solid #005696;
    border-radius: 8px;
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 86, 150, 0.08);
    transition: var(--transition);
}

.carvx-verification-card:hover {
    box-shadow: 0 6px 20px rgba(0, 86, 150, 0.15);
    border-color: #0077c8;
}

.carvx-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(0, 86, 150, 0.25);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.carvx-logo-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    color: #005696;
    letter-spacing: 0.5px;
}

.carvx-logo-badge .vx-mark {
    background: #005696;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    font-size: 0.9rem;
}

.carvx-verified-pill {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.carvx-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.carvx-spec-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.carvx-spec-label {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.carvx-spec-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    word-break: break-all;
}

.carvx-grade-badge {
    background: linear-gradient(135deg, #E87E1C 0%, #d06d10 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-carvx-action {
    background: linear-gradient(135deg, #005696 0%, #003e6b 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 86, 150, 0.25);
    text-decoration: none !important;
    font-size: 0.92rem;
}

.btn-carvx-action:hover {
    background: linear-gradient(135deg, #006eb8 0%, #004d84 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 86, 150, 0.35);
    color: #ffffff !important;
}

.btn-carvx-report {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
    text-decoration: none !important;
    font-size: 0.92rem;
}

.btn-carvx-report:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.35);
    color: #ffffff !important;
}

/* Copy chassis button */
.btn-copy-chassis {
    background: transparent;
    border: none;
    color: #005696;
    padding: 0 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.btn-copy-chassis:hover {
    color: var(--primary-orange);
}

/* Showroom Card Mini Badge */
.carvx-showroom-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
}

.carvx-showroom-badge .grade-dot {
    background: var(--primary-orange);
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 800;
}

/* CarVX Search Widget (General lookup) */
.carvx-search-widget {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.carvx-search-widget::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 86, 150, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.carvx-search-widget .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
}

.carvx-search-widget .widget-subtitle {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.carvx-search-form {
    display: flex;
    gap: 8px;
}

.carvx-search-input {
    background: #1f2937;
    border: 1px solid #374151;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    flex-grow: 1;
    text-transform: uppercase;
}

.carvx-search-input:focus {
    background: #1f2937;
    border-color: #0077c8;
    color: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 119, 200, 0.25);
}

.carvx-search-btn {
    background: #005696;
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.88rem;
}

.carvx-search-btn:hover {
    background: #0077c8;
}

/* ==========================================
   HEADER ICONS
   ========================================== */
.header-icon {
    color: var(--primary-orange);
    margin-right: 6px;
}

/* ==========================================
   APPOINTMENT MODAL
   ========================================== */
.appt-modal-dialog {
    max-width: 520px;
}

.appt-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.appt-modal-header {
    position: relative;
    text-align: center;
    padding: 1.75rem 1.5rem 1.25rem;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-bottom: 3px solid var(--primary-orange);
}

.appt-modal-header .btn-close {
    opacity: 0.8;
}

.appt-modal-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 62px;
    padding: 4px;
    margin-bottom: 0.5rem;
}

.appt-modal-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.appt-modal-stars {
    color: var(--primary-orange);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.appt-modal-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.appt-modal-lead {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.appt-modal-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.appt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.appt-btn-primary {
    background: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(232, 126, 28, 0.35);
}

.appt-btn-primary:hover {
    background: var(--primary-orange-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.appt-btn-dark {
    background: #111827;
    color: #ffffff;
}

.appt-btn-dark i {
    color: var(--primary-orange);
}

.appt-btn-dark:hover {
    background: #000000;
    color: #ffffff;
}

.appt-btn-light {
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.appt-btn-light:hover {
    background: #e5e7eb;
    color: #374151;
}

/* ==========================================
   MOBILE QUICK ACTION BAR
   ========================================== */
.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.3);
}

.mab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.mab-item i {
    font-size: 1.05rem;
}

.mab-item:hover,
.mab-item:active {
    color: #ffffff;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}

.mab-whatsapp {
    background: #25D366;
}

.mab-whatsapp:hover,
.mab-whatsapp:active {
    background: #1ebe5b;
}

.mab-primary {
    background: var(--primary-orange);
}

.mab-primary:hover,
.mab-primary:active {
    background: var(--primary-orange-hover);
}

/* Footer'in sabit cubuk altinda kalmamasi icin */
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
}

/* ==========================================
   CONTACT FORM HONEYPOT (gizli)
   ========================================== */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================
   VEHICLE CARD REVEAL ANIMATION
   ========================================== */
.reveal-pending {
    opacity: 0;
}

.reveal-in {
    animation: cardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-pending {
        opacity: 1;
    }

    .reveal-in {
        animation: none;
    }
}

/* ==========================================
   IMAGE SKELETON LOADING
   ========================================== */
.card-img-wrapper {
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.card-img-wrapper img {
    position: relative;
    z-index: 1;
    /* Resim yüklenince arka planı gizlemek için js ile opasite kontrolü de yapılabilir 
       ama default olarak resim opaktır. */
}