/* ==========================================================================
   Drukulotek.com - Modern CSS Reset
   ========================================================================== */

/* ---- Box Sizing ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---- Remove default margins and padding ---- */
* {
    margin: 0;
    padding: 0;
}

/* ---- Document ---- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 100%;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ---- Body ---- */
body {
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ---- Typography Reset ---- */
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    font-weight: 700;
    line-height: 1.2;
}

p {
    overflow-wrap: break-word;
}

/* ---- Media Defaults ---- */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---- Form Defaults ---- */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    border: none;
    outline: none;
}

/* ---- Link Reset ---- */
a {
    color: inherit;
    text-decoration: none;
}

/* ---- List Reset ---- */
ul,
ol {
    list-style: none;
}

/* ---- Table Reset ---- */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ---- Misc ---- */
fieldset {
    border: none;
}

address {
    font-style: normal;
}

abbr[title] {
    text-decoration: none;
}

dialog {
    padding: 0;
    border: none;
}

summary {
    cursor: pointer;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Focus Visible ---- */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ---- Selection ---- */
::selection {
    background-color: rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-secondary);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* ---- Print Styles ---- */
@media print {
    body {
        background: white;
        color: black;
    }

    nav,
    footer,
    .no-print {
        display: none !important;
    }
}
