/* ====================================================
   NEW MOON - ANIMATIONS & EFFECTS
   ==================================================== */

/* ====== LOADING SCREEN ====== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #081226 0%, #1E3A5F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader i {
    font-size: 4rem;
    color: #D4AF37;
    animation: moonSpin 2s ease-in-out infinite;
    display: block;
    margin-bottom: 1rem;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes moonSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ====== COOKIE CONSENT ====== */
.cookie-consent {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: rgba(8, 18, 38, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content i {
    color: #D4AF37;
    font-size: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept, .btn-reject {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #D4AF37;
    color: #081226;
}

.btn-accept:hover {
    background: #F4D03F;
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border: none;
    border-radius: 50%;
    color: #081226;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* ====== HERO ANIMATIONS ====== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #081226 0%, #1E3A5F 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero.webp') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #D4AF37;
    border-radius: 25px;
    color: #D4AF37;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease 0.2s backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.text-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #D4AF37;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #081226;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #081226;
}

.btn-white {
    background: #fff;
    color: #081226;
}

.btn-white:hover {
    background: #D4AF37;
    color: #081226;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* ====== SECTIONS ====== */
/* تقليل المسافة الرأسية لتناسب معايير التصميم الحديثة */
.stats-section {
    padding: 2.5rem 2rem;
}

.clients-section, .cta-section {
    padding: 3.5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #081226;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6B7280;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .whatsapp-float, .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        left: 20px;
    }
    
    .back-to-top {
        right: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn, .btn-large {
        width: 100%;
        justify-content: center;
    }
}