/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #08090d; /* Derin Siyah */
    color: #ffffff;
    overflow-x: hidden;
}

/* Background Glow Effect (Arkada mavi ışık hüzmesi) */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(8, 9, 13, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Box (Ana Yapı Taşı) */
.glass-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

/* Input Alanları */
.glass-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}
.glass-input:focus {
    border-color: #38bdf8;
    outline: none;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.22);
}

/* Butonlar */
.btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: transform 0.2s;
}
.btn-primary:active {
    transform: scale(0.98);
}

/* Sonsuz Slider Animasyonu */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.slider-track {
    display: flex;
    width: calc(200px * 14); /* Logoların genişliğine göre ayarla */
    animation: slide 20s linear infinite;
}

/* --- MOBİL UYGULAMA STİLİ --- */

/* iPhone Çentik ve Alt Çizgi Uyumu */
:root {
    --sat: env(safe-area-inset-top);
    --sab: env(safe-area-inset-bottom);
}

body {
    padding-bottom: calc(80px + var(--sab)); /* Alt menü için boşluk bırak */
}

/* Alt Sabit Menü (Dock) */
.mobile-nav-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 9, 13, 0.85); /* Hafif şeffaf siyah */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: var(--sab); /* iPhone alt çizgi boşluğu */
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: calc(65px + var(--sab));
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

/* Aktif Menü İkonu Efekti */
.mobile-nav-item {
    position: relative;
    color: #6b7280; /* Pasif gri */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%; /* 5 menü elemanı için */
    height: 100%;
}

.mobile-nav-item.active {
    color: #38bdf8; /* Aktif mavi */
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 3px;
    background: #38bdf8;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.65);
}

.mobile-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

.mobile-nav-item.active i {
    transform: translateY(-2px);
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Ortadaki "Büyük" Buton (Opsiyonel: Çark veya Ekle) */
.mobile-fab {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.45);
    transform: translateY(-20px); /* Yukarı taşır */
    border: 4px solid #08090d; /* Arka plan rengiyle çerçeve */
}

/* --- MEVCUT CSS KODLARININ ALTINA EKLE --- */

/* Mobil Uygulama Modu - iPhone Güvenli Alan Tanımları */
:root {
    --sat: env(safe-area-inset-top);
    --sab: env(safe-area-inset-bottom);
}

/* Alt menü içeriği kapatmasın diye body'e alt boşluk */
body {
    padding-bottom: calc(85px + var(--sab));
}

/* ALT SABİT MENÜ (DOCK) */
.mobile-nav-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 9, 13, 0.85); /* Hafif şeffaf siyah */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: var(--sab); /* iPhone alt çizgi boşluğu */
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: calc(70px + var(--sab));
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

/* Menü Elemanları */
.mobile-nav-item {
    position: relative;
    color: #6b7280; /* Pasif gri renk */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* Otomatik genişlik (Kaç tane varsa ona göre bölünür) */
    height: 100%;
    text-decoration: none;
}

/* Aktif Sayfa Efekti */
.mobile-nav-item.active {
    color: #38bdf8; /* Aktif mavi renk */
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 3px;
    background: #38bdf8;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.8);
}

.mobile-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

.mobile-nav-item.active i {
    transform: translateY(-2px);
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 600;
}

/* ORTA BUTON (FLOATING ACTION BUTTON) */
.mobile-fab {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.55);
    transform: translateY(-24px); /* Menüden yukarı taşır */
    border: 5px solid #08090d; /* Arka plan rengiyle çerçeve yaparak kesik efekti verir */
    transition: transform 0.2s;
}

.mobile-fab:active {
    transform: translateY(-20px) scale(0.95);
}
