/* ============================================
   RADQN - Shared Styles
   Tüm sayfalar tarafından kullanılan ortak stiller
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Sunset Orange Theme */
    --accent-primary: #ff6b35;
    --accent-secondary: #ffc93c;
    --accent-tertiary: #ff4757;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    --gradient-main: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 201, 60, 0.15) 100%);

    --shadow-glow: 0 0 50px rgba(255, 107, 53, 0.15);

    --font-code: 'JetBrains Mono', monospace;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
    opacity: 0.5;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: var(--accent-secondary);
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--accent-secondary);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none !important;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '>';
    margin-right: 6px;
    color: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-cta {
    background: var(--gradient-main);
    color: var(--bg-primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-code);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
    list-style: none;
}

.mobile-nav-links a {
    font-family: var(--font-code);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: block; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-code);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 107, 53, 0.05);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 50px 0 25px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 14px;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer { padding: 40px 0 20px; }
    .footer-content { flex-direction: column; gap: 30px; }
    .footer-brand { text-align: center; max-width: 100%; }
    .footer-logo { justify-content: center; }
    .footer-links { flex-direction: column; gap: 25px; }
    .footer-column { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .container { padding: 0 15px; }
    .logo-img { height: 28px; }
    .navbar { padding: 10px 0; }
    .nav-container { padding: 0 15px; }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .cursor,
    .cursor-follower,
    .mobile-menu,
    .back-to-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
