/* ============================================================
   DJ EL VIGILANTE — Stylesheet
   Colors: #050A1A (bg) · #00AAFF (blue) · #FF6B00 (orange) · #C8942A (gold)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050A1A;
  --bg2:       #080F24;
  --blue:      #00AAFF;
  --blue-dim:  #0066AA;
  --orange:    #FF6B00;
  --gold:      #C8942A;
  --white:     #FFFFFF;
  --gray:      #8899AA;
  --font-hero: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  transition: background 0.4s, padding 0.4s;
}
#navbar.scrolled {
  background: rgba(5, 10, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.8rem 4rem;
  border-bottom: 1px solid rgba(0, 170, 255, 0.15);
}
.nav-logo {
  font-family: var(--font-hero);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(0,170,255,0.6);
}
.nav-links {
  display: flex; list-style: none; gap: 2.5rem; align-items: center;
}
.nav-links a {
  color: var(--white); text-decoration: none; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue) !important;
  color: var(--bg) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
}
.btn-nav:hover { background: var(--orange) !important; color: var(--white) !important; }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#particleCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 1.5rem;
}
.hero-logo {
  width: min(320px, 70vw);
  filter: drop-shadow(0 0 40px rgba(0,170,255,0.7)) drop-shadow(0 0 80px rgba(255,107,0,0.4));
  animation: logoPulse 3s ease-in-out infinite;
  margin-bottom: 2rem;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(0,170,255,0.6)) drop-shadow(0 0 60px rgba(255,107,0,0.3)); }
  50%       { filter: drop-shadow(0 0 60px rgba(0,170,255,0.9)) drop-shadow(0 0 100px rgba(255,107,0,0.6)); }
}
.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}
.glow-text {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(0,170,255,0.8), 0 0 60px rgba(0,170,255,0.4);
}
.hero-sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator span {
  display: block; width: 2px; height: 50px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: var(--font-hero);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-decoration: none;
  border-radius: 3px;
  border: none; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0,170,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange), #CC5500);
  box-shadow: 0 0 40px rgba(255,107,0,0.5);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ── SECTIONS ── */
section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--white), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  text-align: center; color: var(--gray);
  font-size: 0.95rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 4rem;
}

/* ── SERVICES ── */
#servicios { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(0,170,255,0.05);
  border: 1px solid rgba(0,170,255,0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s;
  opacity: 0; transform: translateY(30px);
}
.service-card:hover {
  border-color: var(--blue);
  background: rgba(0,170,255,0.1);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,170,255,0.15);
}
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-hero);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.service-card p { color: var(--gray); line-height: 1.7; font-size: 0.9rem; }

/* ── ABOUT ── */
#sobre-mi { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: 8px;
  border: 2px solid rgba(0,170,255,0.3);
  box-shadow: 0 0 60px rgba(0,170,255,0.2);
}
.about-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0,170,255,0.1), rgba(255,107,0,0.1));
  border: 2px solid rgba(0,170,255,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hero); font-size: 8rem; color: rgba(0,170,255,0.3);
}
.about-text .section-title { text-align: left; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 1.2rem; }
.about-stats {
  display: flex; gap: 3rem; margin: 2.5rem 0;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num {
  font-family: var(--font-hero);
  font-size: 3rem;
  color: var(--blue);
  line-height: 1;
}
.stat span:nth-child(2) {
  font-family: var(--font-hero); font-size: 2rem; color: var(--orange);
}
.stat-label { font-size: 0.75rem; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; margin-top: 0.3rem; }

/* ── GALLERY ── */
#galeria { background: var(--bg2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img {
  background: linear-gradient(135deg, rgba(0,170,255,0.1), rgba(255,107,0,0.1));
  border: 1px solid rgba(0,170,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 0.8rem; letter-spacing: 2px;
}

/* ── CONTACT ── */
#contacto { background: var(--bg); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start;
}
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.contact-icon { font-size: 1.8rem; }
.contact-label { display: block; font-size: 0.75rem; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; }
.contact-val {
  display: block; font-size: 1rem; font-weight: 600; color: var(--white);
  text-decoration: none; margin-top: 0.2rem;
}
.contact-val:hover { color: var(--blue); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,170,255,0.2);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 15px rgba(0,170,255,0.15);
}
.contact-form select option { background: var(--bg2); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray); }

/* ── FOOTER ── */
footer {
  background: #020714;
  border-top: 1px solid rgba(0,170,255,0.15);
  padding: 3rem 0;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-family: var(--font-hero);
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--blue);
  text-shadow: 0 0 20px rgba(0,170,255,0.5);
  margin-bottom: 0.5rem;
}
.footer-tagline { color: var(--gray); font-size: 0.85rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(0,170,255,0.3);
  border-radius: 50%;
  color: var(--gray); text-decoration: none;
  font-size: 0.75rem; font-weight: 700;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--blue); color: var(--blue);
  box-shadow: 0 0 15px rgba(0,170,255,0.3);
}
.footer-copy { color: var(--gray); font-size: 0.8rem; }
.footer-copy a { color: var(--blue); text-decoration: none; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  display: flex; align-items: center; gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.2rem 0.75rem 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  background: #1fbe5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 35px rgba(37,211,102,0.7); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #navbar { padding: 1rem 1.5rem; }
  #navbar.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,10,26,0.98); padding: 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
}
