/* ===========================
   CUSTOM FONTS & TAILWIND EXTENSIONS
   =========================== */

/* Font Faces */
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/cairo fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('../fonts/cairo fonts/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('../fonts/cairo fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apple SD Gothic Neo';
  src: url('../fonts/AppleSD font/FontsFree-Net-Apple-SD-Gothic-Neo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apple SD Gothic Neo';
  src: url('../fonts/AppleSD font/AppleSDGothicNeoSB.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apple SD Gothic Neo';
  src: url('../fonts/AppleSD font/AppleSDGothicNeoR.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(188, 24, 26, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(188, 24, 26, 0.8));
  }
}

@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Gradient Backgrounds */
.bg-gradient-navy {
  background: linear-gradient(135deg, #232850 0%, #1a1f3a 100%);
}

.bg-gradient-red {
  background: linear-gradient(135deg, #bc181a 0%, #d42426 100%);
}

/* Custom Shadows */
.shadow-glow {
  box-shadow: 0 0 40px rgba(188, 24, 26, 0.3);
}

.shadow-glow-hover:hover {
  box-shadow: 0 8px 32px rgba(35, 40, 80, 0.16), 0 0 40px rgba(188, 24, 26, 0.3);
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

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

/* Mobile Menu Active State */
.mobile-menu-active {
  display: flex !important;
}

/* Navbar Scrolled State */
.navbar-scrolled {
  box-shadow: 0 4px 16px rgba(35, 40, 80, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

/* Particle Animation */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #bc181a;
  border-radius: 50%;
  opacity: 0.6;
}

.particle-1 {
  top: 20%;
  left: 10%;
  animation: float 4s ease-in-out infinite;
}

.particle-2 {
  top: 60%;
  left: 20%;
  animation: float 5s ease-in-out infinite 0.5s;
}

.particle-3 {
  top: 30%;
  right: 15%;
  animation: float 6s ease-in-out infinite 1s;
}

.particle-4 {
  bottom: 25%;
  right: 10%;
  animation: float 4.5s ease-in-out infinite 1.5s;
}

/* Visual Glow Effect */
.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(188, 24, 26, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Intersection Observer Fade In */
.fade-in-observed {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-observed.visible {
  opacity: 1;
  transform: translateY(0);
}
