/* Responsive Design */



@media (max-width: 768px) {

  
  /* Hamburger buton görünür */
  .nav-toggle { display: flex; }

  /* Menü açıkken sayfayı kilitle */
  body.nav-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
  }

  /* Mobil Drawer Menü */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    border: 0;
    z-index: 1000;
    padding-top: 60px;
    overflow-y: auto;
    visibility: hidden;
    transition: left 0.3s ease;
    will-change: left;
    box-shadow: 8px 0 24px rgba(0,0,0,0.06);
  }
  .nav-menu.active {
    left: 0;
    visibility: visible;
  }

  /* Sayfa arkaplan perdesi: nav açıkken tüm içerik dim olur */
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.28);
    z-index: 900; /* nav-menu(1000) altında kalır */
  }

  /* Liste düzeni */
  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    align-items: stretch;
  }
  .nav-item {
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-menu.active .nav-item:nth-child(1){transition-delay:.05s}
  .nav-menu.active .nav-item:nth-child(2){transition-delay:.1s}
  .nav-menu.active .nav-item:nth-child(3){transition-delay:.15s}
  .nav-menu.active .nav-item:nth-child(4){transition-delay:.2s}
  .nav-menu.active .nav-item:nth-child(5){transition-delay:.25s}
  .nav-menu.active .nav-item:nth-child(6){transition-delay:.3s}
  .nav-menu.active .nav-item:nth-child(7){transition-delay:.35s}

  /* Linkler */
  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
  }
  .nav-link:hover,
  .nav-link.active {
    background: #f8fafc;
    color: #667eea;
  }
  .nav-link.active {
    font-weight: 600;
    background: rgba(102,126,234,.1);
  }

  .nav-link { box-shadow: none; }
  .nav-item + .nav-item .nav-link { border-top: 1px solid rgba(0,0,0,0.04); }

  /* Font Awesome ikonlar */
  .nav-link::before {
    display: none;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f015'; /* default */
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
    transition: color .2s ease;
  }
  .nav-item:nth-child(1) .nav-link::before { content: '\f015'; } /* home */
  .nav-item:nth-child(2) .nav-link::before { content: '\f0e7'; } /* services */
  .nav-item:nth-child(3) .nav-link::before { content: '\f544'; } /* ai */
  .nav-item:nth-child(4) .nav-link::before { content: '\f1e0'; } /* digital ads */
  .nav-item:nth-child(5) .nav-link::before { content: '\f290'; } /* shopify */
  .nav-item:nth-child(6) .nav-link::before { content: '\f007'; } /* about */
  .nav-item:nth-child(7) .nav-link::before { content: '\f095'; } /* contact */
  .nav-link:hover::before,
  .nav-link.active::before { color: #667eea; }

  /* Gri overlay'i kapat */
  .nav-menu::after { display: none !important; }

  /* Language selector header konumu */
  .language-selector {
    position: static;
    margin: 0;
    z-index: 1; /* header içinde */
  }
}
    
    /* Clean Language Selector */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .ai-content,
    .about-content,
    .contact-content {
        gap: 3rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    

    
    /* Navigation - Keep single line */
    .nav-container {
      display: grid;
      grid-template-columns: 44px 1fr auto; /* sol: hamburger, orta: logo, sağ: dil */
      align-items: center;
      gap: 0.5rem;
      min-height: 45px;
    }

    /* Hide desktop logo, show mobile logo */
    .logo-section {
        display: none;
    }
    
    .nav-logo {
        display: flex;
        flex: 1;
        justify-content: center;
    }
    
    .header {
        position: fixed;
        top: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    /* Mobile Header Layout */
    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 8px 16px;
    }
    
    .nav-toggle {
        grid-column: 1;
        justify-self: start;
    }
    
    .nav-logo {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }
    
    .language-selector {
        grid-column: 3;
        justify-self: end;
    }
    
    .logo-img {
        width: 38px;
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }

    
    .nav-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    
    
    /* Fallback mobile menu for very small screens */
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .company-name {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .description-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .description-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-item {
        padding: 0.8rem 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .digital-ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    

    
    /* AI Section */
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .ai-visual {
        height: 350px;
        order: -1;
    }
    
    .ai-animation {
        width: 300px;
        height: 300px;
    }
    
    .ai-cube {
        width: 100px;
        height: 100px;
    }
    
    .cube-face {
        width: 100px;
        height: 100px;
    }
    
    .cube-icon {
        font-size: 2rem;
    }
    
    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 220px; height: 220px; }
    .ring-3 { width: 280px; height: 280px; }
    
    .ai-visual {
        height: 250px;
    }
    
    .ai-animation {
        width: 250px;
        height: 250px;
    }
    
    .ai-cube {
        width: 80px;
        height: 80px;
    }
    
    .cube-face {
        width: 80px;
        height: 80px;
    }
    
    .cube-icon {
        font-size: 1.5rem;
    }
    
    .ring-1 { width: 120px; height: 120px; }
    .ring-2 { width: 160px; height: 160px; }
    .ring-3 { width: 200px; height: 200px; }
    
    /* Digital Advertising */
    .digital-ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .digital-ads-cta {
        padding: 2rem 1rem;
    }
    
    .digital-ads-cta h3 {
        font-size: 1.5rem;
    }
    
    .title-line,
    .title-accent {
        font-size: 2.5rem;
    }
    
    .digital-ads-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .header-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
            .cta-buttons {
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        
        .cta-features {
            flex-direction: column;
            gap: 1rem;
        }
        
        .digital-ads-icon {
            width: 60px;
            height: 60px;
            font-size: 1.8rem;
        }
    
    /* Shopify */
    .shopify-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: -1;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Navigation */
    .nav-container {
        min-height: 40px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    

    
    .nav-logo .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .nav-logo .logo-text {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 110px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }
    
    .description-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .description-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .description-text h3 {
        font-size: 1.1rem;
    }
    
    .description-text p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 0.6rem 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    /* Floating Elements */
    .floating-element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Central Robot for Mobile */
    .central-robot {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .floating-element.game-controller {
        top: 5%;
        left: 5%;
    }
    
    .floating-element.vr-headset {
        top: 20%;
        right: 5%;
    }
    
    .floating-element.ai-brain {
        bottom: 15%;
        left: 15%;
    }
    
    .floating-element.shopify-icon {
        bottom: 5%;
        right: 15%;
    }
    
    .floating-element.meta-icon {
        top: 10%;
        left: 15%;
    }
    
    .floating-element.google-icon {
        top: 15%;
        right: 15%;
    }
    
    .floating-element.tiktok-icon {
        top: 30%;
        left: 5%;
    }
    
    .floating-element.mobile-icon {
        top: 45%;
        left: 10%;
    }
    
    .floating-element.console-icon {
        top: 55%;
        right: 15%;
    }
    
    .floating-element.robot-icon {
        top: 35%;
        right: 5%;
    }
    
    .floating-element.cloud-icon {
        top: 65%;
        left: 20%;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Central Robot for Small Mobile */
    .central-robot {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* Services */
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Stats */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    /* Form */
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    /* Navigation */
    .nav-container {
        min-height: 35px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Central Robot for Smallest Mobile */
    .central-robot {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .floating-element.game-controller {
        top: 3%;
        left: 3%;
    }
    
    .floating-element.vr-headset {
        top: 15%;
        right: 3%;
    }
    
    .floating-element.ai-brain {
        bottom: 10%;
        left: 10%;
    }
    
    .floating-element.shopify-icon {
        bottom: 3%;
        right: 10%;
    }
    
    .floating-element.meta-icon {
        top: 8%;
        left: 10%;
    }
    
    .floating-element.google-icon {
        top: 12%;
        right: 10%;
    }
    
    .floating-element.tiktok-icon {
        top: 25%;
        left: 3%;
    }
    
    .floating-element.mobile-icon {
        top: 40%;
        left: 8%;
    }
    
    .floating-element.console-icon {
        top: 50%;
        right: 10%;
    }
    
    .floating-element.robot-icon {
        top: 30%;
        right: 3%;
    }
    
    .floating-element.cloud-icon {
        top: 60%;
        left: 15%;
    }
    
    .service-card,
    .game-card,
    .shopify-card,
    .contact-form {
        margin: 0 10px;
    }
    
    .title-line,
    .title-accent {
        font-size: 2rem;
    }
    
    .digital-ads-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .header-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-element,
    .service-icon,
    .shopify-icon,
    .contact-item i,
    .social-link {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .hero-buttons,
    .contact-form,
    .social-links,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
        background: white;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .hero-visual {
        display: none;
    }
    
    .section-header {
        text-align: left;
    }
    
    .service-card,
    .game-card,
    .shopify-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .ai-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .ai-visual,
    .about-image {
        display: none;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .btn {
        border: 1px solid #333;
        color: black;
        background: white;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .node,
    .connection {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --card-bg: #2d2d2d;
        --border-color: #404040;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .service-card,
    .game-card,
    .shopify-card,
    .contact-form {
        background: var(--card-bg);
        border-color: var(--border-color);
    }
    
    .nav-link {
        color: var(--text-color);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #667eea;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}
