/* Genel Stiller */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    overflow-x: hidden;
    background-color: var(--dark-color);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

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

/* Navbar */
.navbar {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.2s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Dropdown Stilleri */
.dropdown-menu {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Profil Dropdown */
.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.nav-item.dropdown .nav-link img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-item.dropdown .nav-link i.fa-user-circle {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    opacity: 0.8;
}

/* Bildirim Dropdown */
.notification-dropdown .nav-link {
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
    position: relative;
}

.notification-dropdown .nav-link:hover {
    color: #fff;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-width: 1.5rem;
}

.notification-dropdown .dropdown-menu {
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    margin-top: 0.5rem;
    background-color: #1a1a1a;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.notification-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h6 {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background-color: rgba(99, 102, 241, 0.1);
}

.notification-item .notification-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.notification-item .notification-time {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.notification-footer {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-footer a {
    color: #6366f1;
    font-weight: 500;
}

.notification-footer a:hover {
    color: #4f46e5;
    text-decoration: underline !important;
}

/* Bildirim İkonları */
.notification-icon i {
    font-size: 1.25rem;
}

.notification-icon .text-success {
    color: #10b981 !important;
}

.notification-icon .text-warning {
    color: #f59e0b !important;
}

.notification-icon .text-danger {
    color: #ef4444 !important;
}

.notification-icon .text-info {
    color: #3b82f6 !important;
}

/* Okundu İşaretle Butonu */
.mark-read {
    padding: 0.25rem 0.5rem;
    color: #6366f1;
    transition: all 0.2s;
}

.mark-read:hover {
    color: #4f46e5;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 0.25rem;
}

/* Mobil Görünüm */
@media (max-width: 576px) {
    .notification-dropdown .dropdown-menu {
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0;
        border-radius: 0;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item.dropdown {
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
        margin-top: 0.5rem;
        position: static !important;
        transform: none !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(45deg, 
        rgba(29, 29, 39, 0.95), 
        rgba(25, 25, 66, 0.95),
        rgba(28, 28, 99, 0.95)
    );
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(78, 84, 200, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(143, 148, 251, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(78, 84, 200, 0.1) 0%, transparent 50%);
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
    mix-blend-mode: screen;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.hero-section .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.hero-buttons {
    position: relative;
    z-index: 3;
}

.btn-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--light-color);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: all 0.5s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient span {
    position: relative;
    z-index: 2;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--light-color);
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* İstatistikler */
.stats {
    background: var(--dark-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-item i {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--light-color);
    opacity: 0.8;
    margin-bottom: 0;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Kartlar */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: white;
}

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

.card-badges {
    margin-bottom: 1rem;
}

.card-badges .badge {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.card-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    color: #6c757d;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Swiper */
.featured-swiper {
    padding: 2rem 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Özellikler */
.features {
    background: #f8f9fa;
}

.feature-item {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Footer */
.footer-dark {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-dark h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-dark h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient);
}

.footer-dark ul li {
    margin-bottom: 0.8rem;
}

.footer-dark a {
    color: #a8a8a8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-dark a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.newsletter .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px;
}

.newsletter input {
    background: transparent;
    border: none;
    color: var(--light-color);
}

.newsletter input::placeholder {
    color: #a8a8a8;
}

.newsletter .btn {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .stat-item,
    .feature-item {
        margin-bottom: 1.5rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
}

/* Animasyonlar */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.input-group .btn-outline-secondary {
    border-color: #ced4da;
    color: #6c757d;
}

.input-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.input-group .btn-outline-secondary:focus {
    box-shadow: none;
}

.input-group .form-control:focus {
    z-index: 1;
}

.input-group .btn-outline-secondary i {
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Şifre gösterme/gizleme butonu için özel stil */
.input-group .btn-outline-secondary {
    padding: 0.375rem 0.75rem;
    border-left: none;
}

.input-group .btn-outline-secondary:hover {
    border-left: none;
}

.input-group .form-control {
    border-right: none;
}

.input-group .form-control:focus + .btn-outline-secondary {
    border-color: #86b7fe;
} 