:root {
  --bg: #0a1628;
  --gold: #d4af37;
  --ink: #e9edf3;
}

/* RESET */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, sans-serif;
}


main, section {
  position: relative;
  z-index: 2;
}

section {
  background: transparent;
  
  min-height: 100vh;

}

section:not(#hero) {
  padding: 10vh 5vw;
}



#background-container {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 0;  pointer-events: none;
}

#hero {
  min-height: 100vh;
  padding: 0;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: contrast(.85) saturate(1.05);
}

.bg-layer.active {
  opacity: 1;
}

/* SECTIONS */
section {
  min-height: 100vh;
  padding: 10vh 5vw;
}

.section-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* UI */
.text-gold { color: var(--gold); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  padding: 16px 40px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 16px 40px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: transparent;
}

/* ===============================
   HERO MENU – PREMIUM
=============================== */
.hero-menu {
  display: flex;
  gap: 1.8rem;
  margin-top: 4rem;
}

.hero-menu button {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 150px;
  padding: 0.6rem 1.2rem;

  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;

  cursor: pointer;

  transition: all 0.3s ease;
}

/* hover igual ao botão */
.hero-menu button:hover {
  background: var(--gold);
  color: var(--bg);
}


@media (max-width: 768px) {

  .hero-menu {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    margin-top: 3.5rem;
    border-radius: 5px;
  }

  .hero-menu button {
    font-size: 0.8rem;
    letter-spacing: 0.35em;
  }

  /* remove efeito "fade do grupo" em touch */
  .hero-menu:hover button {
    opacity: 1;
  }

  /* underline fica mais perto */
  .hero-menu button::after {
    bottom: -6px;
  }
}



#hero > div {
  max-width: 90vw;
}


@media (max-width: 640px) {
  #hero > div > a span {
    display: none;
  }

  #hero > div > a {
    padding: 4px;
  }

  #hero > div > a svg {
    width: 26px;
    height: 26px;
  }
}


/* ===============================
   MARQUEE – EVENTOS / INSTAGRAM
=============================== */

.marquee {
  width: 100%;
  overflow: hidden;

  background: var(--bg);                 /* ✅ azul escuro do root */
  border-top: 1px solid rgba(212,175,55,0.25);
  border-bottom: 1px solid rgba(212,175,55,0.25);

  padding: 0.75rem 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee-loop 40s linear infinite;
}

.marquee span {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.marquee .separator {
  opacity: 0.5;
}

/* animação */
@keyframes marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ===============================
   MENU SECTION – 2 COLUNAS
=============================== */

.menu-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-content {
  color: var(--ink);
}

.menu-text {
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.menu-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .menu-image {
    order: -1;
  }
}

/* ===============================
   SCROLLBAR CUSTOM (NAZAR GOLD)
=============================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 22, 40, 0.6); /* azul escuro base */
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45); /* dourado Nazar */
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.75);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.55) rgba(10,22,40,0.6);
}

/* ===============================
   NAZAR WATERMARK FIXO
=============================== */

#nazar-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: url('../img/nazar-eye.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 85%;     
  opacity: 0;               
  filter:
    blur(0.6px)
    drop-shadow(0 2px 2px rgba(255,255,255,0.05))
    drop-shadow(0 -3px 5px rgba(0,0,0,0.45));

  transform: translateZ(0); 
}



#hero::before, #eventos::before {
  content: "";
  position: absolute;
  inset: 0;

  /* azul Nazar com elegância */
  background: rgba(10, 22, 40, 0.45);

  z-index: 1;
  pointer-events: none;
}


/* ===============================
   FOOTER – NAZAR (PRODUÇÃO FINAL)
=============================== */

.site-footer {
  background: var(--bg);
  padding: 3rem 1.5rem 2.5rem;
}

/* ===== ASSINATURA ===== */
.footer-signature {
  text-align: center;
  margin-bottom: 2.5rem;
}

.footer-signature span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
}

.footer-bar {
  margin: 0.75rem auto 0;
  width: 44px;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
}

/* ===== INFO ===== */
.footer-info {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;

  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}

.footer-icons {
  display: flex;
  gap: 1.25rem;
}

.footer-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.footer-icon:hover {
  opacity: 1;
}

.footer-copy {
  text-align: center;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-credit {
  text-align: right;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-credit a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.85;
}

.footer-credit a:hover {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-info {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-credit {
    text-align: center;
  }
}


.footer-icons a:hover .footer-icon {
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.35));
}

.footer-icons a:hover .footer-icon {
  opacity: 1;
}
/* ===============================
   GALERIA – INSTAGRAM ICON
=============================== */

.instagram-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);

  padding: 0.5rem;
  border-radius: 2px;
}

/* SVG externo como mask */
.icon-instagram {
  width: 18px;
  height: 18px;
  background-color: var(--gold);

  -webkit-mask-image: url("../img/instagram2.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("../img/instagram2.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}


/* Hover suave */
a:hover .instagram-badge {
  background: rgba(0, 0, 0, 0.75);
}