/* ===== GENEL STILLER ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-color: #1a252f;
    --light-gray: #ecf0f1;
    --medium-gray: #95a5a6;
    --text-color: #2c3e50;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes ripple {
    0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; }
    100% { top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0; }
}

/* ===== HEADER STILLER ===== */
header .navbar {
    background: var(--gradient-primary) !important;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
}

header .navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
}

header .navbar-brand:hover {
    color: #f8f9fa !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== CONTAINER VE LAYOUT ===== */
.album {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== BREADCRUMB ===== */
.site-breadcrumb {
    background: var(--gradient-primary);
    padding: 4rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.site-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.site-breadcrumb .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-menu li {
    position: relative;
}

.breadcrumb-menu li:not(:last-child)::after {
    content: '/';
    margin-left: 1rem;
    opacity: 0.7;
}

.breadcrumb-menu a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.breadcrumb-menu a:hover {
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.breadcrumb-menu .active {
    opacity: 1;
    font-weight: 600;
}

/* ===== SITE HEADING ===== */
.site-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* ===== CARD STILLER ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow: hidden;
    background: white;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card-img-top {
    position: relative;
    overflow: hidden;

}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-text {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== BUTTON STILLER ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: var(--transition);
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid var(--medium-gray);
    color: var(--medium-gray);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--medium-gray);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--gradient-success);
    border: none;
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== BADGE STILLER ===== */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.75rem;
}

.bg-primary {
    background: var(--light-gray) !important;
}

.bg-secondary {
    background: var(--medium-gray) !important;
}

/* ===== İSTATİSTİK KUTUSU ===== */
.bg-light {
    background: white !important;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.bg-light .row > div {
    position: relative;
}

.bg-light .row > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e9ecef;
}

.bg-light i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.bg-light h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
}

/* ===== SIDEBAR STILLER ===== */
.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.list-group-item {
    border: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
}

.list-group-item.active {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    margin: 0.25rem 0;
}

/* ===== CONTENT NAVIGATION ===== */
.content-navigation .btn {
    min-height: 80px;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

.content-navigation .btn.text-end {
    align-items: flex-end;
}

/* ===== SOSYAL MEDYA BUTONLARI ===== */
.btn[href*="facebook"] {
    background: #3b5998;
    color: white;
}

.btn[href*="twitter"] {
    background: #1da1f2;
    color: white;
}

.btn[href*="whatsapp"] {
    background: #25d366;
    color: white;
}

/* ===== ALT İÇERİK BULUNAMADI ===== */
.text-center.py-5 i {
    color: var(--light-gray) !important;
    font-size: 4rem;
    margin-bottom: 2rem;
}

/* ===== ALERT STILLER ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
}

.alert-info {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    
    .breadcrumb-title {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .site-breadcrumb {
        padding: 2rem 0 1rem;
    }
    
    .bg-light .row > div:not(:last-child)::after {
        display: none;
    }
    
    .content-navigation .btn {
        min-height: auto;
        text-align: center;
        align-items: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .breadcrumb-title {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===== ANIMASYONLAR ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.wow.fadeInDown {
    animation: fadeInDown 0.8s ease-out;
}

/* ===== WHATSAPP SUPPORT ===== */
.whatsapp_chat_support {
    z-index: 1000;
}

.wcs_button {
    background: var(--gradient-success) !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
}

.wcs_popup {
    border-radius: var(--border-radius) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

/* ===== FORM STILLER ===== */
.error-message {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.is-invalid {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== GEÇİŞ EFEKTLERİ ===== */
.page-transition {
    transition: opacity 0.3s ease-in-out;
}

/* ===== LOADING STATE ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== SEO VE PERFORMANCE ===== */
img {
    max-width: 100%;
    height: auto;
}

.lazyload {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazyloaded {
    opacity: 1;
}