/* 
* Estilo personalizado para o site do Distrito LB4
* Desenvolvido para o site institucional
*/

/* Variáveis de cores */
:root {
    --primary-color: #00338D;     /* Azul Lions */
    --secondary-color: #FFC20E;   /* Amarelo Lions */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white-color: #ffffff;
}

/* Estilos gerais */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

.btn-primary:hover {
    background-color: #002266;
    border-color: #002266;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #e6ae00;
    border-color: #e6ae00;
    color: var(--dark-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Header */
.header .top-bar {
    font-size: 0.9rem;
}

.header .top-bar a:hover {
    opacity: 0.8;
}

.navbar-brand img {
    max-height: 80px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.secondary-nav {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.secondary-nav .nav-link {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
}

.secondary-nav .nav-link:hover,
.secondary-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-banner .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-banner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Seções */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
    font-weight: 400;
}

.section-title p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-color);
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid #eee;
    padding: 1rem 1.25rem;
}

/* Notícias */
.news-card .card-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Eventos */
.event-card .event-date {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 1rem;
    border-radius: 5px;
    margin-right: 1rem;
}

.event-card .event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-card .event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

/* Galeria de Fotos */
.gallery-item {
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item .gallery-caption {
    margin-top: 1rem;
    text-align: center;
}

/* Vídeos */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-item {
    margin-bottom: 30px;
}

.video-thumbnail {
    position: relative;
    display: block;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-color);
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Governadoria */
.governor-card {
    text-align: center;
    margin-bottom: 30px;
}

.governor-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Clubes */
.club-card {
    text-align: center;
    margin-bottom: 30px;
}

.club-card img {
    max-width: 100px;
    margin-bottom: 1rem;
}

/* Contato */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-form label {
    font-weight: 600;
}

#map {
    height: 400px;
    width: 100%;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.footer-bottom {
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-brand img {
        max-height: 60px;
    }
    
    .hero-banner .carousel-item {
        height: 450px;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-banner .carousel-item {
        height: 350px;
    }
    
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 50px;
    }
    
    .hero-banner .carousel-item {
        height: 300px;
    }
    
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    
    .hero-banner .carousel-caption {
        padding: 1.5rem;
    }
}
