@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --color-primary: #2dd4bf;
    --color-secondary: #1e293b;
    --color-dark: #0f172a;
    --color-accent: #f59e0b;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--color-dark);
    color: #fff;
}

/* Glass morphism */
.glass {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

/* Gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
}

.gradient-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.gradient-hero {
    background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 1) 100%);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #2dd4bf, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Form inputs */
input, select, textarea {
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

/* Buttons */
.btn-primary {
    @apply px-6 py-3 bg-primary text-dark font-bold rounded-lg hover:bg-primary/90 transition;
}

.btn-secondary {
    @apply px-6 py-3 bg-secondary text-white font-medium rounded-lg hover:bg-secondary/80 transition border border-gray-700;
}

/* Cards */
.card {
    @apply bg-secondary/50 backdrop-blur-xl rounded-2xl border border-gray-700 p-6;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
