/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    box-sizing: border-box;
    background-color: #fdfcfa;
    color: #2c2c2c;
    line-height: 1.6;
}

/* Typography */
.font-serif {
    font-family: 'Merriweather', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-name {
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    color: #2c2c2c;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-name:hover {
    opacity: 0.7;
}

.nav-link {
    position: relative;
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.active {
    color: #7c5cba;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7c5cba;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.desktop-nav {
    display: flex;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-menu-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #2c2c2c;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 99;
}

.mobile-menu-backdrop.active {
    display: block;
}

.mobile-nav-links {
    display: none;
    position: fixed;
    top: 80px;
    right: 24px;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background-color: #fdfcfa;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 101;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-links.active {
    display: flex;
}

.mobile-nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav-links a:first-child {
    border-radius: 8px 8px 0 0;
}

.mobile-nav-links a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* Hero Section */
.hero-section {
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Cards */
.blog-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    object-fit: cover;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.75;
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #7c5cba;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* Category Cards */
.category-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-count {
    font-size: 14px;
    opacity: 0.6;
}

/* Newsletter */
.newsletter-section {
    background-color: #f5f3f0;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-desc {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 14px 20px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    width: 100%;
    max-width: 320px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
}

.newsletter-button {
    padding: 14px 32px;
    background-color: #7c5cba;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(124, 92, 186, 0.3);
}

/* Buttons */
.btn-primary {
    padding: 16px 40px;
    background-color: #7c5cba;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 92, 186, 0.3);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #fdfcfa;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 48px 0;
    margin-top: 80px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2c2c2c;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    background-color: #7c5cba;
    color: #fff;
    border-color: #7c5cba;
}

/* Blog Detail */
.blog-detail-header {
    text-align: center;
    padding: 60px 0 40px;
}

.blog-detail-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 15px;
    opacity: 0.6;
    flex-wrap: wrap;
}

.blog-detail-cover {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    overflow: hidden;
}

.blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Two Column Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
    align-items: start;
}

.article-main-content {
    min-width: 0;
}

.blog-content {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 24px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 36px 0 16px;
}

.blog-content blockquote {
    border-left: 4px solid #667eea;
    padding: 16px 24px;
    margin: 32px 0;
    font-style: italic;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 8px 8px 0;
}

.blog-content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

.blog-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.blog-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.image-caption {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    margin-top: -24px;
    margin-bottom: 24px;
    font-style: italic;
}

/* Sidebar - Sticky */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Music Player Widget */
.music-player-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.music-player {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-info {
    text-align: center;
}

.track-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.track-artist {
    font-size: 14px;
    opacity: 0.8;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.player-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.player-btn-main {
    width: 50px;
    height: 50px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.3);
}

.player-btn-main:hover {
    background: rgba(255, 255, 255, 0.4);
}

.player-btn-main.playing {
    background: rgba(255, 255, 255, 0.4);
}

.player-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
}

.player-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

/* Ad Widget */
.ad-widget {
    background: #f5f3f0;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 12px;
    text-align: center;
}

.ad-banner {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ad-banner-large {
    height: 250px;
}

.ad-banner-medium {
    height: 150px;
}

.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e6e3 100%);
    color: #2c2c2c;
}

/* Category List Widget */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f3f0;
    text-decoration: none;
    color: #2c2c2c;
    transition: all 0.3s ease;
    font-size: 15px;
}

.category-item:hover {
    background: #7c5cba;
    color: #fff;
    transform: translateX(4px);
}

.category-item.active {
    background: #7c5cba;
    color: #fff;
}

/* Share Buttons */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.share-twitter {
    background: #1DA1F2;
    color: #fff;
}

.share-facebook {
    background: #1877F2;
    color: #fff;
}

.share-linkedin {
    background: #0A66C2;
    color: #fff;
}

.share-copy {
    background: #2c2c2c;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 60px auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background-color: #7c5cba;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(124, 92, 186, 0.3);
}

.success-message {
    padding: 16px 24px;
    border-radius: 8px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
    margin-top: 24px;
    font-weight: 600;
}

.error-message {
    padding: 16px 24px;
    border-radius: 8px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    text-align: center;
    margin-top: 24px;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #2c2c2c;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #7c5cba;
    color: #fff;
    border-color: #7c5cba;
}

.pagination .current {
    background-color: #7c5cba;
    color: #fff;
    border-color: #7c5cba;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 24px 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav {
        display: block !important;
    }
    
    .newsletter-section {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .blog-detail-title {
        font-size: 20px;
    }
    
    .blog-detail-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-content {
        font-size: 12px;        
        line-height: 1.75;
    }
    
    .blog-content h2 {
        font-size: 18px;
    }
    
    .blog-content h3 {
        font-size: 18px;
    }
    
    .cookie-banner {
        padding: 16px !important;
    }
    
    .cookie-content {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    /* Article Layout - Mobilde tek kolon */
    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .article-sidebar {
        position: static;
        order: 2;
    }
    
    .article-main-content {
        order: 1;
    }
}

/* Tablet View */
@media (max-width: 1024px) and (min-width: 769px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }
    
    .article-sidebar {
        top: 80px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 44, 44, 0.98);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-accept-btn {
    padding: 12px 32px;
    background-color: #7c5cba;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    background-color: #9b7bc8;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MOBİL */
@media (max-width: 768px) {
    .navbar-inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 10px 0;
    }

    .desktop-nav {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        font-size: 14px;
    }

    .site-name {
        font-size: 26px;
    }
}


/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 14px;
    background: #f5f3f0;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    color: #2c2c2c;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.tag:hover {
    background: #7c5cba;
    color: #fff;
    transform: translateY(-2px);
}

a {
    text-decoration: none;
    color: inherit;
}
