/* =====================================================
   ALAPOK
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
    height: 70px;
    background: #333e20d0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    z-index: 9;
}

.nav-logo {
    position: relative;
    height: 100%;
}

.nav-logo img {
    position: absolute;
    top: 7px;
    left: 30px;
    width: 120px;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a,
.nav-links button {
    color: white;
    background: none;
    border: none;
    text-decoration: none;
    margin: 10px 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-variant: small-caps;
    cursor: pointer;
}

.nav-links a.active,
.nav-links a:hover,
.nav-links button.active,
.nav-links button:hover {
    color: #f2a333;
    border-bottom: 3px solid #f2a333;
}

/* =====================================================
   ÁLTALÁNOS MAIN
===================================================== */
main {
    padding-top: 70px;
    background: #3b5f3f;
    width: 100%;
    height: 100vh;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
}

/* =====================================================
   FŐOLDAL
===================================================== */
main.home {
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    background-image: url("../images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-text {
    padding-left: 4rem;
    color: white;
    text-align: left;
    text-shadow:
        0 0 3px black,
        0 0 6px black;
}

.hero-text h1 {
    font-family: var(--font-heading);
    color: #f2a333;
    font-size: 8.5rem;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 600;
    padding-bottom: 10rem;
}

.compass {
    position: fixed;
    bottom: -10rem;
    right: -5rem;
    z-index: 8;
}

.compass-img {
    transition: transform .3s ease-out;
    transform-origin: center center;
}

.countdown {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: #f2a333;
    text-align: center;
    text-shadow:
        0 0 3px black,
        0 0 6px black;
    text-decoration: none;
    cursor: pointer;
}

.countdown .title {
    font-size: 1.3rem;
    font-weight: bold;
}

#tourCountdown {
    margin: .4rem 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.details {
    font-size: .9rem;
    text-decoration: underline;
}

/* =====================================================
   PROFIL OLDAL
===================================================== */
main.me {
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background-image: url("../images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.me-card {
    position: relative;
    max-height: 87dvh;
    max-width: 100dvw;
    z-index: 8;
}

@media (orientation: landscape) {
    main.me {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
}

/* =====================================================
   KÁRTYA
===================================================== */
.card-container {
    position: relative;
}

.card-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-area {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 1;
    color: white;
    text-shadow: 0 0 3px black, 0 0 6px black;
}

/* felső mező */
.area-1 {
    background: transparent;
    left: 14.99%;
    top: 8.2%;
    width: 69.94%;
    height: 10.86%;
    font-size: 2.3rem;
    line-height: 2.5rem;
    font-family: var(--font-heading);
    text-align: center;
    z-index: 9;
}

.area-1.back {
    font-size: 2.5rem;
    top: 5%;
}

/* bal felső */
.area-2 {
    left: 7.75%;
    top: 24%;
    width: 39.10%;
    height: 25.8%;
    flex-direction: column;
    gap: .5rem;
    text-align: center;
}

/* bal alsó */
.area-3 {
    left: 7.75%;
    top: 52.90%;
    width: 39.10%;
    height: 38.84%;
}

/* jobb felső */
.area-4 {
    left: 53.10%;
    top: 24%;
    width: 39.06%;
    height: 25.8%;
    padding: 1.5rem 1.5rem;
}

/* jobb alsó */
.area-5 {
    left: 53.10%;
    top: 52.90%;
    width: 39.06%;
    height: 38.84%;
    flex-direction: column;
    gap: .5rem;
    padding-bottom: 10%;
}

.area-5 p {
    font-weight: bold;
    text-align: center;
}

.me-card-bg {
    position: absolute;
    z-index: 0;
}

/* =====================================================
   KÁRTYA BADGE / HÁTSÓ OLDAL
===================================================== */
.area-6 {
    z-index: 9;
    left: 7.75%;
    top: 19%;
    width: 84.95%;
    height: 70%;
    display: grid;
    grid-template-rows: repeat(9, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    min-width: 0;
    min-height: 0;
    background-color: transparent;
    gap: 3px;
}

.area-7 {
    grid-row: 1 / 9;
    /* 8 rész magasság */
    width: 100%;
    height: 100%;
    padding: 5% 7% 0%;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    gap: 5px;

    justify-items: center;
    align-items: center;
    background-color: transparent;
}

.area-8 {
    grid-row: 9 / 10;
    /* 1 rész magasság */
    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 5px;

    justify-items: center;
    align-items: center;
    background-color: transparent;
    padding: 0% 7% 1%;
}

/* megszerzett / összes */
.area-9 {
    font-family: var(--font-heading);
    text-align: center;
    margin: 0 auto;
    align-self: center;
    justify-self: center;
    z-index: 10;
    bottom: 0.7%;
    height: 4%;
}

.area-6 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-width: 0;
    min-height: 0;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
}

.area-6 img.locked {
    filter:
        grayscale(100%) brightness(0.45) drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
    transition:
        filter .3s ease,
        transform .3s ease;
}

.area-6 img.locked:hover {
    filter:
        grayscale(0%) brightness(1) drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
}

.badge-summary {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    align-items: center;
    justify-items: center;
    min-width: 0;
    min-height: 0;
}

.badge-counter {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 0;
}

.badge-counter img {
    width: auto;
    height: 100%;
    max-width: 100%;
}

.badge-counter img,
.area-6 img {
    --m: 3px;
    --ma: -1px;
    --s: 1px;
    --a: 0.4;
    filter: drop-shadow(var(--m) var(--m) var(--s) rgba(0, 0, 0, var(--a))) drop-shadow(var(--ma) var(--ma) var(--s) rgba(0, 0, 0, var(--a))) drop-shadow(var(--ma) var(--m) var(--s) rgba(0, 0, 0, var(--a))) drop-shadow(var(--m) var(--ma) var(--s) rgba(0, 0, 0, var(--a)));
}

.badge-counter span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: bold;
    color: white;
    text-shadow:
        0 0 3px black,
        0 0 6px black;
}

.centered {
    grid-column: 1 / 3;
    aspect-ratio: 2 / 1;
    justify-self: center;
}

.tree {
    max-height: 87dvh;
}

/* =====================================================
   CSAPAT OLDAL
===================================================== */
main.team {
    padding-top: 160px;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    color: white;
    text-shadow:
        0 0 3px black,
        0 0 6px black;
}

main.team::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .6;
    z-index: -1;
}

main.team>.compass {
    bottom: -7rem;
}

main.team>.compass>.countdown {
    top: 50%;
}

main.team div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

main.team div.center {
    width: 40%;
}

main.team div.center img {
    filter: drop-shadow(rgba(1, 1, 1, 1) 2px 3px 1px);
}

main.team div.leftside,
main.team div.rightside {
    width: 30%;
    padding: 2rem 3rem;
    font-size: 1.2rem;
}

main.team div.leftside>div,
main.team div.rightside>div {
    width: fit-content;
    position: relative;
    isolation: isolate;
}

main.team div.leftside>div::before,
main.team div.rightside>div::before {
    content: "";
    position: absolute;
    inset: -2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, .12);
    border-radius: 2rem;
    z-index: -1;
}

main.team div.rightside>div {
    text-align: left;
    margin-right: auto;
}

main.team div.leftside>div {
    text-align: left;
    margin-left: auto;
}

main.team div.leftside>div h2,
main.team div.rightside>div h2 {
    text-align: center;
    font-family: var(--font-heading);
    color: #f2a333;
}

main.team li {
    list-style: none;
    margin: .5rem 0;
}

.leaf {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition:
        background .2s,
        color .2s;
    text-decoration: none;
    color: inherit;
}

.leaf:hover {
    background: rgba(242, 163, 51, .2);
    color: #cf975b;
}

.leaf.active {
    background: #cf975b;
    color: white;
}

.leaf_icon {
    width: 10rem;
    margin: auto;
}

main.team>.compass {
    bottom: -11rem;
    right: -9rem;
}

/* =====================================================
   KÁRTYA MODAL
===================================================== */
.card-wrapper {
    perspective: 2000px;
}

#memberModalContent {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: start;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 1s;
}

#memberModalContent>.card-container,
#memberModalContent>.badge-card {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

#memberModalContent>.badge-card {
    transform: rotateY(180deg);
}

#memberModalContent.flipped {
    transform: rotateY(180deg);
}

.card-hover {
    transition: transform .15s ease-out;
}

/* =====================================================
   ÁLTALÁNOS MODAL
===================================================== */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
}

.member-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    text-shadow:
        0 0 3px black,
        0 0 6px black;
}

.member-link:hover {
    text-decoration: underline;
}

/* =====================================================
   TÚRA INFORMÁCIÓS MODAL
===================================================== */
#tourModalContent {
    position: relative;
    z-index: 1;
    background: rgba(245, 235, 210, .95);
    border-radius: 1rem;
    padding: 2rem 3rem;
    min-width: 350px;
    max-width: 500px;
    color: #333e20;
    box-shadow:
        0 0 20px rgba(0, 0, 0, .5);
    text-align: center;
}

#tourModalContent .tour-card h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #333e20;
    margin-bottom: 1.5rem;
}

#tourModalContent .tour-info {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: left;
}

#tourModalContent .tour-info p {
    margin: 0;
}

#tourModalContent .details {
    display: inline-block;
    margin: 1.5rem auto 0;
    padding: .5rem 1.5rem;
    background: #333e20;
    color: white;
    border-radius: .5rem;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
    text-align: center;
}

#tourModalContent .details:hover {
    background: #f2a333;
    color: #333e20;
}

/* =====================================================
   ÉRDEKLŐDŐKNEK OLDAL
===================================================== */
.info-page {
    display: block;
    overflow-y: auto;
    height: 100vh;
    padding-top: 100px;
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url("../images/hero.png");
    background-size: cover;
    background-position: center;
    color: white;
}

/* ---------- Általános ---------- */
.info-page h1,
.info-page h2,
.info-page h3 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.info-page p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.info-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-page li {
    margin: .4rem 0;
}

.info-page h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #f2a333;
}

.info-page h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #f2a333;
}

.info-page h3 {
    font-size: 1.5rem;
}

.info-hero,
.info-section,
.info-gallery,
.skills,
.info-important,
.join,
.registration {
    width: 85%;
    max-width: 1400px;
    margin: 4rem auto;
}

/* ---------- Panelek ---------- */
.info-panel {
    background: rgba(20, 30, 15, .72);
    backdrop-filter: blur(8px);
    padding: 3rem;
    border-radius: 20px;
    text-shadow: 0 0 5px black;
}

.info-panel p:last-child {
    margin-bottom: 0;
}

/* ---------- Hero ---------- */
.info-hero {
    display: flex;
    justify-content: center;
}

/* ---------- Két oszlopos részek ---------- */
.info-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.info-section.reverse {
    flex-direction: row-reverse;
}

.info-image {
    flex: 0 0 35%;
}

.info-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* ---------- Kis információs kártyák ---------- */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-cards div {
    background: rgba(0, 0, 0, .35);
    border-radius: 15px;
    padding: 1.5rem;
}

.info-cards strong {
    display: block;
    margin-bottom: .8rem;
    font-size: 1.2rem;
}

/* ---------- Gomb ---------- */
.info-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    background: #f2a333;
    color: white;
    text-decoration: none;
    transition: .25s;
}

.info-button:hover {
    background: #d98b14;
}

/* ---------- Galéria ---------- */
.gallery-grid-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-placeholder {
    overflow: hidden;
    height: 250px;
    border-radius: 1rem;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.gallery-placeholder img:hover {
    transform: scale(1.05);
}

/* ---------- Mit tanulhatsz ---------- */
.skill-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 1.6rem;
    text-align: center;
}

.skill-icon {
    font-size: 2.8rem;
    margin-bottom: .7rem;
}

.skill-item h3 {
    margin-bottom: .8rem;
}

.skill-item p {
    margin: 0;
}

.skill-image {
    overflow: hidden;
    border-radius: 1rem;
}

.skill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Különleges program ---------- */
.info-important {
    background: rgba(0, 0, 0, .45);
    border-radius: 20px;
    text-align: center;
    padding: 3rem;
}

.info-important p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Csatlakozás ---------- */
.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.join-grid>div {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 2rem;
}

.join-grid a {
    color: #f2a333;
    font-weight: bold;
    text-decoration: none;
}

.join-grid a:hover {
    text-decoration: underline;
}

.join-card {
    margin-top: 3rem;
    background: rgba(20, 30, 15, .72);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2.5rem;
}

/* ---------- Regisztráció ---------- */
.registration h2 {
    text-align: center;
}

.registration-steps {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.registration-steps>div {
    position: relative;
    background: rgba(20, 30, 15, .72);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    padding-top: 3.5rem;
}

.registration-steps span {
    position: absolute;
    top: -18px;
    left: 2rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2a333;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.registration-steps h3 {
    margin-bottom: 1rem;
}

.registration-steps p {
    margin: 0;
}

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {

    .info-section,
    .info-section.reverse,
    .skill-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .info-image {
        width: 100%;
    }

    .info-cards,
    .join-grid,
    .registration-steps,
    .gallery-grid-info,
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .info-page h1 {
        font-size: 3rem;
    }

    .info-page h2 {
        font-size: 2.2rem;
    }
}

/* =====================================================
   GALÉRIA
===================================================== */
.gallery-page {
    min-height: 100vh;
    overflow-y: auto;
    padding-top: 100px;
    padding-bottom: 5rem;
    background:
        linear-gradient(rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .6)),
        url("../images/hero.png");
    background-size: cover;
    background-position: center;
    color: white;
}

.gallery-wrapper {
    width: 85%;
    max-width: 1400px;
    margin: auto;
}

.gallery-wrapper h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #f2a333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-card {
    background: rgba(0, 0, 0, .45);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition:
        transform .3s,
        background .3s;
}

.gallery-card:hover {
    transform: scale(1.03);
    background: rgba(0, 0, 0, .65);
}

.gallery-card a {
    display: block;
    color: white;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-title {
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #f2a333;
    font-size: 1.2rem;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* =====================================================
   LIGHTBOX
===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.lightbox.hidden {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}

.lightbox-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    margin: 5vh auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow:
        0 0 40px black;
}

.lightbox button {
    position: absolute;
    z-index: 2;
    border: none;
    background: rgba(0, 0, 0, .5);
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* =====================================================
   MOBIL NÉZET
===================================================== */
@media(max-width:1100px) {

    .info-section,
    .info-section.reverse {
        flex-direction: column;
    }

    .skill-layout {
        grid-template-columns: 1fr;
    }

    .info-image {
        width: 100%;
    }

    .info-cards,
    .join-grid,
    .registration-steps,
    .skill-grid {
        grid-template-columns: 1fr;
    }

    .info-page h1 {
        font-size: 3rem;
    }

    .info-page h2 {
        font-size: 2.2rem;
    }
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}


@media(max-width:1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {

    /* ---------------------
       NAVBAR
    --------------------- */
    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .nav-logo img {
        width: 90px;
        left: 10px;
        top: 8px;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background:
            rgba(51, 62, 32, .95);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-links button {
        width: 100%;
        text-align: center;
        padding: .8rem;
        font-size: 1rem;
    }



    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 3px;
    }


    /* ---------------------
       FŐOLDAL
    --------------------- */
    main.home {
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
        padding-top: 60px;
        background-position: center;
    }

    .hero-text {
        padding: 0 1rem;
        text-align: center;
        transform: translateY(-4%);
    }

    .hero-text h1 {
        font-size:
            clamp(2.2rem, 12vw, 4rem);
    }

    .hero-text h2 {
        font-size: 1.1rem;
        padding-bottom: 0;
        max-width: 90%;
        margin: auto;
    }

    .compass {
        bottom: -8rem;
        right: 0;
        max-width: 100vw;
    }

    .compass-img {
        width: 100%;
    }

    .countdown {
        top: 55%;
    }

    .countdown .title {
        font-size: 1rem;
    }

    #tourCountdown {
        font-size: 1.4rem;
    }

    .details {
        font-size: .7rem;
    }

    /* ---------------------
       ÉRDEKLŐDŐK
    --------------------- */
    .info-page {
        padding-top: 80px;
    }

    .info-hero,
    .info-section,
    .info-gallery,
    .skills,
    .info-important,
    .join,
    .registration {
        width: 92%;
        margin: 2rem auto;
    }

    .info-panel {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .info-page h1 {
        font-size: 2.3rem;
    }

    .info-page h2 {
        font-size: 1.8rem;
    }

    /* ---------------------
       GALÉRIA
    --------------------- */
    .gallery-wrapper {
        width: 92%;
    }

    .gallery-wrapper h1 {
        font-size: 2.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }

    .gallery-card img {
        height: 120px;
    }

    .gallery-title {
        padding: .6rem;
        font-size: .9rem;
    }

    /* ---------------------
       CSAPAT
    --------------------- */
    main.team {
        padding: 75px 1rem 0;
        height: 100dvh;
        overflow-y: auto;
        flex-direction: column;
        gap: 1rem;
    }

    main.team::before {
        position: fixed;
        inset: 0;
        height: 100dvh;
    }

    main.team div.leftside,
    main.team div.rightside {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    main.team div.leftside>div,
    main.team div.rightside>div {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
    }

    main.team div.center {
        display: none;
    }

    main.team h2 {
        font-size: 1.6rem;
    }

    main.team img {
        max-width: 180px;
        margin: auto;
    }

    main.team div.leftside>div::before,
    main.team div.rightside>div::before {
        inset: -1rem;
    }

    .compass.follow-mouse-rotate {
        display: none;
    }

    /* ---------------------
       PROFIL KÁRTYA
    --------------------- */
    main.me {
        height: 100dvh;
        overflow-y: auto;
        justify-content: flex-start;
        padding-top: 80px;
    }

    .me-card {
        max-width: 95vw;
        max-height: none;
    }

    .card-hover {
        transform: none !important;
    }

    .area-1 {
        font-size: 1.2rem;
    }

    .area-2,
    .area-4,
    .area-5 {
        font-size: .7rem;
    }

    .area-4 {
        padding: .5rem 1rem;
    }

    .area-5 p {
        font-size: .7rem;
    }

    .area-6 {
        overflow-y: auto;
    }

    .badge-summary {
        gap: 3px;
    }


    .badge-card {
        width: 100%;
        justify-items: center;
        margin-bottom: 2rem;
    }

    .badge-counter img {
        height: auto;
        max-height: 100%;
    }

    /* ---------------------
       MODAL
    --------------------- */
    #tourModalContent {
        min-width: auto;
        width: 90%;
        padding: 1.5rem;
    }
}

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

.atanarur-brand {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
}

.atanarur-brand a {
    display: flex;
    align-items: center;
    gap: .4rem;

    color: rgba(255, 255, 255, .65);
    text-decoration: none;

    font-size: .75rem;
    font-weight: 600;

    padding: .35rem .7rem;
    border-radius: 999px;

    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);

    transition: .25s;
}

.atanarur-brand img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.atanarur-brand a:hover {
    color: white;
    background: rgba(0, 0, 0, .55);
    transform: translateY(-2px);
}

/* ==========================
   SZÜLŐI VISSZAJELZÉSEK
========================== */

.testimonials {
    padding: 5rem 8%;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials .section-intro {
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
    opacity: .9;
    line-height: 1.7;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: .3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .09);
}

.testimonial-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card strong {
    display: block;
    color: #f2a333;
    font-weight: 600;
}

@media (max-width: 900px) {

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

}