/* Critical CSS - Above the fold content only */

/* Font Definitions */
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/satoshi/Satoshi-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - 2025 Design System */
:root {
    --primary-color: #5e4dd5;
    --primary-hover: #4c3db8;
    --secondary-color: #64748b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    transform: translateY(0);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(94, 77, 213, 0.1);
    border-color: rgba(94, 77, 213, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(94, 77, 213, 0.3);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-toggle svg {
    transition: var(--transition);
}

.nav-toggle:hover {
    color: var(--primary-color);
}

.nav-toggle.active svg .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    transform-origin: center;
}

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

.nav-toggle.active svg .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    transform-origin: center;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    text-align: left; /* Her zaman sola yaslı */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image img {
    width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-title-small {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: left;
}

.hero-title-main {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 0 0 2rem 0;
    line-height: 1.05;
}

.hero-title-part {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: 0.2rem;
}

.hero-title-part.colored {
    color: var(--primary-color);
}

/* Mobile Responsive - Critical Viewport */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        display: flex;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        max-width: 100%;
        text-align: left; /* Mobilde de sola yaslı */
        line-height: 1.65;
        margin-bottom: 2rem;
        color: var(--text-secondary);
        font-weight: 400;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image img {
        width: 260px;
        margin: 0 auto;
    }
    
    .hero-title-small {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        text-align: left;
    }
    
    .hero-title-main {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .hero-title-part {
        font-size: 2.5rem;
        margin-bottom: 0.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }

    .nav-mobile-overlay {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 2rem;
    }

    .nav-mobile-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .nav-mobile-link {
        text-decoration: none;
        color: var(--text-primary);
        font-size: 1.125rem;
        font-weight: 500;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: var(--bg-secondary);
        border: none; /* Border kaldırıldı */
        display: block;
    }

    .nav-mobile-link:hover {
        color: var(--primary-color);
        background: rgba(94, 77, 213, 0.1);
        transform: translateX(8px);
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 280px;
    }
}
