/* ============================================================
   BOLD Personal Portfolio — Custom Styles

   CUSTOMIZATION GUIDE:
   - Change --bg-color for a different background color
   - Change --bg-image to url('your-image.jpg') for a background image
   - Change colors in tailwind.config (inside index.html <script>) to retheme
   ============================================================ */

:root {
  /* ===== CUSTOMIZABLE BACKGROUND ===== */
  --bg-color: #0A0A0A;
  /* Set a background image: url('your-image.jpg') or leave empty */
  --bg-image: '';
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #E4E4E7;
}

.font-display {
  font-family: 'Bebas Neue', sans-serif;
}


/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #EC4899; border-radius: 4px; }


/* ---- Marquee ---- */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 20s linear infinite;
}


/* ---- Decorative Patterns ---- */
.stripe-pattern {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(236, 72, 153, 0.08) 8px,
    rgba(236, 72, 153, 0.08) 16px
  );
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(236, 72, 153, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}


/* ---- Block Hover (Brutalist offset shadow) ---- */
.block-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.block-hover:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 #EC4899, 8px 8px 0 #06B6D4;
}


/* ---- Nav Link Underline ---- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: #EC4899;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---- Skill Bar Fill ---- */
.skill-fill {
  transition: width 0.8s ease;
}


/* ---- Mobile Menu ---- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}


/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-marquee {
    animation: none;
  }
  .block-hover:hover {
    transform: none;
    box-shadow: 4px 4px 0 #EC4899;
  }
  .skill-fill {
    transition: none;
  }
  .mobile-menu {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
