/* Layout CSS - Navigation and Footer for all pages */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #0060F0;
    --secondary-color: #4A90E2;
    --background-color: #FAFAFC;
    --surface-color: #FFFFFF;
    --text-primary: #1A1D23;
    --text-secondary: #6B7280;
    --gradient-primary: linear-gradient(135deg, #0060F0 0%, #4A90E2 100%);
    --shadow-soft: 0 4px 20px rgba(0, 96, 240, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 96, 240, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #4A90E2;
    --secondary-color: #0060F0;
    --background-color: #0F1419;
    --surface-color: #1A1D23;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #0060F0 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-color);
    overflow-x: hidden;
    padding-top: 80px; /* Fixed navigation için boşluk */
}

/* Modern Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.modern-nav.scrolled {
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo {
    width: 40px;
    height: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 96, 240, 0.05);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 96, 240, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    position: relative;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(0, 96, 240, 0.2);
    transform: scale(1.05);
}

.theme-toggle svg {
    position: absolute;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(74, 144, 226, 0.2);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--surface-color);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 3rem;
        box-shadow: var(--shadow-medium);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        justify-content: flex-start;
        align-items: center;
        z-index: 999;
        border-left: 1px solid rgba(74, 144, 226, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        height: 100vh;
    }

    .nav-link {
        color: var(--text-primary);
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 50px;
        background: rgba(0, 96, 240, 0.1);
        text-decoration: none;
        transition: var(--transition);
        border: 2px solid transparent;
        min-width: 200px;
        text-align: center;
    }

    .nav-link:hover {
        background: var(--gradient-primary);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-soft);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 1rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        margin-left: 0.5rem;
    }
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #1A1D23 0%, #2D3748 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    animation: footerSlideUp 0.8s ease-out;
}

@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand {
    max-width: 300px;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.brand-icon {
    font-size: 1.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 96, 240, 0.3);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    width: 100%;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-download-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

/* Footer images remain white in both modes */
[data-theme="dark"] .footer-download-btn img {
    filter: brightness(0) invert(1);
}

.footer-download-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 96, 240, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
}

.made-with {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .download-section {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-top {
        gap: 1.5rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-action:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 96, 240, 0.4);
}

@media (max-width: 768px) {
    .floating-action {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

 