:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --ios-blue: #007AFF;
    --ios-green: #34C759;
    --ios-red: #FF3B30;
    --ios-gray: #8E8E93;
    --ios-dark: #1C1C1E;
    --ios-light: #F2F2F7;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    padding-top: 80px; /* Fixed header için boşluk */
}

/* Glass Morphism Base */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* iOS Icons */
.ios-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ios-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.icon-blue { background: linear-gradient(135deg, #007AFF, #5856D6); }
.icon-green { background: linear-gradient(135deg, #34C759, #30D158); }
.icon-red { background: linear-gradient(135deg, #FF3B30, #FF6B6B); }
.icon-orange { background: linear-gradient(135deg, #FF9500, #FF6B00); }
.icon-purple { background: linear-gradient(135deg, #AF52DE, #BF5AF2); }
.icon-teal { background: linear-gradient(135deg, #5AC8FA, #64D2FF); }

/* Header Glass - DÜZELTİLDİ */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.glass-header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Navigation */
.nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--ios-blue);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Başkan Kartı */
.baskan-kart {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.baskan-kart::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.baskan-kart:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.baskan-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Haber Slider - DÜZELTİLDİ */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 400px;
    height: 400px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    pointer-events: all;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-numara {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--ios-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,122,255,0.4);
    z-index: 10;
}

/* Slider Kontroller */
.slider-container .btn {
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-container .btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1);
}

/* Animasyonlu Kartlar - DÜZELTİLDİ */
.anim-kart {
    transform: translateY(0);
    opacity: 1;
    animation: slideUp 0.6s ease forwards;
}

.anim-kart:nth-child(1) { animation-delay: 0.1s; }
.anim-kart:nth-child(2) { animation-delay: 0.2s; }
.anim-kart:nth-child(3) { animation-delay: 0.3s; }
.anim-kart:nth-child(4) { animation-delay: 0.4s; }

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

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

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

/* Taziye Kartı */
.taziye-kart {
    border-left: 4px solid var(--ios-red);
    position: relative;
    overflow: hidden;
}

.taziye-kart::after {
    content: '﷽';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    opacity: 0.05;
    color: #fff;
    pointer-events: none;
}

/* Yönetim Kurulu */
.yonetim-kart {
    text-align: center;
    transition: all 0.3s ease;
}

.yonetim-kart:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.yonetim-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-1) border-box;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Üye İşlemleri Grid */
.islem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.islem-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.islem-item:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer Glass */
.glass-footer {
    margin-top: 100px;
    padding: 60px 0 30px;
    position: relative;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Utility Classes */
.object-fit-cover {
    object-fit: cover;
}

.text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

/* Mobil Uyum - DÜZENLENDİ */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .ios-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .baskan-img {
        width: 100px;
        height: 100px;
    }
    
    .slider-container {
        min-height: 300px;
        height: 300px;
    }
    
    .slider-numara {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 10px;
        left: 10px;
    }
    
    .islem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .yonetim-img {
        width: 80px;
        height: 80px;
    }
    
    .glass-header {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .slider-container {
        min-height: 250px;
        height: 250px;
    }
    
    .islem-grid {
        grid-template-columns: 1fr;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .float-anim {
        animation: none;
    }
}

/* Loading Animation */
.loading-shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Parallax Effect */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 40%);
    animation: parallaxMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes parallaxMove {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, -30px); }
    66% { transform: translate(30px, -20px); }
}

/* Bootstrap benzeri yardımcı sınıflar */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-static { position: static; }

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.start-0 { left: 0; }
.end-0 { right: 0; }

.translate-middle-x { transform: translateX(-50%); }
.translate-middle-y { transform: translateY(-50%); }
.translate-middle { transform: translate(-50%, -50%); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }
.d-inline-block { display: inline-block; }

.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }

.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.rounded-circle { border-radius: 50%; }
.rounded-pill { border-radius: 50rem; }

.text-center { text-align: center; }
.text-decoration-none { text-decoration: none; }
.text-white { color: #fff; }

.fw-bold { font-weight: 700; }
.fs-5 { font-size: 1.25rem; }
.small { font-size: 0.875rem; }
.display-6 { font-size: 2.5rem; font-weight: 300; line-height: 1.2; }

.border-top { border-top: 1px solid rgba(255,255,255,0.1); }
.border-secondary { border-color: rgba(255,255,255,0.2) !important; }

.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; }
.list-group-flush > .list-group-item { border-width: 0 0 1px; }
.list-group-item { position: relative; display: block; padding: 0.5rem 1rem; text-decoration: none; background-color: transparent; border: 1px solid rgba(255,255,255,0.1); }

.badge { display: inline-block; padding: 0.35em 0.65em; font-size: 0.75em; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.375rem; }
.bg-primary { background-color: var(--ios-blue) !important; }
.bg-success { background-color: var(--ios-green) !important; }
.bg-danger { background-color: var(--ios-red) !important; }
.bg-warning { background-color: #FF9500 !important; }
.bg-info { background-color: #5AC8FA !important; }
.bg-secondary { background-color: var(--ios-gray) !important; }
.bg-dark { background-color: rgba(0,0,0,0.5) !important; }

.btn { display: inline-block; font-weight: 400; line-height: 1.5; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; user-select: none; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.375rem; transition: all 0.15s ease-in-out; }
.btn-primary { color: #fff; background: var(--gradient-1); border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.3); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-light { color: #000; background-color: #f8f9fa; border-color: #f8f9fa; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem; }
.btn-lg { padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; }

.progress { display: flex; height: 1rem; overflow: hidden; font-size: 0.75rem; background-color: rgba(255,255,255,0.1); border-radius: 0.375rem; }
.progress-bar { display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; text-align: center; white-space: nowrap; background-color: var(--ios-blue); transition: width 0.6s ease; }

.container { width: 100%; padding-right: var(--bs-gutter-x, 0.75rem); padding-left: var(--bs-gutter-x, 0.75rem); margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row { display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-0.5 * var(--bs-gutter-x)); margin-left: calc(-0.5 * var(--bs-gutter-x)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5); margin-top: var(--bs-gutter-y); }

.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }

.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .d-md-block { display: block !important; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
    .mb-lg-0 { margin-bottom: 0 !important; }
}