/**
 * Theme baseado exatamente no site de referência: https://lionsmt.com.br/teste/
 */

:root {
  --primary: #0046ad;
  --secondary: #ffc107;
  --dark: #333;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #fff;
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* Reset e estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: #003a8c;
  text-decoration: none;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

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

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

.btn-secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  position: relative;
}

.top-bar {
  background-color: #003870;
  padding: 8px 0;
  color: var(--white);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .top-bar {
    display: none;
  }
}

.top-bar a {
  color: var(--white);
  margin-right: 15px;
}

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

.navbar {
  background-color: #003870;
  padding: 0;
}

.navbar-brand {
  padding: 10px 0;
}

.navbar-brand img {
  height: 80px;
  margin: 10px 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white);
  padding: 20px 15px;
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .active > .nav-link {
  color: var(--secondary);
}

.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.dropdown-item {
  padding: 8px 20px;
  color: var(--dark);
}

.dropdown-item:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Hero Banner */
.hero-banner {
  background-size: cover;
  color: var(--white);
  padding: 0;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Feature Boxes */
.feature-box {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-text {
  margin-bottom: 20px;
  color: var(--gray);
}

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

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

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

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card-text {
  color: var(--gray);
  margin-bottom: 15px;
}

.card-text i {
  color: var(--primary);
  margin-right: 5px;
}

/* Eventos */
.event-card {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

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

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 20px;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.event-date .year {
  font-size: 0.9rem;
}

.event-content {
  padding: 25px;
  flex-grow: 1;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.event-info {
  display: flex;
  margin-bottom: 15px;
}

.event-info span {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: var(--gray);
  font-size: 0.9rem;
}

.event-info i {
  margin-right: 5px;
  color: var(--primary);
}

.event-description {
  color: var(--gray);
  margin-bottom: 20px;
}

.event-actions {
  display: flex;
  gap: 10px;
}

.btn-detalhes {
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-detalhes:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-inscrever {
  padding: 8px 16px;
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-inscrever:hover {
  background-color: #003a8c;
  border-color: #003a8c;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,70,173,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.gallery-count {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Team */
.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 5px solid var(--primary);
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.team-position {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background-color: #003a8c;
  transform: translateY(-3px);
}

/* Contact */
.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-content p {
  color: var(--gray);
  margin-bottom: 0;
}

.contact-form .form-control {
  height: 50px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.contact-form textarea.form-control {
  height: 150px;
}

/* Footer */
.footer {
  background-color: #003870;
  color: var(--white);
  padding: 80px 0 0;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-text {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.footer-contact i {
  color: var(--secondary);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-bottom {
  background-color: rgba(0,0,0,0.1);
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--secondary);
}

/* Responsividade */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary);
    padding: 15px;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 15px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 15px;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-widget {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
  
  .footer-contact li {
    justify-content: center;
  }
}
