/* ============================================
   ECHO ÇEVİRİ - DETAY SAYFASI CSS
   ============================================ */

/* === GENEL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* === DETAY SAYFASI CONTAINER === */
.content-container.detail-page {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto !important;
}

/* === BACKDROP BANNER === */
.detail-backdrop {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.detail-backdrop img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.detail-backdrop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

/* === BAŞLIK === */
.detail-title {
    position: relative;
    margin-top: -120px;
    padding-left: 30px;
    font-size: 2.5em;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    z-index: 10;
    margin-bottom: 80px;
    font-weight: 700;
}

/* === BAŞARI MESAJI === */
.detail-page .success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* === DETAY SEKSİYONLARI === */
.detail-section {
    background-color: #141414;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #1e1e1e;
}

.detail-section h2 {
    font-size: 1.8em;
    color: #4CAF50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e1e1e;
    font-weight: 600;
}

.detail-section p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 15px;
}

/* === KURULUM REHBERİ === */
.installation-guide {
    background-color: #0a0a0a;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #4CAF50;
    line-height: 1.8;
    white-space: pre-wrap;
    color: #e0e0e0;
    font-size: 14px;
}

/* === İNDİRME KUTUSU === */
.download-box {
    text-align: center;
    margin: 50px 0;
    padding: 50px 40px;
    background-color: #141414;
    border-radius: 8px;
    border: 1px solid #1e1e1e;
}

.download-btn {
    display: inline-block;
    font-size: 1.1em;
    padding: 18px 50px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.3);
}

.download-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.download-btn.disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.download-btn.disabled:hover {
    background-color: #555;
    transform: none;
}

/* === BUTON AKSİYONLARI ALANI === */
.button-actions {
    margin-top: 30px;
}

.button-actions form {
    display: inline-block;
}

/* === KIRIK LİNK BİLDİR BUTONU === */
.report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #f44336;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.report-btn:hover {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3);
}

.report-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.2);
}

.report-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* === GİRİŞ YAPMA UYARISI === */
.login-prompt {
    color: #888;
    font-size: 0.9em;
    display: inline-block;
    padding: 14px 20px;
    background-color: #1e1e1e;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.login-prompt a {
    color: #4CAF50;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.login-prompt a:hover {
    color: #45a049;
}

/* === REKLAM ALANI === */
.detail-page > div[style*="text-align:center"] {
    margin: 40px 0;
    padding: 20px;
    background-color: #0a0a0a;
    border-radius: 5px;
}

.detail-page > div[style*="text-align:center"] p {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 10px;
}

/* === YORUM BÖLÜMÜ === */
#comments {
    background-color: #141414;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #1e1e1e;
}

/* === YORUM FORMU (EN ÜSTTE) === */
.comment-form-box {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.comment-list {
    margin-bottom: 0;
}

.comment-list > p {
    color: #999;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

.comment-item {
    background-color: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    transition: border-color 0.2s;
}

.comment-item:hover {
    border-color: #4CAF50;
}

.comment-author {
    font-size: 1.1em;
    color: #4CAF50;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-date {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 10px;
}

.comment-body p {
    margin: 0;
    line-height: 1.8;
    color: #e0e0e0;
}

.comment-reply {
    margin-top: 10px;
}

.comment-reply a,
.reply-btn {
    color: #aaa;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-reply a:hover,
.reply-btn:hover {
    color: #4CAF50;
}

.comment-replies {
    margin-top: 15px;
    padding-left: 30px;
    border-left: 3px solid #2a2a2a;
}

/* === YORUM FORMU STİLLERİ === */
#reply-to-message {
    display: none;
    color: #aaa;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 400;
}

#reply-to-message strong {
    color: #4CAF50;
}

#cancel-reply {
    font-size: 0.85em;
    color: #f44336;
    margin-left: 10px;
    text-decoration: underline;
}

#cancel-reply:hover {
    color: #ff5252;
}

.comment-form-box form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group textarea::placeholder {
    color: #666;
}

.comment-form-box .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-form-box .btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.comment-form-box > p {
    padding: 20px;
    background-color: #0a0a0a;
    border-radius: 5px;
    border-left: 4px solid #4CAF50;
    color: #e0e0e0;
}

.comment-form-box > p a {
    color: #4CAF50;
    text-decoration: underline;
}

.comment-form-box > p a:hover {
    color: #45a049;
}

/* === REKLAM ALANLARI (SAĞ-SOL) === */
.side-ad-wrapper {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
}

.side-ad-left {
    left: 10px;
}

.side-ad-right {
    right: 10px;
}

/* === RESPONSİVE TASARIM === */
@media (max-width: 1200px) {
    .content-container.detail-page {
        max-width: 1000px;
    }
    
    .detail-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .content-container.detail-page {
        width: 95%;
        margin: 30px auto !important;
    }
    
    .detail-backdrop {
        max-height: 300px;
        margin-bottom: 20px;
    }
    
    .detail-title {
        font-size: 1.8em;
        margin-top: -80px;
        margin-bottom: 60px;
        padding-left: 20px;
    }
    
    .detail-section {
        padding: 20px;
    }
    
    .detail-section h2 {
        font-size: 1.5em;
    }
    
    .download-box {
        padding: 30px 20px;
    }
    
    .download-btn {
        font-size: 1em;
        padding: 15px 35px;
    }

    .report-btn {
        font-size: 0.9em;
        padding: 12px 20px;
    }

    .report-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .comment-replies {
        padding-left: 15px;
    }
    
    .side-ad-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 1.5em;
        margin-top: -60px;
        margin-bottom: 50px;
        padding-left: 15px;
    }
    
    .detail-section {
        padding: 15px;
    }
    
    .detail-section h2 {
        font-size: 1.3em;
    }
    
    .detail-section p {
        font-size: 14px;
    }
    
    .installation-guide {
        padding: 15px;
        font-size: 13px;
    }
    
    .download-box {
        padding: 25px 15px;
        margin: 30px 0;
    }
    
    .download-btn {
        font-size: 0.95em;
        padding: 12px 25px;
    }

    .button-actions {
        margin-top: 20px;
    }

    .report-btn {
        font-size: 0.85em;
        padding: 10px 16px;
        gap: 6px;
    }

    .report-btn svg {
        width: 14px;
        height: 14px;
    }

    .login-prompt {
        font-size: 0.85em;
        padding: 10px 15px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    .comment-form-box {
        padding: 15px;
    }
    
    .form-group textarea {
        padding: 12px;
        font-size: 13px;
    }
}