/* RESET & BASE GLOBAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
}

/*VARIÁVEIS */
:root {
  --color-primary: #00ffff;
  --color-bg-dark: #000000fa;
  --color-bg-darker: #111;
  --color-bg-light: #f0f0f0;
  --font-title: 'Zen Dots', sans-serif;
  --font-mono: monospace;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;

  background-color: rgba(0, 0, 0, 0.271); 
  backdrop-filter: blur(10px);         
  -webkit-backdrop-filter: blur(10px); 
  
  /* --- Posicionamento --- */
  position: fixed;  
  top: 0;
  width: 100%;
  z-index: 2000;    
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  height: 3.5em;
  width: auto;
  max-width: 100%;
}

mark.search-highlight {
  background-color: purple;
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/*Dropdown*/
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 40px; 
  padding: 0 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropbtn:hover {
  background-color: #444;
  border-radius: 5px;
  color: var(--color-primary);
}

/* Dropdown Content */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  min-width: 150px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.3em;
  text-decoration: none; 
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--color-primary); 
  color: #000;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-darker);
  border-radius: 5px;
  padding: 5px;
  height: 40px; 
}

.search-box input {
  border: none;
  background: transparent;
  color: #fff;
  padding: 5px;
  outline: none;
  width: 150px;
  height: 30px; 
}

.search-box button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
  height: 30px;
}

/*HERO*/
.hero {
  height: 100vh;
  background: url("../imagens/uni.gif") no-repeat center center / cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 2.2em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

/* POSTERS*/
.poster-section {
  padding: 70px 40px;
  background-color: #0c042052;
  text-align: center;
  letter-spacing: 2px;
}

.poster-section h2 {
  font-family: var(--font-title);
  font-size: 1.9em;
  margin-bottom: 50px;
  color: #fff;
  text-transform: uppercase;
}

.poster-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 120px;
}

.poster {
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px 10px rgba(121, 42, 186, 0.292);
  transition: transform 0.3s ease;
}

.poster:hover {
  transform: scale(1.05);
}

/*Poster Flip */
.poster-inner {
  position: relative;
  width: 280px;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(30, 1, 42, 0.705));
  border: 1px solid rgba(104, 16, 155, 0.2);
  box-shadow: 0 0 20px rgba(110, 39, 157, 0.1), 0 0 60px rgba(176, 50, 189, 0.2);
}

.poster:hover .poster-inner {
  transform: rotateY(180deg);
}

.poster-front,
.poster-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  font-family: var(--font-mono);
  font-size: 1.2em;
}

.poster-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster h3 {
  margin: 6px 0;
}
.poster-back {
  background-color: rgb(0, 1, 17);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
}

/*INFO SECTION */
.info-section-home {
  background-color: var(--color-bg-light); 
  padding: 60px 40px;
  text-align: left;
  margin-top: 70px;
}

.info-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.info-block h3 {
  font-family: var(--font-title);
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000;
}

.info-block p {
  font-family: var(--font-mono);
  font-size: 1.4em;
  line-height: 1.7em;
  color: #222;
}

/* FOOTER*/
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 25px;
  text-align: center;
  font-size: 1em;

}

.site-footer .footer-left,
.site-footer .footer-right {
  flex: 1;
  min-width: 200px;
}

.site-footer p {
  margin: 8px 0;
  line-height: 1.6;
}

/*RESPONSIVO MOBILE  */
/* Botão hamburguer */
.hamburger {
  font-size: 2.5em;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1600;
}

/* Botão X */
.close-menu {
  font-size: 2.5em;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 15px;
  left: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed;
    top: 15px;
    right: 20px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #111;
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px 20px;
    box-shadow: -4px 0 15px rgba(0, 255, 255, 0.3);
    transition: right 0.3s ease;
    z-index: 1500;
    display: flex;
  }
  .nav-menu.active {
    right: 0;
  }
  .close-menu {
    display: block;
  }
}
.hamburger {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100; 
}
