@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&subset=latin,latin-ext&display=swap');

:root {
    --primary: #0B1F3A;
    --primary-light: #173B6B;
    --primary-soft: #1F4D87;
    --accent-strong: #1BA1D8;
    --accent-soft: #5ED1F4;
    --accent: #F5F7FB;
    --secondary: #22A7F0;
    --secondary-light: #5ED1F4;
    --dark: #0F1C3A;
    --light: #FFFFFF;

    /* Tipografi ölçekleri (mobil uyumlu) */
    --font-body: clamp(14px, 1.55vw, 16px);
    --font-small: clamp(12px, 1.35vw, 14px);
    --font-h1: clamp(26px, 4vw, 34px);
    --font-h2: clamp(22px, 3.4vw, 28px);
    --font-h3: clamp(19px, 3vw, 24px);
    --font-h4: clamp(17px, 2.6vw, 21px);
    --line-body: 1.6;

    /* FAB auth buttons */
    --fab-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    --fab-blur: blur(10px);
}

body {
    background: linear-gradient(150deg, #081326 0%, #0B1F3A 55%, #173B6B 100%);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: var(--font-body);
    line-height: var(--line-body);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    letter-spacing: 0.02em;
}
h1 { font-size: var(--font-h1); font-weight: 800; }
h2 { font-size: var(--font-h2); font-weight: 700; }
h3 { font-size: var(--font-h3); font-weight: 700; }
h4 { font-size: var(--font-h4); font-weight: 600; }

p, li, span, small, label {
    font-size: var(--font-body);
}
small {
    font-size: var(--font-small);
}

/* Auth floating buttons (Giriş / Kayıt) */
.auth-fab {
    position: fixed;
    top: 78px; /* navbar yüksekliğine göre ayarlanabilir */
    right: 14px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    z-index: 1200;
}

.fab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    backdrop-filter: var(--fab-blur);
    box-shadow: var(--fab-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.fab-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    opacity: 1;
}

.fab-login {
    background: linear-gradient(135deg, #1BA1D8 0%, #5ED1F4 100%);
}

.fab-register {
    background: linear-gradient(135deg, #B59861 0%, #d8b985 100%);
}

@media (max-width: 768px) {
    .auth-fab {
        top: auto;
        bottom: 14px;
        right: 12px;
        flex-direction: column;
        gap: 8px;
    }
    .fab-btn {
        padding: 9px 12px;
        font-size: 13.5px;
    }
}

button,
input,
textarea,
select,
label,
h1, h2, h3, h4, h5, h6,
p,
span,
li,
blockquote,
td,
th,
small,
strong,
em {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

a {
    color: var(--accent-soft);
}

.nav-auth-login {
    background: linear-gradient(135deg, #1BA1D8 0%, #5ED1F4 100%);
    color: #0b1f3a !important;
    border-radius: 9px;
    padding: 0.5rem 0.9rem !important;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(27, 161, 216, 0.2);
    border: 1px solid rgba(94, 209, 244, 0.28);
}
.nav-auth-login:hover {
    color: #0b1f3a !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(27, 161, 216, 0.28);
}

.nav-auth-register {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #0b1f3a !important;
    border-radius: 9px;
    padding: 0.5rem 0.9rem !important;
    font-weight: 700;
    margin-left: 6px;
    box-shadow: 0 8px 18px rgba(32, 201, 151, 0.2);
    border: 1px solid rgba(32, 201, 151, 0.28);
}
.nav-auth-register:hover {
    color: #0b1f3a !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(32, 201, 151, 0.28);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: radial-gradient(circle at 10% 0%, rgba(32, 173, 255, 0.85), rgba(12, 44, 87, 0.92)),
                radial-gradient(circle at 85% 120%, rgba(15, 55, 128, 0.85), rgba(10, 28, 62, 0.95));
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(94, 209, 244, 0.35);
    padding: 1rem 0;
    transition: all 0.45s ease;
    box-shadow: 0 22px 45px rgba(6, 16, 33, 0.55);
    z-index: 1000;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: -20% -10% -30% -10%;
    background: conic-gradient(from 140deg, rgba(94, 209, 244, 0.18), rgba(27, 161, 216, 0.5), rgba(86, 198, 255, 0.2), rgba(27, 161, 216, 0.5), rgba(94, 209, 244, 0.18));
    opacity: 0.9;
    z-index: -1;
    filter: blur(65px);
}

.navbar::after {
    content: '';
    position: absolute;
    inset: -35% -20% 65% -20%;
    background: linear-gradient(130deg, rgba(17, 214, 255, 0.25), rgba(12, 58, 128, 0), rgba(17, 214, 255, 0.22));
    filter: blur(85px);
    opacity: 0.85;
    z-index: -2;
}

.navbar.scrolled {
    background: radial-gradient(circle at 15% -20%, rgba(47, 189, 255, 0.95), rgba(10, 28, 62, 0.96)),
                linear-gradient(125deg, rgba(9, 42, 98, 0.95), rgba(7, 24, 56, 0.98));
    box-shadow: 0 24px 55px rgba(6, 16, 33, 0.55);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1BA1D8 0%, #5ED1F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand img,
.navbar-logo {
    height: 100px;
    animation: logo-tilt-y 6s ease-in-out infinite;
    transform-style: preserve-3d;
    display: inline-block;
    transform-origin: center;
    will-change: transform;
}

@keyframes logo-tilt-y {
    0% {
        transform: rotate3d(0, 1, 0, -30deg);
    }
    50% {
        transform: rotate3d(0, 1, 0, 30deg);
    }
    100% {
        transform: rotate3d(0, 1, 0, -30deg);
    }
}

.navbar .nav-link {
    position: relative;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 0.8rem;
    padding: 0.65rem 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(27, 161, 216, 0.2) 0%, 
        rgba(94, 209, 244, 0.3) 50%, 
        rgba(27, 161, 216, 0.2) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border: 1px solid rgba(94, 209, 244, 0.2);
    border-radius: 8px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(94, 209, 244, 0.4), 
        rgba(27, 161, 216, 0.5),
        rgba(94, 209, 244, 0.4));
    background-size: 200% 200%;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -2;
    border-radius: 8px;
    filter: blur(12px);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9),
                 0 0 24px rgba(94, 209, 244, 0.6);
    transform: translateY(-2px);
}

.navbar .nav-link:hover::before,
.navbar .nav-link:focus::before,
.navbar .nav-link.active::before {
    opacity: 1;
    border-color: rgba(94, 209, 244, 0.5);
    box-shadow: 0 0 30px rgba(94, 209, 244, 0.3),
                inset 0 0 30px rgba(27, 161, 216, 0.15);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
    opacity: 1;
    box-shadow: 0 0 40px rgba(94, 209, 244, 0.4),
                0 0 60px rgba(27, 161, 216, 0.3);
}

.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    top: 18%;
    bottom: 18%;
    right: -0.45rem;
    width: 3px;
    background: linear-gradient(180deg, rgba(27, 161, 216, 0), rgba(94, 209, 244, 0.9), rgba(27, 161, 216, 0));
    box-shadow: 0 0 12px rgba(94, 209, 244, 0.65), 0 0 22px rgba(94, 209, 244, 0.45);
    opacity: 0.95;
    border-radius: 999px;
    filter: blur(0.2px);
    animation: neonPulse 2.6s ease-in-out infinite;
}

.navbar-nav .nav-item:last-child::after {
    display: none;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(94, 209, 244, 0.55), 0 0 20px rgba(94, 209, 244, 0.25);
        opacity: 0.85;
    }
    50% {
        box-shadow: 0 0 16px rgba(94, 209, 244, 0.75), 0 0 28px rgba(94, 209, 244, 0.45);
        opacity: 1;
    }
}

.dropdown-menu {
    background: rgba(11, 31, 58, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dropdown-item {
    color: var(--light) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(181, 152, 97, 0.3) !important;
    color: var(--secondary) !important;
}

/* Disable AOS scroll animations - instant display */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Disable fade-in animations */
.fade-in,
.slide-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

