/* =============================
   CORES PADRÃO
============================= */
:root {
  --cor-primaria: #002742;
  --cor-secundaria: #c9a65e;
  --cor-clara: #e2e1d1;
  --cor-texto: #ffffff;
}

/* =============================
   TIPOGRAFIA
============================= */
@font-face {
  font-family: Adamiya;
  src: url("../assets/fonts/Adamiya.otf");
}

@font-face {
  font-family: Cinzel;
  src: url("../assets/fonts/Cinzel-Regular.otf");
}

body {
  font-family: Cinzel, serif;
  background: var(--cor-clara);
  color: var(--cor-primaria);
}

/* Títulos */
h1,
h2,
h3,
h4 {
  font-family: Adamiya, serif;
  letter-spacing: 1px;
  color: var(--cor-primaria);
}

.titulo {
  font-size: 5rem !important;
}

/* =============================
   BANDEIRAS SVG – NAVBAR
============================= */
.lang-flag {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  vertical-align: middle;
}

/* Mobile */
@media (max-width: 768px) {
  .lang-flag {
    width: 28px;
    height: 28px;
  }
}

/* =============================
   NAVBAR
============================= */
#mainNav {
  background: rgba(0, 39, 66, 0.85) !important;
  backdrop-filter: blur(8px);
  padding: 12px 0;
}

#mainNav .nav-link {
  color: var(--cor-clara) !important;
  font-weight: 700;
  transition: 0.3s;
}

#mainNav .nav-link:hover {
  color: var(--cor-secundaria) !important;
}

.tmNav {
  font-size: 25px !important;
}

/* Idioma na navbar */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

#currentLangText {
  font-size: 25px !important;
  font-weight: 500;
  color: var(--cor-clara);
}

/* =============================
   SLIDESHOW
============================= */
.slideshow-container {
  height: 80vh;
  max-height: 900px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.mySlide {
  display: none;
}

.mySlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-anim {
  animation: slideHorizontal 0.9s ease-out;
}

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

/* Botões */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.3);
}

.prev { left: 15px; }
.next { right: 15px; }

/* =============================
   SECTIONS
============================= */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#about {
  background: var(--cor-clara);
  position: relative;
  overflow: hidden;
}

#servicos {
  background: #fff;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  opacity: 0.35;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* =============================
   CARDS
============================= */
.card {
  border: none;
  border-radius: 15px;
  background: #f5f3ea;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* =============================
   CONTATO
============================= */
#contato {
  background: var(--cor-clara);
  padding: 125px 0 !important;
}

.infoContatos {
  text-decoration: none;
  color: var(--cor-secundaria);
}

.iconContatos {
  color: var(--cor-primaria) !important;
}

/* =============================
   REDES SOCIAIS
============================= */
#redes {
  background: var(--cor-primaria);
  color: var(--cor-clara);
  padding: 5vh 0 !important;
}

#redes a:hover {
  transform: scale(1.2);
  color: var(--cor-secundaria);
}

/* =============================
   ANIMAÇÕES
============================= */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.firstSection { padding-top: 150px !important; }
.ultimoSection {
  padding: 50px 0 !important;
}

.logo_site { width: 150px !important; }

/* =============================
   FOOTER
============================= */
.colorFooter { background-color: var(--cor-clara); }
.corLetras { color: #000 !important; }

/* =============================
   WORLD CLOCK
============================= */
.world-clocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 12px;
}

.clock-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.clock-city {
  font-weight: 700;
  color: #002742;
  margin-bottom: 4px;
  font-family: Cinzel, serif;
}

.clock-country {
  font-size: 0.85rem;
  color: #6b7280;
}

.clock-time {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #002742;
  font-family: monospace;
}

.clock-date {
  font-size: 0.82rem;
  color: #4b5563;
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 768px) {
  .slideshow-container {
    height: 45vh;
    border-radius: 5px;
  }

  .mySlide img {
    width: 175%;
  }

  #currentLangText {
    display: none;
  }

  #currentLangFlag {
    font-size: 1.4rem;
  }
}

.fundoAlternativo {
  background-color: #fff !important;
}
