
/* Custom Properties */
:root {
    /* Colors - Premium Grayscale */
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E5E5E5;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Accent Colors - Purple to Pink Gradient */
    --color-purple-500: #8B5CF6;
    --color-purple-600: #7C3AED;
    --color-purple-700: #6D28D9;
    --color-pink-500: #EC4899;
    --color-pink-600: #DB2777;
    --color-green-500: #517175;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows - Subtle and Premium */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    font-family: var(--font-sans);
}

body {
    background-color: var(--color-gray-50);
    color: var(--color-gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Card Styles */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-elevated {
    box-shadow: var(--shadow-lg);
}

/* Gradient Button - Primary CTA */
.btn-gradient {
    background: linear-gradient(135deg, var(--color-purple-500) 0%, var(--color-pink-500) 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--color-purple-600) 0%, var(--color-pink-600) 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-gradient:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: white;
    color: var(--color-gray-700);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-300);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-400);
    transform: translateY(-1px);
}

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

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

/* Status Badges - Refined */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

.badge-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-accepted,
.badge-approved {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-declined,
.badge-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-submitted {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.badge-revision {
    background-color: #FEF3C7;
    color: #92400E;
}

/* Input Fields - Premium */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    background: white;
    color: var(--color-gray-900);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.input-field:focus {
    outline: none;
    border-color: var(--color-purple-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Navigation - Clean and Minimal */
.nav-clean {
    background: white;
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-sm);
}

/* Typography Scale */
.text-hero {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-display {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-title {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.text-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--color-purple-500) 0%, var(--color-pink-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mycelium theming based on brand imagery */
.hero-mycelium {
    position: relative;
    background: linear-gradient(135deg, #517175 0%, #3d5558 50%, #2d4042 100%);
    color: white;
}

.hero-mycelium-content {
    position: relative;
}

.contact-strip {
    position: relative;
    background-image: url('/images/header_background-99ea5860-1b71-4032-9c7c-e20afbdd62f2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.contact-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.6));
}

.contact-strip-content {
    position: relative;
}

/* Header and Footer Background */
.nav-mycelium {
    position: relative;
    background-image: url('/images/header_background-99ea5860-1b71-4032-9c7c-e20afbdd62f2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.nav-mycelium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));
}

.nav-mycelium-content {
    position: relative;
}

.footer-mycelium {
    position: relative;
    background-image: url('/images/header_background-99ea5860-1b71-4032-9c7c-e20afbdd62f2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.footer-mycelium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));
}

.footer-mycelium-content {
    position: relative;
}

.section-spacing {
    padding: var(--spacing-3xl) 0;
}

.container-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Services Section Enhancements */
.service-image-container {
    position: relative;
    transition: all var(--transition-slow);
}

.service-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.service-image-container:hover::before {
    opacity: 1;
}

.service-image-container:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.service-image-container img {
    position: relative;
    z-index: 0;
}
