/* Custom CSS for Autobroker Österreich */

/* Smaller tooltip text for price breakdown */
.tooltip .tooltip-inner {
    font-size: 12px;
    line-height: 1.25;
}

/* Better spacing and alignment for price tooltips */
.price-tooltip .tooltip-inner {
    text-align: left;
    padding: 6px 8px;
}

/* Match export price size to vehicle specs (mileage/year rows) */
.export-price {
    font-size: 0.875rem; /* same as .small */
}

/* Price breakdown display in modal */
.price-breakdown {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.price-breakdown .breakdown-line {
    margin-bottom: 0.25rem;
}

.price-breakdown .breakdown-line:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #495057;
    border-top: 1px solid #dee2e6;
    padding-top: 0.25rem;
    margin-top: 0.25rem;
}

/* Loading States */
.text-orange {
    color: #ff9100 !important;
}

.spinner-border.text-orange {
    color: #ff9100 !important;
}

/* Import Page Specific Styles */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.bg-import {
    background: linear-gradient(135deg, #ff9100 0%, #ff6b35 100%);
}

.bg-newcar {
    background: linear-gradient(135deg, #ff6b35 0%, #ff9100 100%);
}

.bg-luxury {
    background: linear-gradient(135deg, #ff9100 0%, #ff6b35 100%);
}

.bg-support {
    background: linear-gradient(135deg, #ff6b35 0%, #ff9100 100%);
}

/* Homepage Featured Vehicles Styles */
.featured-vehicle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.featured-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.featured-vehicle-card .image-container {
    position: relative;
    overflow: hidden;
    height: 230px;
    width: 100%;
}

.featured-vehicle-card .featured-vehicle-image {
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.featured-vehicle-card:hover .featured-vehicle-image {
    transform: scale(1.05);
}

.featured-vehicle-card .vehicle-price-badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.featured-vehicle-card .price-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ff9100;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #ff9100;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.featured-vehicle-card .price-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9100 0%, #ff6b35 100%);
}

.featured-vehicle-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.featured-vehicle-card .text-muted {
    color: #6c757d !important;
}

/* Featured vehicle card animation styles */
.featured-vehicle-card {
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity, box-shadow;
    /* Smooth entrance animation */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.featured-vehicle-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for staggered effect */
.col-md-4:nth-child(1) .featured-vehicle-card {
    transition-delay: 0.1s;
}

.col-md-4:nth-child(2) .featured-vehicle-card {
    transition-delay: 0.2s;
}

.col-md-4:nth-child(3) .featured-vehicle-card {
    transition-delay: 0.3s;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ff9100;
    --dark-color: #1a1a1a;
    --grey-dark: #333333;
    --grey-medium: #666666;
    --grey-light: #f8f8f8;
    --light-bg: #ffffff;
    --border-light: #e5e5e5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    opacity: 0.7;
}

.navbar-brand img {
    transition: transform 0.2s ease;
    filter: brightness(0);
    margin-top: 5px;
}

.navbar-brand:hover img {
    transform: scale(1.01);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin-left: 2rem;
    transition: color 0.2s ease;
    color: var(--grey-dark) !important;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--grey-light);
    padding: 120px 0;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.hero-section .lead {
    color: var(--grey-dark);
    font-size: 1.25rem;
}

.hero-section p {
    color: var(--grey-dark);
}

/* Hero Parallax - Index Page */
.hero-parallax-index {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-parallax-index-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/Autobroker-Hero-Lambo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Mobile-optimized hero background for better LCP */
@media (max-width: 768px) {
    .hero-parallax-index-bg {
        background-image: url('../img/Autobroker-Hero-Lambo-mobile.webp');
    }
}

/* High-DPI display optimization for mobile devices */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
       (max-width: 768px) and (min-resolution: 192dpi) {
    .hero-parallax-index-bg {
        background-image: url('../img/Autobroker-Hero-Lambo.webp');
    }
}

.hero-parallax-index::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-parallax-index .hero-content {
    position: relative;
    z-index: 1;
}

.hero-parallax-index h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-parallax-index p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-parallax-index .lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hero-parallax-index .btn-group {
    margin-top: 2rem;
}

/* Hero Parallax - Rental Page */
.hero-parallax-rental {
    position: relative;
    height: 40vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-parallax-import {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-parallax-import-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/Autobroker-Hero-DB11.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-parallax-import::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-parallax-import .hero-content {
    position: relative;
    z-index: 1;
}

.hero-parallax-import h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-parallax-import p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-parallax-rental-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/Porsche-992-4S-Cabrio-1-16-9.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-parallax-rental::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-parallax-rental .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-parallax-rental h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-parallax-rental p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-parallax-vehicles h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-parallax-vehicles p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Parallax - Contact Page */
.hero-parallax-contact {
    position: relative;
    height: 40vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-parallax-contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/Autobroker-Showroom.webp');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(0.6) contrast(1.1);
    transform: translateZ(-1px) scale(1.1);
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-parallax-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-parallax-contact .container {
    position: relative;
    z-index: 2;
}

.hero-parallax-contact h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95);
}

.hero-parallax-contact .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95);
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3, .service-card h4 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--grey-medium);
}

/* Car Rental Cards */
.car-card {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity, box-shadow;
    /* Smooth entrance animation */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.car-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
     /* Override entrance transition with faster hover transition */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
}

/* Add animation delay for staggered effect */
.car-item:nth-child(3n+1) .car-card {
    transition-delay: 0.1s;
}

.car-item:nth-child(3n+2) .car-card {
    transition-delay: 0.2s;
}

.car-item:nth-child(3n+3) .car-card {
    transition-delay: 0.3s;
}

.car-card .card-body {
    background: white;
    color: var(--primary-color);
}

.car-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.car-card .text-muted {
    color: var(--grey-medium) !important;
}

.car-card .car-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    padding: 2rem;
}

.car-specs {
    background-color: var(--grey-light);
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
}

.car-specs span {
    display: inline-block;
    margin-right: 20px;
    font-size: 0.875rem;
    color: var(--grey-dark);
}

.car-specs i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.rental-prices {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid var(--border-light);
}

.rental-prices h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--grey-medium);
    font-size: 0.875rem;
}

.price-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.price-item:last-child {
    border-bottom: none;
}

.price-details {
    text-align: right;
}

.price-details strong {
    display: block;
    margin-bottom: 2px;
}

.price-details small {
    font-size: 0.75rem;
    white-space: nowrap;
}

.deposit-info {
    background: var(--grey-light);
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 0.8125rem;
    color: var(--grey-dark);
}

.deposit-info i {
    color: var(--grey-medium);
}

/* Premium badge */
.car-card .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.car-card .badge.bg-warning {
    background-color: #ffcc00 !important;
    color: #000 !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 10px 24px;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 0.875rem;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--grey-dark);
    border-color: var(--grey-dark);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-accent:hover {
    background: #ae6300;
    border-color: #ae6300;
    color: white;
}

.btn-outline-accent {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.btn-outline-accent:hover {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid var(--border-light);
    padding: 10px 14px;
    background-color: white;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

/* Modal */
.modal-content {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.modal-header {
    background: var(--grey-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

/* Contact Section */
.contact-info {
    background: var(--grey-light);
    padding: 30px;
    border-radius: 8px;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-color) !important;
}

footer a:not(.btn), footer a:visited:not(.btn) {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover:not(.btn), footer a:focus:not(.btn) {
    color: var(--secondary-color) !important;
    text-decoration: none;
}

/* Footer legal links */
footer .text-decoration-none:hover {
    text-decoration: underline !important;
    opacity: 0.8;
}

/* Social Media Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.2s ease;
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    opacity: 1;
}

footer .fa-facebook-f,
footer .fa-instagram,
footer .fa-linkedin-in,
footer .fa-youtube,
footer .fa-tiktok {
    font-size: 1rem;
}

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.text-primary {
    color: var(--secondary-color) !important;
}

.bg-light-custom {
    background: var(--grey-light);
}

.section-title h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.section-title p {
    color: var(--grey-medium);
}

/* Brand Filter */
.brand-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}

.brand-filter-buttons .btn {
    margin: 0.25rem 0;
    border-radius: 4px !important;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-filter-buttons .btn:hover {
    transform: none;
}

/* All Brands button - stands out */
.btn-all-brands {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9375rem !important;
}

.btn-all-brands:hover {
    background: #ae6300 !important;
    border-color: #ae6300 !important;
    transform: translateY(-1px) !important;
}

.btn-all-brands .badge {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Individual brand buttons */
.brand-filter-btn {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--grey-medium);
    font-weight: 400;
    position: relative;
}

.brand-filter-btn:hover {
    background: var(--grey-light);
    border-color: var(--grey-medium);
    color: var(--primary-color);
}

.brand-filter-btn .badge {
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
    background: var(--grey-light) !important;
    color: var(--grey-dark) !important;
}

.brand-filter-btn:hover .badge {
    background: var(--primary-color) !important;
    color: white !important;
}

.brand-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.brand-filter-buttons .btn .badge {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    font-weight: 600;
}

.brand-filter-btn.active .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.car-item {
    transition: opacity 0.2s ease-in-out;
}

/* Box shadows */
.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .brand-filter-buttons {
        max-width: 100%;
    }
    
    .brand-filter-buttons .btn {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin-left: 0;
    }
    
    .car-card .car-image {
        max-height: 300px;
        padding: 1rem;
    }
    
    .brand-filter-buttons {
        justify-content: center;
    }
    
    .brand-filter-buttons .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        max-width: none;
    }
    
    .btn-all-brands {
        font-size: 0.875rem !important;
        padding: 0.375rem 1rem !important;
    }
    
    .hero-parallax-index,
    .hero-parallax-rental,
    .hero-parallax-vehicles {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-parallax-index h1,
    .hero-parallax-rental h1,
    .hero-parallax-vehicles h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-parallax-index p,
    .hero-parallax-rental p,
    .hero-parallax-vehicles p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-parallax-vehicles .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .hero-parallax-vehicles {
        height: 40vh;
        min-height: 350px;
    }
    
    .hero-parallax-vehicles h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-parallax-vehicles p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-parallax-vehicles .hero-content {
        padding: 0 15px;
    }
    
    .hero-parallax-index .lead {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-parallax-index .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Ensure mobile hero image is used on very small devices */
    .hero-parallax-index-bg {
        background-image: url('../img/Autobroker-Hero-Lambo-mobile.webp');
    }
    
    .navbar-brand img {
        height: 25px !important;
    }
    
    .hero-parallax-contact {
        height: 30vh;
        min-height: 300px;
    }
    
    .hero-parallax-contact h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-parallax-contact .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    #galleryModal .gallery-controls {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }
}

/* Fix for navbar width issue between 990px and 1200px */
@media (min-width: 991px) and (max-width: 1200px) {
    .navbar-nav .nav-link {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .container {
        max-width: 95%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Additional styling */
.card {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: var(--grey-light);
    border-bottom: 1px solid var(--border-light);
}

.table {
    color: var(--primary-color);
}

.table td {
    border-color: var(--border-light);
}

.accordion-item {
    background: white;
    border: 1px solid var(--border-light);
}

.accordion-button {
    background: white;
    color: var(--primary-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: var(--grey-light);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-light);
}

.accordion-body {
    background: white;
    color: var(--grey-dark);
}

/* Alert Overlay */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.alert-overlay.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.alert-overlay .alert {
    max-width: 90%;
    width: 400px;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 100000;
}

.alert-overlay.show .alert {
    transform: translateY(0);
}

.alert-overlay .alert .text-center {
    padding: 1rem;
}

.alert-overlay .alert .btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.alert-overlay .alert .btn-close:hover {
    opacity: 0.75;
}

.alert-overlay .alert i {
    display: block;
    margin-bottom: 0.5rem;
}

.alert-overlay .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-overlay .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Ensure the required text is visible */
.recaptcha-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.recaptcha-text a {
    color: #6c757d;
    text-decoration: underline;
}

.recaptcha-text a:hover {
    color: #495057;
}

/* Lazy Loading Styles */
.image-container {
    position: relative;
    width: 100%;
    background-color: #f8f9fa;
    overflow: hidden;
    transition: background-color 0.08s ease-out;
}

.car-card:hover .image-container {
    background-color: white;
}

.placeholder-glow-car {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.placeholder-glow-vehicle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.car-image {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}

.car-image.lazy {
    opacity: 0;
}

.car-image:not(.lazy) {
    opacity: 1;
}

.placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: placeholderShimmer 1.5s infinite;
}

@keyframes placeholderShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Footer Logo */
.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
    filter: invert(1); /* Invert black to white */
    transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

.footer-logo:hover {
    transform: scale(1.02);
    filter: invert(0.9); /* Slightly darken on hover */
}

/* Language Selector Styles */
.lang-toggle {
    padding: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important; /* Fixed width */
    height: 40px !important; /* Fixed height */
    position: relative !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    color: inherit !important;
}

.lang-toggle:hover,
.lang-toggle:focus,
.lang-toggle:active {
    text-decoration: none !important;
    background: none !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}

.lang-toggle::after {
    display: none !important;
}

.lang-toggle i {
    font-size: 1.2rem !important;
    color: #333 !important;
    position: relative !important;
    display: inline-block !important;
    width: 1.2rem !important;
    text-align: center !important;
    pointer-events: none !important;
}

/* Language Dropdown Menu */
.dropdown-menu {
    min-width: 200px !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,.15) !important;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
    right: 0 !important;
    left: auto !important;
    position: absolute !important;
    z-index: 1000 !important;
}

.dropdown-menu .flag {
    margin-right: 0.5rem !important;
    font-size: 1.1rem !important;
}

.dropdown-item {
    padding: 0.5rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #333 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    text-decoration: none !important;
    background-color: #f8f9fa !important;
    color: #333 !important;
}

.dropdown-item.active {
    background-color: #e9ecef !important;
    color: #0d6efd !important;
}

/* Mobile Menu Transitions */
.navbar-collapse {
    transition: none !important;
}

.navbar-collapse.collapsing {
    transition: height 0.35s ease !important;
}

/* Ensure smooth opacity transition for menu items */
.navbar-collapse .navbar-nav {
    transition: opacity 0.2s ease-in-out;
}

/* Center the language dropdown below the world icon */
.nav-item.dropdown {
    position: relative !important;
}

.nav-item.dropdown .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    margin-top: 0.5rem !important;
    min-width: 200px !important;
    width: max-content !important;
    max-width: 90vw !important;
}

a:not(.btn), a:visited:not(.btn) {
    color: #ac6100;
    transition: color 0.2s;
}

a:hover:not(.btn), a:focus:not(.btn) {
    color: var(--primary-color);
}

/* Breadcrumb/back-link styling */
.breadcrumb {
    --bs-breadcrumb-divider: "›";
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider);
    color: #adb5bd;
    padding: 0 0.5rem;
}

.back-link {
    text-decoration: none !important;
    color: inherit;
    background: #f6f7f9;
    border: 1px solid #eceff3;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.back-link .badge {
    background: #fff !important;
}

.back-link:hover {
    background: #eef1f5;
    border-color: #e3e7ec;
    color: #000;
    transform: translateY(-1px);
}

.breadcrumb .breadcrumb-item.active {
    color: #6c757d;
}

/* Import Page Styles */
.import-image {
    height: 200px;
    object-fit: cover;
}

.import-image-tall {
    height: 400px;
    object-fit: cover;
}

.process-step {
    width: 80px;
    height: 80px;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Custom Background Colors */
.bg-primary-custom {
    background-color: #e67e00 !important; /* Darker orange version of secondary color */
}

.bg-primary-custom.text-white {
    color: white !important;
}

/* Lightbox Gallery Styles */
.gallery-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.gallery-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.gallery-overlay i {
    font-size: 0.9rem;
}

.gallery-count {
    font-weight: 600;
    font-size: 0.7rem;
}

.gallery-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 5;
}

.gallery-click-overlay:hover {
    background: rgba(255, 255, 255, 0.05);
}


#galleryModal .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
}

#galleryModal .modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 1rem;
}

#galleryModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#galleryModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.gallery-main-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 1rem 2rem;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--secondary-color);
    opacity: 1;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.gallery-nav-btn:hover, .gallery-nav-btn-style:hover {
    color: #fff !important;
    border-color: #fff !important;
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-nav-btn i {
    font-size: 1.2rem;
}

.gallery-counter-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    #galleryModal .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem auto;
    }
    
    #galleryModal .modal-body {
        align-items: center !important;
        padding-top: 0;
    }
    
    .gallery-container {
        height: 50vh;
    }
    
    .gallery-main-image {
        margin-top: 0;
        padding: 0.5rem;
    }
    
    .gallery-thumbnails {
        padding: 0.15rem 0.75rem;
    }
    
    .gallery-thumbnail {
        width: 55px;
        height: 40px;
    }
    
    .gallery-controls {
        padding: 0 1rem;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav-btn i {
        font-size: 1rem;
    }
    
    #galleryModal .modal-title {
        font-size: 1.2rem;
    }
    
    .gallery-label {
        position: fixed !important;
        top: auto !important;
        bottom: 120px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        text-align: center !important;
        z-index: 1061 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(5px) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
}

/* Smooth transitions for gallery */
.gallery-main-image img {
    transition: opacity 0.3s ease;
}

.gallery-thumbnail {
    transition: all 0.3s ease;
}

/* Loading state for gallery images */
.gallery-main-image img:not([src]), 
.gallery-main-image img[src=""] {
    opacity: 0;
}

.gallery-main-image img[src]:not([src=""]) {
    opacity: 1;
}

/* Full page blur when gallery is open */
body.gallery-open {
    overflow: hidden;
}

body.gallery-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1040;
    pointer-events: none;
}

/* Ensure gallery modal is above the blur */
#galleryModal {
    z-index: 1050;
}

body.gallery-open .modal-backdrop {
    display: none !important;
}

#galleryMainImage {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2px;
}

.gallery-label {
    margin-left: 24px;
}
@media (max-width: 768px) {
    .gallery-label {
        font-size: 0.9rem !important;
        padding: 4px 10px !important;
    }
}

/* Gallery close button */
.gallery-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Gallery label */
.gallery-label {
    margin-left: 24px;
    top: 20px;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .gallery-nav-btn,
    .gallery-nav-btn-style {
        background: transparent !important;
        border: 2px solid #fff !important;
        color: #fff !important;
    }
    .gallery-nav-btn:hover,
    .gallery-nav-btn-style:hover {
        background: rgba(0,0,0,0.15) !important;
        color: #fff !important;
        border-color: #fff !important;
        transform: scale(1.1);
    }
}

/* Gallery container max height */
.gallery-container-maxheight {
    max-height: 85vh;
}

/* Gallery main image container max height */
.gallery-main-image-maxheight {
    max-height: 75vh;
    min-height: 300px;
}

/* Gallery main image style */
.gallery-main-img-style {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Gallery info container z-index */
.gallery-info-z {
    z-index: 1060;
}

/* Gallery thumbnails scroll style */
.gallery-thumbnails-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

/* Gallery controls padding */
.gallery-controls-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Gallery nav button style */
.gallery-nav-btn-style {
    background: rgba(0,0,0,0.7);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover, .gallery-nav-btn-style:hover {
  color: #fff !important;
  border-color: #fff !important;
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-nav-btn,
  .gallery-nav-btn-style {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
  }
  .gallery-nav-btn:hover,
  .gallery-nav-btn-style:hover {
    background: rgba(0,0,0,0.15) !important;
    color: #fff !important;
    border-color: #fff !important;
    transform: scale(1.1);
  }
}

/* Extra small mobile gallery adjustments */
@media (max-width: 576px) {
  .gallery-container {
    height: 40vh;
  }
  
  .gallery-main-image {
    padding: 0.25rem;
  }
  
  .gallery-thumbnails {
    padding: 0.1rem 0.5rem;
  }
  
  .gallery-thumbnail {
    width: 45px;
    height: 35px;
  }
}

/* Vehicle Page Styles */
.hero-parallax-vehicles {
    position: relative;
    height: 40vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-parallax-vehicles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/Autobroker-Hero-MC20.webp');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: transform;
}

.hero-parallax-vehicles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-parallax-vehicles .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 30px;
}



.vehicle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity, box-shadow;
    /* Smooth entrance animation */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.vehicle-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for staggered effect */
.vehicle-item:nth-child(3n+1) .vehicle-card {
    transition-delay: 0.1s;
}

.vehicle-item:nth-child(3n+2) .vehicle-card {
    transition-delay: 0.2s;
}

.vehicle-item:nth-child(3n+3) .vehicle-card {
    transition-delay: 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.vehicle-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    width: 100%;
}

.vehicle-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.vehicle-image.lazy {
    opacity: 0;
}

.vehicle-image:not(.lazy) {
    opacity: 1;
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.05);
}

.vehicle-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.vehicle-price-badge {
    text-align: right;
}

.vehicle-price-badge .price-text {
    font-size: 1rem;
    font-weight: 700;
    color: #ff9100;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: 1px solid #ff9100;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

.vehicle-price-badge .price-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9100 0%, #ff6b35 100%);
}

.vehicle-price-badge .net-price {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 1px;
    display: block;
    text-align: right;
    line-height: 1;
}

.vehicle-details {
    font-size: 0.85rem;
}

.vehicle-details i {
    width: 16px;
    text-align: center;
}



/* Vehicle Modal Styles */
.vehicle-modal-content {
    max-width: 100%;
}

/* Ensure modal dialog is large enough for full-width images */
#vehicleModal .modal-dialog {
    max-width: 95%;
    margin: 1.75rem auto;
}

#vehicleModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#vehicleModal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 1.5rem 1rem;
}

#vehicleModal .modal-body {
    padding: 0;
}

#vehicleModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem 1.5rem;
    position: relative;
    z-index: 1060;
    background: white;
}

.vehicle-gallery-full {
    margin-bottom: 30px;
}

.vehicle-gallery-full .carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.vehicle-gallery-full .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.vehicle-info-section {
    padding: 0 10px;
}

.vehicle-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.vehicle-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.vehicle-specs .row {
    margin-bottom: 15px;
}

.vehicle-specs .row:last-child {
    margin-bottom: 0;
}

.vehicle-specs strong {
    color: #495057;
    font-weight: 600;
}

.price-display {
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.net-price-display {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.mobile-de-link {
    margin-top: 0.5rem;
}

.mobile-de-link .btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
}

/* Crypto payment badge styling */
.badge.bg-success {
    background-color: #28a745 !important;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
}

.badge.bg-success i {
    font-size: 0.7rem;
}

.vehicle-description h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.description-header {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description-header i {
    font-size: 1.1rem;
    color: #495057;
}

.description-container {
    background: white;
    border-radius: 0 0 0.75rem 0.75rem;
    border: 2px solid #e9ecef;
    border-top: none;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.description-text {
    line-height: 1.6;
    color: #6c757d;
    font-size: 1rem;
}

.description-paragraph {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #495057;
    font-size: 0.9rem;
    text-align: justify;
    padding: 0.25rem 0;
}

.description-paragraph:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.description-paragraph:first-child {
    padding-top: 0;
}

/* Enhanced description paragraph styling for different dash patterns */
.description-paragraph.major-section {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0 0.5rem 0;
    border-bottom: 1px solid #ff9100;
    font-weight: 600;
    color: #252525;
}

.description-paragraph.minor-section {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.description-paragraph.line-break {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
}

.description-paragraph.feature-list {
    margin-bottom: 0.25rem;
    color: #555;
    font-size: 0.9rem;
}

.description-paragraph.bullet-point {
    color: #333;
    font-size: 0.95rem;
    padding-left: 0.5rem;
    position: relative;
    margin-top: -0.75rem;
}

/* Enhanced carousel controls for full-width gallery */
.vehicle-gallery-full .carousel-control-prev,
.vehicle-gallery-full .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}



.vehicle-gallery-full .carousel-control-prev-icon,
.vehicle-gallery-full .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-position: center center;
    background-size: 100% 100%;
}

/* Carousel indicators for full-width gallery */
.vehicle-gallery-full .carousel-indicators {
    bottom: 12px;
    margin-bottom: 0;
    position: absolute;
    z-index: 10;
}

.vehicle-gallery-full .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 2px;
    border: 1px solid rgba(255,255,255,0.8);
    background-color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.vehicle-gallery-full .carousel-indicators button:hover {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,1);
    transform: scale(1.1);
}

.vehicle-gallery-full .carousel-indicators button.active {
    background-color: #ff9100;
    border-color: #ff9100;
    transform: scale(1.2);
}

/* Image counter overlay */
.vehicle-gallery-full .image-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    z-index: 15;
}

/* Sticky CTA footer in modal */
.modal .modal-footer.sticky-cta {
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 20;
    box-shadow: 0 -6px 16px rgba(0,0,0,0.06);
}
.modal .modal-body.with-sticky-footer {
    padding-bottom: 84px;
}

/* Sticky brand filter card */
.brand-filter-card-sticky {
    position: sticky;
    top: 70px;
    z-index: 9;
}

/* Filter chips keep original active styling (black) */
@media (max-width: 991px) {
    .brand-filter-buttons {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
}

@media (max-width: 576px) {
    .vehicle-gallery-full .carousel-indicators {
        bottom: 8px;
    }
    .vehicle-gallery-full .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* Filter Styles */
.card-header {
    background: #007bff;
    color: white;
    border-bottom: none;
}

.form-label {
    font-weight: 600;
    color: #495057;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    
    .vehicle-gallery .carousel-item img {
        height: 200px;
    }
    
    /* Mobile adjustments for full-width vehicle modal */
    #vehicleModal .modal-dialog {
        max-width: 98%;
        margin: 0.5rem auto;
    }
    
    #vehicleModal .modal-content {
        border-radius: 10px;
    }
    
    #vehicleModal .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    #vehicleModal .modal-footer {
        padding: 0.5rem 1rem 1rem;
    }
    
    .vehicle-gallery-full .carousel-item img {
        max-height: 425px;
    }
    
    .vehicle-info-section {
        padding: 0 5px;
    }
    
    .vehicle-specs {
        padding: 15px;
    }
    
    .vehicle-specs .row {
        margin-bottom: 10px;
    }
    
    .vehicle-specs .col-md-3 {
        margin-bottom: 8px;
    }
    
    .vehicle-gallery-full .carousel-control-prev,
    .vehicle-gallery-full .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .vehicle-gallery-full .carousel-control-prev-icon,
    .vehicle-gallery-full .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .vehicle-title {
        font-size: 1.5rem;
    }
    
    .price-display .h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .vehicle-gallery-full .carousel-item img {
        max-height: 400px;
    }
    
    .vehicle-specs .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .vehicle-gallery-full .carousel-control-prev,
    .vehicle-gallery-full .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
} 

/* Vehicle Filter Layout Styles */
.vehicle-filter-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vehicle-filter-card .card-header {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    color: white;
    border: none;
    border-radius: 8px 8px 0 0;
}

.vehicle-filter-card .card-header h5 {
    margin: 0;
    font-weight: 600;
}

.vehicle-filter-card .card-body {
    padding: 1.5rem;
}

.vehicle-filter-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.vehicle-filter-form .form-control,
.vehicle-filter-form .form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.vehicle-filter-form .form-control:focus,
.vehicle-filter-form .form-select:focus {
    border-color: #ff9100;
    box-shadow: 0 0 0 0.2rem rgba(255, 145, 0, 0.25);
}

/* Orange Button Styles */
.btn-orange {
    background-color: #ff9100;
    border-color: #ff9100;
    color: white;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e68300;
    border-color: #e68300;
    color: white;
}

.btn-outline-orange {
    border-color: #ff9100;
    color: #ff9100;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background-color: #ff9100;
    border-color: #ff9100;
    color: white;
}

/* Vehicle Card Orange Accents */
.vehicle-card .price-badge {
    background-color: #ff9100 !important;
    color: white;
    font-weight: 600;
}

.vehicle-card .btn-orange {
    background-color: #ff9100;
    border-color: #ff9100;
    color: white;
}

.vehicle-card .btn-outline-orange {
    border-color: #ff9100;
    color: #ff9100;
}



/* Responsive Filter Layout */
@media (max-width: 768px) {
    .vehicle-filter-form .row {
        margin: 0;
    }
    
    .vehicle-filter-form .col-lg-3,
    .vehicle-filter-form .col-lg-2,
    .vehicle-filter-form .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .vehicle-filter-form .d-flex.justify-content-end {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    .vehicle-filter-card .card-body {
        padding: 1rem;
    }
    
    .vehicle-filter-form .row.g-3 {
        gap: 0.75rem !important;
    }
} 

/* Vehicle Image Clickable Styles */
.vehicle-image-clickable {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.vehicle-image-clickable:hover .vehicle-image {
    transform: scale(1.05);
}

.vehicle-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.vehicle-image-clickable:hover .vehicle-image-overlay {
    opacity: 1;
}

.vehicle-image-overlay i {
    margin-bottom: 0.5rem;
    color: #ff9100;
}

.vehicle-image-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Fix for outline-orange button hover text visibility */
.btn-outline-orange:hover {
    background-color: #ff9100;
    border-color: #ff9100;
    color: white !important;
}

.vehicle-card .btn-outline-orange:hover {
    color: white !important;
} 

/* Vehicle Card Title Styles */
.vehicle-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
}

.vehicle-card h6.text-muted {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
} 

 

/* Responsive adjustments for price badge */
@media (max-width: 768px) {
    .vehicle-price-badge .price-text {
        font-size: 0.9rem;
        padding: 3px 8px;
    }
    
    .vehicle-price-badge .net-price {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .vehicle-price-badge .price-text {
        font-size: 0.85rem;
        padding: 3px 7px;
    }
    
    .vehicle-price-badge .net-price {
        font-size: 0.6rem;
    }
}

/* Features Section Styles */
.vehicle-features {
    margin-top: 2rem;
}

.vehicle-features h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--grey-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.feature-item {
    background: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.features-category {
    background: white;
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.features-category-header {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.features-category-header i {
    font-size: 1.1rem;
    color: #495057;
}

.features-category-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-category-content {
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.1rem;
}

.features-category.full-width .features-category-content {
    grid-template-columns: 1fr;
}

.feature-item-compact {
    padding: 0.1rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f3f4;
}

.feature-item-compact:last-child {
    border-bottom: none;
}

.feature-item-compact .form-check {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.feature-item-compact .form-check-input {
    display: none;
}

.feature-item-compact .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    cursor: default;
    color: #495057;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.feature-item-compact .form-check-label::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
}

/* Features grid layout - Global styles for both modal and slug page */
.features-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 10px !important;
}

.features-grid-layout .feature-item-compact {
    margin-bottom: 2px !important;
}

.features-grid-layout .form-check {
    margin-bottom: 0 !important;
}

.feature-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.feature-item .form-check {
    margin: 0;
    padding: 0;
}

.feature-item .form-check-input {
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    cursor: default;
}

.feature-item .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.feature-item .form-check-label {
    font-size: 0.9rem;
    color: var(--grey-dark);
    font-weight: 500;
    cursor: default;
    line-height: 1.4;
    margin: 0;
}

/* Features grid responsive adjustments */
@media (max-width: 768px) {
    .features-category-content {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .features-category-header {
        padding: 0.75rem 1rem;
    }
    
    .features-category-header h6 {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-item .form-check-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .features-category-content {
        padding: 0.75rem 1rem;
    }
    
    .features-category-header {
        padding: 0.5rem 0.75rem;
    }
    
    .features-category-header h6 {
        font-size: 0.85rem;
    }
    
    .feature-item-compact .form-check-label {
        font-size: 0.85rem;
    }
    
    .description-header {
        padding: 0.5rem 0.75rem;
    }
    
    .description-header h5 {
        font-size: 0.85rem;
    }
    
    .description-container {
        padding: 0.75rem 1rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-item .form-check-label {
        font-size: 0.8rem;
    }
}

/* Vehicle Specifics Section Styles */
.vehicle-specifics {
    margin-top: 2rem;
}

.vehicle-specifics h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.specifics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--grey-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.specifics-category {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.2s ease;
}

.specifics-category:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.specifics-category-header {
    background: linear-gradient(135deg, var(--primary-color), var(--grey-dark));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specifics-category-header i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.specifics-category-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

.specifics-category-content {
    padding: 1rem;
}

.specifics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.specifics-item:last-child {
    border-bottom: none;
}

.specifics-label {
    font-weight: 500;
    color: var(--grey-dark);
    font-size: 0.9rem;
}

.specifics-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

/* Specifics responsive adjustments */
@media (max-width: 768px) {
    .specifics-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .specifics-category-header {
        padding: 0.75rem;
    }
    
    .specifics-category-header h6 {
        font-size: 0.9rem;
    }
    
    .specifics-category-content {
        padding: 0.75rem;
    }
    
    .specifics-item {
        padding: 0.4rem 0;
    }
    
    .specifics-label,
    .specifics-value {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .specifics-container {
        padding: 0.5rem;
    }
    
    .specifics-category-header {
        padding: 0.5rem;
    }
    
    .specifics-category-header h6 {
        font-size: 0.85rem;
    }
    
    .specifics-category-content {
        padding: 0.5rem;
    }
    
    .specifics-item {
        padding: 0.3rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .specifics-label,
    .specifics-value {
        font-size: 0.8rem;
    }
    
    .specifics-value {
        text-align: left;
        max-width: 100%;
    }
}

/* Floating Inquiry Button */
.floating-inquiry-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1055;
    animation: slideInUp 0.3s ease-out;
}

.floating-inquiry-btn .btn {
    border-radius: 50px;
    padding: 15px 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-inquiry-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-inquiry-btn {
        bottom: 80px;
        right: 20px;
    }
    
    .floating-inquiry-btn .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}


/* Cookie Consent Banner */
#cookie-consent-banner { position: fixed; right: 16px; left: auto; bottom: 16px; width: 320px; max-width: calc(100vw - 24px); background: #121212; color: #fff; padding: 12px; z-index: 9999; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.35); display: none; animation: ccSlideIn 220ms ease-out; }
#cookie-consent-banner .cc-container { max-width: 100%; margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
#cookie-consent-banner p { margin: 0; font-size: 13px; line-height: 1.5; }
#cookie-consent-banner .cc-actions { display: flex; gap: 8px; justify-content: flex-end; }
#cookie-consent-banner .cc-btn { border: 0; border-radius: 5px; padding: 8px 12px; font-weight: 600; font-size: 13px; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
#cookie-consent-banner .cc-accept { background: #ff7a00; color: #fff; }
#cookie-consent-banner .cc-accept:hover { background: #e66f00; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
#cookie-consent-banner .cc-accept:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
#cookie-consent-banner .cc-reject { background: transparent; color: #9aa0a6; padding: 0; border: 0; box-shadow: none; font-weight: 500; text-decoration: underline; border-radius: 0; align-self: center; font-size: 12px; }
#cookie-consent-banner .cc-reject:hover { color: #c2c7cc; text-decoration: none; }
#cookie-consent-banner a { color: #ffb066; text-decoration: underline; }
/* Prevent modal from overlapping the cookie banner */
.cookie-banner-visible .modal-dialog { margin-bottom: 0; }
@media (max-width: 576px) { .cookie-banner-visible .modal-dialog { margin-bottom: 120px; } }
@media (min-width: 577px) { .cookie-banner-visible .modal-dialog { margin-bottom: 0; } }

/* Mobile layout: full-width bottom bar */
@media (max-width: 576px) {
  #cookie-consent-banner { right: 0; left: 0; bottom: 0; width: auto; border-radius: 0; box-shadow: 0 -6px 16px rgba(0,0,0,0.25); }
  #cookie-consent-banner .cc-container { max-width: 1100px; margin: 0 auto; flex-direction: row; gap: 16px; align-items: center; flex-wrap: wrap; }
  #cookie-consent-banner p { flex: 1 1 520px; }
}

@keyframes ccSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Vehicle Details Gallery Styles */
.vehicle-gallery-full {
    position: relative;
}

.vehicle-gallery-full #vehicleCarousel .carousel-item img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    width: 100%;
    height: auto;
}

/* Responsive height constraints for modal gallery */
@media (max-width: 768px) {
    .vehicle-gallery-full .carousel {
        max-height: 425px !important;
    }
    .vehicle-gallery-full #vehicleCarousel .carousel-item img {
        max-height: 425px !important;
    }
}

@media (max-width: 576px) {
    .vehicle-gallery-full .carousel {
        max-height: 375px !important;
    }
    .vehicle-gallery-full #vehicleCarousel .carousel-item img {
        max-height: 375px !important;
    }
}

/* Thumbnail row styles - Global styles for both modal and slug page */
.thumb-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    margin-top: 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ff6b35 transparent;
}

.thumb-row::-webkit-scrollbar {
    height: 6px;
}

.thumb-row::-webkit-scrollbar-track {
    background: transparent;
}

.thumb-row::-webkit-scrollbar-thumb {
    background-color: #ff6b35;
    border-radius: 3px;
}

.thumb-row::-webkit-scrollbar-thumb:hover {
    background-color: #e55a00;
}

.thumb-row .thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.8;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumb-row .thumb:hover {
    opacity: 1;
    border-color: #ff6b35;
    transform: scale(1.05);
}

.thumb-row .thumb.active {
    opacity: 1;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.thumb-row .thumb.active:hover {
    opacity: 1;
}

/* Gallery height constraints - Global styles for both modal and slug page */
.vehicle-gallery-full .carousel {
    max-height: 600px;
    overflow: hidden;
}

/* Mobile-first height overrides */
@media (max-width: 768px) {
    .vehicle-gallery-full .carousel {
        max-height: 425px !important;
    }
}

@media (max-width: 576px) {
    .vehicle-gallery-full .carousel {
        max-height: 375px !important;
    }
}

.vehicle-gallery-full .carousel-item {
    height: 100%;
}

.vehicle-gallery-full .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Vehicle details specific styles */
.vehicle-modal-content {
    max-width: 100%;
}

.vehicle-info-section {
    padding: 0 10px;
}

.vehicle-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.vehicle-price-badge .price-text {
    font-size: 1rem;
    font-weight: 700;
}

.vehicle-price-badge .net-price {
    font-size: 0.85rem;
    color: #6c757d;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.specifics-container .small {
    line-height: 1.4;
}

/* Hover effect for the import image in "Warum Autobroker?" section */
.position-relative:hover .bg-dark.opacity-25 {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}

.position-relative .bg-dark.opacity-25 {
    transition: opacity 0.3s ease;
}


