/* [1] Technical Info Sayfası Özel CSS */

/* [1.1] Active menü link stili */
.nav-bar .main-menu a.active {
    color: #87cefa !important;
    text-shadow: 0 0 10px #87cefa;
    transform: translateY(-2px);
}

/* [2] Technical Main Container */
.technical-main {
    background: linear-gradient(135deg, #e6f7ff 0%, #cce6ff 100%);
    min-height: 100vh;
}

/* [3] Technical Banner */
.technical-banner {
    position: relative;
    height: 60vh; /* Index'ten daha küçük banner */
    overflow: hidden;
    box-shadow: 0px 15px 20px var(--blue-light);
}

.technical-banner .banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* [3.1] Technical Banner Content */
.technical-banner-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.technical-banner-content h1 {
    font-size: 2.2rem; /* Biraz daha küçük */
    font-weight: 700;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.technical-banner-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    background-color: rgba(30, 144, 255, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

/* [4] Technical Articles Container */
.technical-articles-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* [4.1] Articles Row - 2'li sıra düzeni */
.technical-articles-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* [4.2] Technical Article Body */
.technical-article-body {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    padding: 1.5rem;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* [4.3] Hover Efekti */
.technical-article-body:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.25);
}

/* [4.4] Article Header */
.technical-article-body .article-header h3 {
    color: var(--ping);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.technical-article-body .article-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--ping), #0056b3);
    border-radius: 1px;
}

/* [4.5] Article Image */
.technical-article-body .article-image-section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid rgba(30, 144, 255, 0.1);
}

/* [4.6] Article Content */
.technical-article-body .article-content {
    flex-grow: 1;
}

.technical-article-body .article-content p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

/* [5] Decorative Elements */
.technical-article-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ping) 0%, #0056b3 50%, var(--ping) 100%);
}

/* [6] Special Styling for Different Articles */
.technical-articles-row:nth-child(1) .technical-article-body:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.technical-articles-row:nth-child(1) .technical-article-body:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #e6f7ff 100%);
}

.technical-articles-row:nth-child(2) .technical-article-body:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #cce6ff 100%);
}

.technical-articles-row:nth-child(2) .technical-article-body:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #b3d9ff 100%);
}

/* [7] Responsive Design */

/* [7.1] Tablet */
@media (max-width: 1024px) {
    .technical-articles-container {
        padding: 2rem 1rem;
    }
    
    .technical-articles-row {
        gap: 1.5rem;
    }
    
    .technical-banner-content h1 {
        font-size: 1.9rem;
    }
    
    .technical-banner-subtitle {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* [7.2] Mobile */
@media (max-width: 768px) {
    
    /* [7.2.1] Banner Mobile */
    .technical-banner {
        height: 40vh;
    }
    
    .technical-banner-content h1 {
        font-size: 1.6rem;
    }
    
    .technical-banner-subtitle {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* [7.2.2] Articles Mobile */
    .technical-articles-container {
        padding: 1.5rem 1rem;
    }
    
    .technical-articles-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .technical-article-body {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }
    
    .technical-article-body .article-header h3 {
        font-size: 1.2rem;
    }
    
    .technical-article-body .article-image-section img {
        height: 180px;
    }
    
    .technical-article-body .article-content p {
        font-size: 0.9rem;
    }
}

/* [7.3] Large Mobile */
@media (max-width: 480px) {
    .technical-article-body {
        padding: 1rem;
    }
    
    .technical-banner-content {
        width: 90%;
    }
    
    .technical-banner-content h1 {
        font-size: 1.4rem;
    }
    
    .technical-article-body .article-image-section img {
        height: 160px;
    }
}

/* [8] Animation for Page Load */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.technical-article-body {
    animation: slideInUp 0.6s ease-out forwards;
}

.technical-articles-row:nth-child(1) .technical-article-body:nth-child(1) {
    animation-delay: 0.1s;
}

.technical-articles-row:nth-child(1) .technical-article-body:nth-child(2) {
    animation-delay: 0.2s;
}

.technical-articles-row:nth-child(2) .technical-article-body:nth-child(1) {
    animation-delay: 0.3s;
}

.technical-articles-row:nth-child(2) .technical-article-body:nth-child(2) {
    animation-delay: 0.4s;
}