@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-50: #f0f4f8;
    --primary-100: #d9e2ec;
    --primary-200: #bcccdc;
    --primary-300: #9fb3c8;
    --primary-400: #829ab1;
    --primary-500: #627d98;
    --primary-600: #486581;
    --primary-700: #334e68;
    --primary-800: #243b53;
    --primary-900: #102a43;
    
    --accent-100: #ffe8d9;
    --accent-200: #ffd0b5;
    --accent-300: #ffb088;
    --accent-400: #ff9466;
    --accent-500: #f9703e;
    --accent-600: #f35627;
    --accent-700: #de3a11;
    --accent-800: #c52707;
    --accent-900: #ad1d07;
}
/* Base Styles */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-900);
    padding-top: 72px; /* To account for fixed navbar */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Transitions */
a, button {
    transition: all 0.3s ease;
}

/* Product Card Styles */
.product-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button Styles */
.btn-primary {
    background-color: var(--accent-500);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-600);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-700);
    color: var(--primary-700);
}

.btn-outline:hover {
    background-color: var(--primary-700);
    color: white;
}

/* Form Styles */
.input-field {
    border: 1px solid var(--primary-200);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(249, 112, 62, 0.2);
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Grid */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-500);
}