/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6600;
    --success-color: #28a745;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.header-buttons .btn {
    margin-left: 10px;
    font-weight: 600;
    padding: 8px 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0.3;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-primary {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Filter Button Group Styles */
.btn-group {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-group .btn {
    border-radius: 0;
    border: 1px solid #e5e7eb;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
    color: #6b7280;
}

.btn-group .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.btn-group .btn:not(:last-child) {
    border-right: none;
}

.btn-group .btn:hover {
    background: #f8f9fa;
    color: #374151;
    z-index: 1;
    position: relative;
}

.btn-group .btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.btn-group .btn-primary:hover {
    background: #0052a3;
    color: white;
    border-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-group .btn-outline-primary {
    background: white;
    color: #6b7280;
    border-color: #e5e7eb;
}

.btn-group .btn-outline-primary:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .btn-group .btn {
        flex: 1;
        min-width: 100px;
        border-radius: 8px !important;
        border: 1px solid #e5e7eb !important;
    }
    
    .btn-group .btn:not(:last-child) {
        border-right: 1px solid #e5e7eb !important;
    }
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
}

.hero-placeholder {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    display: block;
}

.hero-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Course Categories */
.course-categories {
    padding: 80px 0;
    background: var(--light-color);
}

.category-card {
    background: var(--white);
    padding: 60px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-orange {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: var(--white);
}

.category-blue {
    background: linear-gradient(135deg, #0066cc 0%, #3385ff 100%);
    color: var(--white);
}

.category-green {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: var(--white);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--white);
}

.section-divider {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background: #ddd;
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: inline-block;
    background: var(--white);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Expert Teachers */
.expert-teachers {
    padding: 80px 0;
    background: var(--light-color);
}

.teacher-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #ddd;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-card h4 {
    padding: 20px 0 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.teacher-card p {
    color: var(--primary-color);
    font-weight: 500;
    padding-bottom: 20px;
}

/* Payment & Announcements */
.payment-announcements {
    padding: 80px 0;
    background: var(--white);
}

.payment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.payment-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.payment-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.payment-logo {
    background: var(--white);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.payment-logo.visa {
    background: #1a1f71;
    color: var(--white);
}

.payment-logo.mastercard {
    background: #eb001b;
    color: var(--white);
}

.badge-installment {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.payment-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.announcements-card,
.student-panel-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.announcements-card h3,
.student-panel-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
}

.announcements-list {
    list-style: none;
    padding: 0;
}

.announcements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.announcements-list li:last-child {
    border-bottom: none;
}

.announcements-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.panel-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
}

.panel-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.panel-feature span {
    font-weight: 500;
}

/* Footer */
.main-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.main-footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.main-footer p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.main-footer i {
    margin-right: 10px;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Placeholder görseller için */
.teacher-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.hero-image img,
.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-img {
    width: 100%;
    object-fit: cover;
}

/* Auth Sayfaları Stilleri */
.auth-container {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.role-selector {
    display: flex;
    gap: 15px;
}

.role-selector input[type="radio"] {
    display: none;
}

.role-option {
    flex: 1;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.role-option i {
    font-size: 2rem;
    color: var(--primary-color);
}

.role-option:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.role-selector input[type="radio"]:checked + .role-option {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Stilleri */
.dashboard-container {
    padding: 24px 0;
    min-height: calc(100vh - 200px);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

.dashboard-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.dashboard-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Modern Table Styles */
.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.table {
    margin-bottom: 0;
    background: white;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
    width: 100%;
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f3f5;
}

.table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.table thead th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f5;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    color: #495057;
    font-size: 0.9rem;
    border: none;
}

.table tbody td strong {
    color: #212529;
    font-weight: 600;
}

.table tbody td small {
    color: #6c757d;
    font-size: 0.8rem;
}

.table tbody td i {
    color: #6c757d;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.table .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.table .btn {
    padding: 6px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.table .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Card improvements */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 2px solid #e9ecef;
    padding: 20px 24px;
}

.card-header h3,
.card-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

.card-header h3 i,
.card-header h5 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.card-body {
    padding: 24px;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .category-card {
        padding: 40px 20px;
    }
    
    .payment-card,
    .announcements-card,
    .student-panel-card {
        margin-bottom: 30px;
    }
    
    .section-divider::before,
    .section-divider::after {
        width: 20%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-divider::before,
    .section-divider::after {
        display: none;
    }
}

