﻿/* Import Bootstrap 5 */
/* @import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');*/

@import url('/css/bootstrap.min.css');
/* Custom CSS Variables */

:root {
    /* Renk Paleti */
    --primary-color: #198754; /* Ana renk: Sağlık, güvenlik */
    --primary-dark: #146c43; /* CTA hover ve koyu tonlar */
    --secondary-color: #0D6EFD; /* Vurgu rengi: mavi, profesyonellik */
    --warning-color: #FFC107; /* Yüksek şeker uyarısı */
    --danger-color: #DC3545; /* Hipoglisemi, hata */
    --info-color: #0DCAF0; /* Grafik ve bilgi kartları */
    --light-color: #F8F9FA; /* Açık arka plan */
    --dark-color: #212529; /* Metin ve koyu alanlar */
    /* Tipografi & Stil */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}


/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fafbfc;
    padding-top: 85px; /* navbar yüksekliği kadar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-4 {
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1200px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--success-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(13, 110, 253, 0.1);
        color: var(--primary-color) !important;
    }

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

.card-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-primary {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #146c43 0%, #0b4528 100%);
        color: white;
    }

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

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

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

    .btn-outline-danger:hover {
        background: var(--danger-color);
        color: white;
    }

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

/* Forms */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        background-color: white;
    }

.form-control-lg, .form-select-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

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

.form-check {
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

    .form-check:hover {
        background-color: rgba(13, 110, 253, 0.05);
    }

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 2px solid #dee2e6;
}

    .form-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

.form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d1edff 0%, #a7d8f0 100%);
    color: #0c5460;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    color: #721c24;
}

/* Validation */
.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.is-invalid {
    border-color: var(--danger-color) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4M5.8 8.4l.4-.4.4.4M8.4 5.8l-.4.4.4.4M3.6 5.8l.4.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid {
    border-color: var(--success-color) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.4-.4 1.4-1.4.4-.4-.4-.4-.4-.4-.4.4L1.9 5.93l-.4.4.4.4z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

    .hero-section h1 {
        color: white;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        opacity: 0.9;
    }

/* Footer */
.footer {
    background-color: var(--light-color);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #dee2e6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

    .btn.loading::after {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        border: 2px solid transparent;
        border-top-color: currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

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

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .card-body {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

    :root {
        /* Renk Paleti */
        --primary-color: #198754; /* Ana renk: Sağlık, güvenlik */
        --primary-dark: #146c43; /* CTA hover ve koyu tonlar */
        --secondary-color: #0D6EFD; /* Vurgu rengi: mavi, profesyonellik */
        --warning-color: #FFC107; /* Yüksek şeker uyarısı */
        --danger-color: #DC3545; /* Hipoglisemi, hata */
        --info-color: #0DCAF0; /* Grafik ve bilgi kartları */
        --light-color: #F8F9FA; /* Açık arka plan */
        --dark-color: #212529; /* Metin ve koyu alanlar */
        /* Tipografi & Stil */
        --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        --border-radius: 12px;
        --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --transition: all 0.2s ease-in-out;
    }


    body {
        background-color: #1a1a1a;
        color: var(--dark-color);
    }

    .navbar {
        background: rgba(33, 37, 41, 0.95) !important;
    }

    .card {
        background-color: #2d3748;
        color: var(--dark-color);
    }

    .form-control, .form-select {
        background-color: #2d3748;
        border-color: #4a5568;
        color: var(--dark-color);
    }

        .form-control:focus, .form-select:focus {
            background-color: #2d3748;
            color: var(--dark-color);
        }
}

/* Kategori Slider için ek CSS stilleri */

/* Kategori slider için gelişmiş animasyonlar */
.category-slider {
    position: relative;
}

    .category-slider::before,
    .category-slider::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        z-index: 2;
        pointer-events: none;
    }

    .category-slider::before {
        left: 0;
        background: linear-gradient(to right, rgba(248,249,250,1), rgba(248,249,250,0));
    }

    .category-slider::after {
        right: 0;
        background: linear-gradient(to left, rgba(248,249,250,1), rgba(248,249,250,0));
    }

/* Kategori kartları için hover efektleri */
.category-card {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-item:hover .category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 6px 20px rgba(0,123,255,0.15);
}

.category-item.active .category-card {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

/* Kategori ikonları için özel renkler */
.category-item .category-icon {
    color: #6c757d;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    color: #198754;
}

.category-item.active .category-icon {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Mobil cihazlar için optimizasyon */
@media (max-width: 576px) {
    .category-slider {
        gap: 10px;
        padding: 8px 0;
    }

    .category-card {
        min-width: 80px;
        padding: 10px 12px;
    }

    .category-icon {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .category-name {
        font-size: 0.75rem;
    }
}

/* Tablet cihazlar için optimizasyon */
@media (min-width: 577px) and (max-width: 991px) {
    .category-card {
        min-width: 110px;
        padding: 13px 18px;
    }
}

/* Büyük ekranlar için optimizasyon */
@media (min-width: 1200px) {
    .category-card {
        min-width: 140px;
        padding: 18px 25px;
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .category-name {
        font-size: 1rem;
    }
}

/* Kategori seçimi için pulse animasyonu */
@keyframes categoryPulse {
    0% {
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(0,123,255,0.6);
    }

    100% {
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }
}

.category-item.active .category-card {
    animation: categoryPulse 2s infinite;
}

/* Scroll indicator için stil */
.category-slider-container::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #198754;
    font-size: 1.2rem;
    opacity: 0.7;
    pointer-events: none;
    animation: scrollHint 2s infinite;
}

@keyframes scrollHint {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(3px);
    }
}

/* Kategori kartlarının yükleme animasyonu */
.category-item {
    animation: categoryFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

    .category-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .category-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .category-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .category-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .category-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    .category-item:nth-child(n+6) {
        animation-delay: 0.6s;
    }

@keyframes categoryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PWA Yükleme Banner Stili */
/* GÜNCELLEME: PWA Yükleme Banner Stili (Açık Tema) */
.pwa-install-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa; /* Bootstrap Açık Gri */
    color: #212529; /* Bootstrap Koyu Metin */
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #dee2e6; /* İnce bir çerçeve */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .pwa-install-banner.show {
        opacity: 1;
        visibility: visible;
    }

    .pwa-install-banner .btn-close {
        /* Artık özel bir SVG'ye gerek yok, Bootstrap'in varsayılanı kullanılacak */
        margin-left: 1rem;
    }
/* Make mobile menu items larger */
.navbar-nav .d-sm-none .dropdown-item {
    font-size: 1.1rem; /* Increase font size */
    padding: 0.75rem 1rem; /* Add more vertical and horizontal padding */
}
/* Import Bootstrap 5 */
/*@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');*/

/* Custom CSS Variables */
/*:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --border-radius: 12px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.2s ease-in-out;
}*/

/* Global Styles */
/** {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fafbfc;
    padding-top: 70px;*/ /* navbar yüksekliği kadar */
/*}*/

/* Typography */
/*h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.display-4 {
  font-weight: 700;
}*/

/* Layout */
/*.container {
  max-width: 1200px;
}*/

/* Navigation */
/*.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--success-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary-color) !important;
}*/

/* Cards */
/*.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-body {
  padding: 2rem;
}*/

/* Buttons */
/*.btn {
  font-weight: 500;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  color: white;
}

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

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

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

.btn-outline-danger:hover {
  background: var(--danger-color);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}*/

/* Forms */
/*.form-control, .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background-color: white;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  background-color: white;
}

.form-control-lg, .form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

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

.form-check {
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-check:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 2px solid #dee2e6;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
}*/

/* Alerts */
/*.alert {
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: linear-gradient(135deg, #d1edff 0%, #a7d8f0 100%);
  color: #0c5460;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
  color: #721c24;
}*/

/* Validation */
/*.text-danger {
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.is-invalid {
  border-color: var(--danger-color) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4M5.8 8.4l.4-.4.4.4M8.4 5.8l-.4.4.4.4M3.6 5.8l.4.4-.4.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-valid {
  border-color: var(--success-color) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.4-.4 1.4-1.4.4-.4-.4-.4-.4-.4-.4.4L1.9 5.93l-.4.4.4.4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}*/

/* Hero Section */
/*.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  padding: 4rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.hero-section h1 {
  color: white;
}

.hero-section .lead {
  font-size: 1.25rem;
  opacity: 0.9;
}*/

/* Footer */
/*.footer {
  background-color: var(--light-color);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid #dee2e6;
}*/

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

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

/* Loading States */
/*.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Responsive Design */
/*@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .hero-section {
    padding: 3rem 1.5rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
}*/

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #f8f9fa;
    --light-color: #212529;
  }
  
  body {
    background-color: #1a1a1a;
    color: var(--dark-color);
  }
  
  .navbar {
    background: rgba(33, 37, 41, 0.95) !important;
  }
  
  .card {
    background-color: #2d3748;
    color: var(--dark-color);
  }
  
  .form-control, .form-select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: var(--dark-color);
  }
  
  .form-control:focus, .form-select:focus {
    background-color: #2d3748;
    color: var(--dark-color);
  }
}*/

/* Kategori Slider için ek CSS stilleri */

/* Kategori slider için gelişmiş animasyonlar */
/*.category-slider {
    position: relative;
}

    .category-slider::before,
    .category-slider::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        z-index: 2;
        pointer-events: none;
    }

    .category-slider::before {
        left: 0;
        background: linear-gradient(to right, rgba(248,249,250,1), rgba(248,249,250,0));
    }

    .category-slider::after {
        right: 0;
        background: linear-gradient(to left, rgba(248,249,250,1), rgba(248,249,250,0));
    }*/

/* Kategori kartları için hover efektleri */
/*.category-card {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-item:hover .category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 6px 20px rgba(0,123,255,0.15);
}

.category-item.active .category-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}*/

/* Kategori ikonları için özel renkler */
/*.category-item .category-icon {
    color: #6c757d;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    color: #007bff;
}

.category-item.active .category-icon {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}*/

/* Mobil cihazlar için optimizasyon */
/*@media (max-width: 576px) {
    .category-slider {
        gap: 10px;
        padding: 8px 0;
    }

    .category-card {
        min-width: 80px;
        padding: 10px 12px;
    }

    .category-icon {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .category-name {
        font-size: 0.75rem;
    }
}*/

/* Tablet cihazlar için optimizasyon */
/*@media (min-width: 577px) and (max-width: 991px) {
    .category-card {
        min-width: 110px;
        padding: 13px 18px;
    }
}*/

/* Büyük ekranlar için optimizasyon */
/*@media (min-width: 1200px) {
    .category-card {
        min-width: 140px;
        padding: 18px 25px;
    }

    .category-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .category-name {
        font-size: 1rem;
    }
}*/

/* Kategori seçimi için pulse animasyonu */
/*@keyframes categoryPulse {
    0% {
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(0,123,255,0.6);
    }

    100% {
        box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    }
}

.category-item.active .category-card {
    animation: categoryPulse 2s infinite;
}*/

/* Scroll indicator için stil */
/*.category-slider-container::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 1.2rem;
    opacity: 0.7;
    pointer-events: none;
    animation: scrollHint 2s infinite;
}

@keyframes scrollHint {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(-50%) translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(3px);
    }
}*/

/* Kategori kartlarının yükleme animasyonu */
/*.category-item {
    animation: categoryFadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

    .category-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .category-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .category-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .category-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .category-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    .category-item:nth-child(n+6) {
        animation-delay: 0.6s;
    }

@keyframes categoryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* PWA Yükleme Banner Stili */
/* GÜNCELLEME: PWA Yükleme Banner Stili (Açık Tema) */
/*.pwa-install-banner {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;*/ /* Bootstrap Açık Gri */
    /*color: #212529;*/ /* Bootstrap Koyu Metin */
    /*padding: 1rem;
    border-radius: 12px;
    border: 1px solid #dee2e6;*/ /* İnce bir çerçeve */
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .pwa-install-banner.show {
        opacity: 1;
        visibility: visible;
    }

    .pwa-install-banner .btn-close {*/
        /* Artık özel bir SVG'ye gerek yok, Bootstrap'in varsayılanı kullanılacak */
        /*margin-left: 1rem;
    }*/
/* Make mobile menu items larger */
/*.navbar-nav .d-sm-none .dropdown-item {
    font-size: 1.1rem;*/ /* Increase font size */
    /*padding: 0.75rem 1rem;*/ /* Add more vertical and horizontal padding */
/*}*/