:root{
    --clr-neon: rgb(250, 250, 250);
}

/* GŁÓWNY PRZYCISK WS DESIGNS */
.btn-neon{
    color: var(--clr-neon);
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    font-size: 4rem;
    border: var(--clr-neon) 0.125em solid;
    padding: 0.25em 1em;
    border-radius: 0.25em;
    position: relative;

    text-shadow: 0 0 0.15em var(--clr-neon);
    box-shadow: 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);
}

.btn-neon::before{
    content: '';
    position: absolute;
    background: var(--clr-neon);
    top:120%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
    filter: blur(1.5em);
    opacity: 0.8;
}

.btn-neon::after{
    content: '';
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 2em 0.5em var(--clr-neon);
    opacity: 0;
    background: var(--clr-neon);
    z-index: -1;
    transition: opacity 100ms linear;
}

.btn-neon:hover,
.btn-neon:focus{
    color: black;
    text-shadow: none;
}

.btn-neon:focus::before,
.btn-neon:hover::before{
    opacity: 1;
}

.btn-neon:focus::after,
.btn-neon:hover::after{
    opacity: 1;
}

/* Specjalne przyciski w formach */
.btn-form:hover,
.btn-form:focus {
    color: var(--clr-neon);       /* nie zmieniaj koloru tekstu */
    text-shadow: 0 0 0.3em var(--clr-neon);
    animation: neonPulse 0.8s ease-in-out infinite;
}

/* możesz zmniejszyć pulsowanie jeśli jest za mocne */
.btn-form:active {
    animation: none;
}

/* ANIMACJA PULSU */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);
    }
    50% {
        box-shadow: 0 0 1em 0 var(--clr-neon), 0 0 1em 0 var(--clr-neon);
    }
}

#openMenu.activePulse {
    animation: neonPulse 0.8s ease-in-out infinite;
}

/* MENU */
.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
    gap: 1rem;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1000;
}

.menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu .btn-neon {
    width: 250px;       /* ustalana szerokość wszystkich przycisków */
    text-align: center; /* centrowanie tekstu w przycisku */
    font-size: 2rem;    /* możesz dopasować do głównego przycisku */
    padding: 0.25em 0;  /* góra/dół padding, lewo/prawo nie potrzebne bo width ustalone */
}
/* FORMULARZE */
.form-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* align at top so content can scroll */
    padding: 2rem;           /* space around the form */
    overflow-y: auto;         /* allow scrolling if content is tall */
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
    z-index: 1000;
}

.form-overlay.active{
    opacity: 1;
    pointer-events: all;
}

.contact-form{
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    background: black;
    padding: 2rem;
    border: 2px solid var(--clr-neon);
    border-radius: 0.5rem;
    box-shadow: 0 0 2rem var(--clr-neon);
    box-sizing: border-box;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: black;
    border: 2px solid grey;
    color: var(--clr-neon);
    padding: 0.6em;
    font-size: 1rem;
    width: 100%;
    border-radius: 0.25rem;
    box-sizing: border-box;
}

/* Placeholder color */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
    color: grey;
    opacity: 1;
}

button.btn-neon{
    background: transparent;
    font-size: 2rem;          /* mniejsze dla Send/Back */
    padding: 0.2em 0.8em;
}

/* NEONOWE TYTUŁY FORMULARZY */
.service-req-title {
    color: var(--clr-neon);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.service-req-title2 {
    color: var(--clr-neon);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* CHECKBOX LABEL */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: white;
    margin-right: 1rem;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 530px) {
    .menu .btn-neon {
        font-size: 2.5rem;
    }

    .btn-neon {
        font-size: 2.5rem;
    }
}
