/* --------- GLOBAL --------- */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #181c20;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --------- HERO HEADER --------- */
.hero-header {
    position: relative;
    width: 100vw;
    min-height: 370px;
    height: 34vw;
    max-height: 410px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: #131718;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.94) saturate(1.13);
}
.hero-content {
    position: absolute;
    top: 2%;
    right: 1.1vw;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2.4vw;
    background: rgba(18, 24, 20, 0.29);
    border-radius: 13px;
    padding: 0.7em 1.4em 0.7em 1em;
    box-shadow: 0 2px 16px #0008;
    backdrop-filter: blur(2.7px);
}
.gear-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1vw;
}
.hero-content h1 {
    font-size: 3.1rem;
    font-weight: bold;
    color: #42eb95;
    margin: 0 0 0.4rem 0;
    letter-spacing: 1.2px;
    line-height: 1;
    text-shadow: 0 4px 24px #09301a, 0 1px 2px #000;
}
.hero-content .subtitle {
    font-size: 1.44rem;
    color: #f0f0f0;
    margin: 0;
    text-shadow: 0 2px 16px #05140e, 0 1px 1px #000;
}
.main-nav {
    position: absolute;
    bottom: 2.1vw;
    left: 7vw;
    z-index: 4;
    display: flex;
    gap: 2.4vw;
    background: rgba(13, 22, 17, 0.27);
    backdrop-filter: blur(2.5px);
    border-radius: 9px;
    padding: 0.15em 1.5em 0.15em 0.9em;
    box-shadow: 0 2px 10px #0004;
}
.main-nav a {
    color: #5effc3;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.18rem;
    padding: 0.1em 0.8em;
    border-radius: 7px;
    transition: background 0.19s, color 0.19s;
    background: rgba(0, 0, 0, 0.12);
}
.main-nav a:hover,
.main-nav a:focus {
    background: #2af59e22;
    color: #fff;
}

/* --------- MAIN CONTENT --------- */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.2rem 1.4rem 1.1rem 1.4rem;
    z-index: 5;
}
section {
    margin-bottom: 2.5rem;
}
h2 {
    color: #42eb95;
    font-size: 1.6rem;
    margin-top: 0;
}
ul,
ol {
    margin: 1rem 0 1rem 1.5rem;
}
ul li,
ol li {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
}

/* --------- MODERN CAROUSEL GALLERY --------- */
.custom-carousel {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 2em auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222c2d;
    border-radius: 13px;
    box-shadow: 0 6px 32px #10191f33;
    padding: 1.6em 1.3em 1.1em 1.3em;
}
.carousel-track {
    display: flex;
    overflow-x: hidden;
    gap: 1.2em;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 710px;
    padding-bottom: 10px;
}
.carousel-track img {
    height: 175px;
    width: auto;
    border-radius: 11px;
    cursor: pointer;
    border: 2.5px solid #2cf7a6;
    background: #15191d;
    box-shadow: 0 2px 10px #1a2b2738;
    transition: transform 0.18s, box-shadow 0.18s;
}
.carousel-track img:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 8px 40px #32f6b859, 0 3px 12px #000a;
}
.carousel-btn {
    background: #232b2e;
    border: none;
    color: #49ffd0;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 0 10px;
    box-shadow: 0 1px 9px #0ff4;
    transition: background 0.15s, color 0.15s;
    z-index: 2;
}
.carousel-btn:hover {
    background: #3a5048;
    color: #fff;
}
.gallery-caption {
    font-size: 1.09em;
    color: #d7ffe3;
    margin-top: 1.3em;
}

/* --------- LIGHTBOX --------- */
.lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22, 32, 28, 0.92);
    z-index: 99;
    transition: opacity 0.17s;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 84vh;
    border-radius: 15px;
    box-shadow: 0 2px 38px #12ffd988;
    border: 2.7px solid #25f7be;
    background: #232;
}
.lightbox-close {
    position: absolute;
    top: 28px;
    right: 36px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 101;
    text-shadow: 0 2px 15px #000;
}

/* --------- FLAGS LIST (maradhat, mert szép és jól illik hozzá) --------- */
.flags-list {
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    background: #20252b;
    border-radius: 12px;
    padding: 1.5em 1em 1em 1.2em;
    margin-top: 1em;
    box-shadow: 0 2px 12px #1117;
    overflow-x: auto;
}
.flag {
    display: flex;
    align-items: flex-start;
    gap: 0.95em;
    padding: 0.6em 0.2em;
    border-bottom: 1px solid #262b31;
    transition: background 0.18s;
}
.flag:last-child {
    border-bottom: none;
}
.flag:hover {
    background: #232830;
    border-radius: 7px;
}
.flag:focus-within {
    outline: 2px solid #48ffac;
}
.flag-icon {
    font-size: 1.45em;
    line-height: 1.2em;
    margin-right: 0.25em;
}
.flag-name {
    color: #5dffb0;
    font-weight: bold;
    min-width: 120px;
    display: inline-block;
    letter-spacing: 0.01em;
}
.flag-desc {
    color: #e8e8e8;
    font-size: 1.01em;
    flex: 1;
}

/* --------- FOOTER --------- */
footer {
    text-align: center;
    color: #888;
    padding: 1.2rem 0 0.5rem 0;
    font-size: 1rem;
    border-top: 1px solid #292f36;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 900px) {
    .hero-content {
        right: 2vw;
        gap: 1.1vw;
        padding: 0.6em 0.7em;
    }
    .main-nav {
        left: 2vw;
        gap: 1vw;
        padding: 0.11em 0.8em;
    }
}
@media (max-width: 700px) {
    main {
        padding: 1.3rem 0.3rem 1rem 0.3rem;
    }
    .hero-header {
        min-height: 195px;
        height: 33vw;
        max-height: 230px;
    }
    .hero-content {
        top: -9vw;
        right: 1vw;
        gap: 2vw;
    }
    .gear-logo {
        margin-right: 0.7vw;
    }
    .hero-content h1 {
        font-size: 1.35rem;
    }
    .hero-content .subtitle {
        font-size: 0.92rem;
    }
    .main-nav {
        bottom: 1.8vw;
        left: 4vw;
        gap: 1.4vw;
    }
    .main-nav a {
        font-size: 0.93rem;
        padding: 0.07em 0.54em;
    }
    .carousel-track img {
        height: 80px;
    }
    .carousel-btn {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }
    .custom-carousel {
        padding: 0.6em 0.2em 0.6em 0.2em;
    }
    .flag-name {
        min-width: 80px;
        font-size: 0.99em;
    }
    .flags-list {
        padding: 1em 0.2em 0.7em 0.7em;
    }
    .flag-icon {
        font-size: 1.13em;
    }
}
@media (max-width: 480px) {
    .hero-header {
        min-height: 93px;
        height: 32vw;
        max-height: 100px;
    }
    .hero-content {
        top: -9vw;
        right: 1vw;
        gap: 0.8vw;
    }
    .gear-logo {
        margin-right: 0.3vw;
    }
    .hero-content h1 {
        font-size: 0.84rem;
    }
    .hero-content .subtitle {
        font-size: 0.53rem;
    }
    .main-nav {
        bottom: 1vw;
        left: 3vw;
        gap: 0.7vw;
    }
    .main-nav a {
        font-size: 0.68rem;
        padding: 0.05em 0.32em;
    }
    .hero-bg {
        min-height: 80px;
    }
    .carousel-track img {
        height: 62px;
    }
}
