html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
}

.gold-gradient-text {
    background: linear-gradient(to bottom, #D4AF37 0%, #D4AF37 50%, #D4AF37 51%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0.2) 100%);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* Style for the mobile menu (drawer) */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen to the left */
    width: 100%;
    height: 100%;
    background-color: #000000; /* Full black background for the entire screen */
    z-index: 9999;
    transition: left 0.3s ease; /* Smooth transition for sliding effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); /* Optional shadow for depth */
}

/* When the "open" class is added, the menu will slide in */
#mobile-menu.open {
    left: 0; /* Move the menu to the screen */
    display: block; /* Ensure the menu is displayed when open */
}

/* Inner content styles for the menu */
#mobile-menu .bg-background-dark {
    background-color: #000000; /* Ensure the inner content has a solid black background */
    color: white; /* Text color set to white for contrast */
    height: 100%;
    padding: 20px;
}

/* Close button styling */
#close-menu {
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
}

/* Optional: Style for menu items to ensure text is visible */
#mobile-menu a,
#mobile-menu button,
#mobile-menu .menu-item {
    color: white;
}

/* Optional: Hover effects for menu items */
#mobile-menu a:hover,
#mobile-menu .menu-item:hover {
    background-color: #333333; /* Dark gray on hover for visual feedback */
}



