/* ============================================
   LOOMS by Nowshin — Error Page Styles
   ============================================ */

.error-section {
    padding: 5rem 0;
    background: var(--looms-cream);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-illustration {
    position: relative;
    margin-bottom: 2rem;
}

.error-number {
    font-family: "Cormorant Garamond", serif;
    font-size: 10rem;
    font-weight: 700;
    color: var(--looms-taupe);
    line-height: 1;
    opacity: 0.3;
}

.error-cushions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 150px;
}

.cushion {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cushion-1 {
    width: 80px;
    height: 80px;
    background: var(--looms-sage);
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.cushion-2 {
    width: 70px;
    height: 70px;
    background: var(--looms-gold);
    top: 30px;
    right: 30px;
    transform: rotate(10deg);
}

.cushion-3 {
    width: 60px;
    height: 60px;
    background: var(--looms-cream);
    border: 2px solid var(--looms-taupe);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
}

.error-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--looms-charcoal);
    margin-bottom: 0.75rem;
}

.error-message {
    font-size: 1rem;
    color: var(--looms-graphite);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.helpful-links {
    padding-top: 2rem;
    border-top: 1px solid var(--looms-taupe);
}

.helpful-links p {
    font-size: 0.9rem;
    color: var(--looms-slate);
    margin-bottom: 1rem;
}

.links-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.links-grid a {
    font-size: 0.9rem;
    color: var(--looms-sage);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.links-grid a:hover {
    color: var(--looms-sage-deep);
    text-decoration: underline;
}

/* ============================================
   Media Queries
   ============================================ */
@media (max-width: 767.98px) {
    .error-number {
        font-size: 6rem;
    }

    .error-cushions {
        width: 150px;
        height: 120px;
    }

    .cushion-1 {
        width: 60px;
        height: 60px;
    }

    .cushion-2 {
        width: 50px;
        height: 50px;
    }

    .cushion-3 {
        width: 45px;
        height: 45px;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }
}
