:root {
    --primary-color: #2C3E50;
    /* Azul Escuro */
    --secondary-color: #ECF0F1;
    /* Cinza Claro */
    --accent-color: #E74C3C;
    /* Vermelho */
    --text-color: #34495E;
    /* Azul Cinza */
    --background-color: #FFFFFF;
    /* Branco */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    margin: 0;
}

/* Header */
header {
    background-color: var(--background-color);
    border-bottom: 1px solid #e3f2fd;
    z-index: 1040;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navbar Horizontal */
.navbar-nav .nav-item {
    margin-right: 15px;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    color: var(--primary-color);
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

/* Conteúdo Principal */
#content {
    margin-top: 70px;
    padding: 20px;
}

/* Carrossel */
.carousel-item img {
    filter: brightness(75%);
    transition: filter 0.5s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-item img:hover {
    filter: brightness(85%);
}

.carousel-caption {
    background: rgba(44, 62, 80, 0.7);
    padding: 15px;
    border-radius: 5px;
}

/* Cards */
.card {
    border-radius: 10px;
}

.hover-shadow:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Rodapé */
/* footer {
    background: linear-gradient(90deg, #3AB9E9 0%, #4359A5 100%);
    color: #ffffff;
    padding: 40px 0;
    border-top: 2px solid #2C3E50;
} */

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-blue {
    background: linear-gradient(90deg, #3AB9E9 0%, #4359A5 100%);
    color: #ffffff;
    padding: 40px 0;
    border-top: 2px solid #2C3E50;
}

/* Classe personalizada para o título azul */
.text-blue {
    color: var(--primary-color);
}

/* Estilos para o iframe */
#sorteioFrame {
    width: 100%;
    height: 800px;
    border: none;
}

/* Classe personalizada para o contêiner */
.custom-container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Classe personalizada para o link do logo */
.logo-link {
    margin-left: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

/* Ajuste de fonte para o cabeçalho */
header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* Ajustar o tamanho da fonte do botão de login */
header .btn {
    font-size: 16px;
    padding: 8px 16px;
}

/* Botão Back-to-Top */
#btn-back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    z-index: 99;
    border-radius: 50%;
    padding: 10px 15px;
    background-color: var(--accent-color);
    color: #ffffff;
}

#btn-back-to-top:hover {
    background-color: var(--primary-color);
}

/* Seção de Cabeçalho com Background Gradiente */
.header-background {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 30px;
}

.header-background h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode header {
    background-color: #1f1f1f;
    border-bottom: 1px solid #333;
}

body.dark-mode .navbar-nav .nav-link {
    color: #ffffff;
}

body.dark-mode .carousel-caption {
    background: rgba(31, 31, 31, 0.7);
}

body.dark-mode footer {
    background-color: #1f1f1f;
    border-top: 1px solid #333;
}

body.dark-mode .footer-blue {
    background: linear-gradient(90deg, #222c3a 0%, #2c3550 100%);
    border-top: 1px solid #333;
}