/* ==========================================================================
   Erzincan GSK — Bespoke Athletic Design System (ui-ux-pro-max)
   Olympic Navy (#061120) · Pool Aqua (#06b6d4) · Championship Gold (#f59e0b)
   Display: Barlow Condensed · Body: Plus Jakarta Sans
   ========================================================================== */

:root {
    --gsk-bg-deep: #061120;
    --gsk-bg-navy: #0a1b33;
    --gsk-surface: rgba(12, 30, 56, 0.78);
    --gsk-surface-strong: rgba(14, 36, 66, 0.94);
    --gsk-aqua: #06b6d4;
    --gsk-aqua-light: #22d3ee;
    --gsk-gold: #f59e0b;
    --gsk-gold-light: #fbbf24;
    --gsk-crimson: #e11d48;
    --gsk-border: rgba(56, 189, 248, 0.16);
    --gsk-border-hover: rgba(34, 211, 238, 0.45);
    --gsk-text: #f1f7fd;
    --gsk-muted: #93adc6;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
    background-color: var(--gsk-bg-deep) !important;
    background-image:
        radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.12), transparent 40%),
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.08), transparent 36%);
    color: var(--gsk-text) !important;
}

h1, h2, h3, h4, h5, h6, .display-font, .font-display {
    font-family: 'Barlow Condensed', 'Outfit', sans-serif !important;
    letter-spacing: 0.015em;
}

/* Override flat Tailwind gray-900 / gray-800 surfaces into rich Olympic Navy */
.bg-gray-900 {
    background-color: var(--gsk-bg-deep) !important;
}
.bg-gray-800 {
    background-color: var(--gsk-bg-navy) !important;
}
.border-gray-800,
.border-gray-700 {
    border-color: var(--gsk-border) !important;
}

/* Refined Glassmorphism */
.glassmorphism {
    background: var(--gsk-surface) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--gsk-border) !important;
    box-shadow: 0 12px 34px rgba(2, 8, 20, 0.35);
}
.hover-glass:hover {
    background: var(--gsk-surface-strong) !important;
    border-color: var(--gsk-border-hover) !important;
    box-shadow: 0 18px 42px rgba(6, 182, 212, 0.14);
}

/* Navbar Polish */
.gsk-navbar {
    background: rgba(6, 17, 32, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.18) !important;
    box-shadow: 0 8px 28px rgba(2, 8, 20, 0.35);
}
.nav-desk-link {
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}
.nav-desk-link:hover {
    color: #fff !important;
    background: rgba(6, 182, 212, 0.15) !important;
}

/* Athletic Buttons */
.gsk-cta-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(103, 232, 249, 0.35) !important;
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}
.gsk-cta-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 14px 34px rgba(6, 182, 212, 0.44);
    color: #ffffff !important;
}
.gsk-cta-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #061120 !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}
.gsk-cta-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.45);
    color: #061120 !important;
}

/* Bespoke Course Card Header (replaces generic gym photo) */
.gsk-course-card {
    background: linear-gradient(165deg, rgba(13, 33, 61, 0.92) 0%, rgba(8, 22, 42, 0.98) 100%);
    border: 1px solid var(--gsk-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.gsk-course-card:hover {
    transform: translateY(-5px);
    border-color: var(--gsk-border-hover);
    box-shadow: 0 20px 44px rgba(2, 10, 24, 0.55), 0 0 0 1px rgba(6, 182, 212, 0.2);
}
.gsk-course-visual {
    position: relative;
    height: 156px;
    background:
        radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.32), transparent 52%),
        radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.22), transparent 48%),
        linear-gradient(135deg, #09203f 0%, #0e3a5c 55%, #06182d 100%);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.gsk-course-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* CTA Section */
.gsk-cta-band {
    background:
        radial-gradient(circle at 15% 30%, rgba(34, 211, 238, 0.28), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.28), transparent 45%),
        linear-gradient(125deg, #071930 0%, #0b3558 55%, #08203e 100%);
    border-top: 1px solid rgba(34, 211, 238, 0.25);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}

/* Bootstrap card/form polish on dark pages (kayit_ol, kayit_sorgula) */
.card {
    background: var(--gsk-surface) !important;
    border: 1px solid var(--gsk-border) !important;
    border-radius: 16px;
}
.form-control, .form-select {
    background: rgba(6, 17, 32, 0.85) !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    color: #f8fafc !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gsk-aqua) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22) !important;
}

/* Accessibility: visible focus & reduced motion */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--gsk-aqua-light);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

