/* Estilos personalizados para Santa Rita Auto Peças - Design Original */

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

/* Banner Principal */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.banner-text {
    text-align: right;
    color: white;
    padding-right: 50px;
}

.saint-icon {
    text-align: right;
}

.saint-image {
    width: 600px;
    height: auto;
    opacity: 0.9;
}

/* Seções */
section {
    padding: 40px 0;
}

.contact-brands-section {
    background-color: #f8f9fa;
    padding: 30px 0;
}

.about-section {
    background-color: #fff;
    border: 1px solid #e9ecef;
    margin: 20px 0;
    border-radius: 8px;
}

.workshop-section {
    background-color: #f8f9fa;
    padding: 30px 0;
}

/* Títulos */
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #34495e;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #34495e;
}

/* Parágrafos */
p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Informações de contato */
.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-info h4 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Carrossel de marcas */
.brands-info {
    text-align: left;
}

.brands-info h4 {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.brands-carousel {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 15px;
    justify-content: space-between;
}

.brand-item {
    flex: 0 0 auto;
    text-align: center;
}

.brand-item img {
    max-width: 60px;
    height: auto;
    transition: filter 0.3s ease;
}

/* Dots de navegação */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #666;
    width: 10px;
    height: 10px;
}



/* Galeria da oficina */
.workshop-gallery {
    text-align: center;
}

.gallery-carousel {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-item {
    flex: 0 0 auto;
    min-width: 120px;
    display: block;
}

.gallery-item img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Imagens principais */
.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}



/* Responsividade */
@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-banner {
        height: 40vh;
        min-height: 300px;
    }
    
    .banner-text {
        text-align: right;
        padding-right: 30px;
    }
    
    .saint-image {
        width: 400px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .brands-carousel {
        gap: 20px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .brand-item img {
        max-width: 50px;
    }
    
    .gallery-carousel {
        gap: 8px;
    }
    
    .gallery-item {
        min-width: 100px;
    }
    
    .gallery-item img {
        max-width: 100px;
    }
    
    section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-banner {
        height: 30vh;
        min-height: 250px;
    }
    
    .saint-image {
        width: 300px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .brand-item img {
        max-width: 40px;
    }
    
    .gallery-item img {
        max-width: 80px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}

/* Melhorias de acessibilidade */
img {
    alt: attr(alt);
}

/* Foco para navegação por teclado */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Melhor contraste */
h2, h3, h4 {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
