/*
 * Afinitem Bilişim - Ana Stil Dosyası (Nihai Birleştirilmiş Versiyon)
 * Versiyon: 4.0
 * Tarih: 2025-07-01
 * Açıklama: Tüm sayfalardaki (index, hizmetler, projeler, hakkımızda) tüm bileşenleri
 * destekleyen, temizlenmiş ve eksiksiz stil dosyası.
 */

/* ==========================================================================
   1. TEMEL AYARLAR VE GENEL SINIFLAR
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   2. ANİMASYONLAR VE KEYFRAMES
   ========================================================================== */

/* JavaScript kontrollü genel animasyonlar */
[data-animation="fade-in"],
[data-animation="fade-in-up"],
[data-animation="slide-in-left"],
[data-animation="slide-in-right"] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-animation="fade-in-up"] { transform: translateY(20px); }
[data-animation="slide-in-left"] { transform: translateX(-40px); }
[data-animation="slide-in-right"] { transform: translateX(40px); }
[data-animation].is-visible {
    opacity: 1;
    transform: none;
}

/* Partikül Animasyonu */
.particle {
    position: absolute;
    color: #64748b;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    opacity: 0;
    animation: floatParticle 15s infinite linear;
    pointer-events: none;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh); opacity: 0; }
    1%, 90% { opacity: 0.6; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* İkon Süzülme Animasyonu */
.icon-float { animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Panel Geçiş Animasyonu (Hizmetler/Projeler) */
@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   3. HİZMETLER SAYFASI ÖZEL STİLLERİ
   ========================================================================== */

/* Sol Menü */
#service-menu .service-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    color: #475569;
    border-left: 3px solid transparent;
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
}
#service-menu .service-menu-item:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}
#service-menu .service-menu-item.active {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    border-left-color: #0ea5e9;
}
#service-menu .service-menu-item i {
    transition: color 0.2s ease-in-out;
}
#service-menu .service-menu-item.active i {
    color: #0ea5e9;
}

/* Sağ İçerik Alanı */
.service-content-panel {
    animation: fadeInPanel 0.5s ease-in-out;
}
.service-content-icon-large {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #3b82f6;
    border-radius: 1rem;
    font-size: 2rem;
}
.prose .lead {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #475569;
    margin-bottom: 2rem;
}
.prose blockquote {
    border-left-color: #3b82f6;
    color: #334155;
    font-weight: 500;
    font-style: italic;
    padding-left: 1.5em;
}
.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem;
}
.prose h4 {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 700;
}
.prose ul {
    list-style: none;
    padding-left: 0;
}
.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}
.prose ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #22c55e;
    position: absolute;
    left: 0;
    top: 5px;
}

/* ==========================================================================
   4. PROJELER SAYFASI ÖZEL STİLLERİ
   ========================================================================== */

/* Sekme Butonları */
.project-tab-pro {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-tab-pro.active {
    background-color: white;
    color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

/* Proje Paneli */
.project-panel {
    animation: fadeInPanel 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bento Grid */
.project-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content;
    gap: 1.5rem;
}
.bento-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid white;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(100, 116, 139, 0.1);
}
.bento-visual { grid-column: span 4; lg:grid-column: span 2; grid-row: span 2; min-height: 400px; position: relative; overflow: hidden; }
.bento-intro { grid-column: span 4; lg:grid-column: span 2; }
.bento-stats { grid-column: span 4; lg:grid-column: span 2; display: flex; flex-direction: column; gap: 1rem; justify-content: center;}
.bento-text { grid-column: span 4; lg:grid-column: span 2; }
.bento-tech { grid-column: span 4; lg:grid-column: span 2; }
.bento-features { grid-column: span 4; lg:grid-column: span 2; }

.project-badge-pro {
    display: inline-block;
    background-image: linear-gradient(to right, #4338ca, #6d28d9);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}
.tech-badge-pro {
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Bento Görsel Efekti */
.bento-visual .visual-layer-1 { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.bento-visual .visual-layer-2 { background-image: radial-gradient(circle at 1px 1px, #93c5fd 1px, transparent 0); background-size: 2rem 2rem; opacity: 0.3; }
.bento-visual .visual-layer-1, .bento-visual .visual-layer-2 { position: absolute; inset: 0; border-radius: 1.25rem; }
.bento-visual .visual-layer-3 { position: relative; z-index: 10; font-size: 4rem; font-weight: 800; color: white; text-shadow: 0 4px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ==========================================================================
   5. HAKKIMIZDA SAYFASI ÖZEL STİLLERİ
   ========================================================================== */

.why-us-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.why-us-card:hover {
    transform: translateY(-10px);
    background-color: white;
    box-shadow: 0 20px 40px rgba(100, 116, 139, 0.1);
    border-color: #c7d2fe;
}
.why-us-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #e0e7ff;
    color: #4338ca;
    border-radius: 50%;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}
.why-us-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.why-us-text {
    color: #475569;
    line-height: 1.75;
}

/* ==========================================================================
   6. GENEL BİLEŞENLER (Kartlar vb.)
   ========================================================================== */

/* Index sayfasındaki özellik listesi */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Index sayfasındaki 'Hakkımızda' bölümü kartları */
.modern-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(100, 116, 139, 0.1);
    border-color: #93c5fd;
}
.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-card:hover::before {
    transform: translateX(100%);
}

/* Index sayfasındaki 'Kabiliyetler' bölümü kartları */
.capability-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}
.capability-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    transition: all 0.3s ease;
}
.capability-card:hover .capability-icon {
    transform: scale(1.1) rotate(-5deg);
}
.capability-tags {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.capability-tags span {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

/* Index sayfasındaki 'Referanslar' bölümü logo bandı */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-marquee {
    display: flex;
    align-items: center;
    width: fit-content;
    animation: scrollLogos 40s linear infinite;
}
.logo-marquee-container:hover .logo-marquee {
    animation-play-state: paused;
}
@keyframes scrollLogos {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}
.logo-item,
.logo-item-text {
    flex-shrink: 0;
    width: 280px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.logo-item img {
    height: 100%;
    max-height: 64px;
    width: auto;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
}
.logo-item img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}
.logo-item-text span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    transition: all 0.3s ease;
}
.logo-item-text span:hover {
    color: #1e293b;
    transform: scale(1.1);
}

/* Index sayfasındaki 'Ana Ürünler' bölümü */
.product-mockup {
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(100, 116, 139, 0.2);
    overflow: hidden;
}
.mockup-header {
    height: 2rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.mockup-header::before {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 1.25rem 0 0 #f59e0b, 2.5rem 0 0 #10b981;
}
#product-tabs .product-tab {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
#product-tabs .product-tab:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}
#product-tabs .product-tab.active {
    color: #2563eb;
    border-color: #2563eb;
}
#tab-content-container .tab-pane {
    animation-duration: 0.5s;
}

/* ==========================================================================
   26. YENİ - Nihai "Başyapıt" Hakkımızda Sayfası Stilleri
   ========================================================================== */

/* Hakkımızda İstatistik Kartları */
.about-stat-card {
    background-color: #f8fafc; /* bg-slate-50 */
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #f1f5f9; /* slate-100 */
}
.about-stat-card p {
    margin-top: 0.5rem;
}

/* Sertifikalar ve Yetkinlikler Kartları */
.cert-card {
    background-color: white;
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.05);
}
.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(100, 116, 139, 0.1);
    border-color: #c7d2fe; /* indigo-200 */
}
.cert-icon-wrapper {
    height: 5rem; /* h-20 */
    width: 5rem;  /* w-20 */
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-icon-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.cert-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 700;
    color: #1e293b; /* text-slate-900 */
}
.cert-text {
    margin-top: 0.25rem;
    color: #64748b; /* text-slate-500 */
    font-size: 0.875rem; /* text-sm */
}

/* ==========================================================================
   27. YENİ - İletişim Sayfası Stil Kodu
   ========================================================================== */

/* İletişim Bilgileri */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-info-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: #f1f5f9; /* bg-slate-100 */
    color: #3b82f6; /* text-blue-600 */
    border-radius: 0.75rem; /* rounded-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Form Stilleri */
.form-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #334155; /* text-slate-700 */
    margin-bottom: 0.5rem;
}
.form-input-pro {
    display: block;
    width: 100%;
    border-radius: 0.5rem; /* rounded-lg */
    border: 1px solid #cbd5e1; /* border-slate-300 */
    padding: 0.75rem 1rem;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}
.form-input-pro:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #3b82f6; /* focus:border-blue-600 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}

/* Form Başarı/Hata Mesajları */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.form-message.success {
    background-color: #dcfce7; /* green-100 */
    color: #166534; /* green-800 */
    border: 1px solid #86efac; /* green-300 */
}
.form-message.error {
    background-color: #fee2e2; /* red-100 */
    color: #991b1b; /* red-800 */
    border: 1px solid #fca5a5; /* red-300 */
}

/* SSS Akordiyon Stilleri */
.faq-item-pro {
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.75rem;
    background-color: white;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem; /* text-lg */
    font-weight: 600;
    text-align: left;
    color: #1e293b; /* slate-900 */
    cursor: pointer;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item-pro.open .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: #475569; /* slate-600 */
    line-height: 1.75;
}