/* ============================================================
   PORTFOLIO — style.css
   Dark Theme Only
   ============================================================ */

html {
  scroll-behavior: smooth;
}

/* ========== THEME CSS VARIABLES ========== */
:root {
  --bg-body: #000000;
  --bg-section: #000000;
  --bg-card: #111111;
  --bg-input: #1a1a1a;
  --bg-input-focus: #1a1a1a;
  --bg-nav: rgba(0, 0, 0, 0.6);
  --bg-mobile-menu: #0a0a0a;
  --bg-dropdown: #0a0a0b;
  --bg-slider: #000000;
  --btn-bg: #ffffff;
  --btn-txt: #000000;

  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  --text-nav: #9ca3af;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-section: rgba(255, 255, 255, 0.05);

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --stroke-glow-color: rgba(255, 255, 255, 0.55);
  --stroke-shadow: rgba(255, 255, 255, 0.1);

  --hero-glow-1: rgba(59, 130, 246, 0.1);
  --hero-glow-2: rgba(37, 99, 235, 0.05);
  --hero-border: rgba(255, 255, 255, 0.1);
  --hero-overlay: rgba(0, 0, 0, 0.4);

  --slider-fade: rgba(0, 0, 0, 0.9);

  --filter-btn-bg: #1a1a1a;
  --filter-btn-text: #d1d5db;
  --filter-btn-hover: #282828;

  --toggle-border: rgba(255, 255, 255, 0.15);
  --toggle-hover: rgba(37, 99, 235, 0.15);
}

/* ========== BASE ========== */
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
}

/* ========== GRADIENTS ========== */
.gradient-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.gradient-cta {
  background: linear-gradient(135deg, #2563eb, #6d28d9);
}
.shadow-glow {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}
.shadow-card {
  box-shadow: var(--shadow-card);
}
.text-gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== CARD HOVER ========== */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
}
.img-zoom img {
  transition: transform 0.5s ease;
}
.img-zoom:hover img {
  transform: scale(1.05);
}
.project-zoom img {
  transition: transform 0.5s ease;
}
.project-zoom:hover img {
  transform: scale(1.1);
}

/* ========== HERO SLIDE IN ANIMATION ========== */
@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ========== MARQUEE SLIDER ========== */
.stroke-glow {
  -webkit-text-stroke: 1.5px var(--stroke-glow-color);
  filter: drop-shadow(0 0 10px var(--stroke-shadow));
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 20s linear infinite !important;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1) 0%,
    white 30%,
    white 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1) 0%,
    white 30%,
    white 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* ========== BASE BACKGROUNDS ========== */
body,
section,
.bg-black,
#home {
  background-color: var(--bg-body);
}

/* Hero section */
#home {
  background: var(--bg-body) !important;
}

/* Cards */
.bg-\[#111\] {
  background-color: var(--bg-card);
}

/* Inputs */
.bg-\[#1a1a1a\] {
  background-color: var(--bg-input);
}

/* Section backgrounds */
section {
  background-color: var(--bg-section);
}

/* ========== TEXT COLORS ========== */
.text-white {
  color: var(--text-primary) !important;
}
.text-gray-400 {
  color: var(--text-muted) !important;
}
.text-gray-300 {
  color: var(--text-muted) !important;
}
.text-gray-500 {
  color: var(--text-subtle) !important;
}

/* ========== BORDERS ========== */
.border-white\/10 {
  border-color: var(--border-color) !important;
}
.border-white\/5 {
  border-color: var(--border-section) !important;
}

/* ========== NAV ========== */
#header .bg-black\/60 {
  background-color: var(--bg-nav) !important;
  border-color: var(--border-color) !important;
}

#header .text-gray-400 {
  color: var(--text-nav) !important;
}

#header .bg-\[#0a0a0b\] {
  background-color: var(--bg-dropdown) !important;
  border-color: var(--border-color) !important;
}

#mobileMenu {
  background-color: var(--bg-mobile-menu) !important;
  border-color: var(--border-color) !important;
}

/* ========== FILTER BUTTONS ========== */
.filter-btn {
  transition: all 0.3s ease;
}
.filter-btn.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
}

/* ========== MARQUEE FAST ========== */
@keyframes marquee-fast {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-fast {
  display: flex;
  width: max-content;
  animation: marquee-fast 20s linear infinite;
}

.pause-scroll:hover {
  animation-play-state: paused;
}

/* ========== HFC FLOATING CARDS ========== */
.hfc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes hfc-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hfc {
  will-change: transform;
}

/* ========== LOGO MARQUEE SECTION ========== */
.logo-marquee-section {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.logo-pill svg {
  opacity: 0.6;
  flex-shrink: 0;
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-logo-marquee {
  animation: logo-marquee 28s linear infinite;
  display: flex;
  gap: 12px;
  width: max-content;
}

.animate-logo-marquee:hover {
  animation-play-state: paused;
}

/* ========== SERVICE BUTTON ========== */
.svc-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.03);
}

/* ========== MISC ========== */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
