@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* ============================================
   TEMA DEĞİŞKENLERİ - Kolay değiştirilebilir
   ============================================ */
:root {
    /* Ana Renkler */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Arka Plan Renkleri */
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-gradient: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    
    /* Metin Renkleri */
    --text-primary: #4A90E2;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: #ffffff;
    
    /* Border ve Shadow */
    --border-color: #e0e0e0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(102, 126, 234, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Navbar */
    --navbar-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --navbar-height: 64px;
    
    /* Butonlar */
    --btn-primary-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --btn-primary-hover-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    
    /* Kartlar */
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --card-border-radius: 12px;
    
    /* Form Elemanları */
    --input-bg: #f8f9fa;
    --input-border: 2px solid #e0e0e0;
    --input-focus-border: #667eea;
    --input-focus-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    
    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg-primary);
    background-image: var(--bg-gradient);
    box-sizing: border-box;
}

/* Dashboard ve Landing Page hariç tüm sayfalar için body scrollbar'ını gizle */
body:not(.dashboard-page):not(.landing-page):not(.reports-page) {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Reports sayfası için body scrollbar kapalı, sadece content-wrapper scroll edilebilir */
body.reports-page {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Dashboard sayfası için - body scrollbar kapalı, sadece content-wrapper scroll edilebilir */
body.dashboard-page {
    overflow: hidden !important;
    height: 100vh !important;
}

body.dashboard-page .content-wrapper {
    overflow-y: auto !important;
    height: calc(100vh - var(--navbar-height)) !important;
    max-height: calc(100vh - var(--navbar-height)) !important;
}

/* Landing Page (Tanıtım sayfası) için - body scrollbar kapalı, sadece landing-content-wrapper scroll edilebilir */
body.landing-page {
    overflow: hidden !important;
    height: 100vh !important;
}

body.landing-page .landing-content-wrapper,
.landing-page .landing-content-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Tüm sayfaları tam genişlik yap - agresif override */
body > div,
body > component,
#app,
#blazor-error-ui {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Bootstrap'in tüm container stillerini override et */
body .container,
body .container-fluid,
body .container-sm,
body .container-md,
body .container-lg,
body .container-xl,
body .container-xxl {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover, .btn-link:hover {
    color: var(--secondary-color);
}

/* Modern Butonlar */
.btn-primary {
    color: var(--text-white) !important;
    background: var(--btn-primary-bg) !important;
    border: none !important;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--btn-primary-hover-shadow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #6c757d;
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    transition: all var(--transition-normal);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    transition: all var(--transition-normal);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: #212529;
    transition: all var(--transition-normal);
}

.btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    transition: all var(--transition-normal);
}

.btn-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    box-shadow: var(--input-focus-shadow);
    outline: none;
}

/* Form Elemanları */
.form-control:focus, .form-check-input:focus {
    border-color: var(--input-focus-border);
    box-shadow: var(--input-focus-shadow);
    outline: none;
}

.form-control {
    border: var(--input-border);
    border-radius: var(--border-radius-sm);
    background: var(--input-bg);
    transition: all var(--transition-normal);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: white;
}

.form-select {
    border: var(--input-border);
    border-radius: var(--border-radius-sm);
    background: var(--input-bg);
    transition: all var(--transition-normal);
}

.form-select:focus {
    border-color: var(--input-focus-border);
    box-shadow: var(--input-focus-shadow);
    background: white;
}

/* Ana layout */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/* Üst navbar - Modern Gradient Tasarım */
.top-navbar {
    background: var(--navbar-bg);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.top-navbar::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveBackground 30s linear infinite;
    top: -50%;
    left: -50%;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

.navbar-container {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.navbar-brand {
    color: white !important;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    margin-right: 2rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    color: white !important;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex: 1;
    overflow-x: auto;
}

.navbar-menu .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.navbar-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

/* Kullanıcı bilgisi ve çıkış butonu */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.navbar-user .user-greeting {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Lisans durumu göstergesi */
.license-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.license-status i {
    font-size: 0.9rem;
}

.license-status.license-valid {
    background-color: #28a745;
    color: white;
    border: 1px solid #218838;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.license-status.license-invalid {
    background-color: #dc3545;
    color: white;
    border: 1px solid #c82333;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.license-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-user .logout-btn {
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.navbar-user .logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ana içerik alanı */
.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    background: var(--bg-primary);
    background-image: var(--bg-gradient);
    min-height: calc(100vh - var(--navbar-height));
}

/* Dashboard ve Landing Page hariç sayfalar için content-wrapper'ı sabit yükseklik yap */
body:not(.dashboard-page):not(.landing-page):not(.reports-page) .content-wrapper {
    overflow-y: hidden !important;
    height: calc(100vh - var(--navbar-height)) !important;
    max-height: calc(100vh - var(--navbar-height)) !important;
    display: flex;
    flex-direction: column;
    padding: 1.5rem !important;
}

/* Reports sayfası için content-wrapper scroll edilebilir (tema scrollbar ile) */
body.reports-page .content-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: calc(100vh - var(--navbar-height)) !important;
    max-height: calc(100vh - var(--navbar-height)) !important;
    display: block;
    padding: 1.5rem !important;
}

/* Dashboard ve Landing Page hariç sayfalar için içerik alanını scroll edilebilir yap */
body:not(.dashboard-page):not(.landing-page) .content-wrapper > * {
    flex: 0 0 auto;
}

/* Dashboard ve Landing Page hariç sayfalar için card container'ları flex yap */
body:not(.dashboard-page):not(.landing-page) .content-wrapper > .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

body:not(.dashboard-page):not(.landing-page) .content-wrapper > .card > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    padding: 1rem;
}

body:not(.dashboard-page):not(.landing-page) .content-wrapper > .row {
    flex: 0 0 auto;
}

/* DataTables container'ı için özel stil - sadece tablo scroll edilebilir */
body:not(.dashboard-page):not(.landing-page) .dataTables_wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    max-height: 100%;
}

/* DataTables scroll container'ı için */
body:not(.dashboard-page):not(.landing-page) .dataTables_scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

body:not(.dashboard-page):not(.landing-page) .dataTables_scrollHead {
    flex: 0 0 auto;
}

body:not(.dashboard-page):not(.landing-page) .dataTables_scrollBody {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: auto !important;
    min-height: 0;
}

/* Bootstrap container override - tam genişlik için - EN ÜSTTE */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.content-wrapper .container,
.content-wrapper .container-fluid,
.app-container .container,
.app-container .container-fluid,
.main-content .container,
.main-content .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Tüm ortalanmış elementleri kaldır */
.container,
.container-fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Bootstrap'in tüm max-width kurallarını override et */
@media (min-width: 576px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 100% !important;
    }
}

.content {
    padding-top: 0;
}

/* Tablo ve kartlar için tam genişlik */
.content-wrapper .table,
.table {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

/* Genel tablo stilleri */
.table thead {
    background: var(--primary-gradient);
    color: white;
}

.table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.content-wrapper .card,
.card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: var(--card-border-radius);
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}

.card-header h5, .card-header h6 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.content-wrapper .card-body {
    padding: 1.5rem;
}

/* Form elemanları için tam genişlik */
.content-wrapper .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Tüm row'ları tam genişlik yap */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.content-wrapper .col-md-6,
.content-wrapper .col-md-8,
.content-wrapper .col-md-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Butonlar için düzenleme */
.content-wrapper .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Sayfa başlıkları için düzenleme */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.content-wrapper h1 {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-wrapper h2 {
    font-size: 1.75rem;
}

.content-wrapper h3 {
    font-size: 1.5rem;
}

/* Form grupları için tam genişlik */
.content-wrapper .form-group,
.content-wrapper .mb-3 {
    width: 100%;
}

/* Tablo container için tam genişlik */
.content-wrapper .table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
    }
    
    .navbar-menu {
        flex-wrap: wrap;
        gap: 0.25rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-menu .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .navbar-user {
        width: 100%;
        justify-content: space-between;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .navbar-user .user-greeting {
        font-size: 0.85rem;
    }
    
    .license-status {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .license-status i {
        font-size: 0.8rem;
    }
}

/* Modern Scrollbar */
.content-wrapper::-webkit-scrollbar {
    width: 10px;
}

.content-wrapper::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Modern Alert'ler */
.alert {
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(19, 132, 150, 0.1) 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Modern Badge'ler */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #212529 !important;
}

.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* DataTables Scroll Container */
.dataTables_wrapper {
    position: relative;
}

.dataTables_scroll {
    position: relative;
}

.dataTables_scrollBody {
    overflow-y: auto !important;
    overflow-x: auto !important;
}

.dataTables_scrollHead {
    overflow: hidden;
    border-bottom: 2px solid var(--border-color);
}

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    font-weight: 500;
    color: var(--text-primary);
}

/* DataTables scroll için responsive ayarlar */
@media (max-width: 768px) {
    .dataTables_scrollBody {
        max-height: calc(100vh - 400px) !important;
    }
}

/* ============================================
   LANDING PAGE STYLES - Modern Tanıtım Sayfası
   ============================================ */

.landing-page {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Advertisement Sidebars - Hidden */
.ad-sidebar {
    display: none !important;
}

.ad-sidebar-left {
    display: none !important;
}

.ad-sidebar-right {
    display: none !important;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px dashed #667eea;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.ad-placeholder span {
    font-size: 0.9rem;
}

.ad-content {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.ad-content a {
    display: block;
    width: 100%;
}

/* Main Content Wrapper */
.landing-content-wrapper {
    flex: 1;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    width: 100%;
    position: relative;
}

/* Landing Page için özel scrollbar (Dashboard'daki gibi) */
.landing-content-wrapper::-webkit-scrollbar {
    width: 10px;
}

.landing-content-wrapper::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.landing-content-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.landing-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Navigation - Modern Glassmorphism */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.landing-nav:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

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

.logo-section i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #4A90E2 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-login-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-login-nav:hover::before {
    left: 100%;
}

.btn-login-nav:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
    background-position: right center;
    color: white;
}

.btn-login-nav:active {
    transform: translateY(-1px) scale(1.02);
}

/* Hero Section - Ultra Modern Design */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 30%, #FF6B35 70%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="60" height="60" fill="url(%23grid)"/></svg>');
    opacity: 1;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 0 0, 60px 60px; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        200px 300px 0 0 rgba(255, 255, 255, 0.4),
        400px 100px 0 0 rgba(255, 255, 255, 0.3),
        600px 500px 0 0 rgba(255, 255, 255, 0.5),
        800px 200px 0 0 rgba(255, 255, 255, 0.4),
        1000px 400px 0 0 rgba(255, 255, 255, 0.3);
}

.hero-particles::after {
    top: 60%;
    left: 20%;
    animation-delay: 10s;
    box-shadow: 
        300px 200px 0 0 rgba(255, 215, 0, 0.5),
        500px 400px 0 0 rgba(255, 215, 0, 0.4),
        700px 100px 0 0 rgba(255, 215, 0, 0.6),
        900px 300px 0 0 rgba(255, 215, 0, 0.4);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-30px); }
    75% { transform: translateY(-100px) translateX(80px); }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 20%;
    right: 15%;
    animation-delay: 7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease, pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 12px 40px rgba(255, 210, 63, 0.4); }
}

.hero-badge i {
    color: #FFD23F;
    font-size: 1.2rem;
    animation: rotate 3s linear infinite;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 50%, #FF8C42 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, fadeInUp 0.8s ease;
    text-shadow: none;
    display: inline-block;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.9;
    margin-bottom: 3.5rem;
    opacity: 0.98;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.3s both;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 100%);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 210, 63, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 210, 63, 0.7);
    color: #2c3e50;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: #FFD23F;
    margin-bottom: 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

.stat-icon i {
    filter: drop-shadow(0 2px 8px rgba(255, 210, 63, 0.6));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-shadow: none;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    z-index: 3;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(15px);
    }
}

/* About Section - Modern Cards */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.4), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #FF6B35 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 500;
    margin-top: 1.5rem;
}

.about-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.15);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.25);
    border-color: rgba(74, 144, 226, 0.3);
}

.about-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    background-size: 200% 200%;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.about-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-card:hover .about-icon {
    transform: rotate(10deg) scale(1.1);
    background-position: right center;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

.about-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50 0%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.about-card:hover h3 {
    transform: translateX(5px);
}

.about-card p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.about-card:hover p {
    color: #555;
}

/* Gallery Section - Modern Grid */
.gallery-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid transparent;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.12) 0%, rgba(255, 107, 53, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(74, 144, 226, 0.35);
    border-color: rgba(74, 144, 226, 0.5);
}

.gallery-item-large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 40%, #FF6B35 80%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.gallery-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 2rem;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 0 0 25px 25px;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Section - Vibrant Design */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 40%, #FF6B35 80%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
}

.contact-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.contact-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.contact-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.9;
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(255, 107, 53, 0.08) 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    background-size: 200% 200%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    transition: all 0.4s ease;
    animation: gradientShift 5s ease infinite;
}

.contact-item:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.95rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50 0%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-visual {
    text-align: center;
    position: relative;
}

.contact-image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 50%, rgba(240, 147, 251, 0.15) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 700;
    border: 3px dashed rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.about-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.contact-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 10px rgba(74, 144, 226, 0.4));
}

/* Footer - Modern Design */
.landing-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4A90E2 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.6), transparent);
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FFD23F 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 5s linear infinite;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.4rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2 0%, #FF6B35 100%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(74, 144, 226, 0.6);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    color: white;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Landing Page Responsive */
@media (max-width: 1200px) {
    .ad-sidebar {
        display: none;
    }

    .landing-content-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }

    .logo-section {
        font-size: 1.5rem;
    }

    .logo-section i {
        font-size: 2rem;
    }

    .btn-login-nav {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 100%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-item-large {
        grid-row: span 1;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }
}

/* ============================================
   ADMIN PANEL STYLES - Landing Page Management
   ============================================ */

.landing-page-admin {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
}

.admin-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    flex-shrink: 0;
    padding: 0 1rem;
}

.nav-tabs .nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    background: none;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #dee2e6;
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.tab-content-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    background: #f8f9fa;
    min-height: 0;
}

.tab-pane {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control-sm {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
}

.section-divider {
    height: 1px;
    background: #dee2e6;
    margin: 0.75rem 0;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle.mb-3 {
    margin-bottom: 0.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

/* Gallery tab specific - cards-grid should scroll */
.landing-page-admin .tab-pane.active .cards-grid {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    max-height: 100%;
    padding-right: 0.5rem;
    align-content: start;
}

.card-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header-small {
    background: #e9ecef;
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-small .btn-sm {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    line-height: 1.2;
}

.card-header-small .btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.card-header-small .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.card-body-small {
    padding: 0.5rem;
    overflow: visible;
    flex: 1;
}

.card-body-small .form-group {
    margin-bottom: 0.4rem;
}

.card-body-small .form-label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

.card-body-small .form-control-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.4rem;
}

.card-body-small textarea.form-control-sm {
    min-height: 45px;
    resize: vertical;
}

/* Gallery uses same styles as cards-grid - no separate styles needed */
.img-preview {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    object-fit: contain;
    background: white;
    margin-top: 0.3rem;
}

.landing-page-admin .input-group {
    display: flex;
    gap: 0.25rem;
}

.landing-page-admin .input-group .form-control {
    flex: 1;
}

.landing-page-admin .input-group .btn {
    flex-shrink: 0;
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

.landing-page-admin .input-group .btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Upload Status Styles */
.upload-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    color: #0066cc;
    font-size: 0.7rem;
    font-weight: 500;
}

.upload-status i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.upload-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #ffe6e6;
    border: 1px solid #ffb3b3;
    border-radius: 4px;
    color: #cc0000;
    font-size: 0.7rem;
    font-weight: 500;
}

.upload-error i {
    color: #cc0000;
}

.input-group {
    display: flex;
}

.input-group .form-control {
    flex: 1;
}

.input-group .btn {
    flex-shrink: 0;
}

.gallery-section-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}


.admin-footer {
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 100;
}

.text-muted {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Admin Panel Responsive */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

}

/* Scrollbar styling for gallery cards-grid */
.landing-page-admin .tab-pane.active .cards-grid::-webkit-scrollbar {
    width: 8px;
}

.landing-page-admin .tab-pane.active .cards-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.landing-page-admin .tab-pane.active .cards-grid::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.landing-page-admin .tab-pane.active .cards-grid::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Icon Picker Styles */
.icon-selector-wrapper {
    width: 100%;
}

.icon-selector-wrapper .input-group-text {
    background: #f8f9fa;
    border-right: none;
    min-width: 35px;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.25rem 0.4rem;
}

.icon-selector-wrapper .input-group .btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
}

.icon-selector-wrapper small {
    font-size: 0.65rem;
    display: block;
    margin-top: 0.2rem;
}

.icon-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.icon-picker-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.icon-picker-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.icon-picker-header h6 {
    margin: 0;
    font-weight: 600;
    color: #495057;
}

.icon-picker-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.icon-picker-search {
    margin-bottom: 1rem;
}

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.icon-picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.icon-picker-item:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
}

.icon-picker-item.selected {
    border-color: #667eea;
    background: #e7edff;
}

.icon-picker-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.icon-picker-item span {
    font-size: 0.7rem;
    color: #495057;
    text-align: center;
    word-break: break-word;
}

/* ============================================
   RESPONSIVE & MOBILE STYLES
   ============================================ */

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Sidebar */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left var(--transition-normal);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-sidebar.active {
    left: 0;
}

.mobile-menu-header {
    background: var(--navbar-bg);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-header .navbar-brand {
    margin: 0;
    font-size: 1.2rem;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-content {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.mobile-menu-content .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    font-weight: 500;
}

.mobile-menu-content .nav-link:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
    padding-left: 2rem;
}

.mobile-menu-content .nav-link.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
}

.mobile-menu-content .nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-menu-user {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.mobile-menu-user .user-greeting {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.mobile-menu-user .logout-btn {
    width: 100%;
    justify-content: center;
}

/* Quick Sale - Layout düzenlemeleri */
.quick-sale-container .quick-sale-row {
    height: calc(100vh - 200px);
    min-height: 600px;
}

.quick-sale-container .quick-sale-row > [class*="col-"] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Mobilde QuickSale row height sınırlamasını kaldır - scroll için */
@media (max-width: 767.98px) {
    .quick-sale-container .quick-sale-row {
        height: auto;
        min-height: auto;
    }
    
    .quick-sale-container .quick-sale-row > [class*="col-"] {
        height: auto;
    }
}

.quick-sale-container .card.h-100 {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.quick-sale-container .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Flexbox için önemli */
    overflow: hidden;
}

/* Quick Sale - Product List Scrollbar */
.quick-sale-container .product-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* iOS için smooth scrolling */
}

/* Quick Sale - Cart Items Scrollbar */
.quick-sale-container .cart-items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.quick-sale-container .cart-summary,
.quick-sale-container .flex-shrink-0 {
    flex-shrink: 0;
}

/* Dashboard Container - İzole edilmiş kurallar */
.dashboard-container {
    width: 100%;
    height: auto;
    overflow: visible;
}

.dashboard-container .card {
    margin-bottom: 1.5rem;
}

.dashboard-container .card-body {
    padding: 1.5rem;
}

.dashboard-container .table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* Reports - Gelirler ve Giderler Listeleri Scrollbar - SADECE REPORTS İÇİN */
/* Kar/Zarar Raporları sekmesindeki Gelirler ve Giderler tabloları için scrollbar */
.reports-income-list,
.reports-expense-list {
    max-height: calc(100vh - 450px);
    overflow-y: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    min-height: 300px; /* Minimum yükseklik */
}

/* Reports sayfasındaki özel card yapısı için - flexbox içinde çalışması için */
.card-body[style*="flex: 1"] .reports-income-list,
.card-body[style*="flex: 1"] .reports-expense-list {
    height: 100%;
    max-height: 100%;
}

/* Detay Sayfaları - Ortak Tasarım */
.details-page-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.details-container {
    max-width: 100%;
}

.details-container .card {
    box-shadow: var(--shadow-md);
    border: none;
}

.details-container .card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 1.5rem;
}

.details-container .card-header h5 {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-container .card-header h5 i {
    font-size: 1.2rem;
}

.details-container .card-body {
    padding: 1.5rem;
}

.detail-item {
    margin-bottom: 0.5rem;
}

.detail-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    word-break: break-word;
}

.details-table-container {
    max-height: calc(100vh - 500px);
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.details-table-container table {
    margin-bottom: 0;
}

/* Detay sayfalarındaki tablolar için özel stiller - genel kuralları override eder */
.details-table-container thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: var(--text-primary) !important;
}

.details-table-container thead.table-light {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
}

.details-table-container thead th {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    padding: 0.75rem !important;
    border-bottom: 2px solid var(--border-color) !important;
    white-space: nowrap !important;
    text-transform: none !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
}

.details-table-container tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.details-table-container tfoot {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: #e9ecef !important;
}

/* Dashboard Widget Tabloları - Kolon Başlıkları */
.card .table thead {
    background-color: #f8f9fa !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.card .table thead th {
    background-color: #f8f9fa !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 0.5rem !important;
    border-bottom: 2px solid var(--border-color) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.details-table-container tfoot th,
.details-table-container tfoot td {
    background-color: #e9ecef !important;
    font-weight: 600;
    padding: 0.75rem;
    border-top: 2px solid var(--border-color);
}

/* Edit Page Container - Genel düzenleme sayfası tasarımı */
.edit-page-container {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--navbar-height) - 2rem);
    margin: 1rem auto;
    max-width: 1200px;
}

.edit-page-container .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.edit-page-container .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
    flex-shrink: 0;
}

.edit-page-container .card-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.edit-page-container .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
}

.edit-page-container .card-body form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 1rem; /* Butonlar için alan */
}

/* Checkbox ve form elemanlarının butonların altında kalmaması için */
.edit-page-container .card-body form .form-check:last-of-type,
.edit-page-container .card-body form .mb-3:last-of-type:not(.edit-page-actions) {
    margin-bottom: 1.5rem;
}

.edit-page-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border-top: 2px solid var(--border-color);
    flex-shrink: 0;
    background-color: var(--bg-secondary);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Create Page Container - Yeni ekleme sayfaları için */
.create-page-container {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--navbar-height) - 2rem);
    margin: 1rem auto;
    max-width: 1200px;
}

.create-page-container .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.create-page-container .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
    flex-shrink: 0;
}

.create-page-container .card-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.create-page-container .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
}

.create-page-container .card-body form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 1rem; /* Butonlar için alan */
}

/* Checkbox ve form elemanlarının butonların altında kalmaması için */
.create-page-container .card-body form .form-check:last-of-type,
.create-page-container .card-body form .mb-3:last-of-type:not(.create-page-actions) {
    margin-bottom: 1.5rem;
}

.create-page-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border-top: 2px solid var(--border-color);
    flex-shrink: 0;
    background-color: var(--bg-secondary);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.create-page-actions .btn {
    min-width: 120px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.edit-page-actions .btn {
    min-width: 120px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

/* Responsive Edit Pages */
@media (max-width: 768px) {
    .edit-page-container,
    .create-page-container {
        margin: 0.5rem;
        max-height: calc(100vh - var(--navbar-height) - 1rem);
    }

    .edit-page-container .card-header h4,
    .create-page-container .card-header h4 {
        font-size: 1.1rem;
    }

    .edit-page-container .card-body,
    .create-page-container .card-body {
        padding: 1rem;
    }

    .edit-page-actions,
    .create-page-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .edit-page-actions .btn,
    .create-page-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Admin Edit User Page - Scroll Fix (Eski stil, geriye dönük uyumluluk için) */
.admin-edit-user-container {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--navbar-height) - 2rem);
    margin: 1rem;
}

.admin-edit-user-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    max-height: calc(100vh - var(--navbar-height) - 150px);
    padding: 1.5rem;
}

.admin-edit-user-body form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.admin-edit-user-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    background-color: var(--bg-secondary);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    /* Navbar adjustments */
    .navbar-container {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .navbar-brand {
        font-size: 1.1rem;
        margin-right: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .navbar-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .navbar-user {
        display: none;
    }

    .navbar-user.mobile-visible {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin: 0;
        padding: 1rem;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-user.mobile-visible .user-greeting {
        font-size: 0.9rem;
    }

    .navbar-user.mobile-visible .logout-btn {
        width: 100%;
        justify-content: center;
    }

    /* Content adjustments */
    .content-wrapper {
        padding: 1rem;
    }

    /* Cards */
    .card {
        margin-bottom: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Forms */
    .form-control,
    .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Tables */
    .table {
        font-size: 0.85rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
    }

    /* DataTables responsive */
    .dataTables_wrapper {
        overflow-x: auto;
    }

    /* Quick Sale adjustments */
    .quick-sale-container {
        padding: 0.5rem;
    }

    /* Quick Sale - Mobile için row yüksekliği kaldırıldı (scroll için) */
    .quick-sale-container .quick-sale-row {
        height: auto;
        min-height: auto;
    }

    /* Dashboard cards */
    .row .col-md-3,
    .row .col-md-4,
    .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    /* Mobilde tüm sayfalar için content-wrapper scrollbar'ı açık (tema scrollbar ile) */
    body:not(.dashboard-page):not(.landing-page) .content-wrapper {
        overflow-y: auto !important;
        overflow-x: auto !important;
        height: calc(100vh - var(--navbar-height)) !important;
        max-height: calc(100vh - var(--navbar-height)) !important;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Body scrollbar'ı mobilde kapalı */
    body:not(.dashboard-page):not(.landing-page) {
        overflow: hidden !important;
    }
    
    /* Extra small devices */
    .navbar-brand {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }

    .content-wrapper {
        padding: 0.75rem;
    }

    .card-body {
        padding: 0.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    /* Button groups */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

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

    /* Form rows */
    .row .col-md-3,
    .row .col-md-4,
    .row .col-md-6,
    .row .col-md-12 {
        margin-bottom: 0.75rem;
    }

    /* Tables - make scrollable */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 12px;
    }

    /* Nav tabs */
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 575.98px) {
    /* Very small devices */
    .navbar-container {
        padding: 0.4rem 0.75rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .content-wrapper {
        padding: 0.5rem;
    }

    .card {
        border-radius: 8px;
    }

    .card-body {
        padding: 0.5rem;
    }

    /* Hide some elements on very small screens */
    .license-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .license-status i {
        font-size: 0.8rem;
    }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn,
    .nav-link,
    .form-control,
    .form-select {
        min-height: 44px; /* Apple's recommended touch target size */
    }

    .btn-sm {
        min-height: 36px;
    }

    /* Increase tap targets */
    .table tbody tr {
        min-height: 44px;
    }

    /* Remove hover effects on touch */
    .btn:hover,
    .nav-link:hover {
        transform: none;
    }

    /* Better focus states for touch */
    .btn:focus,
    .nav-link:focus,
    .form-control:focus,
    .form-select:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 991.98px) and (orientation: landscape) {
    .navbar-container {
        padding: 0.4rem 1rem;
    }

    .content-wrapper {
        padding: 0.75rem;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .mobile-menu-sidebar {
        padding-top: max(1rem, env(safe-area-inset-top));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .content-wrapper {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Print Styles for Reports */
@media print {
    /* Ekranda görünmeyen ama PDF'de görünen elementler */
    .print-only {
        display: block !important;
    }

    /* PDF'de görünmeyen elementler */
    .no-print {
        display: none !important;
    }

    /* Navbar ve butonları gizle */
    .navbar,
    .nav-tabs,
    .btn,
    .form-check,
    .card-header button {
        display: none !important;
    }

    /* Rapor başlığı */
    h3 {
        page-break-after: avoid;
    }

    /* Tablolar için sayfa sonu kontrolü */
    .table {
        page-break-inside: avoid;
    }

    .table thead {
        display: table-header-group !important;
    }

    .table tfoot {
        display: table-footer-group !important;
    }

    /* Kartlar için sayfa sonu kontrolü */
    .card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }

    /* Rapor özeti */
    .alert {
        page-break-after: avoid;
        border: 1px solid #ddd;
    }
}

/* ============================================
   MOBİL SCROLL DÜZELTMESİ (En Alta Ekleyin)
   ============================================ */
@media (max-width: 991.98px) {
    /* Mobilde 100vh kısıtlamasını kaldır, sayfanın uzamasına izin ver */
    html, 
    body:not(.dashboard-page):not(.landing-page):not(.reports-page) {
        height: auto !important;
        overflow-y: auto !important; /* Scrollbar'ı geri getir */
        overflow-x: hidden !important;
    }

    /* İçerik kapsayıcısının da uzamasına izin ver */
    body:not(.dashboard-page):not(.landing-page):not(.reports-page) .content-wrapper {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: block !important;
    }
    
    /* Ana kapsayıcılar taşmaya izin vermeli */
    .app-container, 
    .main-content {
        height: auto !important;
        overflow: visible !important;
    }
}

/* ============================================
   HARDWARE STORE LANDING PAGE - Hırdavat Dükkanı Teması
   ============================================ */

/* Ana Container */
.landing-page.hardware-store {
    background: #f5f5f5;
    min-height: 100vh;
}

/* Navigation - Hırdavat Teması */
.hardware-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 2px solid rgba(74, 144, 226, 0.2);
}

.hardware-nav .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.hardware-nav .nav-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

.hardware-logo {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hardware-logo i {
    color: #ff6b35 !important;
    background: none !important;
    -webkit-text-fill-color: #ff6b35 !important;
    animation: none !important;
}

.hardware-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4) !important;
    border: none !important;
}

.hardware-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #FF6B35 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6) !important;
}

/* Hero Section - Endüstriyel Tasarım */
.hardware-hero {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 30%, #FF6B35 70%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hardware-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 30%, #FF6B35 70%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.hardware-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 107, 53, 0.03) 35px, rgba(255, 107, 53, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 107, 53, 0.03) 35px, rgba(255, 107, 53, 0.03) 70px);
    z-index: 1;
}

.hardware-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 50%);
    z-index: 2;
}

.hardware-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.hardware-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hardware-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.hardware-badge i {
    color: #FFD23F;
    font-size: 1.2rem;
    animation: none !important;
}

.hardware-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hardware-accent {
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 50%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: none;
}

.hardware-desc {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hardware-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hardware-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 100%);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

.hardware-primary-btn:hover {
    background: linear-gradient(135deg, #FFB347 0%, #FFD23F 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 210, 63, 0.7);
    color: #2c3e50;
}

.hardware-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hardware-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #ffffff;
}

.hardware-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.hardware-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 180px;
    transition: all 0.3s ease;
}

.hardware-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 210, 63, 0.4);
}

.hardware-stat-icon {
    font-size: 2.5rem;
    color: #FFD23F;
    margin-bottom: 1rem;
    animation: none !important;
}

.hardware-stat-icon i {
    animation: none !important;
    filter: drop-shadow(0 2px 8px rgba(255, 210, 63, 0.6));
}

.hardware-stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD23F 0%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hardware-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Features Section */
.hardware-features {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

.hardware-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.hardware-section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.hardware-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #FF6B35 100%);
    border-radius: 2px;
}

.hardware-section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1.5rem;
}

.hardware-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hardware-feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.hardware-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.25);
    border-color: #4A90E2;
}

.hardware-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    animation: none !important;
    transition: all 0.3s ease;
}

.hardware-feature-card:hover .hardware-feature-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.hardware-feature-icon i {
    animation: none !important;
}

.hardware-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50 0%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hardware-feature-card:hover h3 {
    transform: translateX(3px);
}

.hardware-feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.hardware-about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

.hardware-about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hardware-about-text {
    text-align: center;
}

.hardware-about-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.hardware-about-image-wrapper {
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.hardware-about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.3);
}

.hardware-about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hardware-feature-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.15);
    transition: all 0.3s ease;
}

.hardware-feature-card:hover .hardware-feature-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

.hardware-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hardware-about-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hardware-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50px;
    color: #4A90E2;
    font-weight: 600;
}

.hardware-highlight i {
    font-size: 1.2rem;
    animation: none !important;
}

/* Contact Section */
.hardware-contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 40%, #FF6B35 80%, #FFD23F 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
}

.hardware-contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin: 0 auto;
}

.hardware-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hardware-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hardware-contact-item:hover {
    transform: translateX(5px);
    background: rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.3);
}

.hardware-contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    animation: none !important;
    transition: all 0.3s ease;
}

.hardware-contact-item:hover .hardware-contact-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.hardware-contact-icon i {
    animation: none !important;
}

.hardware-contact-details {
    flex: 1;
}

.hardware-contact-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hardware-contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50 0%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.hardware-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4A90E2 100%);
    color: #ffffff;
    padding: 3rem 0 2rem;
}

.hardware-footer-content {
    text-align: center;
}

.hardware-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hardware-footer-logo i {
    background: linear-gradient(135deg, #FFD23F 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    animation: none !important;
}

.hardware-footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #FF6B35 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    animation: gradientShift 5s ease infinite;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.scroll-to-top[style*="display: flex"] {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
    background-position: 100% 0;
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    
    .hardware-title {
        font-size: 2.5rem;
    }
    
    .hardware-desc {
        font-size: 1.1rem;
    }
    
    .hardware-cta {
        flex-direction: column;
    }
    
    .hardware-primary-btn,
    .hardware-secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hardware-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hardware-stat {
        min-width: 100%;
    }
    
    .hardware-section-title {
        font-size: 2rem;
    }
    
    .hardware-features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .hardware-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .hardware-contact-info {
        grid-template-columns: 1fr;
    }
    
    .hardware-about-highlights {
        flex-direction: column;
        gap: 1rem;
    }
}
