/**
 * KarakurtMedya - Base Styles
 * Variables, reset, shared keyframes - loaded first
 */
:root {
    --primary-color: #FF6B00;
    --background-color: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Poppins yüklenene kadar Arial'ı aynı metriklerle kullan → font-swap CLS azalır */
@font-face {
    font-family: 'Poppins-Fallback';
    src: local('Arial');
    size-adjust: 97.5%;
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

body {
    font-family: 'Poppins', 'Poppins-Fallback', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--background-color);
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Shared keyframes - defined once */
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shineEffect {
    0% { transform: rotate(45deg) translate(-30%, -30%); }
    100% { transform: rotate(45deg) translate(30%, 30%); }
}

@keyframes textShine {
    0% { text-shadow: 0 0 10px rgba(255, 107, 0, 0.2); }
    50% { text-shadow: 0 0 20px rgba(255, 107, 0, 0.5); }
    100% { text-shadow: 0 0 10px rgba(255, 107, 0, 0.2); }
}


html {
    scroll-behavior: smooth;
}
