:root {
    --primary: #1a3c7c;
    --secondary: #fcff3f;
    --dark: #0a1e3c;
    --light: #f8f9fa;
    --gray: #302e31;
    --success: #28a745;
    /* Dark theme variables */
    --dark-bg: #121212;
    --dark-card-bg: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-text-secondary: #b0b0b0;
    --dark-border: #333;
    --dark-hover: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2; /* Ensure container content appears above section particles */
}

/* Header Styles */
header {
    background-color: var(--dark-card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #0a1e3c;
    color: var(--dark-text-secondary);
    padding: 5px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
    color: var(--dark-text-secondary);

}


.contact-info i {
    margin-right: 10px;
    color: var(--dark-text-secondary);
    height: auto;
    width: 10px;
}

.social-icons a {
    color: var(--dark-text-secondary);
    margin-left: 25px;
    transition: color 0.3s;
    font-size: 20px;
}

.social-icons a:hover {
    color: #fff;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    height: 100px; /* Altura fixa */
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.ultra-logo {
    max-height: 60px;
    margin-top: 15px;
    margin-bottom: 20px;
    height: auto;
    width: auto;
    display: block;
}
.logo-rodape {

    height: 20px;
    width: auto;
    margin: 0 5px 0 5px;
}


.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
}

.logo span {
    color: #a4c6ee;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--secondary);
    color: #333;
}

.btn-primary:hover {
    background-color: #c09b20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #333;
}

.btn-secondary:hover {
    background-color: #c09b20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    height: 500px;
    background: linear-gradient(rgba(10, 30, 60, 0.7), rgba(10, 30, 60, 0.7)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #626e7c67  , transparent);
    animation: lightSweep 3s infinite linear;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 113, 172, 0.1), transparent);
    animation: lightSweep 5s infinite linear 1s;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
    color: white;
}

.search-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    max-width: 600px;
    width: 100%;
    margin: 30px auto 0;
    animation: fadeIn 1s ease 0.6s both;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.light-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: lightSweep 7s infinite linear 2s;
    pointer-events: none;
    z-index: 1;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: white;
}

.search-box button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}



.search-box button:hover {
    background: #c09b20;
}

.search-button {
    background: var(--secondary);
    color: #333333;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.search-button:hover {
    background: #c09b20;
}
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 3; /* Ensure section title appears above container */
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: black;
    border-radius: 2px;
}

.section-title p {
    color: var(--dark-text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 3; /* Ensure brands appear above container */
}

.brand:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.brand img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand h3 {
    color: var(--dark-text);
    font-size: 1.1rem;
}

/* Featured Cars */
.featured-cars {
    background-color: var(--dark-hover);
}

.brands-section {
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure content appears above particles */
}

#particles-brands {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--dark-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.car-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.car-details {
    padding: 20px;
}

.car-brand {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.car-brand img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.car-model {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.spec {
    text-align: center;
}

.spec i {
    color: var(--secondary);
    margin-bottom: 5px;
}

.spec .value {
    font-weight: 700;
    color: var(--dark-text);
}

.spec .label {
    font-size: 0.85rem;
    color: var(--dark-text-secondary);
}

.car-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 1rem;
    margin-right: 10px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(252, 255, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-button {
    margin-top: 15px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(10, 30, 60, 0.9), rgba(10, 30, 60, 0.9)), url('../assets/newsletter-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1; /* Above the cars */
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: var(--dark-text);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1; /* Above the cars */
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 1; /* Above the cars */
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.newsletter-form button {
    background-color: #302e31;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #000;
}

/* Animated gradient background for newsletter section - blue to gray */
.animated-gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #1a3c7c, #302e31);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    padding: 60px 0;
    color: white;
    text-align: center;
}

/* Footer */
footer {
    background: #333333; /* Dark gray */
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Particles container for the entire page */
#particles-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2; /* Behind everything except the background */
}

/* Animated gradient for newsletter section */
.animated-gradient {
    background: linear-gradient(-45deg, #1a3c7c, #302e31);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.animated-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 30, 60, 0.9);
    z-index: -1;
}

.newsletter h2,
.newsletter p {
    position: relative;
    z-index: 1;
}

/* Ensure sections have proper positioning */
.section {
    position: relative;
    z-index: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Error and no results messages */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* Change footer to dark gray */
footer {
    background: #333333; /* Dark gray */
}

/* Car trails animation with larger PNG image - between gradient and content */
.car-trails-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0; /* Between gradient and content */
}

.car-trail {
    position: absolute;
    width: 60px;
    height: 30px;
    background-image: url('./assets/car-icon.png'); /* Using your PNG image */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3; /* Reduced opacity for transparency */
    animation: carTrail 15s linear infinite;
}

.car-trail.trail-2 {
    top: 30%;
    animation-delay: -5s;
    width: 50px;
    height: 25px;
    opacity: 0.25;
}

.car-trail.trail-3 {
    top: 70%;
    animation-delay: -10s;
    width: 70px;
    height: 35px;
    opacity: 0.35;
}

.car-trail.extra {
    top: 50%;
    animation-delay: -3s;
    animation-duration: 12s;
    width: 40px;
    height: 20px;
    opacity: 0.2;
}

.car-trail.extra-2 {
    top: 15%;
    animation-delay: -8s;
    animation-duration: 18s;
    width: 55px;
    height: 28px;
    opacity: 0.28;
}

@keyframes carTrail {
    0% {
        left: -70px;
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        left: calc(100% + 70px);
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-header {
        flex-direction: row;
        gap: 10px;
        height: auto;
        padding: 10px 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--dark-card-bg);
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
    }
    
    /* Reduce logo size on mobile */
    .ultra-logo {
        max-height: 50px;
    }
    
    /* Adjust hero section font sizes for mobile */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Hide "buscar veículo" button on mobile */
    .header-buttons {
        display: none;
    }
    
    /* Adjust hero section components for mobile */
    .hero-content {
        padding: 10px;
        max-width: 100%;
    }
    
    .search-box {
        max-width: 100%;
        padding: 3px;
    }
    
    .search-box input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-box button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .newsletter p {
        font-size: 1rem;
    }
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--dark-hover);
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--dark-text-secondary);
}

/* Inventory Search and Filters */
.inventory-search {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--dark-border);
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    outline: none;
    background-color: var(--dark-card-bg);
    color: var(--dark-text);
}

.search-input:focus {
    border-color: var(--secondary);
}

#toggleFilters {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Filters */
.filters {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--dark-border);
}

.filter-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h3 {
    margin-bottom: 10px;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.brand-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-filter {
    background: var(--dark-hover);
    color: var(--dark-text);
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.brand-filter:hover {
    background: var(--secondary);
    color: #333;
}

.price-filters {
    display: flex;
    gap: 20px;
}

.price-range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.price-range span {
    font-weight: 500;
    min-width: 30px;
    margin-right: 8px;
    font-size: 0.9rem;
}

.price-range a {
    background: var(--dark-hover);
    color: var(--dark-text);
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.price-range a:hover {
    background: var(--secondary);
    color: #333;
}

.transmission-filters, .fuel-filters, .body-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-option {
    background: var(--dark-hover);
    color: var(--dark-text);
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.filter-option:hover {
    background: var(--secondary);
    color: #333;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.filter-actions .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}


/* Inventory Header */
.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-count h3 {
    color: var(--dark-text);
    font-size: 1.3rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-text);
    font-size: 20px;
}

.sort-select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid var(--dark-border);
    background: var(--dark-card-bg);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-text);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-card-bg);
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--secondary);
    color: #333;
}

.page-link.next {
    width: auto;
    border-radius: 30px;
    padding: 0 20px;
}

/* Vehicle Details Page */
.vehicle-details {
    padding: 40px 0;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    text-justify: auto;
    
}

.vehicle-title {
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.vehicle-title h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.vehicle-title .vehicle-model {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.vehicle-badges {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.badge {
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.vehicle-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
    height: 100%;
}

.gallery-main {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
    min-height: 0;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

.vehicle-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.vehicle-specs {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-border);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--dark-text-secondary);
}

.spec-value {
    font-weight: 500;
    color: var(--dark-text);
}

.vehicle-price-card {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.price-card-title {
    color: var(--dark-text);
    margin-bottom: 20px;
}

.vehicle-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0;
}

.vehicle-description {
    background: var(--dark-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.vehicle-description h2 {
    color: var(--dark-text);
    margin-bottom: 20px;
}

.vehicle-description p {
    line-height: 1.8;
    color: var(--dark-text-secondary);
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .vehicle-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        grid-column: span 1;
        height: 300px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
    
    .vehicle-info {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .price-filters {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .inventory-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicle-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
}
