@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Hairline.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-HairlineItalic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Thin.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-ThinItalic.woff2') format('woff2');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-XBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-XBoldItalic.woff2') format('woff2');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aktiv Grotesk';
    src: url('/fonts/AktivGrotesk/AktivGrotesk-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
/* ==================== ROOT VARIABLES ==================== */
:root {
    --gap: 0.1rem;
    --font-main: 'Aktiv Grotesk';
    --bg-white: #ffffff;
    --label-radius: 8px;
    --primary-green: #00b373;
    --highlight: #00b373;
}

/* ==================== BASE STYLES ==================== */
html, body {
    font-family: var(--font-main);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

strong {
    color: var(--primary-green);
}

/* ==================== FORM VALIDATION ==================== */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* ==================== BLAZOR ERROR UI ==================== */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ==================== ENUM RADIO COMPONENT ==================== */
/* 
   Note: Bootstrap provides .d-flex, but we need specific gap and alignment,
   so this custom class is necessary for the radio group layout.
*/
.enum-radio-group {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-main);
    color: #000;
}

    .enum-radio-group h4 {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0 0.75rem;
    }

.enum-radio-options {
    display: flex;
    gap: var(--gap);
    width: 100%;
}
.enum-radio-item {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
}
    .enum-radio-item input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }

.enum-radio-label {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 88px;
    padding: 1rem;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--label-radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    text-align: center;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.15;
    white-space: normal;
}

.enum-radio-item input[type="radio"]:checked + .enum-radio-label {
    background: linear-gradient( 180deg, var(--primary-green) 0%, color-mix(in srgb, var(--primary-green) 80%, black 10%) );
    color: var(--bg-white);
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 179, 115, 0.28);
    z-index: 2;
    border: none;
}

@supports not (color: color-mix(in srgb, var(--primary-green) 80%, black 10%)) {
    .enum-radio-item input[type="radio"]:checked + .enum-radio-label {
        background-color: var(--primary-green);
    }
}

.enum-radio-item input[type="radio"]:focus + .enum-radio-label {
    outline: 3px solid rgba(0, 179, 115, 0.18);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .enum-radio-label {
        height: 72px;
        font-size: 0.95rem;
    }
}

.enum-radio-label .highlight {
    color: var(--highlight);
    font-weight: 700;
}


.footer-address {
    transition: color .3s ease-in-out 0s;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000;
    font-weight: 400;
    font-family: var(--golos-text);
    font-size: 16px;
    line-height: 1.38;
    letter-spacing: -.16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    gap: 10px
}

@media(hover:hover) {
    .footer-address:hover {
        color: #baf5cc
    }
}

@media (max-width: 580px) {
    .footer-address {
        font-size: 13px;
    }
}

.hero-bg {
    position: relative;
    color: #fff; /* żeby tekst był czytelny na tle */
    overflow: hidden; /* zabezpiecza przed wyciekiem blur */
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

    /* tło, przyciemnienie i blur */
    .hero-bg::before {
        content: "";
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0 */
        background-image: url("https://hajduk-www.fra1.digitaloceanspaces.com/hajduk/11_46a6350718.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.4; /* przyciemnienie */
        z-index: 0;
    }

    /* tekst na wierzchu */
    .hero-bg > * {
        position: relative;
        z-index: 1;
    }

.hero-scale {
    transform-origin: top center;
    max-height: 100%;
    transition: transform 0.2s ease;
}

@media (max-height: 700px) {
    .hero-scale {
        transform: scale(0.8);
    }
}

@media (max-height: 550px) {
    .hero-scale {
        transform: scale(0.6);
    }
}

.info-icon {
    cursor: pointer;
    font-size: 1.1rem;
}