/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-3, .col-md-4, .col-md-2 {
    padding: 0 15px;
}

.col-md-3 { width: 25%; }
.col-md-4 { width: 33.333%; }
.col-md-2 { width: 16.666%; }

.mb-4 { margin-bottom: 1.5rem; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
    border: 1px solid #0066cc;
}

.btn-primary:hover {
    background-color: #004499;
    border-color: #004499;
    color: white;
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #0066cc;
    outline: none;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #0066cc;
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Search Filter */
.search-filter {
    background-color: white;
    padding: 20px;
    margin: -50px auto 30px;
    position: relative;
    z-index: 100;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Vehicle Cards */
.vehicle-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vehicle-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.vehicle-details {
    padding: 20px;
}

.vehicle-details h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.vehicle-details ul {
    list-style: none;
    margin-bottom: 15px;
}

.vehicle-details ul li {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    color: #666;
}

.vehicle-details ul li i {
    margin-right: 5px;
    color: #0066cc;
}

.vehicle-price {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #212529;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    list-style: none;
}

.social-links li {
    margin-right: 15px;
}

.social-links a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #0066cc;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* Responsividade */
@media (max-width: 992px) {
    .banner-slider {
        height: 400px;
    }
    
    .col-md-3, .col-md-4, .col-md-2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .col-md-3, .col-md-4, .col-md-2 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .banner-slider {
        height: 250px;
    }
    
    .search-filter {
        margin-top: 0;
    }
}

/* Página de Detalhes do Veículo */
.vehicle-detail {
    padding: 50px 0;
}

.vehicle-gallery {
    margin-bottom: 30px;
}

.main-image {
    height: 400px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 5px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-specs {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
}

.spec-item i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Página Institucional */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about-section {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.achievements {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.achievement-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
}

.achievement-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.mission-vision {
    margin-top: 40px;
}

.card-mv {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    text-align: center;
}

.card-mv i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Página de Contato */
.contact-section {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .specs-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 250px;
    }
    
    .specs-list {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}