:root {
    --primary-blue: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-orange: #f97316;
    --accent-gold: #fbbf24;
    --bg-light: #f9fafb;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: #1f2937;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-premium {
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.02em;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Modern Navbar */
.nav-shadow {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Premium Cards */
.premium-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Slider Overlays */
.slider-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

/* Custom Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::after {
    width: 300px;
    height: 300px;
}

/* Out of Stock Grayscale */
.out-of-stock {
    filter: grayscale(0.8);
    opacity: 0.7;
}

/* Feature Glow Effect */
.feature-glow:hover {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* --- Reveal on Scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease-out, visibility 0.6s;
}

.loader-logo {
    width: 150px;
    height: 150px;
    border: 4px solid rgba(37, 99, 235, 0.05);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Premium WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 8px 24px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.2);
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-text {
    font-weight: 800;
    font-size: 14px;
    color: #1f2937;
}

/* --- Search Modal --- */
#searchModal {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-premium {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 3rem;
    font-weight: 900;
    width: 100%;
    padding: 20px 0;
    transition: border-color 0.3s;
}

.search-input-premium:focus {
    outline: none;
    border-color: #2563eb;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-10px);
    border-color: rgba(37, 99, 235, 0.5);
}

@media (max-width: 768px) {
    .search-input-premium {
        font-size: 1.5rem;
    }
}

