* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 15px;
}

:root {
    --main-bg: black;
    --main-boxbg: #1f1e1ed9;
    --main-nav: #191919;
    --main-button: #575656;
    --main-hover: #16A085;
    --main-accent-soft: rgba(22, 160, 133, 0.18);
    --main-text-w: #D1D1D1;
    --main-text-b: #ffff;
}


.ubuntu-bold {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.ubuntu-light {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.ubuntu-medium {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--main-bg);
    padding: 0 10% 0 10%;
}

@media screen and (max-width: 430px) {
    body {
        padding: 0 2% 0 2%;
    }
}

main {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-bottom: 4rem;
}

h1,
h2 {
    color: var(--main-text-w);

}

p {
    color: var(--main-text-b);
}

a {

    text-decoration: none;
}

/* --- Hedaer --- */

.mrklogo {
    width: 100px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 1rem;
}

.navContainer {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.navbar {
    background-color: var(--main-boxbg);
    width: min(100%, 640px);
    padding: 6px 20px;
    border: 1px solid rgba(245, 245, 245, 0.411);
    border-radius: 10px;
    height: 58px;
    display: flex;
    justify-content: center;
    min-width: 0;

}

.menuList {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 1.4rem;

}

.menuListItem a {
    position: relative;
    display: inline-block;
    font-size: 20px;
    color: var(--main-text-b);
    text-decoration: none;
}

.menuListItem a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--main-text-b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.menuListItem a:hover::after {
    transform: scaleX(1);
}


.btnStyle {
    background-color: var(--main-button);
    border: 1px solid rgba(245, 245, 245, 0.411);
    border-radius: 10px;
    color: var(--main-text-w);
    font-size: 16px;
    transition-duration: 1s;
}

.btnStyle:hover {
    background-color: white;
    cursor: pointer;
    color: black;
}


.kapcsolatBtn {
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2rem;
}

.cvBtn {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburgerButton {
    width: 50px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hamburgerButton__icon,
.hamburgerButton__icon::before,
.hamburgerButton__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--main-text-w);
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
    content: "";
}

.hamburgerButton__icon {
    position: relative;
}

.hamburgerButton__icon::before,
.hamburgerButton__icon::after {
    position: absolute;
    left: 0;
}

.hamburgerButton__icon::before {
    top: -7px;
}

.hamburgerButton__icon::after {
    top: 7px;
}

.hamburgerButton.is-open .hamburgerButton__icon {
    background-color: transparent;
}

.hamburgerButton.is-open .hamburgerButton__icon::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburgerButton.is-open .hamburgerButton__icon::after {
    top: 0;
    transform: rotate(-45deg);
}

@media screen and (max-width: 1060px) {
    .navContainer {
        position: fixed;
        top: 4.75rem;
        right: 1rem;
        left: auto;
        width: min(320px, calc(100vw - 2rem));
        z-index: 1000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1.25rem 1rem 1.5rem;
        min-width: 0;
        background-color: rgba(31, 30, 30, 0.96);
        border: 1px solid rgba(245, 245, 245, 0.24);
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .navContainer.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar {
        width: 100%;
        height: auto;
        padding: 1rem;
        background-color: transparent;
        border: none;
    }

    .menuList {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.15rem;
        width: 100%;

    }

    .menuListItem {
        width: 100%;
        text-align: center;
    }

    .menuListItem a {
        font-size: 1.2rem;
    }

    .kapcsolatBtn {
        align-self: center;
        margin-top: 0.35rem;
    }

    .hamburgerButton {
        display: flex;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
    }

}


/* --- Kezdőlap ---  */

.my-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem 3rem;
    margin-top: 3rem;
    border-radius: 24px;
}


.introContent,
.introVisual {
    width: 50%;
}

.introContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.introContent h2 {
    font-size: 1.55rem;
    line-height: 1.2;
}

.introContent h1 {
    font-size: 2.8rem;
    line-height: 1.15;
}

.introText {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--main-text-b);
}

.socialWrap {
    margin-top: 0.6rem;
}

.socialList {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.socialItem {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 245, 245, 0.45);
    border-radius: 50%;
    color: var(--main-text-w);
    background-color: rgba(0, 0, 0, 0.18);
}

.socialItem a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socialItem img {
    width: 30px;
    height: 30px;
    display: block;
    filter: brightness(0) invert(1);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.socialItem:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

.introVisual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mrkockaPortre {
    width: min(100%, 420px);
    height: auto;
    display: block;
    border: 1px solid rgba(245, 245, 245, 0.45);
    border-radius: 10px;

}

@media (max-width: 900px) {
    .my-container {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }

    .introContent,
    .introVisual {
        width: 100%;
    }

    .introContent h1 {
        font-size: 2.2rem;
    }

    .introContent h2 {
        font-size: 1.35rem;
    }
}

.sectionHeading {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sectionEyebrow {
    color: var(--main-hover);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
}

.sectionLead {
    max-width: 680px;
    font-size: 1.02rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
}

/* --- Szolgáltatások ---  */

#services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.serviceTitle {
    font-size: 2.8rem;
    line-height: 1.15;
    text-align: center;

}

.serviseText {
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--main-text-b);
}


.servicesContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;

}

.card-style {
    background: rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    will-change: auto;
    color: whitesmoke;
    border: 1px solid rgba(245, 245, 245, 0.411);
}

.servicesCard {
    position: relative;
    overflow: hidden;
    width: min(100%, 340px);
    min-height: 370px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.servicesCard::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 45%);
    pointer-events: none;
}

.servicesCard>* {
    position: relative;
    z-index: 1;
}

.servicesCard h3 {
    max-width: 10ch;
    font-size: 1.95rem;
    line-height: 1.05;
    color: var(--main-text-b);
    margin-top: 0.15rem;
}

.servicesCard p {
    max-width: 23ch;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.serviceHighlights {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.serviceHighlights li {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--main-text-w);
    font-size: 0.92rem;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.servicesButton {
    width: 118px;
    height: 40px;
    margin-top: 0.95rem;
    align-self: flex-start;
}




@media (max-width: 900px) {
    .servicesGrid {
        grid-template-columns: 1fr;
    }

    .servicesCard {
        min-height: auto;
    }

    .servicesCard h3 {
        max-width: none;
        font-size: 1.6rem;
    }
}

/* --- Rolam --- */

#about {
    display: flex;
    flex-direction: column;
}


.adoutTitle {
    font-size: 2.8rem;
    line-height: 1.15;
    text-align: center;
    width: 100%;
    text-align: center;

}

.aboutText {
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--main-text-b);
}

.aboutContent {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}



.aboutImageWrap {
    width: 100%;
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
}

.aboutImage {
    width: 60%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 12px;
    border: 1px solid rgba(245, 245, 245, 0.25);
}

@media (max-width: 900px) {
    .aboutContent {
        padding: 1.4rem;
    }

    .aboutText p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .aboutImageWrap {
        max-width: 100%;
    }

    .aboutImage {
        height: 260px;
        object-position: center;
    }
}

/* --- Skills --- */

#skills {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skillsHeading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.skillsHeading h2 {
    font-size: 3rem;
    line-height: 1;
}

.skillsLead {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
}

.skillsGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.skillCard {
    min-height: 220px;
    padding: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.skillCardWide {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc(66.666% - 0.45rem));
}

.skillCard h3 {
    margin-bottom: 1.15rem;
    color: var(--main-text-b);
    font-size: 1.55rem;
    line-height: 1.1;
}

.skillTags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
}

.skillTags li {
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--main-text-w);
    font-size: 0.88rem;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 900px) {
    .skillsGrid {
        grid-template-columns: 1fr;
    }

    .skillsHeading h2 {
        font-size: 2.35rem;
    }

    .skillCard {
        min-height: auto;
        padding: 1.25rem;
    }

    .skillCardWide {
        width: 100%;
    }

    .skillCard h3 {
        font-size: 1.55rem;
    }
}

/* --- Projektek --- */

#projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projectsHeading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.projectsHeading h2 {
    font-size: 3rem;
    line-height: 1;
}

.projectsLead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.75;
}

.projectsContainer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.projectFilters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.projectFilterButton {
    min-width: 126px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 245, 245, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--main-text-w);
    font-size: 0.95rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.projectFilterButton:hover {
    cursor: pointer;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

.projectFilterButton.is-active {
    background: rgba(255, 255, 255, 0.13);
    color: var(--main-text-b);
    border-color: rgba(255, 255, 255, 0.32);
}

.projectsPanel {
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.projectsGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.projectCard {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.03);
}

.projectCard.is-hidden {
    display: none;
}

.projectImageWrap {
    position: relative;
}

.projectImage {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.projectCardBody {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.projectCardMeta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.projectTypeTag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.projectCardTitle {
    color: var(--main-text-b);
    font-size: 1.35rem;
    line-height: 1.15;
}

.projectCardDescription {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    font-size: 0.95rem;
}

.projectTechList {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
}

.projectTechList li {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.projectCardActions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.projectActionButton {
    min-width: 102px;
    height: 38px;
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.projectModals {
    display: contents;
}

.projectModal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.projectModal[hidden] {
    display: none;
}

.projectModalBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.projectModalDialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    max-height: min(90vh, 940px);
    overflow-y: auto;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(28, 28, 28, 0.94));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.projectModalClose {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 40px;
    z-index: 2;
}

.projectModalHero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
    margin-top: 0.8rem;
    align-items: start;
}

.projectModalImage {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.projectModalIntro {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.projectModalIntro h3 {
    color: var(--main-text-b);
    font-size: 2.35rem;
    line-height: 1.05;
}

.projectModalLead {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.projectModalActions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.35rem;
}

.projectBlock h4 {
    color: var(--main-text-b);
    font-size: 1.05rem;
}

.projectBlock p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.projectModalBlocks {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.projectBlock {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    gap: 0.8rem;
}

.projectBodyBlock {
    gap: 1rem;
}

.projectBodyText {
    font-size: 1rem;
    line-height: 1.85;
}

.projectGallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.projectGallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.projectBlockList {
    display: grid;
    gap: 0.7rem;
    list-style: none;
}

.projectBlockList li {
    position: relative;
    padding-left: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.projectBlockList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--main-hover);
}

body.is-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .projectsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projectModalHero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .projectsHeading h2 {
        font-size: 2.35rem;
    }

    .projectsPanel {
        padding: 1rem;
    }

    .projectsGrid {
        grid-template-columns: 1fr;
    }

    .projectFilterButton {
        min-width: unset;
        padding: 0.78rem 1rem;
        font-size: 0.9rem;
    }

    .projectModal {
        padding: 0.8rem;
    }

    .projectModalDialog {
        padding: 1rem;
    }

    .projectModalIntro h3 {
        font-size: 1.8rem;
    }

    .projectGallery {
        grid-template-columns: 1fr;
    }
}

/* --- Kapcsolat --- */

#contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contactHeading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.contactHeading h2 {
    font-size: 3rem;
    line-height: 1;
}

.contactLead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.75;
}

.contactLayout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contactForm,
.contactInfoCard {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contactForm h3,
.contactInfoCard h3 {
    color: var(--main-text-b);
    font-size: 2rem;
    line-height: 1.1;
}

.contactFlash {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(245, 245, 245, 0.14);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contactFlash--success {
    border-color: rgba(22, 160, 133, 0.35);
    background: rgba(22, 160, 133, 0.14);
    color: rgba(232, 255, 249, 0.94);
}

.contactFlash--error {
    border-color: rgba(232, 92, 92, 0.35);
    background: rgba(232, 92, 92, 0.12);
    color: rgba(255, 234, 234, 0.94);
}

.contactFieldGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contactField {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: var(--main-text-w);
}

.contactField span {
    font-size: 0.95rem;
}

.contactField input,
.contactField select,
.contactField textarea {
    width: 100%;
    border: 1px solid rgba(245, 245, 245, 0.14);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--main-text-b);
    padding: 1rem 1.05rem;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contactField textarea {
    resize: vertical;
    min-height: 180px;
}

.contactField input::placeholder,
.contactField textarea::placeholder,
.contactField select {
    color: rgba(255, 255, 255, 0.62);
}

.contactField input:focus,
.contactField select:focus,
.contactField textarea:focus {
    border-color: rgba(22, 160, 133, 0.55);
    box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.12);
    background: rgba(0, 0, 0, 0.55);
}

.contactCaptchaWrap {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.contactSubmitButton {
    width: fit-content;
    min-width: 168px;
    height: 44px;
    padding: 0 1.2rem;
    margin-top: 0.4rem;
}

.contactInfoCard {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contactInfoHighlight {
    min-height: 360px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.contactInfoEyebrow {
    color: var(--main-hover);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
}

.contactInfoHighlight h4 {
    max-width: 22ch;
    color: var(--main-text-b);
    font-size: 2rem;
    line-height: 140%;
}

.contactInfoSteps {
    display: grid;
    gap: 0.8rem;
    list-style: none;
}

.contactInfoSteps li {
    padding-left: 1.15rem;
    position: relative;
    color: var(--main-text-w);
    line-height: 1.6;
}

.contactInfoSteps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: var(--main-hover);
    box-shadow: 0 0 16px rgba(22, 160, 133, 0.35);
}

.contactInfoText {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.contactDirectBox {
    margin-top: auto;
    padding: 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(245, 245, 245, 0.12);
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contactDirectLabel {
    color: var(--main-text-b);
    font-size: 1.2rem;
}

.contactDirectMeta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contactMetaLabel {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contactDirectValue {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;
}

.contactDirectActions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contactActionButton {
    min-width: 136px;
    height: 42px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {
    .contactLayout {
        grid-template-columns: 1fr;
    }

    .contactInfoHighlight {
        min-height: 240px;
    }
}

@media (max-width: 900px) {
    .contactHeading h2 {
        font-size: 2.35rem;
    }

    .contactForm,
    .contactInfoCard {
        padding: 1.2rem;
    }

    .contactFieldGrid {
        grid-template-columns: 1fr;
    }

    .contactCaptchaWrap {
        justify-content: center;
    }

    .contactForm h3,
    .contactInfoCard h3 {
        font-size: 1.7rem;
    }

    .contactInfoHighlight h4 {
        max-width: none;
        font-size: 1.65rem;
    }
}

/* --- Footer --- */

footer {
    margin-top: 4rem;
    padding: 1.5rem 0 2.5rem;
}

.footerContent {
    background-color: var(--main-boxbg);
    border: 1px solid rgba(245, 245, 245, 0.14);
    border-radius: 22px;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.kapcsolatBtn {
    margin-right: 0;
}

.footerBrand {
    color: var(--main-text-b);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.footerNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

.footerNav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footerNav a:hover {
    color: var(--main-text-b);
}

.footerCopy {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Jogi oldalak --- */

.legalBody {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legalHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
}

.legalHeader__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.legalHeader__brandText {
    color: var(--main-text-b);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.legalHeader__back {
    min-width: 176px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legalPage {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 3rem 0 4rem;
}

.legalHero,
.legalSection {
    padding: 1.8rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.legalHero__eyebrow {
    color: var(--main-hover);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legalHero h1 {
    margin-top: 0.7rem;
    font-size: 3rem;
    line-height: 1;
}

.legalHero__lead {
    max-width: 70ch;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.8;
}

.legalSections {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.legalSection h2 {
    font-size: 1.8rem;
    line-height: 1.15;
}

.legalSection__subheading {
    margin-top: 1.4rem;
    color: var(--main-text-b);
    font-size: 1.2rem;
    line-height: 1.35;
}

.legalSection__text {
    margin-top: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.85;
}

.legalSection__list {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    display: grid;
    gap: 0.75rem;
    line-height: 1.7;
}

.legalSection__list--links a {
    color: var(--main-hover);
    text-decoration: none;
}

.legalSection__list--links a:hover,
.legalSection__list--links a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 900px) {
    footer {
        margin-top: 3rem;
        padding-bottom: 2rem;
    }

    .footerNav {
        gap: 0.85rem 1rem;
    }

    .footerCopy {
        font-size: 0.84rem;
    }

    .legalHeader {
        flex-direction: column;
        align-items: flex-start;
    }

    .legalHeader__back {
        min-width: 0;
        width: 100%;
    }

    .legalPage {
        padding: 2rem 0 3rem;
    }

    .legalHero h1 {
        font-size: 2.3rem;
    }

    .legalHero,
    .legalSection {
        padding: 1.35rem;
    }

    .legalSection h2 {
        font-size: 1.55rem;
    }
}

/* --- Sütikezelés --- */

.cookieConsent {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 900;
    width: min(100%, 420px);
}

.cookieConsent[hidden] {
    display: none;
}

.cookieConsent__card {
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(245, 245, 245, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(31, 30, 30, 0.98), rgba(18, 18, 18, 0.96));
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
}

.cookieConsent__eyebrow {
    color: var(--main-hover);
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cookieConsent__title {
    margin-top: 0.55rem;
    color: var(--main-text-b);
    font-size: 1.55rem;
    line-height: 1.1;
}

.cookieConsent__text {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookieConsent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.cookieConsent__button {
    min-width: 132px;
    height: 42px;
    padding: 0 1rem;
}

.cookieConsent__button--secondary {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
    .cookieConsent {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
    }

    .cookieConsent__card {
        padding: 1.1rem 1rem;
        border-radius: 18px;
    }

    .cookieConsent__title {
        font-size: 1.32rem;
    }

    .cookieConsent__actions {
        flex-direction: column;
    }

    .cookieConsent__button {
        width: 100%;
    }
}
