/* ==========================================================================
   LUXURY BLACK & GOLD PORTFOLIO — CUSTOM STYLES
   Aesthetics: Apple + Awwwards + Dribbble + Luxury Creative Agency
   ========================================================================== */

:root {
  --bg-primary: #0B0B0B;
  --bg-secondary: #141414;
  --gold-primary: #D4AF37;
  --gold-light: #F6D365;
  --gold-dark: #AA820A;
  --text-white: #F8F8F8;
  --text-gray: #B8B8B8;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --gold-glow-strong: rgba(212, 175, 55, 0.6);
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e1e1e;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-body {
  font-family: var(--font-body);
}

/* 3D Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, #1a1508 0%, #0B0B0B 70%);
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  box-shadow: 0 0 15px var(--gold-glow);
}

#custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor-hover {
  width: 60px !important;
  height: 60px !important;
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 25px var(--gold-glow-strong) !important;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.glass-card {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.glass-input {
  background: rgba(20, 20, 20, 0.8) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  color: var(--text-white) !important;
  transition: all 0.3s ease;
}

.glass-input:focus {
  outline: none;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 15px var(--gold-glow) !important;
}

/* Gold Text Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #F6D365 0%, #D4AF37 50%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #B8B8B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Buttons */
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-gold-outline:hover::before {
  width: 100%;
}

.btn-gold-outline:hover {
  color: #0B0B0B !important;
  box-shadow: 0 0 25px var(--gold-glow-strong);
  border-color: var(--gold-light);
}

.btn-gold-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: #0B0B0B;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid var(--gold-light);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-gold-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--gold-glow-strong);
  color: #000000;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Glow Pulse Animation */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.5); }
}

.animate-glow {
  animation: pulseGlow 4s infinite;
}

/* Timeline Styling */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
}

/* Filter Button Active State */
.filter-btn.active {
  background: var(--gold-primary);
  color: #0B0B0B;
  border-color: var(--gold-light);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Progress bar transitions */
.progress-bar-fill {
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Project Card Hover Image Overlay */
.project-img-wrapper {
  overflow: hidden;
  position: relative;
}

.project-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}
