/* ==========================================================================
   ERROR PAGES CSS (404, etc.)
   ========================================================================== */

/* Error Page Layout */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fdfaf7 0%, #f5ede4 100%);
}

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

/* Error Illustration */
.error-illustration {
    position: relative;
    margin-bottom: 30px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #D97757 0%, #C4664A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.error-emoji {
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* Error Text */
.error-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 16px;
}

.error-message {
    font-size: 1.1rem;
    color: #686868;
    margin: 0 0 8px;
}

.error-submessage {
    font-size: 1rem;
    color: #8B7355;
    margin: 0 0 30px;
}

/* Error Action Buttons */
.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-actions .btn-primary {
    background: linear-gradient(135deg, #D97757 0%, #C4664A 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}

.error-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4);
}

.error-actions .btn-secondary {
    background: #F5EDE4;
    color: #2C2C2C;
    border: 2px solid #E5DDD4;
}

.error-actions .btn-secondary:hover {
    background: #EDE5DC;
    border-color: #D5CCC3;
    transform: translateY(-2px);
}

/* Error Search */
.error-search {
    margin-bottom: 40px;
}

.error-search h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2C2C2C;
    margin: 0 0 16px;
}

.error-search .search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #E5DDD4;
    border-radius: 50px;
    padding: 6px 8px 6px 24px;
    transition: all 0.3s ease;
}

.error-search .search-wrapper:focus-within {
    border-color: #D97757;
    box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.1);
}

.error-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 0;
    background: transparent;
}

.error-search button {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #D97757 0%, #C4664A 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search button:hover {
    transform: scale(1.05);
}

/* Error Suggestions */
.error-suggestions h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #686868;
    margin: 0 0 16px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.suggestion-tags a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #E5DDD4;
    border-radius: 50px;
    color: #2C2C2C;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggestion-tags a:hover {
    background: #D97757;
    color: #fff;
    border-color: #D97757;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
    .error-code {
        font-size: 5rem;
    }
    
    .error-emoji {
        font-size: 2.5rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ==========================================================================
   MAINTENANCE PAGE (for future use)
   ========================================================================== */
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.maintenance-content {
    max-width: 500px;
    text-align: center;
}

.maintenance-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.maintenance-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.maintenance-message {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 30px;
}

.maintenance-eta {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ==========================================================================
   COMING SOON PAGE
   ========================================================================== */
.coming-soon-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.coming-soon-content {
    max-width: 600px;
    text-align: center;
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.coming-soon-message {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 40px;
}

/* Newsletter Signup */
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 14px 28px;
    background: #fff;
    color: #11998e;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
}
