/* KuşGözlem - Custom Styles */
:root {
    --forest-50: #f0f9f4; --forest-100: #dcf0e3; --forest-200: #bce0c9;
    --forest-300: #8fc8a4; --forest-400: #5da877; --forest-500: #3d8b5a;
    --forest-600: #2d7147; --forest-700: #255a3a; --forest-800: #1f4830;
    --forest-900: #1a3a28; --forest-950: #0c2114;
    --gold: #f59e0b; --gold-light: #fbbf24;
}

* { box-sizing: border-box; }

html, body {
    font-family: 'Inter', system-ui, sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f0f9f4; }
::-webkit-scrollbar-thumb { background: #8fc8a4; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #5da877; }

.font-playfair { font-family: 'Playfair Display', serif; }

/* === HERO GRADIENT === */
.hero-gradient {
    background: linear-gradient(135deg, #0c2114 0%, #1a3a28 25%, #2d7147 50%, #1a3a28 75%, #0c2114 100%);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* === FLOATING ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(-10px) translateX(-15px); }
}
.animate-float-slow { animation: floatSlow 12s ease-in-out infinite; }

/* === BIRDS FLYING === */
@keyframes flyAcross {
    0% { transform: translateX(-100px) translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 100px)) translateY(-40px); opacity: 0; }
}
.fly-across { animation: flyAcross 18s linear infinite; }
.fly-across.delay-1 { animation-delay: 4s; }
.fly-across.delay-2 { animation-delay: 9s; }
.fly-across.delay-3 { animation-delay: 13s; }

@keyframes flyPath2 {
    0% { transform: translateX(-100px) translateY(0) rotate(-5deg); opacity: 0; }
    15% { opacity: 0.8; transform: translateX(15vw) translateY(-30px) rotate(0deg); }
    50% { transform: translateX(50vw) translateY(20px) rotate(5deg); opacity: 1; }
    85% { transform: translateX(85vw) translateY(-10px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateX(calc(100vw + 100px)) translateY(-60px) rotate(-5deg); opacity: 0; }
}
.fly-path-2 { animation: flyPath2 22s linear infinite; }

/* === FADE IN UP === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.fade-in-up.delay-1 { animation-delay: 0.2s; opacity: 0; }
.fade-in-up.delay-2 { animation-delay: 0.4s; opacity: 0; }
.fade-in-up.delay-3 { animation-delay: 0.6s; opacity: 0; }
.fade-in-up.delay-4 { animation-delay: 0.8s; opacity: 0; }

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.count-up { animation: countUp 0.6s ease-out forwards; }

/* === SHIMMER EFFECT === */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-text {
    background: linear-gradient(90deg, #fbbf24 0%, #fef3c7 50%, #fbbf24 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* === CARD LIFT === */
.card-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(13, 33, 20, 0.25);
}

/* === BIRD PATTERN BACKGROUND === */
.bird-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(93, 168, 119, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
}

/* === GLASS EFFECT === */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
    background: rgba(12, 33, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* === PROSE === */
.prose-bird h1 { font-size: 1.875rem; font-weight: 700; margin: 1rem 0 0.75rem; color: #1a3a28; }
.prose-bird h2 { font-size: 1.5rem; font-weight: 700; margin: 1.25rem 0 0.5rem; color: #255a3a; }
.prose-bird h3 { font-size: 1.25rem; font-weight: 600; margin: 1rem 0 0.5rem; color: #2d7147; }
.prose-bird p { margin: 0.6rem 0; line-height: 1.75; }
.prose-bird ul { margin: 0.6rem 0; padding-left: 1.5rem; list-style: disc; }
.prose-bird ol { margin: 0.6rem 0; padding-left: 1.5rem; list-style: decimal; }
.prose-bird li { margin: 0.3rem 0; }
.prose-bird code { background: #f0f9f4; padding: 0.1rem 0.3rem; border-radius: 4px; font-size: 0.9em; }

/* === ADMIN SIDEBAR === */
.admin-sidebar {
    background: linear-gradient(180deg, #0c2114 0%, #1a3a28 100%);
    color: #dcf0e3;
}
.admin-sidebar button.active {
    background: #255a3a;
    color: white;
    border-right: 2px solid #f59e0b;
}

/* === LOADING === */
.spinner {
    border: 3px solid #f0f9f4;
    border-top: 3px solid #2d7147;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* === PREMIUM GRADIENTS === */
.gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
}
.gradient-forest {
    background: linear-gradient(135deg, #2d7147 0%, #1a3a28 100%);
}
.gradient-sunset {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* === GRADIENT TEXT === */
.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-forest {
    background: linear-gradient(135deg, #2d7147 0%, #5da877 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === STAT COUNTER ANIMATION === */
.stat-counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* === FEATURE CARD === */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(45, 113, 71, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -16px rgba(13, 33, 20, 0.3);
}

/* === PULSE RING === */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}
.pulse-ring {
    position: relative;
}
.pulse-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: currentColor;
    animation: pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* === DECORATIVE LINE === */
.decorative-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
    width: 80px;
    margin: 0 auto;
}

/* === HOVER GLOW === */
.hover-glow {
    transition: all 0.3s;
}
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* === SECTION DIVIDER === */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #dcf0e3, transparent);
}

/* === IMAGE PLACEHOLDER === */
.bird-silhouette {
    background: linear-gradient(135deg, #dcf0e3 0%, #8fc8a4 100%);
    position: relative;
    overflow: hidden;
}
.bird-silhouette::after {
    content: '🐦';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.3;
    transition: transform 0.5s;
}
.bird-silhouette:hover::after {
    transform: scale(1.2) rotate(5deg);
}
