/* Modern Design System for MesApplications */
:root {
  --primary: #2563eb;
  --secondary: #64748b;
  --accent: #f59e0b;
  /* Amber/Orange for aviation alerts */
  --dark: #0f172a;
  --light: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Background Decoration */
.bg-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1), transparent),
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05), transparent);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-aeroclub {
  background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/13L.jpg') !important;
}

.bg-perfos {
  background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/runway.jpg') !important;
}

.bg-fife {
  background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/humour.jpg') !important;
}

.bg-radio {
  background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../img/radio.jpg') !important;
}

/* Header & Hero */
.hero-gradient {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
}

.hero-title {
  font-size: 4rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* Card Styling */
.app-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.app-card:hover::before {
  transform: translateX(100%);
}

.app-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
}

.app-card.disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.8;
}

.app-card.disabled:hover {
  transform: none;
  border-color: var(--glass-border);
  box-shadow: none;
}

.app-icon-wrapper {
  width: 90px;
  height: 90px;
  margin-bottom: 2rem;
  position: relative;
}

.app-icon {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.app-card p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 0;
}

.badge-soon {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  z-index: 5;
}

/* Buttons */
.btn-pill {
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: white;
}

.btn-primary-custom:hover {
  background: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Navbar */
.navbar-custom {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
  margin-top: 100px;
  text-align: center;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* Image Zoom Hover Efecct */
.img-zoom {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.img-zoom:hover {
  transform: scale(1.05);
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.15) !important;
}