/**
 * LB Services - Custom Styles
 * Color variables and custom styling
 */

/* CSS Variables - Professional Light Theme with Navy/Blue Accent */
:root {
    /* Background and foreground */
    --background: #fafafa;
    --foreground: #1a2744;
    
    /* Card */
    --card: #f7f7f7;
    --card-foreground: #1a2744;
    
    /* Popover */
    --popover: #ffffff;
    --popover-foreground: #1a2744;
    
    /* Primary - Deep Navy */
    --primary: #1e2d4d;
    --primary-foreground: #fafafa;
    
    /* Secondary - Medium Blue */
    --secondary: #3b5998;
    --secondary-foreground: #fafafa;
    
    /* Muted */
    --muted: #f0f1f3;
    --muted-foreground: #6b7280;
    
    /* Accent - Green/Teal */
    --accent: #6abf69;
    --accent-foreground: #1a2744;
    
    /* Destructive */
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    
    /* Border and input */
    --border: #e5e7eb;
    --input: #e5e7eb;
    --ring: #3b5998;
    
    /* Border radius */
    --radius: 0.5rem;
}

/* Dark mode (optional - can be enabled later) */
.dark {
    --background: #0f0f0f;
    --foreground: #fafafa;
    --card: #0f0f0f;
    --card-foreground: #fafafa;
    --popover: #0f0f0f;
    --popover-foreground: #fafafa;
    --primary: #fafafa;
    --primary-foreground: #171717;
    --secondary: #262626;
    --secondary-foreground: #fafafa;
    --muted: #262626;
    --muted-foreground: #a3a3a3;
    --accent: #262626;
    --accent-foreground: #fafafa;
    --destructive: #7f1d1d;
    --destructive-foreground: #fafafa;
    --border: #262626;
    --input: #262626;
    --ring: #525252;
}

/* Base styles */
* {
    border-color: var(--border);
}

body {
    background-color: var(--background);
    color: var(--foreground);
}

/* Font family */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    height: 2.5rem;
    padding: 0 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Card styles */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Form styles */
.form-input,
.form-textarea {
    display: flex;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--input);
    background-color: var(--background);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px rgba(59, 89, 152, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Icon styles */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-lg {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-xl {
    width: 3rem;
    height: 3rem;
}

/* Scroll margin for anchor links */
[id] {
    scroll-margin-top: 5rem;
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(8px)) {
    .backdrop-blur {
        backdrop-filter: blur(8px);
    }
}

/* Aspect ratio fallback */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Container */
.container {
    width: 100%;
    max-width: 80rem;
}

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

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

/* Smooth transitions */
a,
button {
    transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

/* Utility classes for colors not in Tailwind config */
.text-accent {
    color: var(--accent);
}

.bg-accent {
    background-color: var(--accent);
}

.text-accent-foreground {
    color: var(--accent-foreground);
}

.border-accent {
    border-color: var(--accent);
}

/* Prose styles for content */
.prose {
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

