/* DOSYA YERI: varliklar/css/stil.css */

/* Genel Stil Ayarları */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --turkuaz-color: #20b2aa;
    --turkuaz-dark: #008080;
    
    --border-radius: 8px;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles - Turkuaz Header */
.bg-primary {
    background: linear-gradient(135deg, var(--turkuaz-dark) 0%, var(--turkuaz-color) 100%) !important;
}

/* İstatistik Butonları Bölümü */
.stats-section {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(0, 128, 128, 0.1) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(32,178,170,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(0,128,128,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(32,178,170,0.08)"/><circle cx="10" cy="50" r="1" fill="rgba(0,128,128,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(32, 178, 170, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Stat Card Styles */
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(32, 178, 170, 0.2);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(32, 178, 170, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(32, 178, 170, 0.3);
    border-color: var(--turkuaz-color);
    background: rgba(255, 255, 255, 1);
}

.stat-card .stat-icon {
    font-size: 3rem;
    color: var(--turkuaz-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    color: var(--turkuaz-dark);
    transform: scale(1.2) rotate(5deg);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--turkuaz-dark);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--turkuaz-color);
    text-shadow: 0 2px 4px rgba(32, 178, 170, 0.3);
}

.stat-card .stat-text {
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-text {
    color: var(--turkuaz-dark);
    transform: translateY(-2px);
}

/* Pulse Animation for Stats */
@keyframes pulse-turkuaz {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(32, 178, 170, 0.2);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(32, 178, 170, 0.4);
    }
}

.stat-card:nth-child(2n) {
    animation: pulse-turkuaz 4s ease-in-out infinite;
}

/* Responsive için stat cards */
@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 20px;
        padding: 30px 15px;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .stat-card .stat-icon {
        font-size: 2.5rem;
    }
}

/* Header Styles */
.navbar-brand {
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

/* Banner Styles */
.banner-slider .carousel-item {
    position: relative;
}

.banner-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.banner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.card:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    font-weight: 600;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-card i {
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #146c43 100%);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #e6ac00 100%);
    color: var(--dark-color);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b02a37 100%);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #0aa2c0 100%);
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Table Styles */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table th {
    background-color: var(--light-color);
    font-weight: 600;
    border: none;
}

.table td {
    border-color: #e9ecef;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Badge Styles */
.badge {
    font-size: 0.8em;
    font-weight: 500;
    padding: 0.5em 0.8em;
    border-radius: var(--border-radius);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-primary {
    border-left-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.alert-success {
    border-left-color: var(--success-color);
    background-color: rgba(25, 135, 84, 0.1);
}

.alert-warning {
    border-left-color: var(--warning-color);
    background-color: rgba(255, 193, 7, 0.1);
}

.alert-danger {
    border-left-color: var(--danger-color);
    background-color: rgba(220, 53, 69, 0.1);
}

.alert-info {
    border-left-color: var(--info-color);
    background-color: rgba(13, 202, 240, 0.1);
}

/* Progress Bar */
.progress {
    height: 1rem;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
}

.progress-bar {
    border-radius: var(--border-radius);
    transition: width 0.6s ease;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1d20 100%);
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p, footer li {
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Gallery Styles */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item img {
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.filter-btn {
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.05);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #343a40;
        --dark-color: #f8f9fa;
    }
    
    body {
        background-color: #1a1d20;
        color: var(--dark-color);
    }
    
    .bg-light {
        background-color: var(--light-color) !important;
    }
    
    .card {
        background-color: #2d3748;
        color: var(--dark-color);
    }
    
    .table {
        color: var(--dark-color);
    }
    
    .table th {
        background-color: #374151;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .modal,
    footer {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .text-primary,
    .text-success,
    .text-danger,
    .text-warning,
    .text-info {
        color: #000 !important;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.box-shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.box-shadow {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.border-radius {
    border-radius: var(--border-radius);
}

.border-radius-lg {
    border-radius: calc(var(--border-radius) * 2);
}

.transition {
    transition: all 0.3s ease;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}