/* AKUT Eğitim Portalı - Ana Stil Dosyası */

/* Genel */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand img {
    object-fit: contain;
}

.navbar .nav-link {
    font-size: 0.9rem;
    padding: 8px 10px !important;
}

.navbar-brand i {
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    min-height: 400px;
}

/* Cards */
.card {
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    border-bottom: none;
    font-weight: 600;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

/* Progress Bars */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.5s ease;
}

/* Question Cards (Test Pages) */
.question-card {
    background-color: #fff;
    transition: background-color 0.2s;
}

.question-card:hover {
    background-color: #f8f9fa;
}

/* List Groups */
.list-group-item {
    border-left: none;
    border-right: none;
    transition: background-color 0.2s, padding-left 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    padding-left: 20px;
}

.list-group-item.active {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff !important;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #dc3545;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

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

.card {
    animation: fadeIn 0.3s ease;
}

/* Deprem Haritası */
.deprem-haritasi iframe {
    min-height: 600px;
    border: none;
}

/* Training Cards */
.training-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2) !important;
}

.training-card:hover .card-title {
    color: #dc3545 !important;
}

/* News Cards */
.news-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    color: inherit;
    text-decoration: none;
}

.news-card:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.2) !important;
}

.news-card:hover .card-title {
    color: #dc3545 !important;
}

/* RTL Desteği */
[dir="rtl"] .bi-chevron-right::before {
    content: "\f284";
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 30px 0;
    }

    .hero-section .col-md-6:last-child {
        display: none;
    }

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

    .navbar .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px !important;
    }

    .deprem-haritasi iframe {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px !important;
    }

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

/* Sticky Sidebar */
.sticky-top {
    z-index: 1000;
}

/* Code Tags */
code {
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    color: #e83e8c;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}

/* Print Styles */
@media print {
    .navbar, footer, .btn, .list-group {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}
