@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,900;1,900&display=swap');

*, *::before, ::after {
  box-sizing: border-box;
}

:root{
    --clr: #000000
}

#loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Reutiliza a tua animação */
#loading .loading-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading .loading-ring {
  width: 200px;
  height: 200px;
  border: 0px solid #000;
  border-radius: 50%;
  position: absolute;
}

#loading .ring1 { 
  border-bottom-width: 8px; 
  border-color: rgb(158, 0, 158); 
  animation: rotate1 2s linear infinite; 
}

#loading .ring2 { 
  border-bottom-width: 8px; 
  border-color: rgb(0, 255, 255); 
  animation: rotate2 2s linear infinite; 
}

#loading .ring3 { 
  border-bottom-width: 8px; 
  border-color: rgb(255, 255, 255); 
  animation: rotate3 2s linear infinite; 
}

#loading .loading {
  color: white;
  font-family: monospace;
  top: calc(100% + 10px);
}

@keyframes rotate1 {
  0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg) }
  100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg) }
}

@keyframes rotate2 {
  0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg) }
  100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg) }
}

@keyframes rotate3 {
  0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg) }
  100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg) }
}

/* General styles */
body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

nav{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 1rem 5%;
    background: #000000;
    border-bottom: 1px solid #000000;
    backdrop-filter: blur(15px);
    margin-bottom: 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a{
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.nav-links{
    background: #000000;
}

.nav-links li{
    display: inline-block;
    position: relative;
}

.nav-links li a{
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    transition: 0.3s;
    display: block;
    padding: 20px 50px;
    text-decoration: none;
    text-align: center;
}

.nav-links li ul.dropdown li{
    display: block;
    align-items: center;
}

.nav-links li ul.dropdown li a{
    align-items: center;
    text-align: center;
}

.nav-links li ul.dropdown{
    width: 100%;
    background: #000000;
    position: absolute;
    display: none;
}

.nav-links li a:hover{
    background: #ffffff3d;
    color: #800091;
    text-shadow: 0 0 10px #800091;
}

.nav-links li:hover > ul.dropdown{
    display: block;
}

h1{
    font-family: "Arimo", sans-serif;
    font-size: 5rem;
    font-weight: 900;
    padding: 0px 60px;
    align-self: flex-start;
    display: flex;
}

h2{
    font-family: "Arimo", sans-serif;
    font-size: 3rem;
    font-weight: 900;
    padding: 0px 60px;
    align-self: flex-start;
    display: flex;
}

.content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.content p{
    font-family: "Arimo", sans-serif;
    font-size: 25px;
    font-weight: 400;
    padding: 0px 60px;
    align-self: flex-start;
    display: flex;
    max-width: 50%;
}

.images{
    position: absolute;
    top: 0;
    left: 50%; /* começa à metade da página */
    width: 50%; /* metade direita */
    height: 100%;
}

.image1{
    position: absolute;
    width: 400px;
    height: auto;
    top: -120px;
    left: 5%;
    border-radius: 10px; /* opcional */
}

.image2{
    position: absolute;
    width: 400px;
    height: auto;
    bottom: 0px;
    right: 5%;
    border-radius: 10px; /* opcional */
}

footer {
  margin-top: 40px;
  background: #111;
  color: white;
  padding: 25px;
  text-align: center;
}

/* === NAVBAR (AUTO-UPDATED) === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,900;1,900&display=swap');

*, *::before, ::after {
  box-sizing: border-box;
  text-align: center;
}

:root{
    --clr: #000000
}

#loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Reutiliza a tua animação */
#loading .loading-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading .loading-ring {
  width: 200px;
  height: 200px;
  border: 0px solid #000;
  border-radius: 50%;
  position: absolute;
}

#loading .ring1 { 
  border-bottom-width: 8px; 
  border-color: rgb(158, 0, 158); 
  animation: rotate1 2s linear infinite; 
}

#loading .ring2 { 
  border-bottom-width: 8px; 
  border-color: rgb(0, 255, 255); 
  animation: rotate2 2s linear infinite; 
}

#loading .ring3 { 
  border-bottom-width: 8px; 
  border-color: rgb(255, 255, 255); 
  animation: rotate3 2s linear infinite; 
}

#loading .loading {
  color: white;
  font-family: monospace;
  top: calc(100% + 10px);
}

@keyframes rotate1 {
  0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg) }
  100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg) }
}

@keyframes rotate2 {
  0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg) }
  100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg) }
}

@keyframes rotate3 {
  0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg) }
  100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg) }
}

/* General styles */
body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

nav{
    width: 100%;
    padding: 1rem 5%;
    background: #000000;
    border-bottom: 1px solid #000000;
    backdrop-filter: blur(15px);
    margin-bottom: 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: -5px; /* reduz espaço entre links */
  margin-left: auto; /* empurra tudo para a direita */
  align-items: center;
}

.nav-links li a {
  display: block;
  padding: 10px 20px; /* reduz tamanho e espaçamento interno */
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem; /* ligeiramente menor */
  transition: 0.3s ease;
}

.nav-links{
    background: #000000;
}

.nav-links li{
    display: inline-block;
    position: relative;
}

.nav-links li a{
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    transition: 0.3s;
    display: block;
    padding: 20px 50px;
    text-decoration: none;
    text-align: center;
}

.nav-links li ul.dropdown li{
    display: block;
    align-items: center;
}

.nav-links li ul.dropdown li a{
    align-items: center;
    text-align: center;
}

.nav-links li ul.dropdown{
    width: 100%;
    background: #000000;
    position: absolute;
    display: none;
}

.nav-links li a:hover {
  background: #ffffff3d;
  color: #800091;
  text-shadow: 0 0 10px #800091;
  border-radius: 6px;
}

.nav-links li:hover > ul.dropdown{
    display: block;
}

/* Intro section */
section {
  padding: 20px;
}

.slider{
  width: 1920px;
  max-width: 100vw;
  height: 500px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.slider-list{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: max-content;
  transition: left 1s ease-in-out;
  overflow: hidden;
}

.slider-list img{
  width: 1920px;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}

.slider-buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.slider-buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.slider-buttons button:hover {
  transform: scale(1.5);
  color: #fff;
  background-color: #000000;
  opacity: 0.50;
}


.dots{
  position: absolute;
  bottom: 10px;
  color: #fff;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.dots li{
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 20px;
  border-radius: 20px;
  transition: 1s ease-in-out;
}

.dots li.active{
  width: 30px;
}

@media screen and (max-width: 768px) {
    .slider{
      height: 400px;
    }
}

/* Footer */
footer {
  margin-top: 40px;
  background: #111;
  color: white;
  padding: 25px;
  text-align: center;
}

/* ======== CORREÇÃO DE LAYOUT HEADER ======== */
/* Faz o logo ficar à esquerda e a navbar à direita */

nav.main-nav > .logo-link {
  order: 1;
}

nav.main-nav > .nav {
  order: 2;
}
/* === /NAVBAR === */


/* === FULL FIXES APPEND === */

/* === PATCH: Navbar compacta & alinhada à direita === */
header nav, nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
}
nav .logo { flex: 0 0 auto; }
nav .nav-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  background: transparent !important;
}
nav .nav-links li { display: inline-flex; }
nav .nav-links li a {
  padding: 8px 14px !important;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
}
nav .nav-links li ul.dropdown { right: 0; left: auto; } /* neutral default; dropdown patch redefine */
.nav-links { gap: 12px !important; }
.nav-links li a { padding: 8px 14px !important; }


/* === PATCH: Dropdown centrado por baixo do item === */
nav .nav-links li { position: relative; }
nav .nav-links li > ul.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 220px;
  max-width: 80vw;
  padding: 8px 0;
  background: #000000;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  text-align: center;
  z-index: 1000;
}
nav .nav-links li:hover > ul.dropdown { display: block; }
nav .nav-links li ul.dropdown li { display: block; }
nav .nav-links li ul.dropdown a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}
/* neutralizar heranças antigas */
.nav-links li ul.dropdown { left: 50% !important; right: auto !important; width: auto !important; }
.nav-links li ul.dropdown li a { text-align: center !important; }


/* === PATCH: Footer consistency & fixed-bottom (CSS-only) === */
:root { --footer-h: 80px; } /* ajusta se quiseres outra altura */
body { padding-bottom: var(--footer-h); }
footer#contacts, footer, #footer, .footer, [role="contentinfo"], [class*="footer"] {
  position: fixed !important;
  left: 0; right: 0; bottom: 0;
  min-height: var(--footer-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px; /* altura vem de min-height */
  z-index: 9999;
  border-top: 1px solid #e9e9ee;
  background: #111; color: #fff; font-size: 14px;
}
footer#contacts :is(p,ul,ol), footer :is(p,ul,ol), #footer :is(p,ul,ol), .footer :is(p,ul,ol) { margin: 0; }

