/* ========================
   404 Not Found Page Styles
   ======================== */

.notfound-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.notfound-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.notfound-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.notfound-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.notfound-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--anthracite);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.notfound-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-green);
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.notfound-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: var(--anthracite);
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.notfound-shapes .shape-4 {
    width: 250px;
    height: 250px;
    background: var(--accent-green);
    top: 30%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-15px, 15px) scale(0.9);
    }
    75% {
        transform: translate(15px, 20px) scale(1.05);
    }
}

.notfound-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.notfound-illustration {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.notfound-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.notfound-svg .tree-group {
    animation: sway 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    75% {
        transform: rotate(-2deg);
    }
}

.notfound-text {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.notfound-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--anthracite);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.notfound-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.notfound-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* NotFound sayfası için özel buton stilleri */
.notfound-section .btn-primary-custom {
    background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-light) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.15);
}

.notfound-section .btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.25);
    color: var(--white);
}

.notfound-section .btn-secondary-outline {
    background-color: transparent;
    color: var(--anthracite);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--anthracite);
}

.notfound-section .btn-secondary-outline:hover {
    background-color: var(--anthracite);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.25);
}

.notfound-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(44, 44, 44, 0.1);
}

.notfound-links h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--anthracite);
    margin-bottom: 25px;
}

.notfound-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.notfound-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid rgba(44, 44, 44, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--anthracite);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notfound-link:hover {
    background: var(--anthracite);
    color: var(--white);
    border-color: var(--anthracite);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 44, 44, 0.2);
}

.notfound-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.notfound-link:hover svg {
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .notfound-section {
        padding: 60px 20px;
    }

    .notfound-title {
        font-size: 2rem;
    }

    .notfound-description {
        font-size: 1rem;
    }

    .notfound-actions {
        flex-direction: column;
        width: 100%;
    }

    .notfound-actions a {
        width: 100%;
        max-width: 300px;
    }

    .notfound-links-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .notfound-svg {
        max-width: 200px;
    }

    .notfound-shapes .shape-1 {
        width: 200px;
        height: 200px;
    }

    .notfound-shapes .shape-2 {
        width: 150px;
        height: 150px;
    }

    .notfound-shapes .shape-3 {
        width: 100px;
        height: 100px;
    }

    .notfound-shapes .shape-4 {
        width: 180px;
        height: 180px;
    }
}

