/*
Theme Name: Metalo bitės
Version: 1.00
Author: Sprendimai.ai
Author URI: https://sprendimai.ai
Text Domain: metalo-theme
Domain Path: /languages
*/

/* ==========================================================================
   COLORS
   ========================================================================== */

:root {
    --white: #FFFFFF;
    --color-text: #2B2B2B;
    --color-text-muted: #6D6D6D;
    --color-text-secondary: #717171;
    --color-brand: #FF6900;
    --color-brand-dark: #C74E00;
    --color-brand-border: #EE752E;
    --color-brand-soft: #FEF8F4;
    --color-surface: #FAFAFA;
    --color-border: #ECECEC;
    --shadow-dropdown: 0 4px 8px rgb(0 0 0 / 10%);
    --layout-max-width: 1920px;
}

/* ==========================================================================
    RESET AND BASE STYLES
   ========================================================================== */

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

* {
    margin: 0;
}

body {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

ul,
li,
ol {
    list-style: none;
    padding: 0px;
}

a {
    text-decoration: none;
    display: block;
    width: fit-content;
    color: inherit;
}

a:visited {
    color: inherit;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    max-width: var(--layout-max-width);
    margin: auto;
    width: 100%;
    padding: 0 50px;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.hero-title {
    font-size: 45px;
}

.section-header {
    font-size: 40px;
}

.feature-title {
    font-size: 32px;
}

.card-title {
    font-size: 22px;
}

.promo-title,
.intro-text {
    font-size: 30px;
}

.body-text {
    font-size: 16px;
    line-height: 23px;
}

.body-text-small,
.footer-text {
    font-size: 14px;
    line-height: 20px;
}

.label-text {
    font-size: 14px;
}

.button-text,
.list-text,
.card-link {
    font-size: 16px;
}

.brand-text {
    font-size: 15px;
    text-transform: uppercase;
}

.step-number {
    font-size: 32px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-text,
.faq-question {
    font-size: 18px;
    line-height: 25px;
}

.testimonial-name {
    font-size: 16px;
}

.testimonial-company {
    font-size: 14px;
    font-weight: 400;
}

.faq-answer {
    font-size: 16px;
}

.contact-text {
    font-size: 18px;
}

.nav-text {
    font-size: 15px;
}

.header-contact,
.legal-text {
    font-size: 13px;
}

.footer-heading {
    font-size: 16px;
}

.footer-link {
    font-size: 14px;
    line-height: 24px;
}

.section-header-small {
    font-size: 32px;
}

.content-title,
.form-title,
.material-title {
    font-size: 22px;
}

.material-title-small {
    font-size: 20px;
}

.material-code {
    font-size: 32px;
    font-weight: 800;
}

.order-number {
    font-size: 20px;
    font-weight: 600;
}

.process-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.breadcrumb-text {
    font-size: 13px;
}

.contact-detail {
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header {
        font-size: 30px;
    }

    .feature-title,
    .step-number {
        font-size: 24px;
    }

    .card-title,
    .step-title,
    .contact-text {
        font-size: 16px;
    }

    .promo-title {
        font-size: 18px;
        font-weight: 600;
    }

    .intro-text {
        font-size: 20px;
    }

    .body-text,
    .faq-answer {
        font-size: 14px;
        line-height: 20px;
    }

    .label-text,
    .card-link,
    .header-contact {
        font-size: 12px;
    }

    .button-text,
    .list-text,
    .brand-text,
    .testimonial-name {
        font-size: 14px;
    }

    .card-link {
        text-decoration: underline;
        text-underline-position: from-font;
    }

    .testimonial-text,
    .faq-question {
        font-size: 16px;
        line-height: 23px;
    }

    .testimonial-company {
        font-size: 12px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .section-header-small {
        font-size: 30px;
    }

    .content-title,
    .form-title,
    .material-title,
    .material-title-small,
    .order-number {
        font-size: 18px;
    }

    .material-code {
        font-size: 24px;
    }

    .contact-detail {
        font-size: 14px;
    }
}

/* ==========================================================================
   COLOR UTILITIES
   ========================================================================== */

.text-muted {
    color: var(--color-text-muted);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-brand {
    color: var(--color-brand);
}

.text-brand-dark {
    color: var(--color-brand-dark);
}

.text-white {
    color: var(--white);
}

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

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

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn,
.btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 45px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: var(--button-bg, var(--color-brand));
    color: var(--button-color, var(--white));
    font: inherit;
    font-size: 16px;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
    --button-bg: var(--color-brand);
    --button-color: var(--white);
    --button-hover-bg: var(--color-brand-dark);
    --button-hover-color: var(--white);
}

.btn-secondary {
    --button-bg: var(--color-brand-soft);
    --button-color: var(--color-brand);
    --button-hover-bg: var(--color-brand);
    --button-hover-color: var(--white);
}

.btn-white {
    --button-bg: var(--white);
    --button-color: var(--color-text);
    --button-hover-bg: var(--color-brand-soft);
    --button-hover-color: var(--color-brand-dark);
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .btn {
        min-height: 40px;
        font-size: 14px;
    }
}

/* ==========================================================================
   TEXT LINKS
   ========================================================================== */

.text-link,
.text-link:visited {
    display: inline;
    color: var(--color-brand);
    text-decoration: underline;
    text-underline-position: from-font;
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */

.form-note {
    font-size: 14px;
    line-height: 20px;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--color-text);
    font-size: 16px;
    line-height: 23px;
    transition: border-color 160ms ease;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    color: var(--color-text-muted);
}

.form-note a,
.form-note a:visited {
    display: inline;
    color: inherit;
    text-decoration: underline;
    text-underline-position: from-font;
}

.form-upload {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 17px 25px;
    border: 1px dashed var(--color-brand);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--color-text-muted);
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.form-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-note {
        font-size: 12px;
        line-height: 18px;
    }

    .form-input {
        font-size: 14px;
        line-height: 20px;
    }

    textarea.form-input {
        min-height: 100px;
    }

    .form-upload {
        flex-direction: column;
        font-size: 12px;
    }
}

/* ==========================================================================
   FOCUS STATES
   ========================================================================== */

.btn:focus-visible,
.text-link:focus-visible,
.form-upload:focus-within {
    outline: 2px solid var(--color-brand-dark);
    outline-offset: 3px;
}

.form-input:focus {
    border-color: var(--color-brand);
    outline: none;
}

/* ==========================================================================
   HOVER STATES
   ========================================================================== */

@media (hover: hover) {
    .btn:hover:not(:disabled):not([aria-disabled="true"]) {
        background-color: var(--button-hover-bg, var(--color-brand-dark));
        color: var(--button-hover-color, var(--white));
    }

    .text-link:hover,
    .card-link:hover {
        color: var(--color-brand-dark);
    }

    .form-upload:hover {
        background-color: var(--color-brand-soft);
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .btn,
    .form-input {
        transition: none;
    }
}
