/* Sistema de Gestão de Veículos - Frontend Styles */

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --white: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--white);
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background: #2c3e50;
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-item {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    font-size: 14px;
    opacity: 0.9;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Main Header */
.main-header {
    background: transparent;
    box-shadow: none;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: stretch;
    min-height: 80px;
    width: 100%;
}

.header-logo-section {
    background: #000000;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 280px;
}

.header-logo-section .navbar-brand {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
}

.site-logo {
    max-height: 50px;
    width: auto;
}

.site-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.logo-icon {
    font-size: 32px;
    color: var(--theme-primary, var(--primary-color));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-primary, var(--primary-color));
}

.header-nav-section {
    flex: 1;
    background: var(--theme-primary, var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.header-nav-section .navbar {
    padding: 0;
}

.header-nav-section .navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row;
}

.header-nav-section .nav-link {
    color: var(--white) !important;
    font-weight: 600;
    padding: 12px 20px !important;
    transition: all 0.3s;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav-section .nav-link i {
    font-size: 16px;
}

.header-nav-section .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
}

.header-nav-section .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

.header-contact {
    margin-left: 20px;
}

.btn-contact {
    background: #1a1a1a !important;
    color: var(--white) !important;
    border: none !important;
    padding: 12px 25px !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #2c2c2c !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-contact i {
    font-size: 16px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--theme-primary, var(--primary-color));
    color: var(--white);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: #1a1a1a;
    border: 2px solid var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 45px;
    transition: all 0.3s;
    margin-left: 15px;
    position: relative;
    z-index: 10001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: #2c2c2c;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 80px 0 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-width: 350px;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    width: 100%;
}

.mobile-menu-link i {
    font-size: 20px;
    color: var(--theme-primary, var(--primary-color));
    width: 25px;
    text-align: center;
}

.mobile-menu-link:hover {
    background: #f8f9fa;
    color: var(--theme-primary, var(--primary-color));
    padding-left: 35px;
}

.mobile-menu-link.active {
    background: var(--theme-primary, var(--primary-color));
    color: var(--white);
}

.mobile-menu-link.active i {
    color: var(--white);
}

/* Navbar Mobile */
@media (max-width: 991px) {
    .header-container {
        flex-direction: row;
    }
    
    .header-logo-section {
        width: auto;
        min-width: auto;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .header-nav-section {
        width: auto;
        flex-direction: row;
        padding: 15px 20px;
        justify-content: flex-end;
        align-items: center;
    }
    
    .header-nav-section .navbar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        margin-left: 0;
        margin-top: 0;
        width: auto;
    }
    
    .btn-contact {
        width: auto;
        justify-content: center;
        padding: 10px 20px !important;
        font-size: 13px;
    }
    
    .btn-contact span {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-logo-section {
        min-width: auto;
        padding: 15px;
    }
    
    .header-nav-section {
        padding: 15px;
    }
    
    .mobile-menu-content {
        max-width: 100%;
    }
}

/* Navbar Legacy (mantido para compatibilidade) */
.navbar:not(.header-nav-section .navbar) {
    padding: 15px 0;
}

.navbar-brand .logo:not(.site-logo) {
    max-height: 50px;
    width: auto;
}

.nav-link:not(.header-nav-section .nav-link) {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s;
    border-radius: 5px;
}

.nav-link:not(.header-nav-section .nav-link):hover,
.nav-link:not(.header-nav-section .nav-link).active {
    color: var(--primary-color) !important;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link:not(.header-nav-section .nav-link) i {
    margin-right: 5px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    margin-top: -1px;
}

.hero-slider .carousel-item {
    height: 500px;
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner clicável (sem botão) */
.banner-clickable {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.banner-clickable:hover {
    opacity: 0.95;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 20px;
    border-radius: 10px;
}

.hero-slider .carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Search Section */
.search-section {
    background: var(--light-color);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Vehicle Card */
.vehicle-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.badge-featured,
.badge-sold {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--warning-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.badge-sold {
    background: var(--success-color);
    color: var(--white);
}

.vehicle-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.vehicle-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.vehicle-title a:hover {
    color: var(--primary-color);
}

.vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.vehicle-meta span i {
    margin-right: 3px;
}

.vehicle-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: auto;
}

.vehicle-actions {
    margin-top: auto;
}

/* Page Header */
.page-header {
    /* Gradiente será aplicado pelo theme-colors.php usando a cor do tema */
    color: var(--white);
    padding: 40px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Efeito de gradiente suave */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradiente será aplicado pelo theme-colors.php */
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Section Header */
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Features Section */
.features-section {
    background: var(--light-color);
}

.feature-box {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-primary) 60%, #000000 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-primary) 50%, rgba(0, 0, 0, 0.8) 80%, #000000 100%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-logo {
    max-height: 50px;
    filter: brightness(0) invert(1);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.social-links-footer a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links-footer a:hover {
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links i {
    margin-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 14px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--theme-primary, var(--primary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: var(--theme-primary, var(--primary-color));
    color: #ffffff !important;
    filter: brightness(0.85);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    display: flex;
}

/* Buttons */
.btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 6px;
    border: 2px solid var(--border-color);
    padding: 10px 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .hero-slider .carousel-item {
        height: auto;
    }
    
    .hero-slider .carousel-caption {
        padding: 20px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 24px;
    }
    
    .vehicle-card {
        margin-bottom: 20px;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Vehicles Page - Toolbar */
.vehicles-toolbar {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-form .input-group {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 15px 20px;
}

.search-form .btn {
    border: none;
    padding: 15px 30px;
}

.active-filters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.active-filters .badge {
    padding: 6px 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.active-filters .badge a {
    color: inherit;
    text-decoration: none;
    margin-left: 5px;
}

.active-filters .badge a:hover {
    opacity: 0.8;
}

.vehicles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid var(--border-color);
}

/* Brand Selector com Logos */
.brand-selector {
    position: relative;
}

.brand-selector select {
    padding-left: 50px;
    background-image: none;
}

.brand-selector::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23666" d="M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5z"/></svg>') no-repeat center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* Carrossel de Marcas com Swiper */
.brands-carousel-section {
    margin: 30px 0;
    padding: 20px 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.brands-swiper {
    padding: 0 50px;
    position: relative;
}

.brands-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.brand-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    border-radius: 8px;
    min-width: 100px;
}

.brand-logo-link:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
    color: var(--theme-primary);
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform 0.3s;
}

.brand-logo-link:hover .brand-logo-img {
    transform: scale(1.1);
}

.brand-logo-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 20px;
}

.brand-logo-name {
    font-size: 11px;
    display: block;
    color: #4d4d4d;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.brand-logo-link:hover .brand-logo-name {
    color: var(--theme-primary);
}

/* Botões de navegação do carrossel */
.brands-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brands-chevron:hover {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brands-chevron::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #bababa;
    border-top: 2px solid #bababa;
    transition: all 0.3s;
}

.brands-chevron:hover::after {
    border-color: var(--white);
}

.brands-chevron-left {
    left: 0;
}

.brands-chevron-left::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.brands-chevron-right {
    right: 0;
}

.brands-chevron-right::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

.brands-chevron.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .brands-swiper {
        padding: 0 40px;
    }
    
    .brands-chevron {
        width: 35px;
        height: 35px;
    }
    
    .brand-logo-link {
        min-width: 80px;
        padding: 10px 5px;
    }
    
    .brand-logo-img,
    .brand-logo-placeholder {
        width: 35px;
        height: 35px;
    }
}

/* Modal de Filtros */
#filtersModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#filtersModal .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

#filtersModal .form-select,
#filtersModal .form-control {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 15px;
}

#filtersModal .form-select:focus,
#filtersModal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Sort Select */
#sortSelect {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
}

#sortSelect:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive Vehicles Page */
@media (max-width: 768px) {
    .vehicles-toolbar {
        padding: 15px;
    }
    
    .search-form .btn {
        padding: 15px 20px;
    }
    
    .vehicles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    #sortSelect {
        width: 100%;
    }
    
    .active-filters .badge {
        display: inline-block;
        margin: 3px;
    }
}

/* Home Banner Menu - Integrado com busca */
.banner-menu-row {
    margin-bottom: 20px;
}

.banner-menu-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.banner-menu-btn i {
    font-size: 18px;
}

.banner-menu-btn-outline {
    background: #ffffff;
    color: var(--theme-primary, #dc3545);
    border-color: var(--theme-primary, #dc3545);
}

.banner-menu-btn-outline:hover {
    background: var(--theme-primary, #dc3545);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.banner-menu-btn-primary {
    background: var(--theme-primary, #dc3545);
    color: #ffffff;
    border-color: var(--theme-primary, #dc3545);
}

.banner-menu-btn-primary:hover {
    background: #c82333;
    border-color: #c82333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
}

@media (max-width: 767px) {
    .banner-menu-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-menu-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Footer Map */
.footer-map {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
}

.footer-map h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 20px;
}

#footerMap {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .footer-map {
        padding: 30px 0;
    }
    
    #footerMap {
        height: 250px !important;
    }
}

