/* Modern değişkenler */
:root {
    --primary-color: #696cff;
    --secondary-color: #8592a3;
    --success-color: #71dd37;
    --info-color: #03c3ec;
    --warning-color: #ffab00;
    --danger-color: #ff3e1d;
    --dark-color: #233446;
    --light-color: #f5f5f9;
    --border-radius: 0.375rem;
    --transition: all 0.2s ease-in-out;
}

/* Genel stiller */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Yardımcı sınıflar */
.cursor-pointer {
    cursor: pointer;
}

.bg-white.bg-opacity-15 {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Kartlar */
.card {
    border: none;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
    transition: var(--transition);
}

.card.border {
    border: 1px solid #dbdade !important;
}

/* Avatar stilleri */
.avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar.avatar-md {
    width: 56px;
    height: 56px;
}

.avatar.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar.avatar-xs {
    width: 24px;
    height: 24px;
}

.avatar-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Metin renkleri */
.text-light {
    color: #e9ecef !important;
}

/* Düğme animasyonları */
.btn {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.btn::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.btn:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* Özel animasyonlar */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

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

.slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* Swiper özelleştirmeleri */
.swiper-pagination-bullet {
    background-color: var(--primary-color) !important;
}

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

/* Uzman kartları */
.specialist-card {
    position: relative;
    overflow: hidden;
}

.specialist-card .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

/* Blog kartları */
.blog-card {
    transition: var(--transition);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* İstatistik kartları */
.stats-card {
    border-radius: var(--border-radius);
    background: linear-gradient(to right, var(--primary-color), darken(var(--primary-color), 10%));
    color: white;
}

/* Accordion özelleştirmeleri */
.accordion-button:not(.collapsed) {
    background-color: rgba(105, 108, 255, 0.08);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(105, 108, 255, 0.5);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn-group {
        justify-content: center;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
}

/* Hover efektlerini kaldır */
.card,
.btn,
.nav-link,
.avatar,
.badge {
    transition: none !important;
    transform: none !important;
}

.card:hover,
.btn:hover,
.nav-link:hover,
.avatar:hover,
.badge:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Sadece butonlarda hafif bir hover efekti kalsın */
.btn:hover {
    opacity: 0.9;
}

/* Özel efektler */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-shadow {
    transition: var(--transition);
}

.hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Gradient arka planlar */
.bg-gradient-primary {
    background: linear-gradient(45deg, var(--primary-color), #8a8dff);
}

.bg-gradient-info {
    background: linear-gradient(45deg, var(--info-color), #47e6ff);
}

/* Loading animasyonları */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Material Design ikonları için özelleştirmeler */
.mdi {
    line-height: 1;
    vertical-align: middle;
}

/* Badge özelleştirmeleri */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 50rem;
}

/* Tooltip özelleştirmeleri */
.tooltip {
    font-size: 0.875rem;
}

/* Modal özelleştirmeleri */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 16px rgba(67, 89, 113, 0.45);
}

/* Progress bar özelleştirmeleri */
.progress {
    height: 0.75rem;
    border-radius: var(--border-radius);
    background-color: rgba(67, 89, 113, 0.1);
}

.progress-bar {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9597ff 100%);
    opacity: 0.95;
    z-index: -1;
}

.hero-section .badge {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.hero-section .floating-card {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.hero-section .progress {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 10px;
}

.hero-section .progress-bar {
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

/* Hero Butonları */
.hero-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.hero-btn i {
    font-size: 1.2rem;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

/* Responsive düzenlemeler */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0;
    }
    
    .hero-section .floating-card {
        position: static !important;
        margin: 1rem auto;
        width: 100% !important;
        max-width: 300px;
    }
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-primary-rgb), 0.05) 100%);
}

.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
    max-height: 600px;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    z-index: 2;
    animation: float 5s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.avatar-sm {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-sm img,
.avatar-sm .avatar-initial {
    width: 2.5rem;
    height: 2.5rem;
}

/* Doktor Kartları */
.doctor-card {
    transition: all 0.3s ease;
    border: none;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.15);
}

.doctor-card .avatar-xl {
    width: 100px;
    height: 100px;
}

.doctor-card .avatar-xl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
}

.doctor-card .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border-radius: 50px;
    font-weight: 500;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.doctor-card .btn-sm i {
    font-size: 1rem;
    margin: 0;
}

.doctor-card .mdi {
    font-size: 1.1rem;
}

.doctor-card .text-primary {
    color: #6366f1 !important;
}

.doctor-card .fw-semibold {
    font-weight: 600;
}

.doctor-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.doctor-card small {
    font-size: 0.875rem;
}

.doctor-card .text-muted {
    color: #6b7280 !important;
}

.doctor-card .mdi-map-marker-outline,
.doctor-card .mdi-clock-outline {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.doctor-card .mb-2 {
    margin-bottom: 0.75rem !important;
}

.doctor-card .card-body {
    padding: 1.5rem;
}

.doctor-card .text-warning .mdi-star,
.doctor-card .text-warning .mdi-star-half {
    font-size: 1.1rem;
    margin-right: -1px;
}

.doctor-card .price-info small {
    font-size: 0.75rem;
}

.doctor-card .mdi-calendar-clock {
    font-size: 1.75rem;
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Filtreler */
.form-floating .form-control,
.form-floating .form-select {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating label {
    padding: 1rem;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Yıldız Derecelendirmesi */
.text-warning .mdi-star,
.text-warning .mdi-star-half {
    color: #ffc107;
    font-size: 1.1rem;
    margin: -1px;
}

/* Başvuru Süreci Kartları */
.process-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.1);
    border-color: var(--primary-color);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card:hover::before {
    opacity: 1;
}

.process-number {
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.process-card:hover .process-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

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

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.process-text {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-arrow {
    position: absolute;
    top: 2rem;
    right: -2rem;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    transform: rotate(-30deg);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .process-arrow {
        display: none;
    }
}

/* SSS Bölümü */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--dark);
    font-weight: 500;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active {
    background: rgba(var(--primary-color-rgb), 0.02);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.1);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Form Validasyonu */
.was-validated .form-select:invalid:not([multiple]):not([size]),
.was-validated .form-select:invalid:not([multiple])[size="1"],
.form-select.is-invalid:not([multiple]):not([size]),
.form-select.is-invalid:not([multiple])[size="1"] {
    padding-right: calc(3em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-position: right 0.75rem center, center right 2.25rem;
    background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Hero Pattern ve Gradient */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-color: #f8fafc;
}

.text-gradient {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hero İstatistikleri */
.stat-item {
    padding: 1rem;
    text-align: center;
}

.stat-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    align-self: stretch;
}

/* Floating Stats */
.floating-stat {
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-stat:nth-child(2) {
    animation-delay: 1.5s;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arama ve Filtreler */
.search-filters {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1.25rem;
}

.search-input,
.form-select {
    height: 3.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-input {
    padding-left: 3rem;
}

.form-select {
    padding-left: 1rem;
    background-position: right 1rem center;
}

.search-input:focus,
.form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image {
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .search-filters {
        margin-top: 0;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .floating-stat {
        display: none;
    }
}