/* ============================================================
   GLOBAL STYLES — Luc Sloots Portfolio
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Bebas+Neue&family=Orbitron:wght@700;900&display=swap');

:root {
  --bg:       #0a0a0a;
  --bg-card:  #111111;
  --bg-card2: #161616;
  --red:      #ff3333;
  --red-dark: #cc0000;
  --red-glow: rgba(255, 51, 51, 0.25);
  --red-dim:  rgba(255, 51, 51, 0.08);
  --white:    #ffffff;
  --grey:     #a0a0a0;
  --grey-dim: #555555;
  --border:   rgba(255, 51, 51, 0.2);
  --radius:   12px;
  --radius-lg:20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Orbitron', monospace;
  --font-hero: 'Bebas Neue', cursive;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 70px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--red-glow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.nav-logo:hover .logo-circle {
  box-shadow: 0 0 28px rgba(255,51,51,0.55);
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links a:hover { color: var(--white); background: var(--red-dim); }
.nav-links a.active {
  color: var(--red);
  background: var(--red-dim);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--red-dim); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem 1.5rem;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--red); background: var(--red-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--grey-dim);
}

.footer-text span { color: var(--red); }

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  transition: border-color var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
}

.social-icon:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
  transform: translateY(-2px);
}

.social-icon svg { width: 18px; height: 18px; }

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
.section {
  padding: 100px 2.5rem 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.section-title span { color: var(--red); }

.section-subtitle {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
  background: #ff1a1a;
  box-shadow: 0 6px 30px rgba(255,51,51,0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-dim);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.card:hover {
  border-color: rgba(255,51,51,0.45);
  box-shadow: 0 8px 40px var(--red-glow);
  transform: translateY(-4px);
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255,51,51,0.3);
  letter-spacing: 0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-live {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}

.badge-soon {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page-transition {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 90px 1.5rem 60px; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
}
