﻿/* =========================================
           404 SAYFA BULUNAMADI ÖZEL TASARIM
           ========================================= */
.error-section {
    padding: 100px 0;
    min-height: 70vh; /* Ekranı ortalamak için */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--light-bg) 0%, #fff 100%);
    text-align: center;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
}

.error-code {
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    /* Hafif gölge efekti */
    text-shadow: 4px 4px 0px rgba(243, 112, 33, 0.15);
    animation: floatError 6s ease-in-out infinite;
}

    /* Ünlem İşareti */
    .error-code::after {
        content: "!";
        position: absolute;
        top: -10px;
        right: -30px;
        color: var(--accent-orange);
        transform: rotate(15deg);
        font-size: 0.8em;
    }

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

@keyframes floatError {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .error-code::after {
        right: -15px;
        top: -5px;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

        .error-actions .btn {
            width: 100%;
        }
}
