/* M. Idrees Web Custom Styling */

body {
    font-family: 'Inter', sans-serif;
}
.font-display {
    font-family: 'Outfit', sans-serif;
}

/* Custom animated gradient backgrounds */
.glow-blob {
    filter: blur(80px);
    opacity: 0.08;
    transition: all 1s ease;
}

/* Subtle radial mesh background for dark mode depth */
.dark-bg-mesh {
    background-color: #020C1B;
    background-image: 
        radial-gradient(at 0% 0%, rgba(10, 25, 47, 0.8) 0px, transparent 55%),
        radial-gradient(at 100% 0%, rgba(18, 136, 7, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(17, 34, 64, 0.95) 0px, transparent 65%),
        radial-gradient(at 0% 100%, rgba(255, 153, 51, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 175, 55, 0.1) 0px, transparent 55%);
    background-attachment: fixed;
}

/* Glassmorphism utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.dark .glass-panel {
    background: rgba(17, 34, 64, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dark .glass-nav {
    background: rgba(10, 25, 47, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hide scrollbar for gallery filters */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* AI Assistant custom keyframes & styles */
@keyframes float-fab {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.ai-fab-container {
    animation: float-fab 3.5s infinite ease-in-out;
}
@keyframes ring-pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.ai-fab-glow {
    animation: ring-pulse 2.2s infinite ease-in-out;
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.message-fade-in {
    animation: fade-in-up 0.3s ease-out forwards;
}

/* Staggered entrance animation on page load */
@keyframes revealFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.reveal-element {
    opacity: 0;
    animation: revealFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }

/* Custom premium hover states */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
}

.glow-gold:hover {
    box-shadow: 0 12px 24px -6px rgba(212, 175, 55, 0.45);
}

.glass-hover-secondary {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.glass-hover-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    color: #D4AF37 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px -8px rgba(212, 175, 55, 0.25);
}
.light .glass-hover-secondary:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
    border-color: #D4AF37 !important;
    color: #0A192F !important;
}

/* Card Glowing Gradient border animation */
@keyframes rotate-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-gradient-border {
    background-size: 200% 200%;
    animation: rotate-gradient 6s linear infinite;
}

/* Scroll-triggered reveal transitions */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Theme toggle button interactive hover state */
.theme-toggle-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.05);
}

/* Custom Scrollbar for premium visual polish */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #020C1B;
}
::-webkit-scrollbar-thumb {
    background: #112240;
    border: 2px solid #020C1B;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Light mode scrollbar overrides */
.light ::-webkit-scrollbar-track,
html:not(.dark) ::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.light ::-webkit-scrollbar-thumb,
html:not(.dark) ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border: 2px solid #f1f5f9;
}
.light ::-webkit-scrollbar-thumb:hover,
html:not(.dark) ::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}




