:root {
    --primary: #6c63ff;
    --secondary: #4a47a3;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(15, 23, 42, 0.6) !important; /* Değer düzeltildi: 0.6 olarak ayarlandı */
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

section {
    padding: 100px 0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(74, 71, 163, 0.2));
    position: relative;
    overflow: hidden;
    padding-top: 150px; /* Header + Stats-bar yüksekliği */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0 10px;
    border: none;
    cursor: pointer;
}

.primary {
    background: var(--primary);
    color: white;
}

.primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.secondary:hover {
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
}

.cta-buttons {
    margin-top: 30px;
}

.app-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Geliştirilmiş Flip Card Stili */
.app-card {
    perspective: 1500px;
    min-height: 450px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.app-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: var(--card-shadow);
    border-radius: 15px;
    pointer-events: auto; /* Buton tıklama sorunlarını çözmek için değiştirildi */
}

.app-card.flipped .app-card-inner {
    transform: rotateY(180deg);
}

.app-card-front, .app-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    overflow: hidden;
}

.app-card-front {
    justify-content: space-between;
    z-index: 2;
}

.app-card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    z-index: 1;
    background: linear-gradient(145deg, var(--card-bg), var(--accent-color-dark, #004080));
}

.app-card-back h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.3rem;
    color: var(--accent-color-light, #80c0ff);
}

.app-card-back ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
    width: 100%;
}

.app-card-back ul li {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.app-card-back ul li strong {
    margin-right: 8px;
    color: var(--accent-color-light, #80c0ff);
}

.app-card-back ul li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.info-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    pointer-events: auto; /* Tıklamaları açıkça etkinleştir */
}

.info-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Geri butonu için yeni stil - sağ üst köşede konumlandırma */
.flip-back {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color, var(--primary));
    color: var(--bg-color, #fff);
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.flip-back i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.flip-back:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--accent-color-light, #80c0ff);
}

.flip-back:hover i {
    transform: rotate(-20deg);
}

/* Kartın arkasındaki içerik için stil */
.card-details {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 15px;
}

.card-details::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

/* Kartların önüne ve arkasına parçacık efekti */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0.7;
}

.app-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin: 30px auto 25px; /* Margin-top 20px'den 30px'e yükseltildi */
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Uygulama ikonları için gerçek görsel desteği - düzeltilmiş */
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block; /* Garantili gösterim için */
}

/* İkon yoksa varsayılan stil kullanılır */
.app-icon .icon-placeholder {
    font-size: 40px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.store-links {
    display: flex;
    justify-content: center;
    gap: 15px; /* 10px'den 15px'e artırıldı */
    flex-wrap: wrap;
    position: relative;
    z-index: 15;
    pointer-events: auto;
    margin-top: 10px; /* Yeni: biraz üstten boşluk ekle */
}

.store-btn {
    padding: 10px 18px; /* 8px 15px'den 10px 18px'e artırıldı */
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600; /* Yeni: metni daha kalın yap */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center; /* Yeni: içeriği ortala */
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 20;
    min-width: 130px; /* Yeni: minimum genişlik belirle */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Yeni: gölge ekle */
}

.google-play {
    background: #414141;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Yeni: ince kenarlık ekle */
}

.google-play:hover {
    background: #2d2d2d; /* Yeni: hover rengi ekle */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* İndir butonu için yeni stil */
.download-btn {
    background: #4caf50;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Yeni: ince kenarlık ekle */
}

.download-btn:hover {
    background: #388e3c;  /* Hover durumunda daha koyu yeşil */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.store-btn i {
    margin-right: 5px;
}

.store-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(108, 99, 255, 0.1);
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
}

.about {
    background: rgba(30, 30, 30, 0.5);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* 3D Robot Animasyon Stili - Geliştirilmiş */
/* Su Damlası Animasyon Konteyneri Stili - Düzeltilmiş */
.about-image {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(20, 30, 50, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* overflow: hidden yerine visible yapıldı */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(30, 40, 70, 0.4));
    backdrop-filter: blur(10px);
    z-index: 1;
}

.water-canvas {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
    z-index: 5; /* Yüksek z-index değeri */
}

.water-canvas canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 10; /* Daha da yüksek z-index */
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.3);
    border-color: rgba(108, 99, 255, 0.4);
}

#robotCanvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.canvas-hint {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .canvas-hint {
    opacity: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tech-badge {
    padding: 5px 15px;
    background: rgba(108, 99, 255, 0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 20px; /* 15px'den 20px'e artırıldı - daha fazla boşluk */
    margin-top: 30px;
    
}

.social-links a {
    width: 50px; /* 40px'den 50px'e büyütüldü */
    height: 50px; /* 40px'den 50px'e büyütüldü */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Gölge eklendi */
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce kenarlık eklendi */
}

social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 8px 16px rgba(108, 99, 255, 0.3); /* Hover durumunda daha belirgin gölge */
}

.social-links a i {
    font-size: 1.5rem; /* İkon boyutu artırıldı */
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

footer {
    background: var(--card-bg);
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Hamburger menü ikonu genel durumda gizli olacak */
.menu-toggle {
    display: none;  /* Bu satırı değiştirmeye gerek yok, zaten varsayılan olarak gizli */
}

/* Mobil menü iyileştirmeleri ve animasyonları */

/* Overlay kapsayıcı - menü açıldığında arka planı karartır */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger menü ikon animasyonu */
.menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) {
    top: 10px;
}

.menu-toggle span:nth-child(4) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.menu-toggle.active span:nth-child(2) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.menu-toggle.active span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

/* 3D Küp Animasyonu */
.cube-container {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 800px;
    margin: 30px 0;
    /* Varsayılan olarak gizli olmalı */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Menü aktif olduğunda küp konteynerını göster */
.menu-overlay.active .cube-container {
    opacity: 1;
    visibility: visible;
}

.cube {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s infinite linear;
    animation-play-state: paused; /* Başlangıçta durdurulmuş durumda */
}

/* Menü açıldığında animasyonu başlat */
.menu-overlay.active .cube {
    animation-play-state: running;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 32px;
    color: white;
    background: rgba(71, 98, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    backface-visibility: visible;
}

.front {
    transform: translateZ(40px);
    background: rgba(64, 128, 255, 0.8);
}

.back {
    transform: rotateY(180deg) translateZ(40px);
    background: rgba(255, 64, 129, 0.8);
}

.right {
    transform: rotateY(90deg) translateZ(40px);
    background: rgba(0, 200, 83, 0.8);
}

.left {
    transform: rotateY(-90deg) translateZ(40px);
    background: rgba(255, 193, 7, 0.8);
}

.top {
    transform: rotateX(90deg) translateZ(40px);
    background: rgba(156, 39, 176, 0.8);
}

.bottom {
    transform: rotateX(-90deg) translateZ(40px);
    background: rgba(33, 150, 243, 0.8);
}

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Animasyonlu Başlık Stilleri */
.animated-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-overlay.active .animated-title {
    opacity: 1;
    transform: translateY(0);
}

.animated-title span {
    display: inline-block;
    color: white;
    margin: 0 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: glow 3s infinite alternate;
}

/* Her harfe farklı animasyon gecikmesi ekle */
.animated-title span:nth-child(1) { animation-delay: 0.1s; }
.animated-title span:nth-child(2) { animation-delay: 0.2s; }
.animated-title span:nth-child(3) { animation-delay: 0.3s; }
.animated-title span:nth-child(4) { animation-delay: 0.4s; }
.animated-title span:nth-child(5) { animation-delay: 0.5s; }
.animated-title span:nth-child(6) { animation-delay: 0.6s; }
.animated-title span:nth-child(7) { animation-delay: 0.7s; }
.animated-title span:nth-child(8) { animation-delay: 0.8s; }
.animated-title span:nth-child(9) { animation-delay: 0.9s; }
.animated-title span:nth-child(10) { animation-delay: 1s; }

@keyframes glow {
    0% {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
    
    25% {
        color: #4762FF;
        text-shadow: 0 0 15px rgba(71, 98, 255, 0.8);
    }
    
    50% {
        color: #00C853;
        text-shadow: 0 0 20px rgba(0, 200, 83, 0.8);
        transform: scale(1.2) translateY(-5px);
    }
    
    75% {
        color: #FF4081;
        text-shadow: 0 0 15px rgba(255, 64, 129, 0.8);
    }
    
    100% {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }
}

/* Mobil menü overlay stillemesi */
@media (max-width: 768px) {
    .menu-overlay {
        display: flex;
        flex-direction: column;
    }
    
    .cube-container {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .animated-title {
        margin-top: 60px;
        font-size: 2rem;
    }
}

/* Mobil menü açıldığında küpün daha belirgin görünmesi için */
.menu-overlay.active .cube {
    animation-play-state: running;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        height: 300px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .app-grid, .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav {
        display: none !important; /* Menüyü tamamen gizle */
    }
    
    /* Hamburger menü butonunu da gizle */
    .menu-toggle {
        display: none !important;
    }
    
    /* Menü overlay'ini gizle */
    .menu-overlay {
        display: none !important;
    }
    
    /* Logo'nun header içinde düzgün görünmesini sağla */
    header .container {
        justify-content: center;
    }
    
    .logo {
        margin: 0;
    }
}

@media (max-width: 768px) {
    /* Hamburger menü için gerekli stiller - Tamamen kaldırıldı */
    .menu-toggle {
        
        display: none;  /* "block" yerine "none" yaparak mobilde de gizlendi */
    }
    
    header .container {
        flex-direction: row; /* column yerine row yaparak yatay düzende kalmasını sağladık */
        justify-content: center; /* space-between yerine center yaparak logoyu ortaladık */
    }
    
    .logo {
        margin-bottom: 0; /* Margin kaldırıldı */
    }
    
    nav {
        width: auto; /* 100% yerine auto yapıldı */
    }
    
    nav ul {
        position: static; /* fixed yerine static yapıldı */
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        flex-direction: row; /* Yatay düzende olması sağlandı */
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
    }
    
    nav ul li {
        margin: 0 10px;
        opacity: 1;
        transform: none;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 5px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .app-grid, .service-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        justify-content: center;
    }

    .app-card-back h3 {
        margin-top: 40px;
        font-size: 1.1rem;
    }
    
    .flip-back {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    .flip-back i {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        width: 250px;
        height: 250px;
        margin-bottom: 30px;
    }
}

/* Mobil menü overlay stillemesi - Artık kullanılmayacak */
.menu-overlay {
    display: none !important; /* !important ekleyerek her durumda gizli kalmasını sağladık */
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        margin: 5px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
    }
    
    .hero {
        height: auto;
        padding-top: 130px;
        padding-bottom: 50px;
    }
    
    .service-card, .app-card {
        padding: 20px 15px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .store-links {
        flex-direction: column;
        margin-top: 15px; /* Mobil görünümde daha fazla boşluk */
        gap: 12px; /* Mobil görünümde butonlar arası mesafe */
    }
    
    .store-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0; /* 10px'den 0'a değiştirildi çünkü gap kullanıyoruz */
        padding: 12px 15px; /* Mobil görünümde biraz daha büyük butonlar */
    }
    
    .contact-form input, 
    .contact-form textarea {
        padding: 12px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .app-card-front, .app-card-back {
        padding: 20px 15px;
    }
    
    .app-card-back ul {
        margin: 10px 0;
    }
    
    .app-card-back ul li i {
        margin-right: 6px;
        font-size: 0.9rem;
    }
    
    .card-details {
        margin-top: 10px;
        padding-left: 10px;
    }
    
    .card-details::before {
        width: 2px;
    }

    .app-card-back h3 {
        margin-top: 35px;
    }
    
    .about-image {
        width: 200px;
        height: 200px;
    }
}

/* Animasyonlu Bonyon.dev Başlık Stilleri */
.animated-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    margin: 0;
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    background: rgba(30, 30, 50, 0.3);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Sadece menü aktif olduğunda başlık görünür olsun */
.menu-overlay.active .animated-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.animated-title span {
    display: inline-block;
    color: white;
    margin: 0 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: titleGlow 3s infinite alternate;
}

/* Her harfe farklı animasyon gecikmesi ekle */
.animated-title span:nth-child(1) { animation-delay: 0.1s; }
.animated-title span:nth-child(2) { animation-delay: 0.2s; }
.animated-title span:nth-child(3) { animation-delay: 0.3s; }
.animated-title span:nth-child(4) { animation-delay: 0.4s; }
.animated-title span:nth-child(5) { animation-delay: 0.5s; }
.animated-title span:nth-child(6) { animation-delay: 0.6s; }
.animated-title span:nth-child(7) { animation-delay: 0.7s; }
.animated-title span:nth-child(8) { animation-delay: 0.8s; }
.animated-title span:nth-child(9) { animation-delay: 0.9s; }
.animated-title span:nth-child(10) { animation-delay: 1s; }

@keyframes titleGlow {
    0% {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        transform: translateY(0) scale(1);
    }
    
    50% {
        color: #4762FF;
        text-shadow: 0 0 15px rgba(71, 98, 255, 0.8), 0 0 30px rgba(71, 98, 255, 0.4);
        transform: translateY(-8px) scale(1.1);
    }
    
    100% {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
        transform: translateY(0) scale(1);
    }
}

/* Mobil menü overlay stillemesi */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 25, 0.95);
    z-index: 90;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobil nav menü stilleri - başlıkla çakışmaması için */
@media (max-width: 768px) {
    nav ul {
        padding-top: 80px !important; /* Başlık için alan bırak */
    }
}

/* Mobil cihazlar için kart stillerini iyileştirme */
@media (max-width: 768px) {
    .app-card {
        min-height: 400px;
    }
    
    .app-card-front h3,
    .app-card-back h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .app-card-front p,
    .app-card-back p,
    .card-details p {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    .app-card-back ul li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .flip-back {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .app-card {
        min-height: 380px;
    }
    
    .app-card-front h3,
    .app-card-back h3 {
        font-size: 1.1rem;
    }
    
    .app-card-front p,
    .app-card-back p,
    .card-details p {
        font-size: 0.8rem;
    }
    
    .app-card-back ul li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .store-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .about-image {
        width: 200px;
        height: 200px;
    }
}

/* Tüm Uygulamaları Gör Butonu Stilleri - Düzeltildi */
.more-apps-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.more-apps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.more-apps-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.more-apps-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
}

.more-apps-btn:hover::before {
    left: 100%;
}

.more-apps-btn span {
    margin-right: 10px;
}

.more-apps-btn i {
    transition: transform 0.3s ease;
}

.more-apps-btn:hover i {
    transform: translateX(5px);
}

/* Mobil cihazlar için uyumluluk */
@media (max-width: 768px) {
    .more-apps-btn {
        width: 80%;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Apps sayfası için app-card stilleri - İndex sayfasındakiyle aynı olması sağlandı */
.apps-grid .app-card {
    perspective: 1500px;
    min-height: 450px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.apps-grid .app-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: var(--card-shadow);
    border-radius: 15px;
    pointer-events: none; /* Tıklamaları engellemek için */
}

.apps-grid .app_card.flipped .app-card-inner {
    transform: rotateY(180deg);
}

.apps-grid .app-card-front, 
.apps-grid .app-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    overflow: hidden;
}

.apps-grid .app-card-front {
    justify-content: space-between;
    z-index: 2;
}

.apps-grid .app-card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    z-index: 1;
    background: linear-gradient(145deg, var(--card-bg), var(--accent-color-dark, #004080));
}

.apps-grid .info-icon,
.apps-grid .flip-back {
    z-index: 10;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Uygulama sayfası düzen düzeltmeleri */
.apps-grid-container {
    padding: 40px 0 80px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid .app-card {
        min-height: 400px;
    }
}