/**
 * CORE STYLES
 * Consolidated core styles - essential styles in one file
 * Easy to maintain and modify
 */

:root {
    /* Colors */
    --primary: #0d6efd;
    --secondary: #6f42c1;
    --accent: #e83e8c;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

    /* Transitions */
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide unwanted elements */
.skip-link,
#skip-to-main,
[class*="skip"],
.section-number,
[class*="section-number"] {
    display: none !important;
}

/* Core reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

/* Cards */
.card {
    background: white;
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: all var(--transition);
}

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

input.error, textarea.error {
    border-color: var(--danger);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ffffff;
        --bg: #1a1a1a;
    }
    body {
        color: var(--text);
        background: var(--bg);
    }
    .card {
        background: #2d2d2d;
        border-color: #404040;
    }
}

/* Sidebar About Section - moved from inline styles */
.sidebar-about > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-about > div:first-child > div:first-child {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-about > div:first-child > div:first-child i {
    color: #fff;
    font-size: 24px;
}

.sidebar-about > div:first-child > div:last-child {
    flex: 1;
}

/* Calendar iframe - moved from inline styles */
iframe[src*="calendar.google.com"] {
    border-width: 0;
}

/* Logo Animation Controls - moved from inline styles */
.controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: none;
}

/* Honeypot field - hidden from users */
#company {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

