/* css/galeria.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif;
  height: 100%;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 128, 0, 0.3), rgba(139, 0, 0, 0.2));
  z-index: -1;
}

video.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.75) contrast(1.1);
}

.container {
  position: relative;
  z-index: 10;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.15);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand img {
  width: 70px;
  height: auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.brand img:hover {
  transform: scale(1.1);
}

.brand h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: #ff0000;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.brand div {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn {
  padding: 14px 30px;
  background: linear-gradient(135deg, #00ff00, #ff0000);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff0000, #00ff00);
}

.btn.small {
  font-size: 16px;
  padding: 10px 20px;
}

.nav-container {
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  gap: 20px;
  backdrop-filter: blur(10px);
}

.menu li {
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.4s ease;
}

.menu li:hover {
  background: linear-gradient(135deg, #00ff00, #ff0000);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.menu li.active {
  background: linear-gradient(135deg, #00ff00, #ff0000);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 50px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 25px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

#gallery img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  transition: all 0.5s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

#gallery img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 255, 0, 0.3);
  position: relative;
  animation: zoomIn 0.5s ease;
}

.modal-content::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('assets/logo.png') no-repeat center;
  background-size: contain;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

.modal:hover {
  cursor: pointer;
}