/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
    line-height: 1.6;
}

/* Custom animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    animation: slide-up 1s ease-out 0.3s both;
}

/* Moroccan pattern background */
.moroccan-pattern {
    background-image: url('data:image/svg+xml,<svg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M30,15 L45,30 L30,45 L15,30 Z\" fill=\"none\" stroke=\"%23c45525\" stroke-width=\"1\" stroke-opacity=\"0.1\"/><circle cx=\"30\" cy=\"30\" r=\"8\" fill=\"%23c45525\" fill-opacity=\"0.05\"/></svg>');
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .responsive-text {
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #e6d2b5;
}

::-webkit-scrollbar-thumb {
    background: #c45525;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7d5d3b;
}

/* Moroccan decorative elements */
.moroccan-border {
    border: 2px solid #c45525;
    border-radius: 8px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #c45525;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}