* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background: #dfddd9;
    color: #26332d;
    font-family: Arial, sans-serif;
}

/* =========================================
   NAVBAR
   ========================================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    color: white;
    padding: 1.2rem 2rem;
    position: relative;
    z-index: 1001;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- MENÜ LISTÁJA --- */

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    max-width: 70%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.98);
    padding: 80px 0;
    text-align: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.1, 1, 0.1, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* --- HAMBURGER --- */

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1002;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* --- AKTÍV ÁLLAPOTOK --- */

.nav-links.active {
    right: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header-banner {
    padding: 100px 0 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* MEGOLDÁS: A fejléc is pontosan azt a háttérszínt kapja, amit a lenti résznél használsz, 
       így teljesen egybefolyik az oldal, nincs többé éles törés! */
    background-color: #dfddd9;
    /* Írd át arra a szürkére/krémre, ami a kártyák mögött van */
}

.banner-border-box {
    position: relative;
    width: 85%;
    max-width: 1000px;
    /* Megnöveltük a magasságot (200px), hogy a leírás is kényelmesen beleférjen */
    height: 200px;
    border: 2px solid #26332d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* A nagy főcím, ami fent kettévágja a vonalat */
.banner-title {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background-color: #2d4c41;
    padding: 15px 40px;
    border: 1px solid #26332d;
    box-shadow: inset 0 0 0 5px #263b33;
    color: #f7f8f9;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

/* ÚJ: A felhozott leíró szöveg stílusa a kereten belül */
.banner-lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444444;
    font-style: italic;
    /* Meghagytuk a dőlt stílust */
    text-align: center;
    max-width: 750px;
    margin-top: 30px;
    /* Biztosítunk egy kis helyet a fenti nagy cím alatt */
    font-weight: 400;
}

/* =========================================
   KIS INFÓDOBOZOK
   ========================================= */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}


/* Alap kártya */

.stat-card {
    --accent: #3d9b63;
    --accent-bg: rgba(61, 155, 99, 0.045);
    --accent-glow: rgba(61, 155, 99, 0.10);

    position: relative;
    overflow: hidden;

    width: auto;
    padding: 24px;

    display: flex;
    align-items: center;
    gap: 20px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(61, 155, 99, 0.16);
    border-radius: 20px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 24px rgba(38, 51, 45, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;

    cursor: pointer;
}


/* A színes hover keret */

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: transparent;

    border: 1px solid transparent;
    border-left: 6px solid transparent;
    border-radius: 20px;

    pointer-events: none;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}


/* A tartalom maradjon a keret fölött */

.stat-card>* {
    position: relative;
    z-index: 1;
}


/* Hover */

.stat-card:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.94);

    border-color: rgba(61, 155, 99, 0.20);

    box-shadow:
        0 10px 24px rgba(38, 51, 45, 0.09),
        0 0 16px var(--accent-glow);
}

.stat-card:hover::before {
    background: var(--accent-bg);

    border-top-color: var(--accent);
    border-right-color: var(--accent);
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
}


/* Egyedi színek */

.stat-card:nth-child(1) {
    --accent: #a855f7;
    --accent-bg: rgba(168, 85, 247, 0.045);
    --accent-glow: rgba(168, 85, 247, 0.10);
}

.stat-card:nth-child(2) {
    --accent: #06b6d4;
    --accent-bg: rgba(6, 182, 212, 0.045);
    --accent-glow: rgba(6, 182, 212, 0.10);
}

.stat-card:nth-child(3) {
    --accent: #f97316;
    --accent-bg: rgba(249, 115, 22, 0.045);
    --accent-glow: rgba(249, 115, 22, 0.10);
}

.stat-card:nth-child(4) {
    --accent: #10b981;
    --accent-bg: rgba(16, 185, 129, 0.045);
    --accent-glow: rgba(16, 185, 129, 0.10);
}


/* =========================================
   IKON KÖRÖK
   ========================================= */

.icon-circle {
    width: 56px;
    height: 56px;
    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.stat-icon {
    width: 28px;
    height: 28px;
}


/* Egyedi ikon-színek */

.eye-circle {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.10);
    border: 1px solid rgba(168, 85, 247, 0.20);
}

.download-circle {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.10);
    border: 1px solid rgba(6, 182, 212, 0.20);
}

.comment-circle {
    color: #f97316;
    background: rgba(249, 115, 22, 0.10);
    border: 1px solid rgba(249, 115, 22, 0.20);
}

.online-circle {
    color: #10b981;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.20);
}


/* Ikon hover */

.stat-card:hover .icon-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}


/* =========================================
   CSS ANIMÁCIÓK
   ========================================= */

/* 1. Szem */

.stat-card:hover .eye-ring {
    stroke-dasharray: 4 2;
    animation: rotateRing 4s linear infinite;
}

.stat-card:hover .eye-pupil {
    animation: pulsePupil 1.5s ease-in-out infinite alternate;
}


/* 2. Letöltés */

.stat-card:hover .cloud-body {
    animation: floatCloud 2s ease-in-out infinite alternate;
}

.stat-card:hover .download-arrow {
    animation: arrowDrop 1.2s cubic-bezier(0.6, -0.28, 0.735, 0.045) infinite;
}


/* 3. Hozzászólás */

.stat-card:hover .chat-main {
    animation: popBubble 0.6s ease;
}

.stat-card:hover .chat-spark {
    animation: flashSpark 1s ease infinite alternate;
}


/* 4. Online */

.sonar-wave {
    transform-origin: center;
    animation: sonarOut 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.wave-2 {
    animation-delay: 0.6s;
}

.stat-card:hover .sonar-core {
    animation: corePulse 0.5s ease infinite alternate;
}


/* =========================================
   KEYFRAMES
   ========================================= */

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
        transform-origin: center;
    }
}

@keyframes pulsePupil {
    to {
        r: 4.5;
        filter: drop-shadow(0 0 4px currentColor);
    }
}

@keyframes floatCloud {
    to {
        transform: translateY(-2px);
    }
}

@keyframes arrowDrop {
    0% {
        transform: translateY(-5px);
        opacity: 0;
    }

    30% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(2px);
        opacity: 1;
    }

    100% {
        transform: translateY(8px);
        opacity: 0;
    }
}

@keyframes popBubble {

    0%,
    100% {
        transform: scale(1);
        transform-origin: center;
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes flashSpark {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@keyframes sonarOut {
    0% {
        r: 3;
        opacity: 1;
    }

    100% {
        r: 11;
        opacity: 0;
    }
}

@keyframes corePulse {
    to {
        transform: scale(1.3);
        transform-origin: center;
    }
}


/* =========================================
   STAT SZÖVEGEK
   ========================================= */

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgb(60, 61, 62);
    font-weight: 500;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.live-indicator {
    font-size: 0.65rem;
    background: #10b981;
    color: #0d0e12;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 0.5px;
}


/* =========================================
   H2
   ========================================= */

h2 {
    font-family: 'Cinzel', serif;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #424442;
    margin-top: 15px;
    text-align: center;
}


/* =========================================
   FELSŐ RÉSZ
   ========================================= */

.flex-sect {
    background: #dfddd9;
    padding: 90px 0 70px;
}

.container-width {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
}

.flex-title {
    margin-bottom: 15px;
    font-size: 2em;
    text-align: center;
    font-weight: 700;
    color: #555;
}

.flex-desc {
    max-width: 850px;
    margin: 0 auto 45px;
    font-size: 1em;
    line-height: 1.7;
    color: rgba(0, 0, 0, .55);
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(0, 0, 0, 0.41);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: .35s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .10);
}

.card img {
    width: 400px;
    height: auto;
    display: block;
}

/* A kártya fejléc alaphelyzetben */
.card-header {
    position: relative;
    /* Kell a belső keretnek */
    height: 175px;
    /* FIX MÉRET: kitölti a szélességet, a magassága pedig pontosan megegyezik a dobozzal */
    background-size: 100% 175px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("img/grand-canyon1.jpg");
    /* Lassú, lágy átmenet a háttér méretének változásához */
    transition: background-size .35s ease;
}

/* Amikor a kártyára viszed az egeret, a háttérkép finoman és stabilan belenagyít */
.card:hover .card-header {
    /* 6%-ot nagyítunk a szélességen és a magasságon is arányosan */
    background-size: 106% 185px;
}

/* A fix, keskeny paszpartu keret a kis képek felett */
.card-header::after {
    content: "";
    position: absolute;
    inset: 0;

    /* Keskeny sötétzöld külső keret (1px) */
    border: 1px solid #26332d;

    /* Vékony fehér belső paszpartu sáv (4px) */
    box-shadow: inset 0 0 0 4px #ffffff;

    /* Csak a felső két sarkot kerekítjük le, hogy kövesse a szülő .card formáját */
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;

    pointer-events: none;
}

/* A többi képed osztályai teljesen változatlanok maradnak */
.ch2 {
    background-image: url("img/hegy1.jpg");
}

.ch3 {
    background-image: url("img/őserdő1.jpg");
}

.ch4 {
    background-image: url("img/osi1.jpg");
}

.ch5 {
    background-image: url("img/fura1.jpg");
}

.ch6 {
    background-image: url("img/viz1.jpg");
}

.card-content {
    padding: 16px;
}

.card-body {
    padding: 18px 20px 22px;
}

.card-title {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.card-sub-title {
    color: #3d9b63;
    font-size: .9em;
    margin-bottom: 12px;
}

.card-desc {
    font-size: .88rem;
    line-height: 1.55;
    color: #666;
}


/* =========================================
   GÖRGETÉSRE EGYMÁSRA CSÚSZÓ NAGY BLOKKOK
   ========================================= */

.story-section {
    padding: 100px 0 40px;
    background-color: #dfddd9;
}

.story-section .container-width {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Görgetésre tapadó blokkok */

.story {
    position: sticky;
    top: 80px;
    width: 100%;
    padding-bottom: 10vh;
}


/* Utolsó blokk */

.story:last-child {
    padding-bottom: 0;
}


/* Nagy kártya */

.story-card {
    position: relative;
    width: 100%;
    height: 650px;

    overflow: hidden;

    border-radius: 22px;

    background: rgba(255, 255, 255, .78);

    border: 1px solid rgba(0, 0, 0, .08);

    box-shadow: 0 20px 60px rgba(0, 0, 0, .13);

    backdrop-filter: blur(12px);

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
}


/* Képrész */

.story-image {
    position: relative;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 22px;
    overflow: hidden;
}


/* Képkeret */

.story-image::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 2px solid #26332d;

    box-shadow:
        inset 0 0 0 8px #ffffff;

    border-radius: 22px;

    pointer-events: none;
}


/* Képek */

.story:nth-child(1) .story-image {
    background-image:
        linear-gradient(rgba(30, 60, 40, .08),
            rgba(30, 60, 40, .08)),
        url("img/külfo.jpg");
}

.story:nth-child(2) .story-image {
    background-image:
        linear-gradient(rgba(30, 60, 40, .08),
            rgba(30, 60, 40, .08)),
        url("img/fo2.jpg");
}

.story:nth-child(3) .story-image {
    background-image:
        linear-gradient(rgba(30, 60, 40, .08),
            rgba(30, 60, 40, .08)),
        url("img/fo3.jpg");
}


/* Szöveges rész */

.story-content {
    padding: 60px 55px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-category {
    color: #3d9b63;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.story-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 24px;
    color: #26332d;
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #626a65;
}

.story-more {
    margin-top: 30px;
    color: #3d9b63;
    font-weight: 600;
}


/* Sorszám */

.story-number {
    position: absolute;
    right: 28px;
    top: 25px;

    font-size: .8rem;
    color: rgba(0, 0, 0, .35);

    z-index: 3;
}


/* TABLET */

@media (max-width: 850px) {

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .story-image {
        min-height: 400px;
    }

    .story-content {
        padding: 40px 30px;
    }
}


/* MOBIL */

@media (max-width: 550px) {

    .cards {
        grid-template-columns: 1fr;
    }

    .story-section {
        padding-top: 60px;
    }

    .story {
        margin-bottom: -8vh;
    }

    .story-card {
        min-height: auto;
    }

    .story-image {
        min-height: 300px;
    }
}


/* =========================================
   ÉRDEKESSÉG SLIDER
   ========================================= */

.fact-slider-section {
    width: 100%;
    padding: 35px 0;
    background: #dfddd9;
}

.fact-slider {
    position: relative;
    width: 100%;
    min-height: 95px;

    overflow: hidden;

    background:
        linear-gradient(90deg,
            rgba(61, 155, 99, 0.035),
            rgba(255, 255, 255, 0.82) 18%,
            rgba(255, 255, 255, 0.82) 82%,
            rgba(61, 155, 99, 0.035));

    border-top: 1px solid rgba(61, 155, 99, 0.13);
    border-bottom: 1px solid rgba(61, 155, 99, 0.13);

    backdrop-filter: blur(12px);

    box-shadow:
        0 0 18px rgba(61, 155, 99, 0.10),
        0 8px 28px rgba(61, 155, 99, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(61, 155, 99, 0.10);
}


/* Felső fénycsík */

.fact-slider::before {
    content: "";

    position: absolute;
    top: 0;
    left: 15%;

    width: 70%;
    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(61, 155, 99, 0.28),
            transparent);

    opacity: 0.8;
}


/* Alsó fény */

.fact-slider::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 25%;

    width: 50%;
    height: 1px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(61, 155, 99, 0.16),
            transparent);
}


/* Slide */

.fact-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
    padding: 18px 95px;

    opacity: 0;

    transform: translateX(35px);

    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(.22, .61, .36, 1);

    pointer-events: none;
}

.fact-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


/* Ikon */

.fact-icon {
    position: relative;

    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #3d9b63;

    background:
        radial-gradient(circle at 35% 30%,
            rgba(255, 255, 255, 0.95),
            rgba(61, 155, 99, 0.08));

    border: 1px solid rgba(61, 155, 99, 0.22);

    font-size: 1.35rem;

    box-shadow:
        0 0 0 5px rgba(61, 155, 99, 0.025),
        0 5px 18px rgba(61, 155, 99, 0.09);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Ikon körüli fény */

.fact-icon::after {
    content: "";

    position: absolute;
    inset: -5px;

    border-radius: 50%;
    border: 1px solid rgba(61, 155, 99, 0.06);

    opacity: 0;
    transform: scale(.85);

    transition:
        opacity .4s ease,
        transform .4s ease;
}

.fact-slide.active .fact-icon::after {
    opacity: 1;
    transform: scale(1);
}


/* Tartalom */

.fact-content {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}


/* Címke */

.fact-label {
    color: #3d9b63;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 1.5px;
    white-space: nowrap;

    text-shadow:
        0 0 12px rgba(61, 155, 99, 0.10);
}


/* Szöveg */

.fact-text {
    color: #4f5852;

    font-size: 0.95rem;
    line-height: 1.5;

    transition: color .3s ease;
}

.fact-slide.active .fact-text {
    color: #46514a;
}


/* Nyilak */

.fact-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    border: 1px solid rgba(61, 155, 99, 0.10);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);
    color: #3d9b63;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 5;

    box-shadow:
        0 3px 12px rgba(24, 34, 29, 0.045);

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.fact-arrow:hover {
    background: #3d9b63;
    color: white;
    border-color: #3d9b63;

    box-shadow:
        0 5px 18px rgba(61, 155, 99, 0.22);

    transform: translateY(-50%) scale(1.08);
}

.fact-prev {
    left: 22px;
}

.fact-next {
    right: 22px;
}


/* Pontok */

.fact-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 6px;

    z-index: 5;
}

.fact-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(61, 155, 99, 0.22);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.fact-dot:hover {
    background: rgba(61, 155, 99, 0.55);
}

.fact-dot.active {
    width: 18px;

    border-radius: 10px;

    background: #3d9b63;

    box-shadow:
        0 0 8px rgba(61, 155, 99, 0.25);
}


/* =========================================
   SLIDER – MOBIL
   ========================================= */

@media (max-width: 700px) {

    .fact-slider {
        min-height: 115px;
    }

    .fact-slide {
        padding: 18px 55px 22px;
        gap: 12px;
    }

    .fact-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 1.1rem;
    }

    .fact-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fact-label {
        font-size: 0.68rem;
    }

    .fact-text {
        font-size: 0.84rem;
    }

    .fact-prev {
        left: 10px;
    }

    .fact-next {
        right: 10px;
    }

    .fact-arrow {
        width: 30px;
        height: 30px;
    }
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    width: 100%;
    background: #18221d;
    color: #d9dfdb;
}

.footer-main {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;

    padding: 65px 0 50px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-brand p {
    max-width: 310px;

    color: #9da8a1;

    font-size: .9rem;
    line-height: 1.7;

    margin: 0;
}

.footer-title {
    color: #ffffff;

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9da8a1;
    text-decoration: none;

    font-size: .9rem;

    transition:
        color .25s ease,
        transform .25s ease;
}

.footer-links a:hover {
    color: #3d9b63;
    transform: translateX(3px);
}


/* Social ikonok */

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;

    color: #b4beb8;
    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.footer-social-icons a:hover {
    background: rgba(61, 155, 99, .12);
    border-color: rgba(61, 155, 99, .45);
    color: #3d9b63;
    transform: translateY(-3px);
}

.footer-social-icons i {
    font-size: 1.15rem;
}


/* Footer alsó rész */

.footer-bottom {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;

    padding: 18px 0;

    border-top: 1px solid rgba(255, 255, 255, .08);

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #78827c;
    font-size: .78rem;
}


/* FOOTER – TABLET/MOBIL */

@media (max-width: 750px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
        padding: 50px 0 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 500px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    /* sablonhoz css */

    /* Minden sztori doboz alapból el van rejtve */
    .story-page {
        display: none;
    }

    /* Csak az jelenik meg, amelyik éppen aktív */
    .story-page.active {
        display: block;
    }

    /* A lapozó gombok stílusa (illeszkedik a zöld keretedhez) */
    .pagination-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 40px 0;
    }

    .pagination-controls button {
        border: 1px solid #26332d;
        background: #ffffff;
        color: #26332d;
        padding: 10px 20px;
        cursor: pointer;
        font-weight: 600;
    }

    .pagination-controls button:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    /* Minden sztori doboz alapból el van rejtve */
    .stori-page {
        display: none;
    }

    /* Csak az jelenik meg, amelyik éppen aktív */
    .stori-page.active {
        display: block;
    }

    /* SZOVEG ÉS CÍM RENDELÉSEK */
    .stori-main-title {
        font-family: 'Cinzel', serif;
        color: #26332d;
        font-weight: 600;
        margin-bottom: 30px;
        letter-spacing: 2px;
    }

    /* NAGY KÉP TÁROLÓ ÉS EFFEKTUSOK */
    .stori-image-wrapper {
        max-width: 900px;
        margin: 0 auto 30px auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(38, 51, 45, 0.15);
        transition: transform 0.4s ease;
    }

    .stori-image-wrapper:hover {
        transform: scale(1.01);
    }

    .stori-image {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Elegáns belső zöldes-fehér keret a képen belül */
    .stori-image::after {
        content: "";
        position: absolute;
        inset: 12px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        backdrop-filter: contrast(1.05);
        pointer-events: none;
        border-radius: 4px;
    }

    /* MERÉSZ, DIZÁJNOS TARTALOMDOBOZ */
    .stori-content-card {
        max-width: 800px;
        margin: -60px auto 40px auto;
        /* Rácsúsztatás a magazin hatásért */
        background: rgba(255, 255, 255, 0.97);
        border-top: 4px solid #26332d;
        border-left: 1px solid rgba(38, 51, 45, 0.1);
        border-right: 1px solid rgba(38, 51, 45, 0.1);
        border-bottom: 1px solid rgba(38, 51, 45, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 10;
    }

    .stori-text {
        font-size: 1.15rem;
        line-height: 1.8;
        color: #3a4740;
        text-align: justify;
        margin-bottom: 20px;
    }

    .stori-text:last-child {
        margin-bottom: 0;
    }

    /* LAPOZÓ GOMBOK */
    .pagination-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin: 50px 0;
    }

    .pagination-controls button {
        border: 1px solid #26332d;
        background: #ffffff;
        color: #26332d;
        padding: 12px 25px;
        cursor: pointer;
        font-weight: 600;
        letter-spacing: 1px;
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .pagination-controls button:hover:not(:disabled) {
        background: #26332d;
        color: #ffffff;
        box-shadow: 0 5px 15px rgba(38, 51, 45, 0.2);
    }

    .pagination-controls button:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    #pageIndicator {
        font-family: 'Cinzel', serif;
        font-weight: 600;
        color: #26332d;
    }

    /* HOZZÁSZÓLÁS SZEKCIÓ */
    .comments-section {
        max-width: 800px;
        margin: 0 auto;
        border-top: 1px solid rgba(38, 51, 45, 0.15);
        padding-top: 40px;
    }

    .comments-title {
        font-family: 'Cinzel', serif;
        color: #26332d;
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .comment-item {
        background: #fcfdfc;
        border-left: 3px solid #26332d;
        padding: 15px 20px;
        margin-bottom: 15px;
        border-radius: 0 8px 8px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    }

    .comment-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 0.85rem;
    }

    .comment-author {
        font-weight: 600;
        color: #26332d;
    }

    .comment-date {
        color: #8c9690;
    }

    .comment-text {
        color: #4a5750;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    /* ŰRLAP DIZÁJN */
    .comment-form-container {
        background: #f4f6f4;
        padding: 25px;
        border-radius: 12px;
        border: 1px solid rgba(38, 51, 45, 0.05);
    }

    .comment-form-container h4 {
        font-family: 'Cinzel', serif;
        color: #26332d;
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .comment-input,
    .comment-textarea {
        border: 1px solid rgba(38, 51, 45, 0.2) !important;
        background-color: #ffffff !important;
        color: #26332d !important;
    }

    .comment-input:focus,
    .comment-textarea:focus {
        border-color: #26332d !important;
        box-shadow: 0 0 0 0.25rem rgba(38, 51, 45, 0.15) !important;
    }

    .btn-comment {
        background: #26332d;
        color: #ffffff;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 6px;
        transition: background 0.3s;
    }

    .btn-comment:hover {
        background: #19221e;
        color: #ffffff;
    }