/* ------------------------------ */
/*        GLOBAL STYLES           */
/* ------------------------------ */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
  scroll-behavior: smooth;
}
a {
  transition: color 0.3s;
}
a:hover {
  color: #ffffff;
}

/* ------------------------------ */
/*           HEADINGS             */
/* ------------------------------ */

h2, h3 {
  color: #ff4444;
}

/* Usar a classe abaixo onde quiser animar */
.titulo-animado {
  animation: fadeInUp 1s ease-out;
}

/* ------------------------------ */
/*         TEXT EFFECTS           */
/* ------------------------------ */

.text-soft-shadow {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ------------------------------ */
/*         IMAGE GALLERY          */
/* ------------------------------ */

.galeria img {
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.7);
}
.galeria-hover {
  transition:
    box-shadow 0.3s ease,
    filter 0.3s ease;

  transform-origin: center;
}

.galeria-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  filter: brightness(1.2);
  z-index: 10;
}

/* ------------------------------ */
/*            IFRAME              */
/* ------------------------------ */

iframe {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

/* ------------------------------ */
/*          LOADING SCREEN        */
/* ------------------------------ */

#loading-screen {
  transition: opacity 0.8s ease;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#loading-screen img {
  opacity: 0;
  transform: scale(0.75);
  animation: fadeZoom 1.5s ease-out forwards;
}

/* ------------------------------ */
/*         LOGO ANIMATION         */
/* ------------------------------ */

.logo-animada {
  animation: fadeInUp 1.2s ease-out forwards, logoGlow 2.5s ease-in-out infinite;
  opacity: 0;
}

/* ------------------------------ */
/*        PARALLAX BACKGROUND     */
/* ------------------------------ */

.bg-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* =========================
   LINK HOVER EFFECT DO ALL MY LINKS
========================= */

.link-hover {
    transition: all 0.3s ease-in-out;
    display: inline-block;
    overflow: visible;
}

.link-hover:hover {
    color: white;
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px red);
}

@keyframes redPulse {
    from {
        text-shadow:
            0 0 5px #550000,
            0 0 10px #550000;
    }
    to {
        text-shadow:
            0 0 10px #ff0000,
            0 0 20px #ff0000,
            0 0 35px #ff0000;
    }
}

/* ------------------------------ */
/*          ANIMATIONS            */
/* ------------------------------ */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 3px #ff0000);
  }
  50% {
    filter: drop-shadow(0 0 10px #ff0000);
  }
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1.2s ease-out forwards;
}
.animate-glow {
  animation: logoGlow 2s ease-in-out infinite;
}
.animate-fade-zoom {
  animation: fadeZoom 1.5s ease-out forwards;
}
/* Oculta o loading se já tiver sido exibido uma vez */
.skip-loading #loading-screen {
  display: none !important;
}


/* ------------------------------ */
/*      QR CODE AND WHATS APP     */
/* ------------------------------ */


.whatsapp-contact {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1.5rem;
}
.qr__wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr__code {
  width: 180px;
  height: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.qr__code:hover {
  transform: scale(1.05);
}
.qr__text {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--text-color);
}
.whatsapp__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ff4444;
  color: #fff;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}
.whatsapp__button:hover {
  background-color: #7a1919;
  transform: translateY(-2px);
}
#contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================
   DESCRIPTION ANIMATION
========================= */

.descricao-item {
    opacity: 0;
    animation: fadeInUp 2s ease forwards;
}
.descricao-item:nth-child(1) {
    animation-delay: 0.4s;
}
.descricao-item:nth-child(2) {
    animation-delay: 0.8s;
}
.descricao-item:nth-child(3) {
    animation-delay: 1.2s;
}
.descricao-item:nth-child(4) {
    animation-delay: 1.6s;
}
.descricao-item:nth-child(5) {
    animation-delay: 2s;
}
.descricao-item:nth-child(6) {
    animation-delay: 2.4s;
}
.descricao-item:nth-child(7) {
    animation-delay: 2.8s;
}

/* =========================
   GALLERY REVEAL EFFECT
========================= */

.galeria-reveal {
    opacity: 0;
    transform: translateY(120px) scale(0.9);
    transition:
        opacity 2s ease-out,
        transform 2s ease-out;
}

.galeria-reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================
   TOUR PAGE ANIMATIONS
========================= */

.tour-reveal {
    opacity: 0;
    transform: translateY(100px);
    transition:
        opacity 2s ease-out,
        transform 2s ease-out;
}

.tour-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.tour-item {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}

.tour-item.active {
    opacity: 1;
    transform: translateX(0);
}

.tour-button {
    opacity: 0;
    transform: scale(0.8);
    transition:
        opacity 1.5s ease-out,
        transform 1.5s ease-out;
}

.tour-button.active {
    opacity: 1;
    transform: scale(1);
}

/* =========================
   ALL MY LINKS REVEAL
========================= */

.links-reveal {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 2s ease-out,
        transform 2s ease-out;
}

.links-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.links-item {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 1s ease-out,
        transform 1s ease-out;
}

.links-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   CONTACT PAGE REVEAL
========================= */

.qr__wrapper {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity 2s ease-out,
        transform 2s ease-out;
}

.qr__wrapper.active {
    opacity: 1;
    transform: translateY(0);
}
.whatsapp__button {
    opacity: 0;
    transform: scale(0.8);
    transition:
        opacity 1.5s ease-out,
        transform 1.5s ease-out;
}

.whatsapp__button.active {
    opacity: 1;
    transform: scale(1);
}