@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* --- Client Flyer Color Variables --- */
:root {
  --navy-dark: #0A1628;
  --navy-mid: #0F2340;
  --brand-blue: #1565D8;
  --brand-blue-light: #3B82F6;
  --white: #FFFFFF;
  --silver: #C7CCD1;
  --alert-red: #C0272D;
  --gray-100: #F5F6F8;
  --gray-600: #4B5563;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-mid);
  border: 2px solid var(--navy-dark);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue-light);
}

/* --- Clean Image Placeholder styling --- */
img {
  background-color: var(--navy-mid);
  position: relative;
  min-height: 50px;
}

/* Fallback card styling for missing images */
img::after {
  content: "🖼️ " attr(alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--navy-mid);
  color: var(--silver);
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  box-sizing: border-box;
}

/* Logo specific fallback */
#header-logo-img::after {
  content: "GGF Logo";
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  background-color: var(--navy-dark);
  color: var(--silver);
  border: 1px solid rgba(199, 204, 209, 0.3);
  padding: 4px;
}

/* --- Glassmorphism Utilities --- */
.glass-nav {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -15px rgba(21, 101, 216, 0.4);
  transform: translateY(-6px);
}

.glass-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-blue-light);
  outline: none;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

/* --- Before / After Badges --- */
.badge-before {
  background-color: var(--alert-red);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.badge-after {
  background-color: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 800;
  text-transform: uppercase;
}

/* --- Premium Animations & Keyframes --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Custom Text Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, #ffffff 40%, var(--brand-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll Reveal Helper Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }

/* Filter Tabs Styling */
.filter-btn.active {
  background-color: var(--brand-blue);
  color: var(--white) !important;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(21, 101, 216, 0.4);
}

/* Lightbox Modal Animation */
.lightbox-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Active Nav Links styling */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--brand-blue-light);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Overlay slider effects */
.hero-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-slider-img.active {
  opacity: 1;
}

/* Custom blur gradients for modern backdrop glowing points */
.glow-spot-1 {
  background: radial-gradient(circle, rgba(21, 101, 216, 0.12) 0%, transparent 60%);
}
.glow-spot-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}
.glow-spot-3 {
  background: radial-gradient(circle, rgba(15, 35, 64, 0.4) 0%, transparent 70%);
}
