/* Reset & Base Styles */
/* إصلاحات لعرض الأيقونات */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* التأكد من أن الأيقونات تظهر */
i {
    font-style: normal;
    display: inline-block;
}

.fas, .fab {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
    font-style: normal;
}

/* تحسين عرض الترانسفورميشن */
.gear, .hammer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* إصلاح التروس */
.gear i, .hammer i {
    font-size: inherit !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff0 100%); /* أبيض/أخضر فاتح */
    color: #05042d; /* أخضر داكن للنص */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Maintenance Card */
.maintenance-card {
    background: rgba(255, 255, 255, 0.98); /* أبيض نقي */
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.1); /* ظل أخضر خفيف */
    backdrop-filter: blur(10px);
    border: 2px solid #05042d; /* حدود خضراء */
    position: relative;
    overflow: hidden;
}

/* Animation Container */
.animation-container {
    position: relative;
    height: 200px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gear {
    position: absolute;
    font-size: 80px;
    color: #05042d; /* أخضر للتروس */
    opacity: 0.8;
}

.gear1 {
    animation: rotate-clockwise 10s linear infinite;
    top: 20px;
    left: 20px;
}

.gear2 {
    animation: rotate-counterclockwise 8s linear infinite;
    bottom: 20px;
    right: 20px;
    font-size: 60px;
    color: #05042d; /* أخضر داكن */
}

.gear3 {
    animation: rotate-clockwise 12s linear infinite;
    top: 60px;
    right: 60px;
    font-size: 50px;
    color: #05042d; /* أخضر متوسط */
}

.hammer {
    position: absolute;
    font-size: 50px;
    color: #ff9800; /* برتقالي للمطرقة */
    animation: hammer-animation 2s ease-in-out infinite;
}

@keyframes rotate-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-counterclockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes hammer-animation {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-30deg); }
    75% { transform: rotate(30deg); }
}

/* Content Styles */
.content {
    text-align: center;
}

h1 {
    color: #05042d; /* أخضر داكن */
    font-size: 2.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

h1 i {
    color: #05042d; /* أخضر */
    font-size: 2.5rem;
}

h2 {
    color: #666;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Info Box */
.info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e9 100%); /* خلفية خضراء فاتحة */
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    border-left: 5px solid #05042d; /* حدود خضراء */
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2); /* ظل أخضر */
    border-left: 5px solid #05042d; /* حدود أغمق عند hover */
}

.info-item i {
    font-size: 2.5rem;
    color: #05042d; /* أخضر للأيقونات */
    min-width: 50px;
}

.info-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #05042d; /* أخضر داكن للنص */
    font-size: 1.2rem;
    font-weight: 700;
}

/* Progress Bar */
.progress-container {
    background: #f1f8e9; /* خلفية خضراء فاتحة جداً */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid #c8e6c9; /* حدود خضراء فاتحة */
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #05042d; /* أخضر داكن */
    font-weight: 700;
}

.progress-bar {
    height: 15px;
    background: #e8f5e9; /* خلفية شريط التقدم */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #c8e6c9;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #05042d, #81c784); /* تدرج أخضر */
    width: 65%;
    border-radius: 10px;
    animation: progress-animation 2s ease-in-out infinite alternate;
}

@keyframes progress-animation {
    from { 
        background: linear-gradient(90deg, #05042d, #81c784);
        opacity: 0.9; 
    }
    to { 
        background: linear-gradient(90deg, #05042d, #a5d6a7);
        opacity: 1; 
    }
}

/* Countdown */
.countdown {
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e9 100%); /* أبيض/أخضر فاتح */
    color: #05042d; /* أخضر داكن للنص */
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 2px solid #05042d; /* حدود خضراء */
}

.countdown h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #05042d;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
}

.time-unit {
    background: rgba(255, 255, 255, 0.9); /* خلفية بيضاء شفافة */
    padding: 20px 15px;
    border-radius: 10px;
    min-width: 100px;
    backdrop-filter: blur(5px);
    border: 2px solid #05042d; /* حدود خضراء */
    color: #05042d;
}

.time-unit span {
    font-size: 3rem;
    display: block;
    margin-bottom: 5px;
    color: #05042d;
}

.time-unit small {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    color: #555;
}

.time-separator {
    font-size: 2.5rem;
    color: #05042d; /* أخضر للفاصلة */
    margin-bottom: 25px;
}

/* Social Links */
.social-links {
    margin-bottom: 30px;
}

.social-links p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #05042d; /* خلفية خضراء افتراضية */
}

.social-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    background: #05042d; /* أخضر داكن عند hover */
}

/* إضافة أيقونة تلغرام خاصة */
.social-icon.telegram {
    background: #0088cc; /* أزرق تلغرام */
}

.social-icon.telegram:hover {
    background: #006699;
}

/* Footer */
.footer {
    border-top: 2px solid #e8f5e9; /* حدود خضراء فاتحة */
    padding-top: 25px;
    color: #05042d; /* أخضر داكن */
}

.footer p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sub-text {
    color: #05042d; /* أخضر متوسط */
    font-size: 1rem !important;
}

/* زر تلغرام للتواصل */
.telegram-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0088cc;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.telegram-contact:hover {
    background: #006699;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-card {
        padding: 25px;
    }
    
    h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .time-unit span {
        font-size: 2rem;
    }
    
    .info-box {
        grid-template-columns: 1fr;
    }
    
    .animation-container {
        height: 150px;
    }
    
    .gear {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .maintenance-card {
        padding: 20px;
    }
    
    .countdown-timer {
        font-size: 1.8rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .time-unit span {
        font-size: 1.8rem;
    }
}

