/* Importa a fonte Montserrat do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

/* Variáveis de Cores (Rubro-Negra) */
:root {
    --cor-vermelha: #C8102E;
    --cor-fundo-escuro: #121212;
    --cor-card-escuro: #1e1e1e;
    --cor-texto-claro: #FFFFFF;
    --cor-texto-cinza: #adb5bd;
}

/* Estilo Base */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cor-fundo-escuro);
    color: var(--cor-texto-cinza);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--cor-texto-claro);
    font-weight: 700;
}

h2 {
    border-bottom: 3px solid var(--cor-vermelha);
    display: inline-block;
    padding-bottom: 10px;
}
.text-danger {
    color: var(--cor-vermelha) !important;
}

/* --- Navbar Principal --- */
.navbar {
    background-color: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding: 10px 0;
}
.navbar-brand img {
    height: 75px;
    width: auto;
}
.navbar-social-icons .social-icon {
    color: var(--cor-texto-cinza);
    font-size: 1.3rem;
    margin: 0 8px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.navbar-social-icons .social-icon:hover {
    color: var(--cor-vermelha);
    transform: scale(1.2);
}
.navbar .nav-link {
    color: var(--cor-texto-claro) !important;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    margin: 0 5px;
}
.navbar .nav-link:hover {
    color: var(--cor-vermelha) !important;
}
.navbar .btn-danger {
    background-color: var(--cor-vermelha) !important;
    border: none !important;
    font-weight: 600;
    margin-left: 15px;
    padding: 8px 20px;
    border-radius: 30px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.navbar .btn-danger:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(200, 16, 46, 0.5);
}

/* --- Seção Hero (Imagem principal) --- */
.hero-section {
    /* A propriedade 'background-position' foi alterada para 'top center' */
    background: url('../img/fundo-principal.jpeg') no-repeat top center;
    background-size: cover;
    color: var(--cor-texto-claro);
    padding: 8rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    position: relative;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}
.hero-section > .container {
    position: relative;
    z-index: 1;
}
.hero-section h1 {
    font-weight: 900;
    font-size: 3.5rem;
    text-transform: uppercase;
}

/* --- Cards --- */
.card {
    background-color: var(--cor-card-escuro);
    border: 1px solid #333;
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--cor-texto-cinza);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}
.card-title {
    color: var(--cor-texto-claro);
}

/* --- Galeria --- */
.gallery-item {
    display: block;
    height: 250px;
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; 
    background-color: #000; 
}
.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

.mt-auto { margin-top: auto !important; }
/* --- Carrossel de Patrocinadores --- */
.carousel-patrocinadores img {
    height: 100px; /* Altura padrão para os logos */
    width: auto;
    margin: 0 25px; /* Espaçamento entre os logos */
    object-fit: contain;
    filter: grayscale(100%); /* Efeito preto e branco */
    transition: filter 0.3s ease;
}

.carousel-patrocinadores img:hover {
    filter: grayscale(0%); /* Remove o efeito ao passar o mouse */
}