/* Windsurf AI / Modern Dark Theme Spesifikasyonları */
:root {
    --bg-primary: #000000;      /* Tam Siyah */
    --bg-secondary: #0a0a0a;    /* Çok koyu gri (Kartlar için) */
    --text-header: #c7c2c2;     /* Başlıklar */
    --text-desc: #A1A1AA;       /* Açıklamalar (Hafif gri) */
    --accent-blue: #cf8b0d;     /* Ana Vurgu (Butonlar) */
    --accent-purple: #A855F7;   /* İkincil Vurgu (Logo/İkon) */
    --border: #27272a;          /* İnce kenarlıklar */
    --font-stack: 'Inter', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Yatay taşmayı engelle */
    width: 100%;
    overflow-y: scroll; /* Scrollbar her zaman yer kaplasın (Sayfa geçişinde zıplamayı önler) */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-desc);
    font-family: var(--font-stack);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sticky footer için daha modern yöntem */
    width: 100%;
    overflow-x: hidden; /* Çift koruma */
    position: relative;
}

/* 2. Header Yapısı */
header {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%); /* 3D Derinlik için gradient */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none; /* Üst kısım ekrana yapışık olduğu için sınır yok */
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.6), /* Alt gölge (yükselti hissi) */
        inset 0 -1px 0 rgba(255, 255, 255, 0.05), /* İç alt çizgi */
        inset 0 1px 1px rgba(255, 255, 255, 0.1); /* İç üst parlama */
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed; /* Sticky yerine Fixed: Kesin sabitleme */
    top: 0;
    left: 150px; /* Margin yerine sol/sağ konumlandırma */
    right: 150px;
    z-index: 1000;
    border-radius: 0 0 25px 25px; /* Üst yapışık, alt köşeler oval */
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Yumuşak geçiş */
}

/* Logo Alanı */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(168, 85, 247, 0.2);
    border: 1px solid var(--accent-purple);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px; /* SVG için boşluk - Logo büyütüldü */
}

.logo-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Orta Menü */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.03); /* Menü arkasına çok hafif bir zemin */
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 5px; /* Linkler arası boşluğu azalttık, padding ile halledeceğiz */
    position: relative;
    z-index: 2; /* Yazılar camın üstünde kalsın */
}

nav a {
    text-decoration: none;
    color: var(--text-desc); /* Pasifken biraz gri olsun */
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 20px; /* Tıklama alanını genişlet */
    display: block;
    border-radius: 30px;
}

nav a:hover, nav a.active {
    color: #fff; /* Aktif veya hover olunca beyaz */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.1); /* Üzerine gelince hafifçe büyüsün */
}

/* Hareketli 3D Cam Gösterge */
.nav-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3), /* Derinlik gölgesi */
        inset 0 1px 0 rgba(255, 255, 255, 0.2), /* Üst parlama */
        inset 0 -1px 0 rgba(255, 255, 255, 0.1); /* Alt parlama */
    z-index: 1; /* Yazının altında */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Apple tarzı yumuşak geçiş */
    opacity: 0; /* Başlangıçta gizli, JS ile görünecek */
    pointer-events: none;
}

/* Sepet İkonu (Glassmorphism) */
.cart-btn {
    margin-left: auto; /* En sağa yasla */
    margin-right: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1002; /* Hamburgerin yanında */
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-blue);
}

.cart-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

/* Hamburger Menü İkonu (Desktop'ta gizli) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Menünün üzerinde kalsın */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
    border-radius: 3px;
}

/* Hamburger Animasyonu (X şekli) */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ana İçerik Alanı */
main {
    flex: 1 0 auto; /* İçerik azsa büyüsün, çoksa küçülmesin */
    padding: 140px 40px 60px 40px; /* Header fixed olduğu için üst boşluğu artırdık */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;

    /* Sayfa Geçiş Animasyonu Sadece İçerik İçin */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Sayfa Yüklendiğinde İçerik */
body.loaded main {
    opacity: 1;
    transform: translateX(0);
}

/* Sayfadan Çıkarken İçerik */
body.exiting main {
    opacity: 0;
    transform: translateX(-30px);
}

/* 3. Hero Section & Tipografi */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 60vh;
    position: relative; /* Arka plan objeleri için referans */
    width: 100%;
}

h1 {
    color: var(--text-header);
    margin-bottom: 20px;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.highlight-blue {
    color: var(--accent-blue);
    display: block;
}

p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-desc);
    line-height: 1.6;
}

/* --- 3D Arka Plan Objeleri --- */
.bg-3d-obj {
    position: absolute;
    z-index: -1; /* İçeriğin arkasında kalsın */
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    opacity: 0.8;
    z-index: -2; /* En arkada */
}

/* Sabit Kare 1 (Sol) */
.square-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), transparent);
    animation: comeInLeft 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Sabit Kare 2 (Sağ) */
.square-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -50px;
    background: linear-gradient(135deg, rgba(125, 235, 255, 0.25), transparent);
    animation: comeInRight 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

/* Giriş Animasyonları */
@keyframes comeInLeft {
    from { opacity: 0; transform: translateX(-150px) rotate(-30deg); }
    to { opacity: 1; transform: translateX(0) rotate(-15deg); }
}

@keyframes comeInRight {
    from { opacity: 0; transform: translateX(150px) rotate(30deg); }
    to { opacity: 1; transform: translateX(0) rotate(10deg); }
}

/* Yüzme (Floating) Animasyonu */
@keyframes floatImg {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* CTA Butonu */
.btn-primary {
    background-color: var(--accent-blue);
    color: #000;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(125, 235, 255, 0.4);
    transform: scale(1.05);
}

/* Buton Tıklanma Efekti (JS ile eklenir) */
.btn-primary.clicked {
    transform: scale(0.95);
}

/* IDE Görsel Sunumu (CSS Art) */
.ide-mockup {
    background-color: #000;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    aspect-ratio: 16/10;
}

.window-controls {
    background: #1a1a1a;
    padding: 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.ide-body {
    display: flex;
    height: 100%;
}

.ide-sidebar {
    width: 50px;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 15px;
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    background: #333;
    border-radius: 4px;
}

.ide-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050505;
}

.chat-interface {
    width: 80%;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    color: var(--text-desc);
    font-family: monospace;
    font-size: 0.9rem;
}

/* Responsive */
/* Dikey PC Ekranları ve Laptoplar için Ara Geçiş (Çakışmayı Önler) */
@media (max-width: 1250px) {
    header {
        left: 20px; /* Margin yerine konum güncellemesi */
        right: 20px;
    }

    /* Menüyü ortadan sağa taşı (Dikey ekranda çakışmayı önler) */
    nav {
        position: relative; /* Absolute yerine akışa dahil et */
        left: auto; /* Ortalamayı iptal et */
        transform: none; /* Ortalamayı iptal et */
        margin-left: auto; /* Sağa yasla */
        margin-right: 60px; /* Çok sağa yapışmasın, biraz sola al */
    }
}

@media (max-width: 1024px) {
    nav a {
        padding: 8px 12px; /* Link aralarını biraz sıkılaştır */
        font-size: 0.95rem;
    }
    .logo-text {
        font-size: 1rem; /* Logoyu hafif küçült */
    }
}

@media (max-width: 768px) {
    main {
        padding: 100px 15px 40px 15px; /* Mobilde header payını ayarla */
        overflow-x: hidden; /* Mobilde taşmayı engelle */
    }

    h1 {
        font-size: 2.2rem; /* Başlıkları mobilde ideal boyuta getir */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-top: 20px;
    }

    .hero-content p {
        padding: 0 15px;
        font-size: 1rem;
    }
    
    header {
        /* Mobilde logo, sepet ve hamburgeri hizala */
        padding: 0 20px;
        left: 10px; /* Mobilde kenar boşlukları */
        right: 10px;
        height: 60px;
        justify-content: flex-start; /* Flex düzenini manuel ayarla */
        gap: 15px;
    }
    
    .logo-container {
        margin-right: auto; /* Logoyu sola yasla, diğerlerini sağa it */
    }

    .cart-btn {
        margin-left: 0; /* Auto'yu iptal et */
        width: 40px;
        height: 40px;
    }

    .hamburger {
        display: block; /* Mobilde göster */
    }
    
    /* Menü açılınca Hamburger'i (Çarpıyı) menünün içine sabitle */
    .hamburger.active {
        position: fixed;
        top: 30px;
        right: 30px; /* Menünün içinde, sağ köşede */
        left: auto; /* Sol tarafa gitmesini engelle */
        z-index: 1002; /* Menünün (1001) de üzerinde olsun */
    }

    nav {
        position: fixed;
        left: unset;
        right: -100%; /* Ekran dışına it */
        top: 0;
        width: 75%; /* Ekranın tamamını kaplamasın */
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        display: flex; /* Block yerine Flex yapıyoruz ki alt kısmı hizalayabilelim */
        flex-direction: column;
        padding-top: 100px; /* Üstten boşluk */
        box-shadow: -5px 0 20px rgba(0,0,0,0.5); /* Menüye derinlik kat */
        transition: 0.4s ease;
        transform: none; /* Desktop ortalamasını iptal et */
        z-index: 1001; /* Header'ın (1000) üzerine çık, tam blok görün */
        border-radius: 30px 0 0 30px; /* Sol taraf oval, sağ taraf düz (ekrana sıfır) */
        margin-right: 0; /* Desktop'tan gelen sağ boşluğu sıfırla */
    }

    nav.active {
        right: 0; /* Ekrana getir */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Linkler arası boşluğu azalttık */
        text-align: center;
        margin-bottom: auto; /* Linkleri yukarı iter, footer'ı aşağı iter */
        width: 100%;
    }

    /* Linkler için başlangıç durumu (Gizli ve sağda) */
    nav ul li {
        opacity: 0;
        transform: translateX(50px);
    }

    nav a {
        font-size: 1.5rem; /* Mobilde daha büyük font */
        display: block;
        /* Mobilde Yatay Cam Blok Görünümü */
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 15px;
        width: 85%; /* Genişlik vererek yatay bar hissi */
        margin: 0 auto;
    }

    /* Menü açıldığında çalışacak animasyon */
    nav.active ul li {
        animation: slideInRight 0.5s ease forwards;
    }

    /* Sıralı Gecikmeler (Staggered Animation) */
    nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
    nav.active ul li:nth-child(2) { animation-delay: 0.2s; }
    nav.active ul li:nth-child(3) { animation-delay: 0.3s; }
    nav.active ul li:nth-child(4) { animation-delay: 0.4s; }
    nav.active ul li:nth-child(5) { animation-delay: 0.5s; }

    /* PC'deki kayan göstergeyi mobilde gizle */
    .nav-indicator { display: none; }

    /* Mobil İçin Ek Düzenlemeler */
    #scrollTopBtn {
        width: 50px; /* Genişliği iyice küçült */
        height: 20px;
        background: var(--accent-purple); /* Hep sabit mor renk */
        box-shadow: none;
    }

    #scrollTopBtn::before {
        margin-top: 2px;
    }

    /* Mobilde dokunma/hover efektlerini iptal et */
    #scrollTopBtn:hover, #scrollTopBtn:active {
        background: var(--accent-purple) !important; /* Renk değişmesin */
        height: 20px; /* Büyümesin */
        box-shadow: none; /* Ekstra parlama olmasın */
    }

    .services-grid, .expertise-grid {
        grid-template-columns: 1fr 1fr; /* Mobilde 2 sütun yan yana */
        gap: 12px; /* Kartlar arası boşluk dengelendi */
    }

    .service-card {
        padding: 15px 8px; /* İçerik için daha fazla alan bırakıldı */
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Uzmanlık Kartları Mobil Düzenlemesi */
    .expertise-card {
        padding: 15px 10px;
    }

    .exp-icon {
        font-size: 1.8rem;
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .expertise-card h3 {
        font-size: 1rem;
    }

    .expertise-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Arka plan karelerini mobilde ortala ve düzenle */
    .square-1 {
        width: 120px;
        height: 120px;
        top: 20px;
        left: 50%;
        margin-left: -140px; /* Merkezden sola ofset */
        opacity: 0.4;
    }

    .square-2 {
        width: 140px;
        height: 140px;
        bottom: 25%;
        right: 50%;
        margin-right: -140px; /* Merkezden sağa ofset */
        opacity: 0.4;
    }
}

/* Sağdan Sola Kayma Animasyonu Keyframes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobil Menü Açıkken Arka Plan Bulanıklığı */
body.menu-active main,
body.menu-active header .logo-container {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

/* Menü Açıkken Sepeti Çarpının Soluna Taşı */
body.menu-active .cart-btn {
    position: fixed;
    top: 25px; /* Hamburger ile aynı hiza */
    right: 80px; /* Hamburger (30px sağda) + Genişlik + Boşluk */
    z-index: 1002;
    background: rgba(0, 0, 0, 0.5); /* Menü üzerinde belirgin olsun */
}

/* Mobil Menü Footer (JS ile eklenir) */
.mobile-nav-footer {
    display: none; /* Desktopta gizli */
}

@media (max-width: 768px) {
    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-bottom: 40px;
        width: 100%;
        opacity: 0;
        animation: slideInUp 0.5s ease forwards 0.3s;
    }
    .footer-divider {
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
    }
    .mobile-footer-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-brand {
        color: #fff;
        font-weight: 600;
        font-size: 1.1rem; /* Logo ile uyumlu boyut */
    }
    /* Mobildeki footer logosunu yazı ile aynı boyuta getir */
    .mobile-footer-row .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 8px;
        background: rgba(168, 85, 247, 0.1);
    }
    /* Logo kutusu için mevcut .logo-icon stilini kullanacağız veya JS'de class vereceğiz */
}

/* Yukarı Çık Butonu */
#scrollTopBtn {
    position: fixed;
    bottom: 0; /* Ekranın en altına yapışık */
    left: 50%; /* Ortala */
    width: 120px; /* Daha dar, kompakt yapı */
    height: 30px; /* Ok işaretinin sığması için yükseklik */
    /* Header tarzı Glassmorphism */
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.8) 0%, rgba(168, 85, 247, 0.4) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 15px 15px 0 0; /* Köşeler oval, üst kısım düz */
    cursor: pointer;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255,255,255,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 100%); /* Hem ortala hem aşağı gizle */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Bottom geçişini JS yönetecek */
    z-index: 990; /* Menünün altında kalsın */
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0); /* Görünür konuma gel (ortalı) */
}

/* Hover efekti iptal edildi */

/* Ok Ucu (Chevron) */
#scrollTopBtn::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg); /* Yukarı bakan ok ucu */
    margin-top: 6px; /* Görsel ortalama */
}

/* --- İletişim Sayfası Yeni Tasarım --- */
.contact-wrapper {
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Genişlikler eşitlendi */
    gap: 40px;
    align-items: stretch; /* Yükseklikler eşitlendi */
}

/* Sol Taraf: Bilgi Kartları */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between; /* Kartları form yüksekliğine göre yay */
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.6s; }

.info-card:hover {
    border-color: var(--accent-purple);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.1);
}

/* JS ile eklenecek aktif parlama sınıfı */
.info-card.active-highlight {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(125, 235, 255, 0.2);
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.info-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-desc);
    font-size: 0.95rem;
    margin: 0;
}

/* Sağ Taraf: Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.4s;
}

/* Başarı Mesajı Stili */
.success-message {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--accent-purple); /* Başarı rengi veya tema rengi */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Form ile aynı yüksekliği kaplasın */
    animation: fadeInDown 0.5s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(39, 201, 63, 0.2); /* Yeşilimsi */
    color: #27c93f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    border: 1px solid #27c93f;
}

.success-message h3 { color: #fff; margin-bottom: 10px; }
.success-message p { color: var(--text-desc); }

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 25px; /* İç boşluk artırıldı */
    background: rgba(255, 255, 255, 0.02); /* Hafif dolgu */
    border: 1px solid var(--border); /* Tam çerçeve */
    border-radius: 50px; /* Tam yuvarlak (Elips) */
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-stack);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    border-radius: 25px; /* Textarea için hafif köşe */
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 25px; /* Yazı hizası */
    color: var(--text-desc);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: transparent;
}

/* Input Focus & Dolu Durumu Animasyonu */
.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(125, 235, 255, 0.1);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 20px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    background: var(--bg-secondary); /* Çizginin üstüne gelince arka planı kapat */
    padding: 0 8px;
    border-radius: 10px;
}

/* Chrome/Opera/Safari Otomatik Doldurma (Autofill) Rengi Düzeltmesi */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-secondary) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: white;
}

/* Animasyonlar */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Harita Bölümü */
.map-container {
    width: 100%;
    height: 250px; /* Şık ve kompakt */
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    /* Haritayı koyu temaya uydurmak için filtre */
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.6s;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Sıkça Sorulan Sorular (SSS) --- */
.faq-section {
    margin-top: 60px;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.8s;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.faq-grid {
    display: grid;
    gap: 15px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s ease;
}

/* Varsayılan ok işaretini gizle */
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question {
    list-style: none;
}

/* Kendi '+' ikonumuzu oluştur */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s ease-in-out;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-desc);
    transition: all 0.3s ease;
}

/* JS'deki .active sınıfı yerine [open] seçicisini kullan */
.faq-item[open] > .faq-answer {
    max-height: 200px; /* İçeriğe göre açılır */
    padding-bottom: 20px;
}

/* Soru açıkken '+' ikonunu 'x' e dönüştür */
.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}

/* Responsive İletişim */
@media (max-width: 768px) {
    .contact-container { 
        display: flex;
        flex-direction: column;
    }
    
    .contact-form-wrapper { 
        padding: 25px;
        order: -1; /* Formu en üste taşı */
        margin-bottom: 30px;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 20px 40px;
    flex-shrink: 0; /* Footer'ın büzülmesini engelle */
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden; /* Filigran taşmasın */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-desc);
    font-size: 0.9rem;
}

.footer-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-desc);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}
/* Footer Arka Plan Filigranı */
footer::before {
    content: 'Aven';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) rotate(-5deg);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02); /* Çok silik */
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 10px;
}

/* İçerik filigranın üstünde kalsın */
.footer-top, .footer-bottom {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    footer {
        padding: 20px;
        text-align: left;
    }
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .footer-contact {
        order: -1; /* İletişim bilgilerini zorla en başa (sola) al */
        align-items: flex-start;
        gap: 2px; /* Satır aralarını sıkılaştır (hemen altında olsun) */
        font-size: 0.85rem;
    }
    .footer-contact p {
        white-space: nowrap; /* İkonun üst satıra kaymasını engeller, tek satırda tutar */
    }
    .footer-contact p:nth-child(1), /* Telefonu gizle */
    .footer-contact p:nth-child(3) { /* Adresi gizle */
        display: none;
    }
    /* Mobilde E-posta üzerine başlık ekle */
    .footer-contact::before {
        content: "Aven Teknoloji";
        display: block;
        font-weight: 700;
        color: #fff;
    }
    .footer-top .logo-text {
        display: none; /* Mobilde logodaki yazıyı tamamen kaldırır */
    }
    .footer-top .logo-container {
        order: 1; /* Logoyu zorla en sona (sağa) al */
        justify-content: flex-end;
        margin: 0;
    }
    .footer-top .logo-icon {
        width: 60px; /* Logoyu daha belirgin ve büyük yapar */
        height: 60px;
        font-size: 1.8rem;
    }
    .footer-bottom {
        margin-top: 10px;
        font-size: 0.75rem;
    }
}

/* --- Yeni Ürünler Sayfası Tasarımı --- */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px 0;
    overflow-x: hidden; /* Animasyonla gelenlerin taşmasını engelle */
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0; /* JS ile görünür olacak */
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Çift numaralı ürünler (2, 4, 6...) ters dursun */
.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Scroll Animasyon Sınıfları */
.product-row.hidden-left {
    transform: translateX(-100px);
}

.product-row.hidden-right {
    transform: translateX(100px);
}

.product-row.show {
    opacity: 1;
    transform: translateX(0);
}

.product-visual {
    flex: 1;
    position: relative;
}

.product-visual img {
    width: 100%;
    height: 300px; /* Görsellerin yüksekliğini sabitledik */
    object-fit: cover; /* Görselin oranını bozmadan kutuya sığdırır */
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.product-visual img:hover {
    transform: scale(1.02);
    border-color: var(--accent-blue);
}

.product-details {
    flex: 1;
}

.product-row:nth-child(even) .product-details {
    text-align: right;
}

.product-details h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.product-details h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-purple);
}

.product-row:nth-child(even) .product-details h2::after {
    left: auto;
    right: 0;
    background: var(--accent-blue);
}

@media (max-width: 768px) {
    .product-row {
        gap: 15px; /* Mobilde boşluğu azalt */
    }
    
    /* Görsel boyutunu küçült ve sabitle */
    .product-visual {
        flex: 0 0 30%; /* Genişliğin %30'u - Daha kompakt */
    }

    .product-visual img {
        height: 80px; /* Yükseklik daha da küçüldü */
    }

    /* Yazıları küçült */
    .product-details h2 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .product-details h2::after,
    .product-row:nth-child(even) .product-details h2::after {
        display: none; /* Mobilde alt çizgiyi kaldır */
    }

    .product-details p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* --- Hizmetler Sayfası Tasarımı --- */
.services-section {
    padding: 40px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0; /* JS ile açılacak */
    transform: translateY(30px);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px var(--accent-purple));
}

.service-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-desc);
    font-size: 0.95rem;
}

/* Header Slide Down Animasyonu (Sadece Ana Sayfa için) */
.header-animate {
    animation: headerSlideDown 0.8s ease-out forwards;
}

@keyframes headerSlideDown {
    0% {
        transform: translateY(-150%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Hakkımızda Sayfası Stilleri --- */
.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-desc);
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05));
    pointer-events: none;
}

.intro-content h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-content p {
    margin-bottom: 20px;
    color: var(--text-desc);
}

.intro-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0; /* Başlangıçta gizli */
    transform: translateY(30px); /* Aşağıda */
}

.stat-card.show {
    opacity: 1;
    transform: translateY(0); /* Yerine gel */
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-desc);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.mv-card {
    background: linear-gradient(145deg, var(--bg-secondary), rgba(20, 20, 20, 0.8));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-purple);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.expertise-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.expertise-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(30px);
}

.expertise-card.show {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent-blue);
    transform: scale(1.02);
}

.exp-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: rgba(168, 85, 247, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--accent-purple);
}

.expertise-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.2rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-visual {
        gap: 10px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        text-align: center;
        padding: 25px;
    }

    /* Hizmetler - Mobilde 2'li Görünüm ve Küçültme */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .service-card {
        padding: 15px 10px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Uzmanlık Alanları - Mobilde 2'li ve Ortalı */
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .expertise-card {
        padding: 15px 10px;
        align-items: center;
        text-align: center;
    }

    .expertise-card h3 {
        font-size: 0.9rem;
    }

    .expertise-card p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .exp-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
}