Files
aperonight/.superdesign/design_iterations/modern_minimalist_theme.css
2025-08-27 19:46:49 +02:00

252 lines
5.1 KiB
CSS

/* Modern Minimalist Design System for Event Booking */
:root {
/* Colors - Clean and Professional */
--background: #ffffff;
--foreground: #0a0a0a;
--card: #ffffff;
--card-foreground: #0a0a0a;
--popover: #ffffff;
--popover-foreground: #0a0a0a;
--primary: #2563eb;
--primary-foreground: #ffffff;
--secondary: #f1f5f9;
--secondary-foreground: #334155;
--muted: #f8fafc;
--muted-foreground: #64748b;
--accent: #3b82f6;
--accent-foreground: #ffffff;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--border: #e2e8f0;
--input: #f8fafc;
--ring: #3b82f6;
/* Event-specific colors */
--event-featured: #8b5cf6;
--event-sold-out: #ef4444;
--event-available: #10b981;
--ticket-premium: #f59e0b;
--ticket-standard: #6b7280;
/* Typography - Clean and readable */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
/* Font sizes */
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
--text-4xl: 2.25rem;
/* Spacing */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-12: 3rem;
--space-16: 4rem;
/* Border radius */
--radius: 8px;
--radius-sm: 4px;
--radius-md: 6px;
--radius-lg: 12px;
--radius-xl: 16px;
/* Shadows - Subtle and clean */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
/* Component styles */
.btn-primary {
background: var(--primary);
color: var(--primary-foreground);
padding: 12px 24px;
border-radius: var(--radius);
font-weight: 600;
border: none;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
background: #1d4ed8;
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.btn-secondary {
background: var(--secondary);
color: var(--secondary-foreground);
padding: 12px 24px;
border-radius: var(--radius);
font-weight: 500;
border: 1px solid var(--border);
cursor: pointer;
transition: all 0.2s ease;
}
.btn-secondary:hover {
background: #e2e8f0;
border-color: var(--accent);
}
.card {
background: var(--card);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: var(--space-6);
border: 1px solid var(--border);
transition: all 0.3s ease;
}
.card:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
.event-card {
background: var(--card);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow);
transition: all 0.3s ease;
border: 1px solid var(--border);
}
.event-card:hover {
box-shadow: var(--shadow-xl);
transform: translateY(-4px);
}
.ticket-card {
background: var(--muted);
border-radius: var(--radius);
padding: var(--space-4);
border: 2px solid transparent;
transition: all 0.2s ease;
}
.ticket-card.selected {
border-color: var(--primary);
background: var(--primary-foreground);
box-shadow: 0 0 0 4px rgb(59 130 246 / 0.1);
}
.form-input {
background: var(--input);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 16px;
font-size: var(--text-base);
transition: all 0.2s ease;
}
.form-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}
.badge {
display: inline-flex;
align-items: center;
padding: 4px 12px;
border-radius: 9999px;
font-size: var(--text-xs);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.badge-available {
background: rgb(220 252 231);
color: rgb(22 163 74);
}
.badge-sold-out {
background: rgb(254 226 226);
color: rgb(220 38 38);
}
.badge-featured {
background: rgb(243 232 255);
color: rgb(147 51 234);
}
/* Navigation */
.nav {
background: var(--background);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}
.nav-link {
color: var(--muted-foreground);
font-weight: 500;
padding: 8px 16px;
border-radius: var(--radius);
transition: all 0.2s ease;
text-decoration: none;
}
.nav-link:hover, .nav-link.active {
color: var(--primary);
background: rgb(59 130 246 / 0.05);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out;
}
.animate-slideIn {
animation: slideIn 0.4s ease-out;
}
/* Responsive design */
@media (max-width: 768px) {
:root {
--space-4: 0.75rem;
--space-6: 1rem;
--space-8: 1.5rem;
}
.btn-primary, .btn-secondary {
padding: 10px 20px;
font-size: var(--text-sm);
}
}