/* ========================================
   KARAKURTMEDYA BLOG - SIFIRDAN TASARIM
   ======================================== */

/* Blog Hero Section - Modern & Elite */
.blog-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero h1 {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
    font-size: 4rem;
    margin: 0 0 30px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.blog-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #b0b0b0;
    line-height: 1.6;
    font-weight: 300;
}

/* Blog Cards - Ultra Modern Grid */
.blog-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 107, 0, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    animation: textGradient 3s ease infinite;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.15);
}

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    color: #000;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.card-content {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.6rem;
    margin: 0 0 20px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    flex: 1;
}

.card-content p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 25px;
    line-height: 1.7;
    font-weight: 400;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #FF6B00;
    font-weight: 700;
    padding: 20px 0 0;
    border-top: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.card-link:hover {
    color: #FF8533;
    border-top-color: rgba(255, 107, 0, 0.3);
}

.card-link i {
    transition: all 0.3s ease;
    font-size: 1rem;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
}

.card-link:hover i {
    transform: translateX(10px) scale(1.2);
}

/* ========================================
   ARTICLE PAGE - COMPLETELY NEW DESIGN
   ======================================== */

.article-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 107, 0, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.article-breadcrumb {
    margin-bottom: 30px;
    font-size: 1rem;
    color: #b0b0b0;
}

.article-breadcrumb a {
    color: #FF6B00;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.article-breadcrumb a:hover {
    color: #FFD700;
}

.article-hero h1 {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
    font-size: 3.5rem;
    margin: 0 0 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.article-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #b0b0b0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

/* Article Content - Full Width Design */
.article-content {
    padding: 0;
    background: #fff;
    min-height: 100vh;
}

.article-wrapper {
    display: flex;
    gap: 0;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.main-content {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    margin: 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF6B00, transparent);
    z-index: 1;
}

.article-image {
    width: 100%;
    height: 300px; /* Better height for article images */
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid rgba(255, 107, 0, 0.15);
    margin-bottom: 40px;
}

.article-image:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 107, 0, 0.3);
}

.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.15));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-image:hover::after {
    opacity: 1;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Better centering for article images */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.article-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.15) contrast(1.2) saturate(1.3);
}

.content-body {
    padding: 80px 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.content-body h2 {
    color: #1a1a1a;
    font-size: 2.5rem;
    margin: 50px 0 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    position: relative;
}

.content-body h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    border-radius: 2px;
}

.content-body h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.content-body p {
    color: #444;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 400;
}

.content-body ul, .content-body ol {
    margin: 30px 0;
    padding-left: 40px;
}

.content-body li {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 400;
}

.content-body strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Sidebar - Hidden */
.sidebar {
    display: none;
}

/* ========================================
   Q&A SECTION - MODERN & ELEGANT
   ======================================== */

.qa-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.qa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.qa-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.qa-header {
    text-align: center;
    margin-bottom: 60px;
}

.qa-header h2 {
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s ease infinite;
    font-size: 2.5rem;
    margin: 0 0 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.qa-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.qa-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.qa-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    animation: textGradient 3s ease infinite;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qa-item:hover::before {
    transform: scaleX(1);
}

.qa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.2);
}

.qa-question {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.qa-question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.qa-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.qa-user-info h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 0 0 5px;
    font-weight: 700;
}

.qa-user-info .qa-date {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.qa-question-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 65px;
}

.qa-answer {
    padding: 30px;
    background: rgba(255, 107, 0, 0.02);
    position: relative;
}

.qa-answer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.qa-admin-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.qa-admin-info h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 0 0 5px;
    font-weight: 700;
}

.qa-admin-info .qa-date {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.qa-answer-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 65px;
}

.qa-answer-text p {
    margin: 0 0 15px;
}

.qa-answer-text p:last-child {
    margin-bottom: 0;
}

.qa-answer-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.qa-answer-text li {
    margin-bottom: 8px;
    color: #555;
}

.qa-answer-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.qa-reply-btn {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    margin-left: 65px;
}

.qa-reply-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

/* ========================================
   ASK QUESTION CARD - FLOATING & INTERACTIVE
   ======================================== */

.ask-question-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.2);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
}

.ask-question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #FF6B00, #FFD700, #FF6B00);
    background-size: 200% auto;
    animation: textGradient 3s ease infinite;
    border-radius: 20px 20px 0 0;
}

.ask-question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.ask-question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ask-question-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ask-question-title {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.ask-question-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ask-question-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.ask-question-input:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.ask-question-input::placeholder {
    color: #999;
    font-style: italic;
}

.ask-question-submit {
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ask-question-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

.ask-question-submit:active {
    transform: translateY(0);
}

/* Question Submitted Animation */
.ask-question-card.submitted {
    transform: translateY(100vh);
    opacity: 0;
}

/* New Question Animation */
.qa-item.new-question {
    animation: slideInFromBottom 0.6s ease-out;
    border: 2px solid #FF6B00;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
}

.qa-item.new-question::before {
    transform: scaleX(1);
    background: linear-gradient(45deg, #FF6B00, #FFD700);
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.ask-question-close {
    display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .content-body {
        padding: 60px 80px;
    }
}

@media (max-width: 992px) {
    .blog-cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        padding: 0 15px;
    }
    
    .article-wrapper {
        flex-direction: column;
    }
    
    .main-content {
        width: 100%;
    }
    
    .content-body {
        padding: 60px 40px;
    }
    
    .article-hero h1 {
        font-size: 3rem;
    }
    
    .article-meta {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 3rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .blog-section {
        padding: 80px 0;
    }
    
    .blog-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .content-body {
        padding: 40px 20px;
    }
    
    .content-body h2 {
        font-size: 2rem;
    }
    
    .content-body h3 {
        font-size: 1.5rem;
    }
    
    .article-image {
        height: 280px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 120px 0 80px;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    .article-hero h1 {
        font-size: 2.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-body {
        padding: 30px 15px;
    }
    
    .content-body h2 {
        font-size: 1.8rem;
    }
    
    .content-body h3 {
        font-size: 1.3rem;
    }
    
    .article-image {
        height: 220px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .content-body p {
        font-size: 1rem;
    }
    
    .qa-section {
        padding: 60px 0;
    }
    
    .qa-header h2 {
        font-size: 2rem;
    }
    
    .qa-question {
        padding: 25px;
    }
    
    .qa-answer {
        padding: 25px;
    }
    
    .qa-question-text {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .qa-answer-text {
        padding-left: 0;
        margin-top: 15px;
    }
    
    .qa-reply-btn {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .ask-question-card {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .ask-question-title {
        font-size: 1.1rem;
    }
    
    .ask-question-input {
        min-height: 80px;
    }

}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

