/* ===================================
   MPStudio - Custom Styles
   =================================== */

/* Base Styles */
body {
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
}

/* Hero Background - أزرق */
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

/* Service Card Styles */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid transparent;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    border-top: 3px solid #2563EB; /* ✅ أزرق */
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 
                0 10px 10px -5px rgba(37, 99, 235, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Modal Styles */
.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal:not(.hidden) .modal-content {
    transform: scale(1);
}

/* Gradient Text - أزرق */
.gradient-text {
    background: linear-gradient(to right, #3B82F6, #0EA5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar - أزرق */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563EB; /* ✅ أزرق */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {
    nav, footer, .mobile-menu, .service-card {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}