/* ========================================
   BLACK MAGNETIC – TRIBUTE TO METALLICA
   CSS – Negro / Amarillo / Blanco
   ======================================== */

:root {
  --black: #0a0a0a;
  --black-mid: #111111;
  --black-light: #1a1a1a;
  --black-card: #161616;
  --yellow: #ffff01;
  --yellow-dark: #cccc00;
  --yellow-glow: rgba(255, 255, 1, 0.25);
  --white: #ffffff;
  --white-soft: #e8e8e8;
  --grey: #888888;
  --grey-dark: #333333;
  --font-display: 'Metal Lord', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --nav-height: 70px;
  --transition: 0.3s ease;
  --radius: 4px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
}

/* ---- UTILITIES ---- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.accent { color: var(--yellow); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}
.section-title span { color: var(--yellow); }
.title-bar {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--yellow-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 2px;
}
.nav-logo span { color: var(--yellow); }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-soft);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.4) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.8) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--white);
  text-shadow: 0 0 60px rgba(245,197,24,0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hero-title span { color: var(--yellow); }
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--white-soft);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--grey);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--grey), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==============================
   ABOUT
   ============================== */
.about {
  padding: 6rem 0;
  background: var(--black-mid);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--white-soft);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-text strong { color: var(--yellow); }
.about-text em { color: var(--white); font-style: normal; font-weight: 600; }
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-dark);
}
.about-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-number .accent { color: var(--yellow); font-size: 2rem; }
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}
.about-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.member-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--black-card);
}
.member-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(0.8);
  transition: filter var(--transition), transform 0.5s ease;
}
.member-card:hover img {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.05);
}
.member-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 60%, transparent);
}
.member-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.member-info p {
  font-size: 0.78rem;
  color: var(--yellow);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==============================
   GALLERY
   ============================== */
.gallery {
  padding: 6rem 0;
  background: var(--black);
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--grey-dark);
  border-radius: 2px;
  color: var(--grey);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-glow);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item.large {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.75) saturate(0.8);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 197, 24, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.3); }
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 2px solid var(--grey-dark);
  border-radius: var(--radius);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  font-size: 2rem;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1.8rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ==============================
   HIRE / CONTRÁTANOS
   ============================== */
.hire {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.hire-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.5);
}
.hire-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 100%);
  z-index: 1;
}
.hire-content {
  position: relative;
  z-index: 2;
}
.hire-lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--white-soft);
  font-size: 1.1rem;
  line-height: 1.8;
}
.hire-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.hire-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--grey-dark);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.hire-card:hover {
  border-color: var(--yellow);
  background: rgba(245,197,24,0.06);
  transform: translateY(-4px);
}
.hire-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hire-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}
.hire-card p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}
.hire-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ==============================
   CONTACT / BOOKING
   ============================== */
.contact {
  padding: 6rem 0;
  background: var(--black-mid);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--white-soft);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white-soft);
  font-size: 0.95rem;
}
.contact-details a { transition: color var(--transition); }
.contact-details a:hover { color: var(--yellow); }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-social {
  display: flex;
  gap: 0.8rem;
}
.social-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-dark);
  border-radius: 50%;
  transition: var(--transition);
  color: var(--grey);
}
.social-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-glow);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black-light);
  border: 1px solid var(--grey-dark);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  min-height: 1em;
}
.form-group textarea { resize: vertical; min-height: 120px; }
/* Date input fix */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5) sepia(1) saturate(5) hue-rotate(5deg);
  cursor: pointer;
}
.form-submit { align-self: flex-start; }
.form-success {
  display: none;
  background: rgba(0, 200, 80, 0.1);
  border: 1px solid #00c850;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: #00c850;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-align: center;
}
.form-success.visible { display: block; }
.form-error-general {
  display: none;
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid #e53e3e;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: #e53e3e;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-align: center;
}
.form-error-general.visible { display: block; }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--grey-dark);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.footer-logo span { color: var(--yellow); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--yellow); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .hire-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.large { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0 2rem;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 2px solid var(--yellow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; font-size: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hire-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .about-members { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-members { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2rem; }
}
