/* Estilos personalizados para o Carango Feirão */

/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Variáveis CSS para as cores */
:root {
    --primary-red: #E51D44;
    --primary-blue: #243996;
    --carango-gray: #73808A;
    --carango-red: #FF0000;
}

/* Estilo da navbar com logo */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

/* Estilo do banner principal moderno */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%), 
                linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('../img/banner-feirao.jpg') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(229, 29, 68, 0.8) 0%, rgba(36, 57, 150, 0.8) 100%);
    z-index: 1;
}

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

.hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner .lead {
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero-banner .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-banner .btn-primary {
    background: linear-gradient(45deg, var(--carango-red), var(--primary-red));
    border: none;
    transform: translateY(0);
}

.hero-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 29, 68, 0.4);
}

.hero-banner .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-banner .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner .text-center > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-banner h1 {
    animation-delay: 0.2s;
}

.hero-banner .lead {
    animation-delay: 0.4s;
}

.hero-banner .mt-4 {
    animation-delay: 0.6s;
}

/* Estilo para os cards de veículos */
.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(229, 29, 68, 0.15);
}

/* Botões personalizados */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), var(--carango-red));
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--carango-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 29, 68, 0.3);
}

/* Seções com gradiente */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Cards de vantagens */
.feature {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue)) !important;
}

.feature i {
    font-size: 1.5rem;
}

/* Seção de contagem regressiva */
.countdown-timer {
    background: linear-gradient(135deg, rgba(229, 29, 68, 0.1), rgba(36, 57, 150, 0.1));
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.countdown-timer h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0;
}

/* Estilos para o carrossel de lojas participantes */
.carousel-logos-slide {
    padding: 2rem 0;
}

.carousel-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.carousel-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 140px;
    min-width: 200px;
    border: 2px solid transparent;
}

.carousel-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229, 29, 68, 0.15);
    border-color: var(--primary-red);
}

.carousel-logo-item img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-logo-item:hover img {
    transform: scale(1.05);
}

/* Responsividade para o carrossel de lojas */
@media (max-width: 768px) {
    .carousel-logos-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .carousel-logo-item {
        min-width: 250px;
        min-height: 120px;
    }
}

/* Estilo para o loading do carrossel */
.carousel-inner .spinner-border {
    color: var(--primary-red);
}

.countdown-timer span {
    font-size: 1rem;
    color: var(--carango-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.car-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 0;
}

.car-price-original {
    font-size: 1rem;
}

.car-discount {
    font-size: 0.9rem;
    padding: 5px 8px;
    margin-top: 5px;
}

.car-features {
    font-size: 0.9rem;
}

/* Estilo para os cards de lojas */
.store-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.store-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.store-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Estilo para o carrossel de logos */
#lojasCarousel {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.carousel-logos-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 150px;
}

.carousel-logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.carousel-logo-item {
    height: 100px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.carousel-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-logo-item img:hover {
    transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
}

/* Estilo para a seção de vantagens */
.feature {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Estilo para a contagem regressiva */
.countdown-timer h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

/* Estilos para filtros */
.filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

/* Estilos para detalhes do veículo */
.vehicle-details-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.vehicle-specs {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

/* Estilos para página de contato */
.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 0;
    }
    
    .countdown-timer h3 {
        font-size: 1.8rem;
    }
}