/*!
 * BelgeHazırla.com Custom Styles
 * Current Date and Time: 2025-08-28 17:04:29
 * Current User's Login: fotecan
 */

/* ============================================================================
   CSS Değişkenleri (CSS Variables)
   ============================================================================ */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-bg: linear-gradient(135deg, #3a86ff 0%, #764ba2 100%);
    --border-radius: 10px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ============================================================================
   Temel Stiller
   ============================================================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px; /* Sticky navbar için */
}

/* Yumuşak kaydırma */
html {
    scroll-behavior: smooth;
}

/* ============================================================================
   Navbar Stilleri
   ============================================================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius);
    margin: 0 2px;
    padding: 8px 16px !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(58, 134, 255, 0.1);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background: rgba(58, 134, 255, 0.1);
}

.nav-link i {
    font-size: 0.9rem;
}

/* ---------------------------------------------------------
   PAGE HEADER + BREADCRUMB (koyu arka plan, yazılar #fff)
   --------------------------------------------------------- */
.page-header{
  /* Desen ÜSTTE, gradyan ALTA — grid görünür */
  background-color: #0f172a; /* fallback */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='grid404' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grid404)'/%3E%3C/svg%3E"),
    var(--gradient-bg);
  background-repeat: repeat, no-repeat;
  background-size: 20px 20px, cover;
  background-position: top left, center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 28px 0 20px;
  margin-bottom: 12px;

  /* Header içindeki metinlerin tamamı beyaz */
  color: #fff;
}
.page-header .container{ position: relative; }

/* Breadcrumb */
.breadcrumb-nav{
  display:flex; align-items:center; gap:8px;
  font-size:14px; color:#fff;
  margin-bottom:8px;
}
.breadcrumb-link{
  display:inline-flex; align-items:center; gap:6px;
  color:#fff; text-decoration:none;
}
.breadcrumb-link:hover{ color:#e5e7eb; } /* açık gri */
.breadcrumb-separator{ opacity:.6; }
.breadcrumb-current{ color:#fff; font-weight:600; }

/* Başlık + ikonlar beyaz */
.page-title{
  font-size:clamp(20px,3.2vw,28px);
  font-weight:800; color:#fff;
  display:flex; align-items:center; gap:10px; margin:0;
}
.page-title i{ font-size:22px; color:#fff; }

/* Header meta bilgileri beyaz tonda */
.page-meta{
  margin-top:8px; display:flex; align-items:center; gap:10px;
  font-size:14px; color:rgba(255,255,255,.85);
}
.page-meta .stat-number{ font-weight:700; color:#fff; }
.page-meta mark{
  background: rgba(255,255,255,.16);
  color:#fff;
  padding:0 6px; border-radius:6px;
}




/* ============================================================================
   Dropdown Menüler
   ============================================================================ */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius);
    padding: 8px;
    margin-top: 8px;
}

.dropdown-item {
    padding: 10px 16px;
    transition: var(--transition);
    border-radius: var(--border-radius);
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-header {
    font-weight: 600;
    color: var(--dark-color);
    padding: 12px 16px 8px;
}

/* ============================================================================
   Butonlar
   ============================================================================ */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--primary-color) 80%, black);
    border-color: color-mix(in srgb, var(--primary-color) 80%, black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background: color-mix(in srgb, var(--success-color) 80%, black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.875rem;
}

/* ============================================================================
   Kart Bileşenleri
   ============================================================================ */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--light-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: var(--light-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero-section {
    background: var(--gradient-bg);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================================================
   İstatistik Kartları
   ============================================================================ */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: -50px;
    box-shadow: var(--shadow-xl);
    border: none;
    position: relative;
    z-index: 3;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.stat-item h5 {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0;
}

/* ============================================================================
   Belge Kartları
   ============================================================================ */
.belge-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    overflow: hidden;
    height: 100%;
}

.belge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.belge-card .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.belge-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.belge-card .card-text {
    flex-grow: 1;
    margin-bottom: 16px;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* ============================================================================
   Kategori Kartları
   ============================================================================ */
.kategori-card {
    background: linear-gradient(45deg, var(--light-color), #e2e8f0);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: none;
    height: 100%;
    cursor: pointer;
}

.kategori-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.kategori-ikon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.kategori-card:hover .kategori-ikon {
    color: white;
    transform: scale(1.1);
}

.kategori-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

/* ============================================================================
   Section Başlıkları
   ============================================================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ============================================================================
   Arama Bölümü
   ============================================================================ */
.search-section {
    background: var(--light-color);
    padding: 60px 0;
}

.search-form {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.search-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 16px 20px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 134, 255, 0.25);
}

/* ============================================================================
   Özellik İkonları
   ============================================================================ */
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* ============================================================================
   Hoş Geldin Bölümü
   ============================================================================ */
.welcome-user-section {
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    margin: 5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.quick-action-btn:hover {
    background: white;
    color: var(--success-color);
    transform: translateY(-2px);
}

/* ============================================================================
   Bildirim Rozeti
   ============================================================================ */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ============================================================================
   Loading Spinner
   ============================================================================ */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 20px;
}

/* ============================================================================
   Çerez Bildirimi
   ============================================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner a {
    color: #fbbf24;
}

/* ============================================================================
   Yukarı Çık Butonu
   ============================================================================ */
#backToTop {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

#backToTop:hover {
    background: color-mix(in srgb, var(--primary-color) 80%, black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================================================
   Badge ve Etiketler
   ============================================================================ */
.badge {
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
}

.badge.bg-warning {
    background: var(--warning-color) !important;
    color: white;
}

.badge.bg-success {
    background: var(--success-color) !important;
}

.badge.bg-primary {
    background: var(--primary-color) !important;
}

/* ============================================================================
   Form Elemanları
   ============================================================================ */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(58, 134, 255, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* ============================================================================
   Hover Efektleri
   ============================================================================ */
.hover-opacity-100 {
    transition: var(--transition);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================================================
   Responsive Tasarım
   ============================================================================ */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .kategori-ikon {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .cookie-banner .row {
        text-align: center;
    }
    
    .cookie-banner .col-md-3 {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .stats-card {
        margin-top: -30px;
        padding: 20px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .welcome-user-section {
        padding: 20px;
    }
    
    .search-form {
        padding: 15px;
    }
    
    .quick-action-btn {
        display: block;
        margin: 8px 0;
        text-align: center;
    }
}

/* ============================================================================
   Yazdırma Stilleri
   ============================================================================ */
@media print {
    .navbar,
    .cookie-banner,
    #backToTop,
    .loading-spinner {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .hero-section {
        background: none !important;
        color: #000 !important;
    }
}

/* ============================================================================
   Erişilebilirlik
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Yüksek kontrast modu */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border-width: 3px;
    }
}

/* ============================================================================
   Özel Animasyonlar
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.bounce-in {
    animation: bounceIn 1s;
}