﻿/* ==========================================================================
   AKAN BÄ°LGÄ°SAYAR - MODERN CSS MÄ°MARÄ°SÄ°
   ========================================================================== */

:root {
    /* Renk Paleti - Light/Ferah Kurumsal */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    
    --brand-primary: #FF0F23;
    --brand-secondary: #FF4D5A;
    --brand-gradient: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    
    --border-color: #E2E8F0;
    
    /* GÃ¶lgeler (Shadows) */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-glow: 0 10px 30px rgba(0, 102, 255, 0.15);
    
    /* Fontlar */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* GeÃ§iÅŸler */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Koyu Tema (Dark Mode) - Ä°stenirse Data attribute ile tetiklenecek */
[data-theme="dark"] {
    --bg-primary: #1E293B;
    --bg-secondary: #27354F;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --border-color: #1E293B;
    --shadow-md: 0 10px 25px rgba(0,0,0,0.4);
}

/* ==========================================================================
   RESET & TEMEL AYARLAR
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a { text-decoration: none; color: inherit; }
li { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   TÄ°POGRAFÄ°
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-gradient);
    color: #FFF !important;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(18, 24, 38, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo { border-radius: 8px;
    width: 44px;
    height: 44px;
}

.brand-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-text h1 span {
    color: var(--brand-primary);
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ==========================================================================
   HERO BÃ–LÃœMÃœ (Modern, Temiz, Animasyonlu)
   ========================================================================== */
.hero {
    position: relative;
    padding: 8rem 0 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, rgba(0,102,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.2) translate(-50px, 50px); opacity: 1; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.badge {
    background: rgba(0, 102, 255, 0.1);
    color: var(--brand-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Glass Card / Hero GÃ¶rselleri */
.hero-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .glass-card {
    background: rgba(18, 24, 38, 0.6);
    border-color: rgba(255,255,255,0.05);
}

.glass-card svg {
    background: rgba(0, 102, 255, 0.1);
    padding: 0.8rem;
    border-radius: 16px;
    width: 50px;
    height: 50px;
}

.glass-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.glass-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-2 {
    animation-delay: 2s;
    transform: translateX(40px);
}

@keyframes float {
    0% { transform: translateY(0px) translateX(var(--tx, 0)); }
    50% { transform: translateY(-15px) translateX(var(--tx, 0)); }
    100% { transform: translateY(0px) translateX(var(--tx, 0)); }
}
.card-2 { --tx: 40px; }

/* ==========================================================================
   YÃœZEN AKSÄ°YON BUTONLARI (FAB)
   ========================================================================== */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-2px);
}

.fab-btn svg {
    width: 24px;
    height: 24px;
}

.fab-chat {
    background: var(--brand-primary);
}

.fab-accessibility {
    background: var(--text-secondary);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobil Uyum)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .nav-links, .nav-actions .btn-outline {
        display: none;
    }
    .card-2 {
        transform: translateX(0);
        --tx: 0;
    }
}

/* ==========================================================================
   ANİMASYONLAR (Giriş Efektleri)
   ========================================================================== */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes revealUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.gradient-text-animated {
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.admin-secret-icon:hover {
    opacity: 1 !important;
    transform: rotate(90deg);
}

/* ==========================================================================
   FOOTER (Alt Kısım)
   ========================================================================== */
.site-footer {
    background-color: #F1F5F9; /* Ana zeminden bir ton daha koyu gri (Açık mod) */
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0 0 0;
    margin-top: 2rem;
}

[data-theme="dark"] .site-footer {
    background-color: #0F172A; /* Koyu modda çok koyu bir lacivert (Ana zeminden daha koyu) */
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    background-color: #E2E8F0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

[data-theme="dark"] .footer-bottom {
    background-color: #020617;
}

/* ==========================================================================
   İÇ SAYFALAR (Alt Sayfa Tasarımları)
   ========================================================================== */
.page-header {
    padding: 8rem 0 3rem 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 102, 255, 0.05), transparent);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 2.5rem 0;
}

/* Kart Grid (Hizmetler / Blog için) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.card h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* İletişim Formu */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-container, .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ANİMASYONLAR - KAYAN IŞIKLAR
   ========================================================================== */
@keyframes orbMove1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -50px) scale(1.2); }
    66% { transform: translate(50px, 50px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbMove2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-100px, 50px) scale(1.2); }
    66% { transform: translate(-50px, -50px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.orb-1 {
    animation: orbMove1 10s infinite ease-in-out;
}

.orb-2 {
    animation: orbMove2 12s infinite ease-in-out;
}

/* YAN YANA RESİM VE YAZI (ABOUT SNIPPET) */
.about-snippet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-snippet-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-snippet-img::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--brand-primary);
    border-radius: 24px;
    z-index: -1;
}

@media (max-width: 992px) {
    .about-snippet {
        grid-template-columns: 1fr;
    }
}

/* HERO ARKA PLAN BLURLU RESİM */
.hero {
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    filter: blur(8px);
    opacity: 0.5; /* Opacity daha da artırıldı */
    z-index: -2;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, var(--bg-primary), transparent 80%, var(--bg-primary));
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    opacity: 0.7; /* Koyu modda resmi daha da belirginleştir (artırıldı) */
}
[data-theme="dark"] .hero::after {
    opacity: 0.75; /* Siyahlığı biraz daha şeffaf yapıp resmi öne çıkar */
}
.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* STICKY FOOTER HACK */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto;
}

/* ==========================================================================
   ERİŞİLEBİLİRLİK (ACCESSIBILITY) STİLLERİ
   ========================================================================== */
.a11y-menu {
    position: fixed;
    bottom: 80px;
    right: 80px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: 260px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.a11y-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.a11y-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.a11y-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    transition: background 0.2s;
}

.a11y-option:hover {
    background: var(--bg-secondary);
}

.a11y-option span {
    font-size: 1.2rem;
    display: inline-block;
    width: 24px;
    text-align: center;
    color: var(--brand-primary);
}

/* Yüksek Kontrast Modu */
body.a11y-high-contrast-mode {
    filter: contrast(150%) saturate(150%);
    background-color: #000 !important;
}
body.a11y-high-contrast-mode * {
    color: #fff !important;
    border-color: #444 !important;
}

/* Linkleri Vurgula Modu */
body.a11y-highlight-links-mode a {
    background-color: #fde047 !important;
    color: #000 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    padding: 2px 4px;
    border-radius: 4px;
}

/* ==========================================================================
   KVKK / ÇEREZ POLİTİKASI BANNER'I
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 10000;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.active {
    bottom: 20px;
}

[data-theme="dark"] .cookie-banner {
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        left: 10px;
        right: 10px;
    }
}

/* ==========================================================================
   CANLI DESTEK (CHATBOT) STİLLERİ
   ========================================================================== */
.chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot-header {
    background: var(--brand-primary);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.02);
}

[data-theme="dark"] .chatbot-messages {
    background: rgba(255,255,255,0.02);
}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

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

.bot-msg {
    background: var(--bg-secondary);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-msg {
    background: var(--brand-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input-area {
    padding: 1rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input-area input {
    flex: 1;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    outline: none;
}
.chatbot-input-area input:focus {
    border-color: var(--brand-primary);
}

.card-3 {
    animation-delay: 1s;
    transform: translateX(-40px) translateY(80px);
    --tx: -40px;
}
.card-4 {
    animation-delay: 3s;
    transform: translateX(20px) translateY(80px);
    --tx: 20px;
}
@media (max-width: 992px) {
    .card-3 { transform: translateX(0) translateY(0); --tx: 0; }
    .card-4 { transform: translateX(0) translateY(0); --tx: 0; }
}
