* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: #990000;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* NOVO LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 250px;
  height: 50px;
  background-image: url("../img/idab_new.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-right: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  max-width: 300px;
}

.logo-idab {
  font-size: 1.8em;
  font-weight: bold;
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.9em;
  font-weight: normal;
  white-space: nowrap;
  opacity: 0.9;
}

@media (max-width: 500px) {
  .logo-icon {
    width: 250px;
    height: 40px;
  }

  .logo-idab {
    font-size: 1.5em;
  }

  .logo-subtitle {
    font-size: 0.75em;
  }
}

/* Navegação */
.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-list .unlink {
  position: relative;
  top: -4.5px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  background: #333;
}

.nav-list li a {
  color: #fff;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-list li a:hover {
  opacity: 0.7;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Menu com submenu */
.nav-list .has-submenu {
  position: relative;
}

.nav-list .has-submenu>a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7em;
}

.nav-list .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #cc0000;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav-list .submenu li {
  display: block;
}

.nav-list .submenu li a {
  display: block;
  color: #fff;
  padding: 10px 20px;
  transition: background 0.2s;
}

.nav-list .submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Mostrar submenu ao hover (desktop) */
.nav-list .has-submenu:hover .submenu {
  display: block;
}

/* Submenu no mobile (expande via JS) */
.nav-list .has-submenu.open .submenu {
  display: block;
}

/* Mobile layout: submenu ajustado */
@media (max-width: 768px) {
  .nav-list .submenu {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  .nav-list .submenu li a {
    background: #b30000;
    margin-top: 5px;
    border-radius: 4px;
  }
}


/* Hero Section */
.hero {
  height: 80vh;
  background: url("../img/banner1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 14px;
  position: relative;
}

.hero::after {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #cc0000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

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

/* Main Content */
.main-content {
  padding: 60px 0;
}

.main-content h2 {
  color: #990000;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.main-content p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #990000;
    gap: 15px;
    padding: 20px;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }

  .nav-list.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Correção botão Lightbox */
.lb-data .lb-close {
  background: none !important;
  color: #cc0000;
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
  opacity: 0.9;
  width: 30px;
  height: 30px;
  float: right;
  cursor: pointer;
}

.lb-data .lb-close::before {
  content: "×";
  display: block;
}


/* Wrapper 2 colunas */
.content-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

/* Coluna esquerda maior */
.main-left {
  flex: 3;
}

/* Coluna direita menor (sidebar) */
.sidebar-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Boxes de informação */
.info-box {
  background: #f9f9f9;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
  color: #222;
}

.info-box h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #990000;
  font-size: 1.25rem;
}

/* Versículo */
.verse-box p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: #444;
}

.verse-box strong {
  font-weight: 700;
  color: #990000;
  display: block;
  margin-top: 8px;
}

/* Cards dízimos/ofertas */
.offering-card {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  margin-bottom: 10px;
}

.offering-card .icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
  color: #990000;
  width: 50px;
  text-align: center;
}

.offering-card .info p {
  margin: 4px 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

.main-left .about {
  margin-top: 80px;
}

@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }

  .sidebar-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .sidebar-right>.info-box {
    flex: 1 1 45%;
  }
}

@media (max-width: 500px) {
  .sidebar-right>.info-box {
    flex: 1 1 100%;
  }
}


.redes-icones {
  position: absolute;
  z-index: 2;
  right: 1em;
  margin-top: 65vh;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.redes-icones a {
  display: inline-block;
  width: 2em;
  height: 2em;
}

.redes-icones img {
  width: 2em;
  height: 2em;
  display: block;
  transition: opacity 0.2s ease;
}

.redes-icones a:hover img {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .redes-icones {
    top: auto;
    bottom: 5px;
    right: 5px;
    transform: none;
    flex-direction: row;
    padding: 5px 10px;
    gap: 5px;
  }

  .redes-icones a {
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
  }

  .redes-icones img {
    width: 1.7em;
    height: 1.7em;
    display: block;
    transition: opacity 0.2s ease;
  }

}

.online-counter {
  background: #10658E;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.online-counter strong {
  font-weight: bold;
  color: #90ee90;
}

/* Streaming */

.content-streaming-labs {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: #cc0000;
  background-image: linear-gradient(to bottom, #cc0000, #990000);
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);  
  flex-wrap: wrap;
  margin-bottom: 20px;  
}

.content-streaming {
  flex: 1;
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.welcome-streaming {
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  flex-wrap: wrap;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  margin-bottom: 30px;
  background-color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  background-image: linear-gradient(to bottom, #cc0000, #990000);
}

.welcome-streaming h2 {
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.welcome-streaming p {
  border-radius: 7px;
  padding: 5px;
  background-color: #333;
  font-size: 1.1em;
  color: #fff;
}

.live-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.video-streaming-container {
  flex: 2;
  min-width: 320px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.chat-streaming-container {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.chat-streaming-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.content-streaming {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .live-section {
    flex-direction: column;
  }

  .chat-streaming-container {
    display: none;
  }
}