/* Smaf Representações - Folha de Estilos Personalizada */

/* 1. Importação da Fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* 2. Paleta de Cores e Variáveis Globais */
:root {
  --bs-primary: #037bc5;
  --bs-primary-rgb: 3, 123, 197;
  --bs-secondary: #81d0c5;
  --bs-light-bg: #e2efe5;
  --bs-body-font-family: 'Poppins', sans-serif;
}

body {
  font-family: var(--bs-body-font-family);
}

/* 3. Barra de Navegação */
.navbar {
  transition: box-shadow 0.3s ease-in-out;
}

.navbar-brand {
    font-weight: 600;
    color: var(--bs-primary);
}

/* 4. Carrossel de Banners */
.carousel-item {
    height: 100vh;
    min-height: 600px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: #ffffff;
    padding: 2rem 0;
}

.carousel-caption h5 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* 5. Botões */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #025a92;
  border-color: #025a92;
  transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: #ffffff;
}


/* 6. Seções e Cards */
#sobre {
    padding: 4rem 0;
}

#marcas {
    background-color: var(--bs-light-bg);
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-header {
    background-color: var(--bs-primary);
    color: #ffffff;
    padding: 1rem;
    text-align: center;
}

.card-header h5 {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body img {
    height: 150px; /* Altura fixa para todas as imagens */
    width: 100%;
    object-fit: cover; /* Preenche o espaço, cortando se necessário */
    margin-bottom: 1rem;
}

.card-title {
    color: var(--bs-primary);
    font-weight: 600;
}

/* 7. Rodapé */
footer {
    background-color: #000000 !important;
}

/* Media Query para dispositivos móveis */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 2.5rem;
    }
    .carousel-item {
        min-height: 500px;
    }
}
