/* ==========================================================================
   Estilos Globais e Variáveis
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #030e4f;
  overflow-x: hidden;
  transition: all 1s;
}

:root {
  --prolog-orange: #ff9100;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #ff9100b4;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #ff9100;
}

/* ==========================================================================
   Classes Utilitárias
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.btn {
  display: inline-block;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  padding: 12px 32px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.5s;
  text-align: center;
}

.btn-primary {
  background-color: #08257d;
  color: white;
}

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

.btn-orange {
  background-color: var(--prolog-orange);
  color: white;
}

.btn-orange:hover {
  background-color: #e58e00;
}

/* ==========================================================================
   Header e Navegação
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(3, 14, 79, 0.9);
  backdrop-filter: blur(10px);
}

.hamburguer {
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburguer {
    display: block;
  }
}

header .nav-menu {
  display: flex;
}

@media (max-width: 768px) {
  header .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(3, 14, 79, 0.95);
    flex-direction: column;
    padding: 20px;
  }
  
  header.menu .nav-menu {
    display: flex;
  }
}

/* ==========================================================================
   Seções do Site
   ========================================================================== */

.hero {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px 32px;
  min-height: 100vh;
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://www.hoteisangola.com/media/images/uije/grutas/uige1.jpg");
}

.hero-content {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    width: 80%;
  }
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 48px;
  transition: all 1s;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 60px;
  }
}

.hero p {
  font-size: 18px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .hero p {
    font-size: 20px;
  }
}

#banner {
  padding: 64px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

#banner .relative {
  position: relative;
}

#banner .bg-gradient {
  background: linear-gradient(to bottom right, var(--prolog-blue), rgba(255, 145, 0, 0.2));
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#banner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

#banner img:hover {
  transform: scale(1.02);
}

#banner .badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#banner .badge div {
  text-align: center;
}

#banner .badge .text-prolog-blue {
  color: var(--prolog-blue);
  font-weight: bold;
  font-size: 14px;
}

#banner .badge .text-prolog-orange {
  color: var(--prolog-orange);
  font-weight: bold;
  font-size: 14px;
}

#banner .badge .text-gray-600 {
  color: #4b5563;
  font-weight: bold;
  font-size: 14px;
}

#banner .bg-decoration {
  position: absolute;
  inset: -16px;
  background: linear-gradient(to right, rgba(255, 145, 0, 0.2), rgba(3, 14, 79, 0.2));
  border-radius: 24px;
  z-index: -10;
  filter: blur(20px);
}

@media (max-width: 768px) {
  #banner {
    padding: 40px 16px;
  }
  #banner .bg-gradient {
    padding: 20px;
  }
  #banner .badge {
    width: 60px;
    height: 60px;
    bottom: -12px;
    left: -12px;
  }
  #banner .badge div {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #banner {
    padding: 32px 12px;
  }
  #banner .bg-gradient {
    padding: 16px;
  }
  #banner .badge {
    width: 50px;
    height: 50px;
    bottom: -10px;
    left: -10px;
  }
  #banner .badge div {
    font-size: 11px;
  }
}

#academia {
  padding: 64px 0;
  background-color: white;
}

#academia .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  #academia .grid {
    grid-template-columns: 1fr 1fr;
  }
}

#academia .order-1 {
  order: 1;
}

#academia .order-2 {
  order: 2;
}

@media (min-width: 768px) {
  #academia .order-1 {
    order: 2;
  }
  
  #academia .order-2 {
    order: 1;
  }
}

#academia img {
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
}

#academia img:hover {
  transform: scale(1.05);
}

#academia h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--prolog-blue);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  #academia h2 {
    font-size: 36px;
  }
}

#academia p {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f2937;
}

#academia ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

#academia li {
  margin-bottom: 8px;
  color: #374151;
}

.services {
  padding: 64px 32px;
  background-color: white;
  color: white;
}

.services h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 48px;
  color: black;
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: #081663;
  padding: 24px;
  border-radius: 25px;
  box-shadow: 3px 3px 6px #00000088;
  text-align: center;
}

.service-card img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.service-card h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.blog-posts {
  padding: 64px 0;
  background-color: #f8f9fa;
}

.blog-posts h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.posts-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.loading {
  text-align: center;
  padding: 20px 0;
  color: #666;
}

.company-videos {
  padding: 64px 0;
}

.company-videos h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  color: #f0f0ff;
}

.videos-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .videos-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .videos-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-4px);
}

.vision {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-image: url("/assets/images/l4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vision .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 14, 79, 0.5);
  z-index: 10;
}

.vision .content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 32px;
}

.vision h2 {
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 32px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .vision h2 {
    font-size: 60px;
  }
}

.vision p {
  font-size: 20px;
  color: white;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  line-height: 1.6;
}

@media (min-width: 768px) {
  .vision p {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .vision {
    min-height: 70vh;
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .vision {
    min-height: 60vh;
    padding: 40px 0;
  }
  
  .vision h2 {
    font-size: 36px;
  }
  
  .vision p {
    font-size: 18px;
  }
}

.partners {
  padding: 32px 0;
  background-color: white;
}

.partners h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
}

.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.carousel-item {
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  margin: 0 20px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.carousel-item:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.carousel-item:hover img {
  filter: grayscale(0%) opacity(1);
}

.carousel-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .partners h2 {
    font-size: 20px;
    margin-bottom: 32px;
  }
  .carousel-item {
    width: 120px;
    height: 120px;
    margin: 0 15px;
    padding: 16px;
  }
  .carousel-container::before,
  .carousel-container::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    padding: 12px;
  }
}

.intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background-size: 100% 100%;
}

.intro .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 14, 79, 0.5);
  z-index: 10;
}

.intro .content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 32px;
}

.intro h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 32px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .intro h2 {
    font-size: 60px;
  }
}

.intro p {
  font-size: 18px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  line-height: 1.6;
}

@media (min-width: 768px) {
  .intro p {
    font-size: 20px;
  }
}

.contact {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  background-image: url("/assets/images/fundo3.webp");
}

.contact .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 14, 79, 0.4);
  z-index: 10;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 20;
}

@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: white;
}

.form-control {
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  border: none;
  color: white;
  background-color: rgba(71, 71, 71, 0.54);
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 36px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background-color: #ff6b00;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 1s;
}

.submit-btn:hover {
  background-color: #081663;
}

.contact-info {
  color: white;
}

.contact-info h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 32px;
}

.contact-info address {
  font-style: normal;
  line-height: 1.6;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-info a {
  color: white;
  transition: color 0.5s;
}

.contact-info a:hover {
  color: #ff6b00;
}

.map-container {
  width: 100%;
  height: 300px;
  margin-top: 16px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: none;
}

.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .whatsapp-button {
    bottom: 48px;
    right: 48px;
  }
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 48px;
  height: 48px;
}

@media (min-width: 768px) {
  .whatsapp-button img {
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   Componentes Adicionais
   ========================================================================== */

.navegacao-lateral {
  position: fixed;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  background-color: #030e4f;
  bottom: 20%;
  left: 10px;
  z-index: 99;
}

.navegacao-lateral ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navegacao-lateral a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navegacao-lateral a:hover {
  color: #4dabf7;
  transform: scale(1.2);
}

.navegacao-lateral a.ativo {
  color: #ffd43b;
  font-weight: bold;
  transform: scale(1.3);
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.post-card {
  animation: slide 1s ease;
}

.closer::after,
.closer::before {
  content: "";
  background-color: #e9640ba2;
  display: block;
  width: 30px;
  height: 5px;
  border-radius: 3px;
  position: absolute;
  top: 10px;
}

.closer::after {
  transform: rotate(45deg);
}

.closer::before {
  transform: rotate(-45deg);
}

@keyframes mostrar {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.texto1 {
  opacity: 0;
  animation: mostrar 5s ease;
  animation-delay: 3s;
  font-size: 1.3rem;
  font-weight: 700;
}

.texto2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  opacity: 0;
  animation: mostrar 3s ease;
  animation-delay: 8s;
}

@keyframes ocultar {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.welcome.hiding {
  animation: ocultar 0.5s ease forwards;
}

/* ==========================================================================
   Seção de Notícias/Blog
   ========================================================================== */

.blog-posts {
  padding: 64px 0;
  background-color: #f8f9fa;
}

.blog-posts h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.posts-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.loading {
  text-align: center;
  padding: 20px 0;
  color: #666;
}

/* Estilo para os cards de postagem */
.post-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 350px;
  animation: slide 1s ease;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 24px;
}

.post-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #030e4f;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.post-date::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.post-summary {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-block;
  color: var(--prolog-orange);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.read-more:hover {
  color: var(--prolog-blue);
  transform: translateX(5px);
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Animação para os cards de postagem */
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsividade para a seção de notícias */
@media (max-width: 768px) {
  .blog-posts {
    padding: 48px 0;
  }
  
  .blog-posts h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .posts-container {
    gap: 24px;
  }
  
  .post-card {
    max-width: 100%;
  }
  
  .post-image {
    height: 180px;
  }
  
  .post-content {
    padding: 20px;
  }
  
  .post-content h3 {
    font-size: 18px;
  }
  
  .post-summary {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .blog-posts {
    padding: 32px 0;
  }
  
  .blog-posts h2 {
    font-size: 24px;
  }
  
  .posts-container {
    gap: 20px;
  }
  
  .post-image {
    height: 160px;
  }
  
  .post-content {
    padding: 16px;
  }
  
  .post-content h3 {
    font-size: 16px;
  }
  
  .post-summary {
    font-size: 14px;
  }
}

/* ==========================================================================
   Animações e Keyframes
   ========================================================================== */

@keyframes slider {
  0%, 10% { background-image: url('/assets/images/bg9.jpg'); }
  15% { background-image: url('/assets/images/bg10.jpg'); }
  30% { background-image: url('/assets/images/bg3.webp'); }
  45% { background-image: url('/assets/images/bg4.webp'); }
  60% { background-image: url('/assets/images/bg6.webp'); }
  75% { background-image: url('/assets/images/bg7.webp'); }
  100% { background-image: url('/assets/images/bg8.jpg'); }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-slider {
  animation: slider 20s ease-in-out infinite;
}