@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-VariableFont_wght.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'RalewayDots';
    src: url('../fonts/RalewayDots-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
body, html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

.hero {
    width: 100%;
    min-height: 200vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: scroll;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
    padding-top: 120px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
.hero-content h1 {
    font-size: 39px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 600px;
    font-family: RalewayDots, sans-serif;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.hero-content-center {
    width: 100%;
    max-width: 600px; /* taka sama jak h1 */
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(0); /* opcjonalnie: offset, jeśli trzeba */
}
/*.hero-inner h1 {*/
/*    font-size: 39px;*/
/*    font-weight: 700;*/
/*    margin-bottom: 20px;*/
/*    font-family: RalewayDots, sans-serif;*/
/*    text-shadow: 0 2px 5px rgba(0,0,0,0.3);*/
/*    color: rgba(255,255,255,0.8);*/
/*}*/
.hero-content-center p {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.8);
    font-family: Raleway, sans-serif;
    text-align: center;
    margin-bottom: 20px;
}
.hero-inner p {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    font-family: Raleway, sans-serif;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #ff3366;
    outline: none;
}


/*.btn {*/
/*    display: inline-block;*/
/*    padding: 1em 2em;*/
/*    background: #ff3366;*/
/*    color: white;*/
/*    text-decoration: none;*/
/*    font-size: 1.2em;*/
/*    border-radius: 5px;*/
/*    transition: background 0.3s;*/
/*}*/

/*.btn:hover {*/
/*    background: #cc2952;*/
/*}*/

.form-container {
    position: absolute;
    bottom: 100px;
    right: 80px;         /* odstęp od prawej na desktopie */
    max-width: 400px;
    width: 100%;
    background: transparent;
    text-align: left;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .form-container {
        position: static;
        margin: 110vh auto 60px auto; /* spychamy formularz niżej niż ekran + odstęp na dole */
        text-align: center;
        padding: 0 20px;
    }
}

.form-container h1 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2em;
}
form {
    display: flex;
    flex-direction: column;
}

input[type="email"], input[type="text"], button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    box-sizing: border-box;
}

.submit-btn {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* Responsywność */
@media (max-width: 768px) {
    .hero-inner h2 {
        font-size: 2em;
    }
    .hero-inner p {
        font-size: 1.2em;
    }
}
.btn {
    display: inline-block;
    padding: 1em 2em;
    font-size: 1.2em;
    border: 2px solid #ffffff; /* kolor ramki */
    color: #ffffff; /* kolor tekstu */
    background-color: transparent; /* przezroczyste tło */
    border-radius: 8px; /* ładne zaokrąglenie */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.form-group {
    margin-bottom: 20px;
}
input.form-input.error {
    border-color: #ff3366;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-message {
    color: #ff3366;
    font-size: 0.9em;
    margin-top: 5px;
    animation: fadeIn 0.5s ease forwards;
}
input.form-input.error {
    border-color: #ff3366;
}

input.form-input.valid {
    border-color: #28a745; /* zielony */
}
input.form-input {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); /* dla Safari */
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 12px;
    font-size: 1em;
    transition: border-color 0.3s, background-color 0.3s;
}

input.form-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.consent-text {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 16px 0;
    line-height: 1.4;
    text-align: left;
}
@media (max-width: 768px) {
    .hero-inner {
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 80px;
    }

    .hero-content,
    .hero-content-center {
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        max-width: 100%;
    }

    .hero-content-center {
        max-width: 100%;
        transform: none;
    }

    .hero-content-center p,
    .hero-content-center .btn {
        transform: none;
    }
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background-color: #f5f5f5; /* jasne, ale lekko kontrastowe tło */
    color: #333; /* ciemny, czytelny tekst */
    padding: 16px 20px;
    font-size: 0.95em;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid #ddd;
}

.cookie-banner button {
    background-color: #ff3366;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 0.9em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background-color: #cc2952;
}
input.form-input,
.submit-btn {
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}