/*
 * Advoc & Law Legal Consultancy
 * Custom Shared Premium Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --color-primary: #0A0E17;
  --color-secondary: #111625;
  --color-accent: #C5A880;
  --color-accent-light: #D4AF37;
  --color-accent-dark: #AA821C;
}

/* Custom Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-primary);
}

/* Custom Scrollbar for Webkit Browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
  border: 2px solid var(--color-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-light);
}

/* Premium Typography Utility */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
.font-sans {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Subtle Shimmer Effect for Gold Buttons */
.gold-shimmer {
  position: relative;
  overflow: hidden;
}
.gold-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}
.gold-shimmer:hover::after {
  transform: translate(50%, 50%) rotate(45deg);
}

/* Grayscale and Luxury Gold Tone for Partner Logos */
.partner-logo {
  filter: grayscale(100%) brightness(0.9) contrast(1.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}
.partner-logo:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(10, 14, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

/* Decorative Gold Radial Glows */
.gold-glow-left {
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, rgba(10, 14, 23, 0) 70%);
}
.gold-glow-right {
  background: radial-gradient(circle, rgba(197, 168, 128, 0.05) 0%, rgba(10, 14, 23, 0) 60%);
}

/* Elegant Text Reveal & Hover Transitions */
.text-gold-hover {
  position: relative;
}
.text-gold-hover::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}
.text-gold-hover:hover::after {
  width: 100%;
}

/* Pulse animation for WhatsApp button */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.whatsapp-pulse {
  animation: pulseGlow 2s infinite;
}

/* Back to Top reveal effect */
.back-to-top-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Infinite Marquee Scroll for Logos */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
  position: relative;
  width: 100%;
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 3rem;
  animation: marquee 25s linear infinite;
}
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Testimonial Carousel Transitions */
.testimonial-card-slide {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

