/* GLOBAL STYLES */

:root {
  --primary: #ffffff;
  --primary-light: #e4b1ff;
  --bg-dark: #1c1b38;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --radius: 15px;
  --transition-speed: 2s;
  --slide-speed: 0.5s;
  --accent-purple: rgb(146, 51, 234);
  --header-glass: rgba(0, 0, 0, 0.6);
}

[data-theme="Dia"] {
  --primary: #000000;
  --primary-light: #6b21a8;
  --bg-dark: #ffffff;
  --glass-bg: rgba(120, 120, 120, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --radius: 15px;
  --transition-speed: 2s;
  --slide-speed: 0.5s;
  --accent-purple: rgb(146, 51, 234);
  --header-glass: rgba(0, 0, 0, 0.4);
}

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

#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#logo-loader {
  width: 150px;
  height: auto;
}

.bar rect,
.circle circle {
  fill: white;
  transition: clip-path 0.5s ease-in-out;
  clip-path: inset(100% 0 0 0);
}

.bar.is-filled rect,
.circle.is-filled circle {
  clip-path: inset(0 0 0 0);
}

#loading-counter {
  position: absolute;
  margin-top: 250px;
  color: white;
  font-family: monospace;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

#preloader-title {
  position: absolute;
  margin-top: 170px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  opacity: 0;
  animation: fadeInTitle 0.8s ease forwards 0.3s;
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,
h2,
h3 {
  font-family: "Luckiest Guy", cursive; /* Removed !important */
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  font-weight: 400;
  color: var(--primary-light);
}

h2 {
  font-weight: 500;
  margin-top: -5px;
  margin-bottom: 10px;
  color: var(--primary-light);
}

h1 {
  color: var(--primary);
}

body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary, #1a1a2e);
  color: var(--bg-dark, #000000);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 55;
  border-radius: 0 0 6px 0;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(146, 51, 234, 0.3);
}

header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.logoimg {
  margin-left: 13px;
  width: 90px;
  height: 30px;

  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;
}

.logoimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logoimg img:hover {
  transform: scale(1.2);
  transition: transform 2s ease;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: none;
}

.nav-menu a {
  display: inline-block;
  text-decoration: none;
}

.nav-link {
  display: inline-block;
  text-decoration: none;
  font-family: "Luckiest Guy", cursive;
  padding: 10px;
  width: 120px;
  background: rgba(146, 51, 234, 0);
  color: white;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    transform 0.3s,
    background 0.3s,
    box-shadow 0.3s,
    color var(--transition-speed) ease;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--accent-purple);
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
}

.nav-link:hover {
  background: rgb(228, 177, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 20px;
  justify-self: end;
}

.lang-switch-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: rgba(255, 255, 255);
  transition:
    color var(--transition-speed) ease,
    transform 0.3s ease;
  white-space: nowrap;
}

.lang-switch-btn:hover {
  color: var(--primary-light);
  transform: translateY(-1px);
}

body {
  line-height: 1.6;
  background-color: var(--bg-dark);
  overflow-x: hidden;
  font-family: "Inter", sans-serif;

  transition: background-color 2s ease;
}

#theme-toggle {
  position: relative;
  top: auto;
  right: auto;
  z-index: 60;

  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: transform 2s ease;
  flex-shrink: 0;
}

#theme-toggle:hover {
  transform: scale(1.1);
}

.toggle-btn {
  position: relative;
  width: 90px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  margin-top: 0px;
}

.toggle-btn .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  transition:
    transform 2s cubic-bezier(0.2, 0, 0.2, 1),
    opacity 2s ease;
}

.intro-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 40;

  background: var(--bg-dark);
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.arrow {
  width: 20px;
  height: 20px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  margin: 10px auto 0;
}

.parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.parallax-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  shape-rendering: optimizeSpeed;
}

.content-spacer {
  position: relative;
  height: 300vh;
  margin-top: 0;
  pointer-events: none;
  z-index: 5;
}

.hero-container {
  position: fixed;

  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  overflow: hidden;
  z-index: 12;
  pointer-events: none;
}

.hero-img-character {
  width: 800px;
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(97, 77, 77, 0.5));
}

.hero-text-content h1 {
  color: #ffffff !important; /* Forces the color to stay white */
}

.hero-text-content {
  position: relative;
  top: 10vh;
  right: 0;
  margin: 0 auto;
  width: 50%;
  text-align: center;
  color: white;
  background: var(--header-glass);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  border-radius: var(--radius);
  pointer-events: all;
}

.character-anchor {
  position: absolute;
  bottom: -8%;
  /* Locked margin */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.Drone {
  width: 100%;
  position: absolute;
  top: 15%;
  left: 0;
  height: 250px;
  overflow: hidden;
  pointer-events: none;
  z-index: 20;
}

#slide-2.active .looping-Drone {
  position: absolute;
  width: 140px;

  animation:
    moveAcrossLoop 10s linear infinite,
    bob 3s ease-in-out infinite;
  opacity: 0;
  z-index: 25;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
  animation: scaleInRight var(--slide-speed) ease forwards;
}

.slide.exit {
  opacity: 0;
  animation: scaleOutLeft var(--slide-speed) ease forwards;
}

.controls {
  position: absolute;
  bottom: 140px;

  display: flex;
  gap: 10%;
  z-index: 10;
  pointer-events: all;
}

.btn {
  font-family: "Luckiest Guy", cursive;
  width: 100px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid var(--primary);
  transition: all 0.3s;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  margin-left: 0px;
  padding: 10px;
  background: var(--header-glass);
  color: white;
  border-color: var(--accent-purple);
}

.btn:hover {
  background: rgb(228, 177, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}

.btn.active {
  color: white;
  transform: scale(1.1);
}

.next-section {
  background: rgba(255, 255, 255, 0.05) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: white !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  height: 40vh;
  margin-top: -50vh;
  border-radius: 50px 50px 0 0;
}

.section {
  display: flex;
  flex-wrap: nowrap;
  min-height: 50vh;
  align-items: center;
  z-index: 15;
  position: relative;
  background: var(--bg-dark);
  background-position: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  transition: background-color 2s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.textbox {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  max-width: 710px;
  width: 70%;
  border-radius: 10px;
  margin-bottom: 25px;
  margin-top: 25px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  margin-left: 0px;
  padding: 10px;
  background: var(--glass-bg);
  border-color: var(--accent-purple);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.gumlet-video {
  width: 100%;
}

.gumlet-video iframe {
  width: 100%;
  height: 400px;
  margin-top: 35px;
}

.videogallery {
  height: auto;
  min-height: 1000px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  font-size: 1rem;
  text-align: center;
  padding: 40px;
  position: relative;
  z-index: 16;
  transition: background-color 2s ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
  width: 75%;
  max-width: 1200px;
  align-items: end;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

/* The modern, minimal overlay background */
.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  /* Smooth fade transition */
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

/* Styled to match clean preloader typography */
.thumb-title {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.85rem; /* Crisp, small font look */
  text-transform: uppercase; /* Clean all-caps */
  letter-spacing: 4px; /* Creative, wide letter spacing */

  /* Clean micro-animation */
  transform: scale(0.95);
  transition: transform 0.25s ease-in-out;
}

/* ⚡ Fade in smoothly on hover or keyboard tab focus */
.video-thumb:hover .thumb-overlay,
.video-thumb:focus .thumb-overlay {
  opacity: 1;
}

.video-thumb:hover .thumb-title,
.video-thumb:focus .thumb-title {
  transform: scale(1); /* Sharp, subtle pop forward */
}

.hover-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 0.3s ease;
}

.video-thumb:hover .hover-preview,
.video-thumb:focus .hover-preview {
  opacity: 1;
  transform: scale(1.1);
  border-radius: var(--radius);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease;
  border-radius: var(--radius);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.lightbox-content {
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--radius);
  width: 90%;
}

.lightbox-video {
  flex: 2;
}

.lightbox-video iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
}

.lightbox-text {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.VirtualTour {
  text-align: center;
  background: var(--bg-dark);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: relative;
  z-index: 16;
  flex-direction: column;
  padding: 10px;
  transition: background-color 2s ease;
}

.VirtualTour h1 {
  letter-spacing: -0.5px;
}

.vt-grid-container {
  display: grid;
  gap: 15px;
  align-items: center;
  width: 50%;
  height: 50%;

  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
}

.vt-card {
  background: var(--bg-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-out;
  transform-style: preserve-3d;
  position: relative;
}

.vt-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: #a78bfa;
  font-weight: bold;
}

.shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

.vt-card iframe,
.vt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.image-link-card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.image-link-card:hover {
  transform: scale(1.02);
}

.vt-label {
  position: absolute;

  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1rem;
  object-fit: cover;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  perspective: 2000px;
}

.contact-top {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info.re-text-glass {
  color: var(--primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1 !important;
}

.contact-info h3 {
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.contact-email.re-text-glass {
  width: 800px;
  padding: 30px;
  display: flex;
  align-items: center;
  opacity: 1 !important;
}

textarea {
  border: 1px solid;
  padding: 15px;
  border-radius: var(--radius);
  color: rgb(255, 255, 255);
  font-size: 1rem;
  background: rgba(28, 27, 56, 0.4);
  border-color: var(--accent-purple);
}

.contact {
  height: auto;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 25;
  padding: 50px 0;
  transition: background-color 2s ease;
}

.contact-image img {
  width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(97, 77, 77, 0.5));
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.contact-info a {
  color: var(--primary-light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  border-radius: var(--radius);
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
}

.form-status-banner {
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
}

.form-status-banner.state-success {
  background-color: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.form-status-banner.state-error {
  background-color: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

.form-content {
  display: flex;
  gap: 15px;
  width: 100%;
  transition: opacity 0.3s;
  flex-wrap: wrap;
  flex-direction: column;
}

.success-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  font-weight: bold;
  font-size: 1.5rem;
  color: #a78bfa;
  transition: all 0.5s;
}

.email-sent .form-content {
  opacity: 0;
  pointer-events: none;
}

.email-sent .success-message {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.email-sent {
  border: 2px solid #a78bfa;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.contact-email input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.contact-email input {
  flex: 1;
  border: 1px solid;
  padding: 12px;
  border-radius: var(--radius);
  color: white;
  outline: none;
  background: rgba(28, 27, 56, 0.4);
  border-color: var(--accent-purple);
}

.rati img {
  min-width: 100%;
  min-height: 100%;
}

.rati {
  min-width: 100%;
  min-height: 100%;
}

footer {
  position: relative;
  z-index: 45;
  background: rgba(28, 27, 56, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-name {
  font-family: "Luckiest Guy", cursive;
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--primary-light);
}

.footer-role {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.footer-socials img {
  width: 28px;
  height: 28px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05rem;
}

.socials img {
  width: 30px;
  margin-bottom: 5px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  transition: 0.5s;
}

.socials img:hover {
  transform: scale(1.2);
}

.parallax-night,
.parallax-day {
  transition: opacity var(--transition-speed) cubic-bezier(0.4, 0, 0.4, 1);
}

.click-indicator-mobile {
  display: none;
}

[data-theme="Noite"] {
  --bg-dark: #1c1b38;
}
/* ==========================================================================
   1. BACKGROUND FADE (In/Out)
   ========================================================================== */
[data-theme="Noite"] .night-bg {
  opacity: 1;
}
[data-theme="Noite"] .day-bg {
  opacity: 0;
}

[data-theme="Dia"] .night-bg {
  opacity: 0;
}
[data-theme="Dia"] .day-bg {
  opacity: 1;
}

/* ==========================================================================
   2. CONTAINED ICON SLIDE & FADE
   ========================================================================== */

[data-theme="Noite"] .moon-icon {
  transform: translateX(-23px);
  opacity: 1;
}
[data-theme="Noite"] .sun-icon {
  transform: translateX(-20px);
  opacity: 0;
}

[data-theme="Dia"] .moon-icon {
  transform: translateX(20px);
  opacity: 0;
}
[data-theme="Dia"] .sun-icon {
  transform: translateX(23px);
  opacity: 1;
}

[data-theme="Noite"] .parallax-night {
  opacity: 1;
}
[data-theme="Noite"] .parallax-day {
  opacity: 0;
}

[data-theme="Dia"] .parallax-night {
  opacity: 0;
}
[data-theme="Dia"] .parallax-day {
  opacity: 1;
}

body.lang-is-en .lang-pt {
  display: none !important;
}

body.lang-is-pt .lang-en {
  display: none !important;
}

/* MOBILE RESPONSIVE */

@media (prefers-reduced-motion: reduce) {
  .parallax-container,
  .hero-img-character,
  .hover-preview {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1024px) {
  .vt-grid-container {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }

  .image-link-card {
    grid-column: span 2;
    width: 50%;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .scroll-indicator {
    bottom: 160px;
  }

  .theme-element {
    transition: none !important;
  }

  .section {
    flex-direction: column;
  }

  .gumlet-video {
    width: 100%;
  }

  .gumlet-video iframe {
    height: 220px;
    width: 100%;
  }

  .textbox {
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
  }

  .header-right {
    margin-right: 0;
    gap: 8px;
    width: 90px;
    justify-content: flex-end;
  }

  .lang-switch-btn {
    font-size: 0;
  }

  .lang-switch-btn::after {
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
  }

  #btn-en::after {
    content: "EN";
  }

  #btn-pt::after {
    content: "PT";
  }

  .logoimg {
    margin-left: 0px;
    width: 90px;
  }

  .menu-toggle {
    display: block;
    color: rgb(255, 255, 255);
  }

  .nav-menu {
    border-radius: var(--radius);
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background: rgba(28, 27, 56, 0.8) !important;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 10px;
  }

  .nav-menu .nav-link {
    width: 120px;
    margin: 5px 0;
  }

  .nav-menu.active {
    display: flex;
    align-items: center;
    right: 6%;
  }

  .hero-text-content {
    width: 90%;
    top: 15vh;
  }
  .video-thumb {
    position: relative; /* Anchor alignment boundary */
  }

  .click-indicator-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    border-radius: var(--radius);

    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--accent-purple);
    padding: 10px;

    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 5px;
    pointer-events: none;
    opacity: 0;
    z-index: 5;
  }

  .video-thumb.indicator-look .click-indicator-mobile {
    animation: mobileIndicatorFade 5s ease-in-out forwards;
  }
  /* Cyclic Fade Keyframe Structure */
  @keyframes mobileIndicatorFade {
    0% {
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 5px;
  }

  .lightbox-content {
    flex-direction: column;
  }

  .videogallery {
    padding: 10px;
  }

  .vt-grid-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tilt-card,
  .vt-card {
    max-width: 450px;
    margin: 15px auto;
  }

  .contact {
    min-height: 100%;
    height: auto;
    background: var(--bg-dark);
    z-index: 30;
    padding: 35px 20px;
  }

  .contact-pyramid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .contact-image img {
    height: auto;
    animation: float 4s ease-in-out infinite;
  }

  .contact-info.re-text-glass {
    color: var(--primary) !important;
    opacity: 1 !important;
  }

  .contact-email.re-text-glass {
    width: 100%;
    max-width: 80vw;
    padding: 10px;
  }

  .form-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-email input,
  .contact-email {
    border: 1px solid;
    padding: 15px;
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    background: rgba(28, 27, 56, 0.4);
    border-color: var(--accent-purple);
  }

  .contact-top {
    flex-direction: column;
    align-items: center;
  }

  .contact-info.re-text-glass,
  .contact-image {
    width: 80vw;
  }

  .contact-email.re-text-glass {
    width: 80vw;
  }

  @media (max-width: 600px) {
    .gallery-grid {
      grid-template-columns: repeat(1, 1fr);
    }

    .lightbox-video iframe {
      height: 70%;
    }
  }

  @keyframes loading-shimmer {
    0% {
      background-position: 200% 0;
    }

    100% {
      background-position: -200% 0;
    }
  }

  @keyframes moveAcrossLoop {
    0%,
    50% {
      transform: translateX(-200px);
      opacity: 0;
    }

    51% {
      opacity: 1;
      transform: translateX(-200px);
    }

    100% {
      transform: translateX(100vw);
      opacity: 1;
    }
  }

  @keyframes bob {
    0%,
    100% {
      margin-top: 0px;
    }

    50% {
      margin-top: 20px;
    }
  }

  @keyframes scaleInRight {
    0% {
      transform: translateX(100%) scale(0.8);
      opacity: 0;
    }

    100% {
      transform: translateX(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes scaleOutLeft {
    0% {
      transform: translateX(0) scale(1);
      opacity: 1;
    }

    100% {
      transform: translateX(-100%) scale(0.8);
      opacity: 0;
    }
  }

  @media (min-width: 901px) {
    header {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      width: 100%;
    }

    .menu-toggle {
      display: none !important;
    }

    .nav-menu {
      position: static;
      display: flex !important;
      background: transparent;
      border: none;
      box-shadow: none;
      justify-self: center;
    }

    .logoimg {
      justify-self: start;
    }

    .header-right {
      justify-self: end;
    }
  }
}
