/* ===== HSPD - HS Property Developers Ltd. ===== */
/* ===== Custom Styles ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #d4952a, #b37321); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e5b036; }

/* Selection */
::selection { background: rgba(212, 149, 42, 0.3); color: #fff; }

/* ===== NAV STYLES ===== */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: #e5b036; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #d4952a, #e5b036);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #b0b0b0;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.mobile-nav-link:hover { color: #e5b036; background: rgba(212, 149, 42, 0.05); }

/* Navbar scrolled state */
.navbar-scrolled {
  background: rgba(13, 13, 13, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(212, 149, 42, 0.08);
}

/* ===== HERO STYLES ===== */
.hero-gradient {
  background: radial-gradient(ellipse at 20% 50%, rgba(212, 149, 42, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(179, 115, 33, 0.1) 0%, transparent 50%);
}

.grid-pattern {
  background-image: linear-gradient(rgba(212, 149, 42, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212, 149, 42, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.clip-diagonal { clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%); }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.floating-animation { animation: float 6s ease-in-out infinite; }

@keyframes spin-very-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-very-slow { animation: spin-very-slow 20s linear infinite; }

@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-down"] { transform: translateY(-40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ===== PROJECT FILTER ===== */
.project-filter {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
  background: transparent;
  border: 1px solid rgba(136, 136, 136, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.project-filter:hover { color: #e5b036; border-color: rgba(229, 176, 54, 0.3); }
.project-filter.active {
  color: #0d0d0d;
  background: linear-gradient(to right, #d4952a, #e5b036);
  border-color: transparent;
  font-weight: 600;
}

.project-item { transition: opacity 0.5s ease, transform 0.5s ease; }
.project-item.hidden-project { opacity: 0; transform: scale(0.8); position: absolute; pointer-events: none; }

/* ===== STAT CARD ===== */
.stat-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(79, 79, 79, 0.3);
  transition: all 0.4s ease;
}
.stat-card:hover {
  border-color: rgba(212, 149, 42, 0.2);
  background: rgba(26, 26, 26, 0.8);
  transform: translateY(-4px);
}

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* ===== FORM STATUS ===== */
.form-success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; }
.form-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-gradient {
    background: radial-gradient(ellipse at 50% 50%, rgba(212, 149, 42, 0.12) 0%, transparent 70%);
  }
}

/* ===== CURSOR GLOW (desktop only) ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 149, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* Text gradient shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.text-shimmer {
  background: linear-gradient(90deg, #d4952a, #f2db94, #e5b036, #d4952a);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
