
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Text:wght@400;600&display=swap');

:root {
    --primary-color: #0071e3; 
    --glass-bg: rgba(255 255 255 / 0.15);
    --glass-border: rgba(255 255 255 / 0.3);
    --text-color: #111;
    --shadow-color: rgba(0,0,0,0.1);
    --font-sans: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #e3e3e3, #f5f5f5);
    font-family: var(--font-sans);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header .nav-btn {
    display: none;
}


header .nav-links nav {
    display: flex;
    gap: 32px;
}


header #nav-check {
    display: none;
}



header {
    position: relative;
    width: auto;
    display: flex;
    padding: 24px 60px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 500;
}


.logo-section {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}

.logo-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    user-select: none;
}

.logo-text .qr {
    color: var(--primary-color);
}

/* Navigation section */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}
.main_container {
    flex: 1;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.greetings h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.greetings p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.text-container {
    width: 100%;
    max-width: 800px; 
    margin: 0 auto 10% auto;
    padding: 2rem;

}

.text-container ol, li {
    margin-top: 1rem;
    text-align: left;
}

.text-container h1, h2 {
    text-align: center; 
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 2rem;
}

.text-container p {
    text-align: justify; 
    font-size: 1.2em;
    color: #333;
    line-height: 2rem;
    margin-bottom: 2rem;
}


.wrapper {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    max-width: 600px;
    margin: 0 auto 20% auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    user-select: none;
}

input[type="text"] {
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255 255 255 / 0.4);
    background: rgba(255 255 255 / 0.25);
    color: var(--text-color);
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

input[type="text"]:focus {
    background: rgba(255 255 255 / 0.5);
    border-color: var(--primary-color);
    box-shadow: 0 1px 5px var(--primary-color);
}

.options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

select.sizeOptions, .color-inp {
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid rgba(255 255 255 / 0.4);
    background: rgba(255 255 255 / 0.25);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

select.sizeOptions:hover, .color-inp:hover {
    background: rgba(255 255 255 / 0.4);
    border-color: var(--primary-color);
}

.box {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

button#submit {
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0 113 227 / 0.6);
    user-select: none;
}

button#submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

button#submit:not(:disabled):hover {
    background: #005bb5;
    box-shadow: 0 8px 25px rgba(0 91 181 / 0.8);
}

a#download {
    padding: 0.8rem 2rem;
    background: transparent;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
}

a#download:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 15px rgba(0 113 227 / 0.6);
}

.container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;

}

.footer-copy {
    text-align: center;
    color: #555555;
    font-size: 0.9rem;
    padding: 1rem;
}

footer.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #474747;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    user-select: none;
}

footer.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer.footer a:hover {
    text-decoration: underline;
}


.hero-image {
    animation: scrollMove 5s infinite ease-in-out;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

@keyframes scrollMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}


/* Mobilka i Tablet */

@media (max-width: 768px) {
    header {
        padding: 16px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(235, 235, 235, 0.81);
        backdrop-filter: unset;
        border-bottom: 1px solid var(--glass-border);

    }

    header .nav-btn {
        display: block;
        position: relative;
        z-index: 1100;
    }

    header .nav-btn label {
        display: block;
        width: 44px;
        height: 44px;
        cursor: pointer;
        position: relative;
    }

    header .nav-btn label span {
        display: block;
        position: absolute;
        left: 50%;
        width: 32px;
        height: 2px;
        background: var(--text-color);
        transition: 0.3s;
    }

    header .nav-btn label span:nth-child(1) {
        top: 16px;
        transform: translateX(-50%);
    }

    header .nav-btn label span:nth-child(2) {
        top: 24px;
        transform: translateX(-50%);
    }

    header #nav-check:checked ~ .nav-btn label span:nth-child(1) {
        transform: translateX(-50%) rotate(-45deg);
        top: 20px;
    }

    header #nav-check:checked ~ .nav-btn label span:nth-child(2) {
        transform: translateX(-50%) rotate(45deg);
        top: 20px;
    }

    header .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(255, 255, 255, 0.3); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 32px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        z-index: 1000;
        transition: transform 0.4s ease, opacity 0.4s ease;
        
    }

    

    header .nav-links nav {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    header .nav-links a {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    header #nav-check:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    header #nav-check:checked ~ .nav-links a {
        opacity: 1;
        transform: translateY(0);
    }
    .text-container h1 {
    text-align: center; 
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 1em;
}

    .main_container {
        padding-top: 6rem;
    }
}





/* Allert */
.message {
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4f; 
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.message.show {
    opacity: 1;
    pointer-events: auto;
}

.hidden {
    display: none;
}