/* =========================================
   ZULNOVA - PREMIUM WEBSITE STYLES
   ========================================= */

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --metal-gold: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  --soft-gold: #c5a367;
  --obsidian: #0a0a0b;
  --muted-gray: #888888;
  --charcoal-black: #0A0A0A;
  --card-bg: #141414;
  --gold-primary: linear-gradient(135deg, #bf953f, #dace4f, #b38728, #726c21, #aa771c);
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --gold: #D4AF37;
}

/* =========================================
   BASE STYLES
   ========================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--charcoal-black);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.gold-text {
  background: var(--metal-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gold-gradient {
  background: var(--metal-gold);
}

.bg-gold {
  background: var(--metal-gold);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-gold {
  background: var(--metal-gold);
  color: black;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  font-size: 15px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* =========================================
   CARDS & GLASSMORPHISM
   ========================================= */
.glass-card {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform, border-color;
}

.glass-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  background: rgba(225, 173, 1, 0.03);
}

.service-card {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-image {
  transition: transform 0.8s ease, filter 0.8s ease;
}

.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  border-color: rgba(197, 163, 103, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.8s ease, transform 0.8s ease;
}

.project-card:hover .project-image {
  filter: grayscale(40%) brightness(0.7);
  transform: scale(1.02);
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-card {
  border-left: 2px solid #8a6d3b;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 173, 1, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(225, 173, 1, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 173, 1, 0);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes driftLR {
  0% {
    transform: translateX(15px);
    opacity: 0.95;
  }
  50% {
    transform: translateX(-15px);
    opacity: 1;
  }
  100% {
    transform: translateX(15px);
    opacity: 0.95;
  }
}

.floating-section {
  animation: driftLR 8s ease-in-out infinite;
}

.delay-anim {
  animation-delay: 2s;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 100ms;
}

.stagger-2 {
  transition-delay: 200ms;
}

.stagger-3 {
  transition-delay: 300ms;
}

/* =========================================
   MARQUEE
   ========================================= */
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 4rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: 4rem;
  min-width: 100%;
  animation: scroll 30s linear infinite;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-section {
  width: 100%;
  padding: 80px 0;
  background-color: var(--obsidian);
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  display: flex;
  width: max-content;
  animation: slide 40s linear infinite;
}

.slider-wrapper:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 400px;
  background: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 40px;
  margin: 0 20px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  background: #1a1a1a;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 12px 12px 0 0;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--gold-primary);
  font-size: 14px;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
}

.testimonial-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 30px;
  font-style: italic;
  flex-grow: 1;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.user-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  padding: 2px;
  background: var(--obsidian);
}

.user-details h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-white);
}

.user-details span {
  font-size: 0.9rem;
  color: var(--gold-primary);
  display: block;
}

/* Gradient overlays for testimonials */
.testimonial-section::before,
.testimonial-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-section::before {
  left: 0;
  background: linear-gradient(to right, var(--obsidian), transparent);
}

.testimonial-section::after {
  right: 0;
  background: linear-gradient(to left, var(--obsidian), transparent);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.faq-item.active .faq-content {
  max-height: 400px;
}

.icon-v {
  transition: transform 0.5s ease;
}

.faq-toggle:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =========================================
   LOADING PLACEHOLDERS
   ========================================= */
.img-placeholder {
  background: linear-gradient(110deg, #1a2a41 8%, #243b55 18%, #1a2a41 33%);
  background-size: 200% 100%;
  animation: shine 1.5s linear infinite;
}

/* =========================================
   SCROLLBAR CUSTOMIZATION
   ========================================= */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--charcoal-black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--soft-gold);
}

/* =========================================
   GRID BACKGROUNDS
   ========================================= */
.bg-grid {
  background-image: linear-gradient(to right, #111 1px, transparent 1px),
    linear-gradient(to bottom, #111 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-grid-professional {
  background-image: 
    linear-gradient(to right, rgba(212, 175, 55, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 85%);
}

/* =========================================
   STATS
   ========================================= */
.stat-line {
  height: 1px;
  background: linear-gradient(90deg, var(--soft-gold), transparent);
  width: 80px;
}

/* =========================================
   SOCIAL ICONS
   ========================================= */
.social-icon {
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #D4AF37;
  transform: scale(1.2);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
  .bg-container {
    top: 20px;
    transform: scale(1.5);
  }
  
  .testimonial-card {
    width: 320px;
    padding: 30px;
  }
  
  .glass-card:hover {
    transform: translateY(-4px);
  }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
