/* ===========================
   Ing. Marek Baďura - Energetické poradenství
   Custom Design System
   =========================== */

:root {
    --color-primary: #059669;
    --color-primary-light: #d1fae5;
    --color-primary-dark: #047857;
    --color-accent: #d97706;
    --color-accent-light: #fef3c7;
    --color-text: #292524;
    --color-text-light: #78716c;
    --color-bg: #fafaf9;
    --color-surface: #ffffff;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
}

/* Base */
body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: var(--font-display);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Selection */
::selection {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

/* Form focus enhancement */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Button hover effects */
a[href^="tel:"],
a[href^="mailto:"] {
    transition: all 0.2s ease;
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease;
}

/* Card hover lift */
.group:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
}
