/* ===================== */
/* Alap stílusok         */
/* ===================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif, "Segoe UI", Tahoma, Geneva, Verdana,
        "Apple Color Emoji", "Segoe UI Emoji",
        "Noto Color Emoji", "Twemoji Mozilla";
    ;
}

body {
    background-color: #ffffff;
    color: #51628e;
}


a {
    text-decoration: none;
    color: inherit;
}


/* ===================== */
/* Görgetősáv             */
/* ===================== */

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #51628e;
    border-radius: 8px;
    border: 3px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #3f4b7a;
}

/* ===================== */
/* Header & Logo          */
/* ===================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 2px solid #ffffff;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

header .logo {
    content: url("https://kittesek.hu/res/img/stock/logo.png");
}

header.scrolled {
    background-color: #51628e !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

header.scrolled .title {
    color: #ffffff;
}

header.scrolled .logo {
    content: url("https://kittesek.hu/res/img/stock/logodark.png");
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.logo-container .logo {
    height: 50px;
    width: auto;
}

.title {
    font-weight: bold;
    font-size: 1rem;
    margin-left: 10px;
    white-space: nowrap;
    color: #ffffff;
}

/* ===================== */
/* Navigáció             */
/* ===================== */

/* Desktop nav */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.3s;
}

nav a:hover {
    color: #f9df18;
}

/* Aktív menüpont – desktop és mobil */
nav a.active,
.mobile-menu a.active {
    background-color: #f9df18;
    color: #51628e;
    border-radius: 5px;
}

/* ===================== */
/* Hamburger & Mobil menü */
/* ===================== */

.hamburger {
    position: absolute;
    top: 25px;
    right: 40px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.hamburger div {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger div:nth-child(1) {
    top: 0;
}

.hamburger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger div:nth-child(3) {
    bottom: 0;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
}

/* Mobil menü */
.mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: #51628e;
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    border-radius: 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    z-index: 50;
}

.mobile-menu a {
    color: #ffffff;
    padding: 10px 20px;
    border-bottom: 1px solid #ffffff33;
    transition: background-color 0.3s, color 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background-color: #f9df18;
    color: #51628e;
}

.mobile-menu.open {
    max-height: 800px;
}

/* ===================== */
/* Dropdown menük        */
/* ===================== */

/* Desktop dropdown */
.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.dropbtn:hover {
    color: #f9df18;
}

/* Aktív főmenü – desktop */
.dropbtn.active {
    background-color: #f9df18;
    color: #51628e;
    border-radius: 5px;
}

.dropbtn.active:hover {
    background-color: #f9df18;
    color: #51628e;
}

/* Dropdown content */
.dropdown-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #51628e;
    min-width: 180px;
    border-radius: 5px;
    overflow: hidden;
    z-index: 99;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content a {
    color: #ffffff;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f9df18;
    color: #51628e;
}

/* Mobil dropdown */
.mobile-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ffffff33;
}

.mobile-dropbtn {
    background: #51628e;
    color: #ffffff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff33;
}

.mobile-dropbtn::after {
    content: "▾";
    transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropbtn::after {
    transform: rotate(180deg);
}

/* Aktív főmenü – mobil */
.mobile-dropbtn.active {
    background-color: #f9df18;
    color: #51628e;
    border-radius: 5px;
}

/* Dropdown content – mobil */
.mobile-dropdown-content {
    background-color: #51628e;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-content {
    max-height: 500px;
    opacity: 1;
}

.mobile-dropdown-content a {
    padding-left: 30px;
    color: #ffffff;
}

.mobile-dropdown-content a:hover,
.mobile-dropdown-content a.active {
    background-color: #f9df18;
    color: #51628e;
}

/* ===================== */
/* Hero                  */
/* ===================== */

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-image:
        url('res/img/stock/heroforest.webp'),
        url('res/img/stock/hero-image.webp');
    background-position:
        center calc(100% + 1px),
        center;
    background-size:
        40% auto,
        cover;
    background-repeat:
        repeat-x,
        no-repeat;
    margin-top: 0;
}

.hero-image {
    flex: 1;
    /* A kép konténere is rugalmas */
    display: flex;
    justify-content: flex-end;
    transform: translateY(60%);
}

.hero-image img {
    max-width: 100%;
    /* Reszponzív kép méretezés */
    height: auto;
    max-height: 200px;
    /* Opcionális: ne legyen túl magas a kép */
    object-fit: contain;
}

.hero-text {
    position: absolute;
    top: 45%;
    left: 20px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    background-color: rgba(0, 0, 0, 0);
    padding: 10px 20px;
    border-radius: 10px;
    white-space: pre;
}

.hero-subtext {
    position: absolute;
    top: 55%;
    left: 20px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    background-color: rgba(0, 0, 0, 0);
    padding: 10px 20px;
    border-radius: 10px;
    white-space: pre;
}

.hero-subsubtext {
    position: absolute;
    top: 65%;
    left: 20px;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    background-color: rgba(0, 0, 0, 0);
    padding: 10px 20px;
    border-radius: 10px;
    white-space: pre;
}

.hero-text span {
    opacity: 0;
    display: inline-block;
    animation-name: fadeIn;
    animation-duration: 0.3s;
    /* animáció hossza */
    animation-fill-mode: forwards;
    /* megtartja a végső állapotot */
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===================== */
/* Main tartalom         */
/* ===================== */

main {
    padding: 40px 60px;
}

h1 {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #51628e;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

p a {
    font-weight: bold;
    text-decoration: underline;
}

/* Főoldal */
.body {
    padding: 0px
}

/* Új stílusok a főoldalhoz */
.hero-main {
    position: relative;
    width: 100%;
    height: 400px;
    background-image:
        url('res/img/stock/heroforest.webp'),
        url('res/img/stock/hero-image.webp');
    background-position:
        center calc(100% + 1px),
        center;
    background-size:
        40% auto,
        cover;
    background-repeat:
        repeat-x,
        no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-bottom: 20px;
}

.hero-main h1 {
    font-size: 3rem;
    margin-top: 50px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-main p {
    font-size: 1.3rem;
    margin: 0 auto 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    text-align: center;
}

.split-section {
    display: flex;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.split-image {
    margin: 20px;
    border-radius: 10px;
    flex: 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #ffffffff;
}

.split-image img {
    width: auto;
    max-height: 350px;
    border-radius: 10px;
}

.split-section h2 {
    color: #51628e;
    margin-bottom: 25px;
    font-size: 2.2rem;
    position: relative;
}

.split-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #f9df18;
}

.split-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.split-content .btn {
    margin-top: 20px;
    align-self: flex-start;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 60px 30px;
    position: relative;
}

.features-grid:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #51628e;
}

.feature-card:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: url('/res/img/index/campfire-icon.png') center/contain no-repeat;
    opacity: 0.1;
    transform: rotate(15deg);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 8rem;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    color: #51628e;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: #51628e;
    text-align: center;
}

.stats-section {
    color: #51628e;
    padding: 60px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    background: url('/res/img/index/topo-pattern.svg') center/cover;
    opacity: 0.1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-section h2 {
    margin-bottom: 35px;
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    position: relative;
}

.stat-item:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #f9df18;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.accordion-container {
    max-width: 800px;
    margin: 0px auto;
}

.accordion-container h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* Egy kérdés doboza */
.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    /* Csak alul van vonal, ahogy a képen */
    margin-bottom: 10px;
}

/* A kérdés sor (amire kattintani lehet) */
.accordion-title {
    list-style: none;
    /* Alapértelmezett háromszög eltüntetése */
    cursor: pointer;
    font-weight: 700;
    /* Vastag betű */
    font-size: 1.1rem;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

/* Chrome/Safari alap nyíl eltüntetése */
.accordion-title::-webkit-details-marker {
    display: none;
}

.accordion-title:hover {
    color: #029fd5;
}

/* --- Ikon (Nyíl) --- */
.accordion-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid #51628e;
    border-bottom: 2px solid #51628e;
    transform: rotate(45deg);
    /* Lefelé mutató nyíl */
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

/* Ha a details nyitva van (open attribútum) */
.accordion-item[open] .accordion-icon {
    transform: rotate(-135deg);
    /* Felfelé mutató nyíl */
    border-color: #029fd5;
    /* Aktív szín (pl. kék) */
}

.accordion-item[open] .accordion-title {
    color: #029fd5;
    /* A kérdés is legyen színes, ha nyitva van */
}

/* --- Válasz tartalom --- */
.accordion-description {
    padding-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    animation: fadeIn 0.4s ease-in-out;
}

.quote-section {
    padding: 60px 30px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/res/img/index/stars-pattern.jpg') center/cover;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.quote {
    font-size: 1.6rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.quote-author {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.countdown-cta-section {
    max-width: 1000px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('/res/img/index/night-sky.jpg') center/cover;
    color: white;
    width: 100%;
    padding: 30px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.countdown-cta-content {
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.countdown-cta-section h1,
.countdown-cta-section h2,
.countdown-cta-section h3 {
    font-size: 1.5rem;
    margin-bottom: 35px;
    color: #ffffff;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.countdown-item {
    background: rgba(81, 98, 142, 0.8);
    border-radius: 10px;
    padding: 18px;
    min-width: 110px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.cta-buttons {
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cta-buttons .btn {
    width: auto;
    height: auto;
    min-width: 200px;
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-buttons .btn p {
    text-align: center;
}

@media (max-width: 768px) {
    .hero-main {
        height: 400px;
        background-image:
            url('res/img/stock/heroforest.webp'),
            url('res/img/stock/hero-image.webp');
        background-position:
            center calc(100% + 1px),
            center;
        background-size:
            120% auto,
            cover;
        background-repeat:
            repeat-x,
            no-repeat;
        padding-bottom: 15px;
    }

    .hero-main h1 {
        font-size: 2.2rem;
    }

    .hero-main p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .split-section {
        flex-direction: column;
        min-height: auto;
    }

    .split-section:nth-child(even) {
        flex-direction: column;
    }

    .split-image {
        width: 100%;
        min-height: 250px;
        background-size: contain;
        margin: 0 auto;
    }

    .split-content {
        padding: 20px 20px;
    }

    .split-content .btn {
        text-align: center;
        width: 100%;
    }

    /* 1. Rács egyoszloposítása */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 20px;
    }

    /* 2. Kártya beállítása: Flexbox a függőleges igazításhoz */
    .feature-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        min-height: 120px;
        padding: 20px 10px 20px 135px;
        text-align: left;
    }

    /* 3. Ikon "kirepítése" bal oldalra */
    .feature-icon {
        position: absolute;
        left: 0px;
        width: 120px;
        height: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .feature-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 4. Címsor igazítása */
    .feature-card h3 {
        margin: 0 0 8px 0;
        /* Kis térköz a szöveg felé */
        font-size: 1.25rem;
        line-height: 1.2;
        width: 100%;
    }

    /* 5. Szöveg igazítása */
    .feature-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: left;
    }

    /* Dekorelem halványítása */
    .feature-card:after {
        opacity: 0.05;
        width: 60px;
        height: 60px;
    }

    .countdown-container {
        gap: 12px;
    }

    .countdown-item {
        min-width: 50px;
        padding: 12px 8px;
        font-size: 15px;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
    }

    .stats-section,
    .quote-section,
    .countdown-cta-section {
        padding: 30px 20px;
        border-radius: 0;
    }
}

/* News section */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.news-item.reverse {
    flex-direction: row-reverse;
}

.news-text {
    flex: 1;
}

.news-image {
    flex: 1;
}

.news-image img {
    width: auto;
    max-height: 300px;
    border-radius: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #029fd5;
    color: #ffffff;

    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;

    border: none;
    border-radius: 8px;

    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: #ef7b02;
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn svg,
.btn i,
.btn img {
    margin-right: 8px;
}

/* Iframe */
iframe {
    width: 100%;
    height: 4000px;
    border: none;
    margin-top: 20px;
    background-color: #ffffff;
}

/* ===================== */
/* Grid / Card modulok    */
/* ===================== */

.document-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.document-card {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.document-card img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.document-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #51628e;
}

.document-card p {
    font-size: 0.95rem;
    color: #51628e;
    line-height: 1.4;
}

/* ===================== */
/* Footer                */
/* ===================== */

footer {
    background-color: #51628e;
    color: #ffffff;
    padding: 60px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-top {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer h3 {
    color: #ffffff;
}

footer .contact,
footer .social {
    flex: 1 1 200px;
    margin: 10px;
}

footer .contact a,
footer .social a {
    margin-right: 15px;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
}

.contact-item a,
.social-item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover,
.social-item a:hover {
    color: #f9df18;
}

.contact-item,
.social-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* ===================== */
/* Fehér Szponzor Sáv    */
/* ===================== */
.sponsor-white-card {
    background-color: #ffffff;
    width: calc(100% - 40px);
    max-width: 1150px;
    max-height: 100px;
    padding: 25px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Görgethető terület (Ablak) */
.sponsor-logos-viewport {
    flex: 1;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Elrejtjük a görgetősávot, JS mozgatja */
    justify-content: flex-start;
    margin: 0 10px;
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
    position: relative;
}

.sponsor-logos-viewport::-webkit-scrollbar {
    display: none;
}

/* Logók tárolója - KÖTELEZŐEN EGY SORBAN */
.sponsor-logos-container {
    display: flex;
    flex-wrap: nowrap;
    /* Sosem törik meg a sor */
    align-items: center;
    gap: 50px;
    /* Távolság a logók között */
    padding: 20px 50%;
    margin: 0 auto;
    min-width: max-content;
    /* Középre igazítás, ha kevés a logó */
    scroll-snap-type: x proximity;
}

/* --- LOGÓK MÉRETEZÉSE SZINTEK SZERINT --- */
.footer-logo-item {
    flex: 0 0 auto;
    /* Megakadályozza a logók összenyomását */
    scroll-snap-align: center;
    /* Mobilon segít megállni a logók közepén */
}

.footer-logo-item img {
    display: block;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Alap támogató: min 80px */
.logo-basic img {
    height: 50px;
}

/* Kiemelt támogató: 100px */
.logo-highlight img {
    height: 60px;
}

/* Fő támogató: 130px */
.logo-main img {
    height: 80px;
}

.footer-logo-item:hover img {
    transform: scale(1.1);
}

/* --- GÖRGETŐ NYILAK --- */
.footer-arrow {
    color: #51628e;
    font-size: 60px;
    line-height: 1;
    font-family: serif;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
    transition: all 0.3s ease;
    opacity: 1;
}

.footer-arrow:hover {
    color: #f9df18;
    transform: scale(1.2);
}

/* Eredmények oldal táblázat */
.results-table {
    width: 90%;
    overflow-x: auto;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    padding: 10px;
}

.results-table table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
    font-size: 1rem;
    color: #51628e;
    table-layout: fixed;
}

.results-table thead th {
    background-color: #51628e;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
}

.results-table thead th:first-child {
    text-align: left;
}

.results-table thead th:nth-child(2) {
    text-align: center;
}

.results-table thead th:nth-child(3) {
    text-align: right;
}

.results-table tbody td {
    background-color: #f9f9fb;
    padding: 12px 15px;
    vertical-align: middle;
    border-radius: 6px;
    transition: background-color 0.2s;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
}

.results-table tbody tr:hover td {
    background-color: #e8eaf6;
}

.results-table tbody td:first-child {
    font-weight: bold;
    color: #51628e;
    max-width: 80px;
    text-align: left;
}

.results-table tbody td:nth-child(2) {
    font-weight: 500;
    text-align: center;
}

.results-table tbody td:nth-child(3) {
    text-align: right;
    font-weight: bold;
    color: #029fd5;
}

/* ===================== */
/* Reszponzív             */
/* ===================== */

@media (max-width: 1100px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        content: url("https://kittesek.hu/res/img/stock/logo-mobile.png");
    }

    header.scrolled .logo {
        content: url("https://kittesek.hu/res/img/stock/logodark-mobile.png");
    }

    .sponsor-white-card {
        border-radius: 20px;
        padding: 15px 5px;
    }

    /* Mobilon kisebb logók, hogy ne lógjanak ki */
    .logo-basic img {
        height: 60px;
    }

    .logo-highlight img {
        height: 75px;
    }

    .logo-main img {
        height: 95px;
    }

    .footer-arrow {
        font-size: 40px;
        padding: 0 5px;
    }

    .sponsor-logos-container {
        gap: 30px;
    }

    main {
        padding: 60px 20px;
    }

    .hero {
        background-image:
            url('res/img/stock/heroforest.webp'),
            url('res/img/stock/hero-image.webp');
        background-position:
            center calc(100% + 1px),
            center;
        background-size:
            120% auto,
            cover;
        background-repeat:
            repeat-x,
            no-repeat;
    }

    .hero-text {
        font-size: 1.5rem;
        padding: 8px 15px;
        left: 15px;
    }

    .hero-subsubtext,
    .hero-subtext {
        font-size: 1rem;
        padding: 8px 15px;
        left: 15px;
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        transform: translateY(230%);
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        max-height: 100px;
        object-fit: contain;
    }

    .news-item,
    .news-item.reverse {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .news-text {
        text-align: left;
    }

    .news-image img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }

    .document-card {
        margin: 0 auto;
    }
}