:root {
    --bg-gradient: linear-gradient(135deg, #f4e8d9 0%, #d7c4a8 50%, #b89e7e 100%);
    --card-bg: #f4e8d9;
    --text-primary: #4a3c31;
    --text-secondary: #6b5a4a;
    --accent: #8b7355;
    --accent-hover: #a68a64;
    --shadow-light: rgba(184, 158, 126, 0.2);
    --modal-bg: linear-gradient(135deg, #f4e8d9 0%, #e0d0b8 100%);
    --header-bg: rgba(244, 232, 217, 0.95);
    --f4e8d9: #f4e8d9;
}

[data-theme="dark"] {
    --bg-gradient: linear-gradient(135deg, #2c1810 0%, #4a3c31 50%, #6b5a4a 100%);
    --card-bg: #4a3c31;
    --text-primary: #f4e8d9;
    --text-secondary: #d7c4a8;
    --accent: #a68a64;
    --accent-hover: #8b7355;
    --shadow-light: rgba(139, 115, 85, 0.2);
    --modal-bg: linear-gradient(135deg, #4a3c31 0%, #6b5a4a 100%);
    --header-bg: rgba(74, 60, 49, 0.95);
    --f4e8d9: #f4e8d9;
}

body {
    font-family: 'Cinzel', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-gradient);
    overflow-x: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Parçacık Efekti */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Sayfa İlerleme Çubuğu */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(139, 115, 85, 0.3);
    z-index: 1001;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    width: 0%;
    transition: width 0.3s ease;
}

/* Sayfa İçerikleri */
.page-section {
    display: none;
    min-height: 100vh;
    padding: 5rem 0;
}

.page-section.active {
    display: block;
}

/* PDF Viewer Section - Mitolojik Tema */
.pdf-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.pdf-header {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(166, 138, 100, 0.1) 100%);
    border: 2px solid var(--accent);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.pdf-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pdf-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.pdf-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #f4e8d9;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(139, 115, 85, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(139, 115, 85, 0.6); }
}

.pdf-header-text {
    flex: 1;
    text-align: left;
}

.pdf-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Cinzel', serif;
}

.pdf-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.pdf-wrapper {
    background: var(--card-bg);
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.pdf-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

.pdf-container {
    position: relative;
    width: 100%;
    height: 75vh;
    background: #fff;
    border-radius: 15px;
    box-shadow: 
        0 20px 60px rgba(139, 115, 85, 0.3),
        inset 0 0 50px rgba(139, 115, 85, 0.05);
    overflow: auto;
    overflow-x: hidden;
    transition: none;
    border: 3px solid rgba(139, 115, 85, 0.2);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pdf-container::before {
    content: '📜';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 3;
    filter: drop-shadow(0 5px 10px rgba(139, 115, 85, 0.3));
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#pdfCanvas {
    display: block;
    margin: 0 auto;
    background: white;
    max-width: 100%;
    height: auto;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(139, 115, 85, 0.05) 0%,
        transparent 10%,
        transparent 90%,
        rgba(139, 115, 85, 0.05) 100%
    );
    z-index: 1;
}

.pdf-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(166, 138, 100, 0.15) 100%);
    border: 2px solid var(--accent);
    border-top: none;
    border-bottom: 1px solid var(--accent);
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.pdf-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.pdf-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.pdf-nav-btn:hover::before {
    left: 100%;
}

.pdf-nav-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.pdf-nav-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.pdf-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pdf-nav-btn i {
    font-size: 1rem;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: rgba(139, 115, 85, 0.15);
    border: 2px solid var(--accent);
    border-radius: 25px;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
    justify-content: center;
}

.page-info span:first-child {
    color: var(--accent);
    font-weight: 800;
}

.page-separator {
    color: rgba(139, 115, 85, 0.6);
    margin: 0 0.2rem;
}

.page-info span:last-child {
    color: rgba(139, 115, 85, 0.8);
}

.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(166, 138, 100, 0.1) 100%);
    border: 2px solid var(--accent);
    border-top: none;
    border-radius: 0 0 20px 20px;
    flex-wrap: wrap;
}

.pdf-controls-divider {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    margin: 0 0.5rem;
}

.zoom-level {
    min-width: 60px;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid var(--accent);
    border-radius: 25px;
    color: var(--accent);
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.pdf-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: italic;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.pdf-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.pdf-btn:hover::before {
    left: 100%;
}

.pdf-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.pdf-btn:active {
    transform: translateY(0) scale(0.98);
}

.pdf-btn-icon {
    font-size: 1rem;
}

.pdf-btn-icon i {
    font-size: 1.1rem;
}

.pdf-btn-primary {
    background: linear-gradient(45deg, #8b7355 0%, #a68a64 100%);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.4);
}

.pdf-btn-secondary {
    background: linear-gradient(45deg, rgba(139, 115, 85, 0.8) 0%, rgba(166, 138, 100, 0.8) 100%);
}

.pdf-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 60, 49, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--modal-bg);
    border-radius: 20px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(139, 115, 85, 0.4);
    border: 1px solid rgba(184, 158, 126, 0.3);
    position: relative;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-hover);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.modal-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

/* Hazırlayanlar Modal Stili (Önceki modal ile aynı, ekstra stil gerekmez) */

/* Arama Çubuğu */
.search-container {
    position: relative;
    margin-left: auto;
}

.mobile-only {
    display: none;
}

.desktop-search {
    display: block;
}

.mobile-search-container {
    display: none;
}

@media (min-width: 769px) {
    .mobile-search-container {
        display: none !important;
    }
    
    .desktop-search {
        display: block !important;
    }
}

.search-input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--accent);
    border-radius: 25px;
    background: rgba(244, 232, 217, 0.8);
    color: var(--text-primary);
    font-style: italic;
    transition: all 0.3s ease;
    width: 200px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(139, 115, 85, 0.3);
    width: 250px;
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1rem;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1002;
}

.search-result-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(184, 158, 126, 0.1);
}

.search-result-item:hover {
    background: var(--accent);
    color: #f4e8d9;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--accent);
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(180deg);
    color: var(--accent-hover);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid var(--accent);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 50px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(139, 115, 85, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    font-style: italic;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Sayfa Kontrolü */
.page-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, rgba(139, 115, 85, 0.1) 0%, rgba(166, 138, 100, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(184, 158, 126, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
}

.page-info {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.page-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--header-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 1;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    min-width: 150px;
    padding: 1rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.page-control:hover .page-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.page-btn {
    display: block;
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    font-style: italic;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    transform: translateX(5px);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1517423440428-fc2d4a3e15e9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center/cover;
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 0 20px rgba(139, 115, 85, 0.1));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 60, 49, 0.5);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #f4e8d9;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #f4e8d9 0%, #e0d0b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(244, 232, 217, 0.5);
    filter: drop-shadow(0 0 10px rgba(139, 115, 85, 0.3));
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.4);
    background: linear-gradient(45deg, var(--accent-hover) 0%, var(--accent) 100%);
}

/* Ana İçerik */
.main-content {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: rgba(139, 115, 85, 0.1);
    padding: 0.3rem;
    border-radius: 10px;
}

.view-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.view-btn:hover {
    background: rgba(139, 115, 85, 0.2);
    color: var(--accent);
}

.view-btn.active {
    background: var(--accent);
    color: #f4e8d9;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.3);
}

.articles-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 400px;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: var(--accent);
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--accent-hover);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--accent);
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.spinner-ring:nth-child(4) {
    animation-delay: 0s;
    border-top-color: var(--accent-hover);
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
}

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

.loading-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Sayfa Yükleme Overlay */
#pageLoadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 60, 49, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.page-loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.page-loading-spinner .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.page-loading-spinner .spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: var(--accent);
}

.page-loading-spinner .spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--accent-hover);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.page-loading-spinner .spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--accent);
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.page-loading-spinner .spinner-ring:nth-child(4) {
    animation-delay: 0s;
    border-top-color: var(--accent-hover);
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
}

.page-loading-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.articles-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.articles-grid.list-view .article-card {
    display: flex;
    flex-direction: row;
    max-height: 200px;
    overflow: hidden;
}

.articles-grid.list-view .article-card-link {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.articles-grid.list-view .article-image {
    width: 300px;
    min-width: 300px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.articles-grid.list-view .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-grid.list-view .article-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-width: 0;
}

.articles-grid.list-view .article-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: bold;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articles-grid.list-view .article-excerpt {
    flex: 1;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.articles-grid.list-view .read-more {
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
    margin-top: auto;
}

.article-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(215, 196, 168, 0.5);
    cursor: pointer;
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.article-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Grid görünümünde normal düzen */
.articles-grid:not(.list-view) .article-card-link {
    display: block;
}

/* Liste görünümünde flex düzen */
.articles-grid.list-view .article-card-link {
    display: flex;
    flex-direction: row;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(184, 158, 126, 0.3);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, var(--accent) 0%, rgba(215, 196, 168, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: sepia(0.3) brightness(1.1);
}

.article-card:hover .article-image img {
    transform: scale(1.1) rotate(1deg);
    filter: sepia(0.1) brightness(1.2);
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: bold;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--accent);
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    position: relative;
    display: inline-block;
}

.read-more:hover {
    color: var(--accent-hover);
    border-bottom: 1px solid var(--accent-hover);
    transform: translateX(5px);
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card-link:hover {
    text-decoration: none;
}

/* Sidebar */
.sidebar {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(215, 196, 168, 0.5);
    margin-bottom: 4rem;
    transition: transform 0.3s ease;
}

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

.sidebar h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: italic;
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

.tag:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 15px rgba(139, 115, 85, 0.3);
}

/* Timeline */
.timeline {
    background: var(--text-secondary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(184, 158, 126, 0.5);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-hover));
    transform: translateX(-50%);
}

.timeline h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    font-weight: bold;
    color: var(--accent);
    min-width: 100px;
    text-align: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #f4e8d9;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

.timeline-desc {
    flex: 1;
    padding: 0 1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.timeline-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px var(--shadow-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    color: #f4e8d9;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-style: italic;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.2rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }

    .search-input {
        width: 180px;
    }

    .logo {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .articles-loading {
        padding: 3rem 1rem;
        min-height: 300px;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    #pageLoadingOverlay {
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .page-loading-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .page-loading-text {
        font-size: 1rem;
    }
    
    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 0.75rem;
        flex-wrap: nowrap;
        min-height: 45px;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
        flex-shrink: 1;
        min-width: 0;
    }

    .hamburger {
        display: flex;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        margin-left: -0.5rem;
    }

    .hamburger span {
        height: 3px;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 58px;
        left: 0;
        width: 100%;
        height: calc(100vh - 58px);
        background: var(--header-bg);
        backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1.5rem 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(215, 196, 168, 0.3);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-right {
        gap: 0.4rem;
        flex-shrink: 0;
        align-items: center;
    }

    .desktop-search {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .mobile-search-container {
        display: none !important;
        position: relative;
        width: 100%;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }

    .nav-links.active .mobile-search-container {
        display: block !important;
    }

    .mobile-search-item {
        border-bottom: 2px solid var(--accent);
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }

    .mobile-search-container .search-input {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.6rem 1rem 0.6rem 2.8rem;
        border-radius: 25px;
    }

    .mobile-search-container .search-icon {
        position: absolute;
        left: 1.8rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent);
        font-size: 1rem;
        z-index: 2;
        pointer-events: none;
    }

    .mobile-search-container .search-results {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: var(--header-bg);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        max-height: 300px;
        overflow-y: auto;
        z-index: 1001;
        margin-top: 0.5rem;
    }

    .theme-toggle {
        font-size: 1.1rem;
        margin: 0;
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid.list-view .article-card {
        flex-direction: column;
        max-height: none;
    }
    
    .articles-grid.list-view .article-card-link {
        flex-direction: column;
    }
    
    .articles-grid.list-view .article-image {
        width: 100%;
        min-width: 100%;
        height: 250px;
    }
    
    .articles-grid.list-view .article-content {
        padding: 1rem;
    }
    
    .articles-grid.list-view .article-title {
        white-space: normal;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    
    .view-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .view-controls h2 {
        font-size: 1.5rem;
    }
    
    .view-toggle {
        width: 100%;
        justify-content: center;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: column !important;
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .modal-content {
        max-height: 90vh;
        padding: 1rem;
    }

    .pdf-wrapper {
        padding: 1rem;
    }

    .pdf-container {
        height: 60vh;
    }

    .pdf-title {
        font-size: 1.8rem;
    }

    .pdf-subtitle {
        font-size: 0.95rem;
    }

    .pdf-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .pdf-header {
        padding: 1.5rem;
    }

    .pdf-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .pdf-header-text {
        text-align: center;
    }

    .pdf-navigation {
        padding: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .pdf-nav-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }

    .pdf-nav-btn span {
        display: inline;
    }

    .page-info {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        min-width: 80px;
    }

    .pdf-controls {
        padding: 1rem;
        gap: 0.5rem;
    }

    .pdf-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .pdf-btn span {
        display: none;
    }

    .zoom-level {
        min-width: 50px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.4rem 0;
    }

    nav {
        padding: 0 0.5rem;
        min-height: 42px;
    }

    .logo {
        font-size: 1rem;
        max-width: none;
        letter-spacing: -0.3px;
        flex-shrink: 1;
        overflow: visible;
        white-space: nowrap;
    }

    .hamburger {
        width: 30px;
        height: 30px;
        margin-left: -0.3rem;
    }

    .hamburger span {
        height: 3px;
        width: 100%;
    }

    .theme-toggle {
        font-size: 1rem;
        width: 34px;
        height: 34px;
        padding: 0.4rem;
    }

    .nav-links {
        top: 52px;
        height: calc(100vh - 52px);
        padding: 1rem 0;
    }

    .nav-links a {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .search-container.mobile-search {
        padding: 0.75rem;
    }

    .search-input {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem 0.45rem 2.3rem;
    }

    .pdf-navigation {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .pdf-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 90px;
    }

    .page-info {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 70px;
    }
}

/* Çok dar ekranlar için (Galaxy S8+ benzeri) */
@media (max-width: 420px) {
    .logo {
        font-size: 0.95rem;
        max-width: none;
        letter-spacing: -0.2px;
    }

    nav {
        padding: 0 0.4rem;
        gap: 0.3rem;
    }

    .nav-right {
        gap: 0.2rem;
    }

    .hamburger {
        margin-left: -0.4rem;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .pdf-navigation {
        padding: 0.7rem;
        gap: 0.6rem;
    }

    .pdf-nav-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
        min-width: 80px;
    }

    .pdf-nav-btn span {
        display: inline;
    }

    .page-info {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
        min-width: 65px;
    }
}

/* Hazırlayanlar Sayfası */
.hazirlayanlar-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hazirlayanlar-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hazirlayanlar-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px var(--shadow-light);
    border: 1px solid rgba(215, 196, 168, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(184, 158, 126, 0.3);
}

.team-member.featured {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(166, 138, 100, 0.1) 100%);
    border: 2px solid var(--accent);
}

.team-member.featured::before {
    height: 6px;
}

.member-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f4e8d9;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.team-member:hover .member-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.4);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.member-role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(45deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #f4e8d9;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
    color: #f4e8d9;
}

.social-link.linkedin {
    background: linear-gradient(45deg, #0077b5 0%, #00a0dc 100%);
}

.social-link.playstore {
    background: linear-gradient(45deg, #34a853 0%, #4285f4 100%);
}

.social-link.github {
    background: linear-gradient(45deg, #24292e 0%, #2f363d 100%);
}

.team-footer {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(215, 196, 168, 0.5);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.team-footer p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .hazirlayanlar-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}