/* assets/css/style.css */
/* Advanced Modern Platform Stylesheet - مدارس منارات النخبة الأهلية */

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

/* Smooth Scrolling & Typography */
html {
    scroll-behavior: smooth;
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* Subtle Tech Mesh Grid Pattern - Blue & Slate Tones */
.bg-grid-pattern {
    background-image: 
        radial-gradient(rgba(37, 99, 235, 0.08) 1.5px, transparent 1.5px),
        linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 32px 32px, 64px 64px, 64px 64px;
}

/* Ambient Blue Glow */
.bg-radial-glow {
    background: radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.12) 0%, rgba(96, 165, 250, 0.05) 45%, transparent 70%);
}

.school-hero-aura {
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(14, 165, 233, 0.08) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: floatAura 8s ease-in-out infinite alternate;
}

@keyframes floatAura {
    0% { transform: translate(-20px, -10px) scale(1); }
    100% { transform: translate(20px, 20px) scale(1.08); }
}

/* Modern Glassmorphism Header */
.school-glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(37, 99, 235, 0.05);
}

/* Neon Glowing Badges in Blue & Slate */
.school-badge {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(219, 234, 254, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.school-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transform: rotate(30deg);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* Glowing text gradients */
.text-gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-slate {
    background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Border & Hover */
.club-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.club-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

/* Interactive Nav Links */
.nav-link-item {
    position: relative;
    transition: all 0.25s ease;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    width: 20px;
    height: 2.5px;
    background: #2563eb;
    border-radius: 9999px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
    transform: translateX(50%) scaleX(1);
}

/* Pulsing Status Beacon */
.status-beacon {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
}

.status-beacon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #2563eb;
    animation: beaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-beacon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #1d4ed8;
}

@keyframes beaconPing {
    75%, 100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* Dropzone Hover Effects */
.dropzone-active {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    transform: scale(1.01);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.18);
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Glow shadow utilities */
.shadow-blue-glow {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35), 0 8px 10px -6px rgba(37, 99, 235, 0.2);
}

.shadow-navy-glow {
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25), 0 8px 10px -6px rgba(15, 23, 42, 0.15);
}

/* Logo frame aesthetic */
.logo-frame {
    background: #ffffff;
    border: 2px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.logo-frame:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.18);
}
