
/* Cabeçalho/Header */
header {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 2;
}
/* Navbar padrão: transparente */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
  background-color: #154C4D;
}

/* Quando a rolagem acontecer, a cor sólida aparece */
.navbar.navbar-scrolled {
  background-color: #154C4D;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Link nav */
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  color: #FFC107 !important; /* Exemplo de cor de destaque */
}

.dropdown-menu {
  background-color: #154C4D;
  border: none;
  transition: all 0.3s ease;
}

.dropdown-item {
  color: #fff;
}


/* Navbar responsiva */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: #154C4D;
    padding: 1rem;
  }

  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: #fff !important;
  }

  .dropdown-menu {
    position: static;
    float: none;
    background-color: #154C4D;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
  }

  .contactosElocalizacao {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .contactosElocalizacao li {
    margin-bottom: 0.5rem;
  }

  .contactosElocalizacao li a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text-color);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  padding: 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.hero-content .btn {
  background: radial-gradient(circle at center, rgba(21, 76, 77, 0.85), rgba(196, 117, 30, 0.75), rgba(240, 240, 240, 0.2));
  background-size: 300% 300%;
  animation: gradientBG 18s ease-in-out infinite;
  backdrop-filter: blur(2px);
  color: var(--light-text-color);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-speed);
}

.hero-content .btn:hover {
  background-color: var(--brand-color);
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--light-text-color);
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* Cards de Notícias */
.news-card {
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.news-body {
  padding: 1rem 0.5rem;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.news-title {
  font-size: 1.1rem;
  color: var(--brand-color);
  font-weight: 600;
  line-height: 1.4;
}

.btn-outline-primary {
  border-color: var(--brand-color);
  color: var(--brand-color);
  transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
  background-color: var(--brand-color);
  color: var(--light-text-color);
}

/* Responsivo */
@media (max-width: 992px) {
  .news-thumb {
    height: 180px;
  }

  .news-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .news-thumb {
    height: 150px;
  }

  .news-title {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}


/* Media Queries */

/* ===== Correções para Mobile Responsivo ===== */

/* Remove scroll lateral geral */
body, html {
  overflow-x: hidden;
}

/* Hero section responsiva */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .scroll-down {
    font-size: 2rem;
    bottom: 10px;
  }
}

/* Navbar responsiva */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: #154C4D;
    padding: 1rem;
  }

  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: #fff !important;
  }

  .dropdown-menu {
    position: static;
    float: none;
    background-color: #154C4D;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
  }

  .contactosElocalizacao {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .contactosElocalizacao li {
    margin-bottom: 0.5rem;
  }

  .contactosElocalizacao li a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}
