/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Colors - Dark Blue Theme (slightly lighter, NO purple!) */
    --bg-primary: #0a0f1c;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2332;
    
    /* Accent Colors - Brighter blues */
    --accent-blue: #4f8ff7;
    --accent-blue-light: #7ab3ff;
    --accent-blue-dark: #2563eb;
    --accent-cyan: #38d9f5;
    --accent-blue-glow: rgba(79, 143, 247, 0.2);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1b1c9;
    --text-muted: #7a8ba3;
    
    /* Card & Border */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    
    /* Navbar */
    --navbar-height: 56px;
    --navbar-bg: rgba(10, 15, 28, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Navigation Bar - Floating Glassmorphism Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1300px;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(10, 14, 30, 0.25);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(6, 10, 24, 0.35);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-talk {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    background: transparent;
    transition: all var(--transition-normal);
}

.btn-talk:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* ============================================
   Hero Section
   ============================================ */
/* ── Hero Scroll Stage ─────────────────────────────────────────────────── */
.hero-stage {
    position: relative;
    height: 130vh;
}

/* Sticky viewport — freezes while user scrolls through the stage */
.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37, 99, 235, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(79, 143, 247, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

/* Background Glow Effects */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.18);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(30, 64, 175, 0.2);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(34, 211, 238, 0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%       { transform: translate(30px, -30px) scale(1.05); }
    50%       { transform: translate(-20px, 20px) scale(0.95); }
    75%       { transform: translate(-30px, -20px) scale(1.02); }
}

/* ── Z-layer 1: Hero text (IN FRONT of watermark hands) ────────────────── */
.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 40px;
}

/* ── Z-layer 0: Hands — giant watermark BEHIND all text ───────────────── */
.hero-hands {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Each hand: absolute, vertically centered, giant watermark */
.hero-hand {
    position: absolute;
    top: 50%;
    /* translateY(-50%) always applied via JS — no CSS translate conflict */
    width: 80vw;
    min-width: 800px;
    object-fit: contain;
    will-change: transform, opacity;
    /* Start invisible — JS animates opacity */
    opacity: 0;
}

.hero-hand-left {
    left: 0;
}

.hero-hand-right {
    right: 0;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Hero Title */
.hero-title {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        var(--text-secondary) 50%,
        var(--text-primary) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease forwards, gradientShift 8s ease-in-out infinite;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s, 0s;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s, 0s;
}

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

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

/* Hero Subtitle */
.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover::before {
    opacity: 0;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    transition: transform var(--transition-normal);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Our Expertise Section
   ============================================ */
.expertise {
    padding: 120px 40px;
    background: var(--bg-primary);
    position: relative;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-accent {
    width: 50px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Expertise Card - Premium Hover */
.expertise-card-wrapper {
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.expertise-card-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
}

.expertise-card {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
    height: 100%;
}

.expertise-card-wrapper:hover .expertise-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(255, 255, 255, 0.03);
}

/* Icon Box */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    margin-bottom: 24px;
    transition: all 0.3s ease-out;
}

.expertise-card-wrapper:hover .icon-box {
    transform: scale(1.08);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease-out;
}

.expertise-card-wrapper:hover .card-title {
    color: #ffffff;
}

.card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    transition: color 0.3s ease-out;
}

.expertise-card-wrapper:hover .card-desc {
    color: #b0bec5;
}

/* Learn More Link */
.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease-out;
}

.learn-more-line {
    display: block;
    width: 30px;
    height: 1.5px;
    background: var(--text-muted);
    transition: all 0.3s ease-out;
}

.expertise-card-wrapper:hover .learn-more {
    color: var(--text-primary);
}

.expertise-card-wrapper:hover .learn-more-line {
    width: 50px;
    background: var(--text-primary);
}

/* ============================================
   Selected Work Section
   ============================================ */
.work {
    padding: 120px 40px;
    background: var(--bg-primary);
}

.work-container {
    max-width: 1200px;
    margin: 0 auto;
}

.work-category {
    margin-bottom: 80px;
}

.work-category:last-child {
    margin-bottom: 0;
}

.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.work-header-left {
    max-width: 500px;
}

.work-header-left.work-header-wide {
    max-width: 100%;
}

.work-header-wide .section-title {
    font-size: clamp(24px, 3vw, 32px);
}

.work-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
    white-space: nowrap;
}

.work-subtitle-wide {
    white-space: normal;
    max-width: 100%;
    line-height: 1.6;
    font-size: 15px;
}

.btn-outline {
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    background: transparent;
    transition: all 0.3s ease-out;
    white-space: nowrap;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Project Card */
.project-card {
    display: flex;
    align-items: stretch;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    min-height: 220px;
    height: auto;
    cursor: pointer;
    position: relative;
    /* No transform here — avoids fighting with child transforms */
    transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 60px var(--card-accent, rgba(79, 143, 247, 0.08));
}

/* Accent glow layer */
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: var(--card-accent, rgba(20, 80, 100, 0.25));
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

/* Shine sweep on hover */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-info {
    flex: 0 0 48%;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.project-category {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(0);
}

.project-card:hover .project-category {
    color: var(--text-secondary);
    transform: translateX(5px);
}

.project-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(0);
}

.project-card:hover .project-name {
    transform: translateX(5px);
}

.project-desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(0);
}

.project-card:hover .project-desc {
    color: var(--text-secondary);
    transform: translateX(5px);
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(0);
}

.project-card:hover .project-tags {
    transform: translateX(5px);
}

.project-tag {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    background: transparent;
    transition: all 0.5s ease;
}

.project-card:hover .project-tag {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

/* Project Image */
.project-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1) translate(0, 0);
    transform-origin: center center;
    will-change: transform;
}

.project-card:hover .project-image {
    transform: scale(1.07) translate(3px, -6px);
}

/* Görsel tüm alanda, boyut korunur, kenarlarda fade */
.project-image-contain {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    /* Yumuşak kenarlı karartma maskesi */
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at center, black 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at center, black 55%, transparent 100%);
}

/* Animate on Scroll - uses opacity only, no transform conflicts */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
}

.expertise-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.expertise-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.expertise-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.expertise-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.work-list .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.work-list .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.work-list .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 140px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30, 64, 175, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    filter: blur(150px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.cta-gradient {
    background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue), var(--accent-cyan));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

.cta-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 40px;
}

.btn-cta {
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 40px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-grid-3 {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    justify-items: center;
    text-align: left;
}

.footer-grid-3 .footer-brand {
    justify-self: start;
}

.footer-grid-3 .footer-col:last-child {
    justify-self: end;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 240px;
}

.footer-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-chat-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-email {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: opacity 0.25s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .expertise-grid {
        gap: 20px;
    }
    
    .expertise-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .navbar {
        top: 10px;
        width: calc(100% - 24px);
        border-radius: 12px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: 0 20px;
    }

    /* Hero — mobil düzenlemeler */
    .hero-stage {
        height: 115vh;
    }

    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        letter-spacing: -1px;
        font-size: clamp(20px, 6vw, 32px);
    }
    
    .hero-subtitle {
        font-size: 14px;
        max-width: 90%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Eller mobilde — daha büyük, ekranı kaplayan watermark */
    .hero-hand {
        width: 90vw;
        min-width: 280px;
    }

    .hero-glow-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-glow-2 {
        width: 180px;
        height: 180px;
    }
    
    .hero-glow-3 {
        width: 150px;
        height: 150px;
    }
    
    .expertise {
        padding: 80px 20px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .expertise-card {
        padding: 28px;
    }
    
    .work {
        padding: 60px 16px;
    }
    
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .work-subtitle {
        white-space: normal;
        font-size: 13px;
        line-height: 1.6;
    }

    .work-subtitle-wide {
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(20px, 5vw, 28px);
    }
    
    .project-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .project-info {
        flex: none;
        padding: 20px;
    }

    .project-name {
        font-size: 16px;
    }

    .project-desc {
        font-size: 11px;
    }
    
    .project-image {
        min-height: 160px;
    }

    .project-image-wrapper {
        min-height: 160px;
    }

    /* Hover efektlerini mobilde kaldır (dokunmatik ekran) */
    .project-card:hover .project-category,
    .project-card:hover .project-name,
    .project-card:hover .project-desc,
    .project-card:hover .project-tags {
        transform: none;
    }

    .project-card:hover .project-image {
        transform: none;
    }
    
    .cta {
        padding: 80px 20px;
    }
    
    .cta-title {
        letter-spacing: -1px;
        font-size: clamp(28px, 8vw, 48px);
    }

    .cta-subtitle {
        font-size: 15px;
    }
    
    .footer {
        padding: 48px 20px 32px;
    }

    .footer-grid,
    .footer-grid-3 {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
        justify-items: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-desc {
        max-width: 280px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-grid-3 .footer-brand,
    .footer-grid-3 .footer-col,
    .footer-grid-3 .footer-col:last-child {
        justify-self: center;
        text-align: center;
    }

    .footer-chat-text,
    .footer-email {
        text-align: center;
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* ============================================
   About Modal — Half-page overlay
   ============================================ */
.about-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.about-modal.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.about-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-modal.active .about-modal-backdrop {
    opacity: 1;
}

.about-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 80vh;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 30, 0.99) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 0 0;
    padding: 48px 56px 56px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(59, 130, 246, 0.08);
}

.about-modal.active .about-modal-content {
    transform: translateY(0);
}

.about-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.about-modal-inner {
    max-width: 720px;
    margin: 0 auto;
}

.about-modal-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #93c5fd;
    margin-bottom: 24px;
}

.about-modal-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.2;
}

.about-modal-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-modal-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-modal-text p:first-child {
    color: var(--text-primary);
    font-size: 17px;
}

@media (max-width: 768px) {
    .about-modal-content {
        height: 85vh;
        padding: 32px 24px 40px;
    }
    
    .about-modal-text p {
        font-size: 15px;
    }
}
