/* UX Enhancements CSS - Modern UX Features */

/* CKEditor Mobil Uyumluluk */
.ck-editor__editable {
    min-height: 300px !important;
    max-height: 600px !important;
    overflow-y: auto !important;
}

.ck-editor__editable img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 10px 0 !important;
}

.ck-editor__editable img.image-style-align-left {
    float: left !important;
    margin-right: 15px !important;
    margin-bottom: 10px !important;
}

.ck-editor__editable img.image-style-align-right {
    float: right !important;
    margin-left: 15px !important;
    margin-bottom: 10px !important;
}

.ck-editor__editable img.image-style-align-center {
    display: block !important;
    margin: 10px auto !important;
}

.ck-editor__editable img.image-style-side {
    float: right !important;
    margin-left: 15px !important;
    margin-bottom: 10px !important;
    max-width: 50% !important;
}

/* Mobil için CKEditor toolbar düzenlemeleri */
@media (max-width: 768px) {
    .ck.ck-toolbar {
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .ck.ck-toolbar__items {
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .ck.ck-toolbar__group {
        margin: 2px !important;
    }
    
    .ck.ck-button {
        min-width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .ck.ck-button__label {
        font-size: 12px !important;
    }
    
    .ck-editor__editable {
        min-height: 250px !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .ck-editor__editable img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .ck-editor__editable img.image-style-side {
        max-width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
    }
    
    .ck-editor__editable img.image-style-align-left,
    .ck-editor__editable img.image-style-align-right {
        float: none !important;
        margin: 10px 0 !important;
    }
}

/* Tablet için CKEditor düzenlemeleri */
@media (min-width: 769px) and (max-width: 1024px) {
    .ck-editor__editable {
        min-height: 350px !important;
    }
    
    .ck-editor__editable img.image-style-side {
        max-width: 40% !important;
    }
}

/* CKEditor görsel yeniden boyutlandırma */
.ck-editor__editable .image {
    position: relative !important;
}

.ck-editor__editable .image img {
    transition: all 0.3s ease !important;
}

.ck-editor__editable .image:hover {
    outline: 2px solid #007bff !important;
    outline-offset: 2px !important;
}

/* CKEditor tam ekran modu */
.ck-editor__editable.ck-editor__editable_inline {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 15px !important;
}

/* CKEditor içerik düzenlemeleri */
.ck-editor__editable h1,
.ck-editor__editable h2,
.ck-editor__editable h3 {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.ck-editor__editable p {
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
}

.ck-editor__editable ul,
.ck-editor__editable ol {
    margin-bottom: 15px !important;
    padding-left: 20px !important;
}

.ck-editor__editable blockquote {
    border-left: 4px solid #007bff !important;
    padding-left: 15px !important;
    margin: 15px 0 !important;
    font-style: italic !important;
    color: #666 !important;
}

/* CKEditor mobil toolbar optimizasyonu */
@media (max-width: 768px) {
    .ck.ck-toolbar__group {
        margin: 2px !important;
        flex-wrap: wrap !important;
    }
    
    .ck.ck-toolbar__group .ck-button {
        margin: 1px !important;
        padding: 8px !important;
    }
    
    .ck.ck-dropdown__panel {
        max-height: 200px !important;
        overflow-y: auto !important;
    }
    
    .ck.ck-dropdown__panel .ck-button {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}

/* CKEditor görsel düzenleme araçları */
.ck-editor__editable .image .ck-image-resize-handle {
    background: #007bff !important;
    border: 2px solid white !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.ck-editor__editable .image .ck-image-resize-handle:hover {
    background: #0056b3 !important;
    transform: scale(1.2) !important;
}

/* CKEditor mobil görsel seçimi */
@media (max-width: 768px) {
    .ck-editor__editable .image .ck-image-resize-handle {
        width: 16px !important;
        height: 16px !important;
    }
    
    .ck-editor__editable .image:hover {
        outline: 3px solid #007bff !important;
        outline-offset: 3px !important;
    }
}

/* CKEditor tam ekran mobil optimizasyonu */
.ck-editor--fullscreen {
    z-index: 9999 !important;
}

@media (max-width: 768px) {
    .ck-editor--fullscreen .ck-editor__editable {
        min-height: calc(100vh - 120px) !important;
        padding: 20px !important;
        font-size: 16px !important;
    }
    
    .ck-editor--fullscreen .ck-toolbar {
        position: sticky !important;
        top: 0 !important;
        background: white !important;
        z-index: 10000 !important;
        padding: 10px !important;
    }
}

/* CKEditor görsel yükleme mobil optimizasyonu */
.ck-file-dialog-button {
    min-height: 44px !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .ck-file-dialog-button {
        width: 100% !important;
        margin: 10px 0 !important;
    }
}

/* CKEditor içerik görüntüleme optimizasyonu */
.ck-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

.ck-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.ck-content img.image-style-align-left {
    float: left !important;
    margin-right: 20px !important;
    margin-bottom: 15px !important;
    max-width: 50% !important;
}

.ck-content img.image-style-align-right {
    float: right !important;
    margin-left: 20px !important;
    margin-bottom: 15px !important;
    max-width: 50% !important;
}

.ck-content img.image-style-align-center {
    display: block !important;
    margin: 20px auto !important;
}

.ck-content img.image-style-side {
    float: right !important;
    margin-left: 20px !important;
    margin-bottom: 15px !important;
    max-width: 40% !important;
}

/* Mobilde görsel düzenlemeleri */
@media (max-width: 768px) {
    .ck-content img.image-style-align-left,
    .ck-content img.image-style-align-right,
    .ck-content img.image-style-side {
        float: none !important;
        margin: 15px 0 !important;
        max-width: 100% !important;
    }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  min-width: 300px;
  box-shadow: 0 4px 20px var(--shadow-color);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.toast-message {
  flex: 1;
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.toast-success {
  border-left: 4px solid #28a745;
}

.toast-info {
  border-left: 4px solid #17a2b8;
}

.toast-warning {
  border-left: 4px solid #ffc107;
}

.toast-error {
  border-left: 4px solid #dc3545;
}

/* Micro-animations */
.card, .blog-card, .product-card {
  transition: all 0.3s ease;
  transform: translateY(0);
  opacity: 1 !important;
}

.card.animate-in, .blog-card.animate-in, .product-card.animate-in {
  opacity: 1;
  animation: slideInUp 0.6s ease forwards;
}

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

/* Button Ripple Effect */
.btn, button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Autocomplete */
.autocomplete-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 15px var(--shadow-color);
  z-index: 1000;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: var(--card-hover);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.page-loader.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  border-top-color: #28a745;
  animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
  border-top-color: #ffc107;
  animation-delay: 0.4s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-loader p {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--btn-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* Enhanced Mobile Menu */
.navbar-collapse.show {
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  margin-top: 10px;
  padding: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-nav .nav-link {
  padding: 12px 20px;
  border-radius: 8px;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--card-hover);
  transform: translateX(5px);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link[aria-current="page"] {
  position: relative;
  color: #764ba2 !important;
  font-weight: 600;
}
.navbar-nav .nav-link.active::after, .navbar-nav .nav-link[aria-current="page"]::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  animation: underlineGrow 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: 1; }
}

/* Form Enhancements */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control:focus, .form-select:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.form-group.focused .form-control,
.form-group.focused .form-select {
  border-color: var(--btn-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #764ba2 !important;
  box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.15);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.toast, .alert {
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(20px);
}
.toast.show, .alert.show {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Navigation */
.navbar.scrolled {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transition: none;
}

/* Parallax Effect */
.parallax {
  transition: transform 0.1s ease-out;
}

/* Lazy Loading */
img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

/* Enhanced Card Hover Effects */
.card:hover, .blog-card:hover, .product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px var(--shadow-color);
}

/* Smooth Page Transitions */
body {
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: #f5f6fa !important;
}

/* Enhanced Page Transitions */
.page-transition {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  filter: blur(2px);
}
.page-transition.loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.page-exit {
  opacity: 0;
  transform: translateY(-40px) scale(0.98);
  filter: blur(2px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Overlay */
.page-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.page-loading-overlay .spinner {
  width: 70px;
  height: 70px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-loading-overlay p {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Enhanced Button States */
.btn:active {
  transform: scale(0.95);
}

.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Enhanced Focus States */
*:focus {
  outline: 2px solid var(--btn-primary);
  outline-offset: 2px;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .toast {
    border-width: 2px;
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Print Styles */
@media print {
  .toast-container,
  .back-to-top,
  .page-loader,
  .mobile-overlay {
    display: none !important;
  }
}

/* Dark Mode Specific Enhancements */
[data-theme="dark"] .toast {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .autocomplete-container {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .autocomplete-item {
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .autocomplete-item:hover {
  background: var(--card-hover);
}

[data-theme="dark"] .back-to-top {
  background: var(--btn-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mobile-overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .autocomplete-container {
    max-height: 150px;
  }
}

/* Performance Optimizations */
.card, .blog-card, .product-card {
  will-change: transform;
}

.toast {
  will-change: transform, opacity;
}

.back-to-top {
  will-change: transform, opacity;
} 

/* Navbar Search Responsive */
.search-navbar-form {
  position: relative;
}

.search-navbar-form .form-control.search-input {
  padding-right: 2.2rem;
  min-width: 0;
  font-size: 1rem;
  height: 36px;
  border-radius: 20px;
  box-shadow: none;
}

.search-navbar-form .input-group-text {
  background: transparent;
  border: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .search-navbar-form {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
  }
  .search-navbar-form .form-control.search-input {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    height: 38px;
  }
}

@media (min-width: 992px) {
  .search-navbar-form {
    max-width: 220px;
    min-width: 120px;
    margin-left: 16px;
  }
  .search-navbar-form .form-control.search-input {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    height: 36px;
  }
} 

/* Floating Search Box */
.floating-search-box {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1050;
  background: var(--bg-card);
  border-radius: 32px;
  box-shadow: 0 8px 32px var(--shadow-color);
  padding: 10px 18px 10px 10px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
  border: 1px solid var(--border-color);
}
.floating-search-box:hover, .floating-search-box:focus-within {
  box-shadow: 0 12px 40px var(--shadow-color);
  background: var(--bg-secondary);
}

.floating-search-box .search-navbar-form {
  width: 100%;
  margin: 0;
}

.floating-search-box .form-control.search-input {
  border-radius: 20px;
  font-size: 1rem;
  height: 36px;
  box-shadow: none;
}

.floating-search-box .input-group-text {
  background: transparent;
  border: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  pointer-events: none;
}

/* Mobile Floating Search Box */
.floating-search-box-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: var(--bg-card);
  box-shadow: 0 -4px 24px var(--shadow-color);
  padding: 8px 12px 12px 12px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}
.floating-search-box-mobile .search-navbar-form {
  width: 100%;
  margin: 0;
}
.floating-search-box-mobile .form-control.search-input {
  border-radius: 18px;
  font-size: 1rem;
  height: 38px;
  box-shadow: none;
}
.floating-search-box-mobile .input-group-text {
  background: transparent;
  border: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .floating-search-box {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .floating-search-box-mobile {
    display: none !important;
  }
} 

/* Header sağ alt köşe floating search - border ve arka plan yok */
.header-floating-search {
  position: absolute;
  right: 16px;
  bottom: 0;
  z-index: 1050;
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 4px 18px var(--shadow-color);
  padding: 4px 0 4px 8px;
  min-width: 160px;
  max-width: 220px;
  display: flex;
  align-items: center;
  border: none;
  margin: 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.header-floating-search .form-control.search-input {
  border-radius: 14px;
  font-size: 0.98rem;
  height: 30px;
  box-shadow: none;
  padding-right: 1.5rem;
  border: none;
  background: rgba(255,255,255,0.85);
}
.header-floating-search .input-group-text {
  right: 2px;
  font-size: 1.1rem;
  background: transparent !important;
  border: none !important;
}

/* Estetik Back to Top Butonu */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 280px;
  background: none !important;
  color: #333 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 2000;
  padding: 0;
}
[data-theme="dark"] .back-to-top {
  color: #fff !important;
}
.back-to-top svg {
  width: 36px;
  height: 36px;
  display: block;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: color 0.2s, transform 0.2s;
  fill: currentColor !important;
  color: inherit !important;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  color: #5a6fd8 !important;
  transform: translateY(-4px) scale(1.15);
}
.back-to-top:hover svg {
  color: #5a6fd8 !important;
  transform: translateY(-2px) scale(1.1);
}

/* Menü başlıkları arası boşluk - daha fazla */
.navbar-nav.custom-navbar-gap {
  gap: 120px !important;
}
@media (max-width: 991.98px) {
  .navbar-nav.custom-navbar-gap {
    gap: 40px !important;
  }
}

/* Arama kutusu navbar sağ alt köşe */
.search-navbar-form.position-absolute.end-0 {
  right: 0;
  left: auto;
  bottom: 0;
  margin-bottom: 0;
}

/* Mobilde arama kutusu menü altına */
@media (max-width: 991.98px) {
  .search-navbar-form.position-absolute.end-0 {
    position: static !important;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
  }
} 

@media (max-width: 768px) {
  .header-floating-search-mobile .search-navbar-form {
    width: 55%;
    margin-left: auto;
    margin-right: 0;
    min-width: 100px;
    max-width: 180px;
  }
  .header-floating-search-mobile .form-control.search-input {
    height: 30px;
    font-size: 0.93rem;
    border-radius: 12px;
  }
  footer {
    margin-bottom: 60px !important;
  }
  .back-to-top {
    bottom: 80px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
    z-index: 1200 !important;
  }
}

footer {
  background: #222 !important;
  color: #fff !important;
  padding: 32px 0 16px 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-top: 1px solid #333;
}
footer a {
  color: #fff !important;
  opacity: 0.85;
  transition: opacity 0.2s;
}
footer a:hover {
  opacity: 1;
  text-decoration: underline;
} 

.btn-primary, .btn.btn-primary {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.10);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: linear-gradient(90deg, #5a6fd8 0%, #6a4190 100%) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
}

.btn-outline-primary, .btn.btn-outline-primary {
  background: transparent !important;
  color: #667eea !important;
  border: 2px solid #667eea !important;
  transition: background 0.3s, color 0.3s, border 0.3s, transform 0.2s, box-shadow 0.2s;
}
.btn-outline-primary:hover, .btn.btn-outline-primary:hover {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border-color: #764ba2 !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
} 

.avatar, .author-avatar, .team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.10);
  border: 2px solid #fff;
  background: #f5f6fa;
  transition: box-shadow 0.2s, transform 0.2s;
}
.avatar:hover, .author-avatar:hover, .team-avatar:hover {
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
  transform: scale(1.07);
} 

/* Mobil hızlı erişim ikonlarının altındaki isimler */
.quick-access-label {
  display: block;
  font-size: 0.97rem;
  color: #fff;
  margin-top: 3px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border: none !important;
  line-height: 1.15;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(60,40,120,0.13), 0 1px 0 #3333;
  transition: color 0.2s, text-shadow 0.2s;
}

.quick-access-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  padding: 7px 8px 2px 8px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(102,126,234,0.08);
  margin: 0 2px;
  min-width: 56px;
}
.quick-access-btn:active, .quick-access-btn:focus {
  background: rgba(255,255,255,0.13);
  color: #ffe082;
  transform: scale(1.11);
  box-shadow: 0 4px 16px rgba(102,126,234,0.18);
}
.quick-access-btn .bi {
  font-size: 1.55em;
  margin-bottom: 0px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(60,40,120,0.10));
  transition: color 0.2s, filter 0.2s;
}

/* Mobil alt menüde alt kısmın kesilmesini önle ve daha ince yap */
.mobile-quick-access {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 -2px 8px rgba(102, 126, 234, 0.10);
  padding: 0 0 8px 0;
  justify-content: space-around;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: 54px;
  min-height: 48px;
  overflow: visible;
}

.quick-access-btn {
  font-size: 1rem;
  min-width: 32px;
  padding: 0 2px 0 2px;
  border-radius: 8px;
}

.quick-access-btn .bi {
  font-size: 1.1em;
}

.quick-access-label {
  font-size: 0.72rem;
  margin-top: 0;
}

@media (max-width: 768px) {
  .mobile-quick-access {
    display: flex;
  }
  .quick-access-btn {
    font-size: 1.45rem;
    min-width: 48px;
    padding: 6px 4px 2px 4px;
  }
  .quick-access-label {
    font-size: 0.91rem;
  }
}

/* Altı çizgiyi tamamen kaldır */
.quick-access-label, .quick-access-label:active, .quick-access-label:focus, .quick-access-label:hover,
.quick-access-btn, .quick-access-btn:active, .quick-access-btn:focus, .quick-access-btn:hover {
  text-decoration: none !important;
  border: none !important;
}

/* Mobilde hamburger menüyü gizle */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: none !important;
  }
} 