﻿
:root {
    --primary-color: #2c5530;
    --secondary-color: #6b8e23;
    --accent-color: #d4af37;
    --cork-color: #8b4513;
    --glass-color: #87ceeb;
    --bottle-green: #2e8b57;
    --wine-red: #722f37;
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* استایل‌های دکوریشن زمینه */
.background-decoration {
    position: absolute;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.bottle-decoration {
    font-size: 8rem;
    color: var(--bottle-green);
}

.cork-decoration {
    font-size: 6rem;
    color: var(--cork-color);
}

.glass-decoration {
    font-size: 5rem;
    color: var(--glass-color);
}

.wine-decoration {
    font-size: 7rem;
    color: var(--wine-red);
}

.bottle-1 {
    top: 5%;
    left: 5%;
    transform: rotate(15deg);
}

.bottle-2 {
    top: 15%;
    right: 8%;
    transform: rotate(-10deg);
}

.bottle-3 {
    bottom: 10%;
    left: 15%;
    transform: rotate(25deg);
}

.bottle-4 {
    bottom: 20%;
    right: 5%;
    transform: rotate(-15deg);
}

.cork-1 {
    top: 25%;
    left: 20%;
    transform: rotate(45deg);
}

.cork-2 {
    top: 60%;
    right: 25%;
    transform: rotate(-30deg);
}

.cork-3 {
    bottom: 30%;
    left: 8%;
    transform: rotate(60deg);
}

.glass-1 {
    top: 40%;
    left: 10%;
    transform: rotate(-20deg);
}

.glass-2 {
    top: 20%;
    right: 15%;
    transform: rotate(10deg);
}

.glass-3 {
    bottom: 15%;
    right: 20%;
    transform: rotate(40deg);
}

.wine-1 {
    top: 35%;
    right: 30%;
    transform: rotate(-25deg);
}

.wine-2 {
    bottom: 25%;
    left: 25%;
    transform: rotate(15deg);
}

/* استایل‌های اصلی */
.error-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(44, 85, 48, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.error-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .error-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M30,20 Q50,10 70,20 T100,30 L100,70 Q70,80 50,70 T0,70 L0,30 Q30,20 50,30 T30,20Z" fill="white"/></svg>');
        background-size: 200px;
        opacity: 0.1;
    }

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.status-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.1), 0 0 0 5px rgba(255,255,255,0.8);
    margin: 20px 0;
    position: relative;
}

    .status-code::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120%;
        height: 120%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
    }

.error-message {
    font-size: 1.4rem;
    color: var(--dark-color);
    line-height: 1.8;
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn-primary-custom::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn-primary-custom:hover::before {
        left: 100%;
    }

    .btn-primary-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
    }

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

    .btn-outline-custom:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
    }

.product-showcase {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(139, 69, 19, 0.1);
    position: relative;
    overflow: hidden;
}

    .product-showcase::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--cork-color), var(--bottle-green), var(--glass-color));
    }

.product-item {
    text-align: center;
    padding: 15px;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.cork-icon {
    color: var(--cork-color);
}

.bottle-icon {
    color: var(--bottle-green);
}

.glass-icon {
    color: var(--glass-color);
}

.wine-icon {
    color: var(--wine-red);
}

.technical-details {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.contact-info {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.8), rgba(255, 234, 167, 0.8));
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

    .contact-info::before {
        content: '❖';
        position: absolute;
        top: -20px;
        right: -20px;
        font-size: 8rem;
        opacity: 0.05;
        color: var(--cork-color);
    }

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.08;
    }

    50% {
        opacity: 0.12;
    }
}


