/* Çeviri Sayfası Stilleri */
.translate-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 80px);
}
a {
    text-decoration: none;
    color: inherit; /* Rengi değiştirmek isterseniz, burada belirtebilirsiniz */
}

.translation-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.language-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.language-controls select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #2d3436;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.language-controls select:hover {
    border-color: #6c5ce7;
}

.language-controls select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

#swapLanguagesBtn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

#swapLanguagesBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.text-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.text-areas textarea {
    width: 100%;
    height: 200px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    resize: none;
    transition: all 0.3s ease;
}

.text-areas textarea:hover {
    border-color: #6c5ce7;
}

.text-areas textarea:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

#targetText {
    background: #f8f9fa;
}

.translate-btn {
    display: block;
    width: 100%;
    padding: 10px 100px;
    border: none;
    border-radius: 35px;
    background: var(--gradient-1);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.translate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.translate-btn i {
    font-size: 20px;
}

.translate-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #6c5ce7;
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 10px;
}

.feature p {
    color: #636e72;
    font-size: 0.9rem;
}

#loadingSpinner {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#loadingSpinner i {
    color: #6c5ce7;
}

.translate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Mobilde genişliği tam ayarlasın */
    max-width: 300px; /* Çok büyük olmaması için sınır koy */
    padding: 12px 20px; /* Kenar boşluklarını küçült */
    font-size: 16px; /* Daha okunabilir boyut */
    border-radius: 25px; /* Daha modern bir görünüm */
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px auto; /* Ortalamak için */
}

.translate-btn i {
    font-size: 18px;
}

/* Hover efekti */
.translate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Mobilde daha iyi görünmesi için */
@media (max-width: 768px) {
    .translate-btn {
        font-size: 14px;
        padding: 10px 16px;
        max-width: 250px;
    }
}


@media (max-width: 768px) {
    .text-areas {
        grid-template-columns: 1fr;
    }

    .language-controls {
        flex-direction: column;
    }

    .language-controls select {
        width: 100%;
    }

    .translation-container {
        padding: 20px;
    }
} 