/* --- A CSS VÁLTOZÓK ÉS ALAPOK MARADNAK (Ahogy az előzőben) --- */
:root {
    --color-primary: #1e5631;      
    --color-primary-light: #2c7a46;
    --color-secondary: #f3c623;    
    --color-secondary-hover: #d9af1b;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

/* Szép görgetés */
html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--color-text-main); background-color: var(--color-bg-light); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 1rem; }
ul { list-style: none; }

/* Gombok maradnak változatlanul */
.btn { display: inline-block; padding: 12px 24px; font-size: 1.1rem; font-weight: bold; text-align: center; text-decoration: none; border-radius: 50px; cursor: pointer; border: none; transition: background-color var(--transition-speed), transform var(--transition-speed); }
.btn-primary { background-color: var(--color-secondary); color: var(--color-primary); }
.btn-primary:hover { background-color: var(--color-secondary-hover); transform: translateY(-2px); }
.btn-outline { background-color: #e9ecef; color: var(--color-primary); }
.btn-outline:hover { background-color: #dee2e6; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.align-items-center { align-items: center; }

.site-logo {
    max-width: 250px; /* Szabályozza a logó méretét */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); /* Enyhe árnyék, hogy kiemelkedjen a zöld háttérből */
}

/* Mobilon kicsit kisebb legyen */
@media (max-width: 768px) {
    .site-logo {
        max-width: 200px;
        margin: 0 auto 20px auto; /* Középre igazítás */
    }
}

/* --- HERO SZEKCIÓ (Plakáttal és elrendezéssel) --- */
.hero {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.3rem;
    color: #d1e7dd;
    margin-bottom: 30px;
}

/* Plakát és Lebegő animáció */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.poster-img {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
    border: 5px solid #fff;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

/* --- MANCSOK HÁTTÉRKÉNT (Javítva a láthatóság!) --- */
.paw {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('../kepek/mancsBukkfan.webp'); /* FONTOS: Ugyanabban a mappában kell lennie */
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.35; /* Magasabb opacity a biztos láthatóságért */
    filter: sepia(0.5) brightness(0.8); /* Finomítjuk a színeit, hogy jobban illeszkedjen */
    z-index: 1;
}

.paw1 { top: 10%; left: 5%; transform: rotate(-20deg) scale(1.2); }
.paw2 { top: 70%; left: 10%; transform: rotate(15deg) scale(0.8); }
.paw3 { top: 15%; left: 85%; transform: rotate(45deg) scale(1.5); }
.paw4 { top: 80%; left: 85%; transform: rotate(-35deg) scale(1); }
.paw5 { top: 5%; left: 45%; transform: rotate(10deg) scale(0.9); }
.paw6 { top: 60%; left: 50%; transform: rotate(-15deg) scale(0.7); opacity: 0.2; }

/* --- Lebegő "Tovább olvasok" gomb stílusok --- */
.btn-scroll {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Távolság a szöveg és a nyíl között */
    padding: 12px 30px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce-down 2s infinite; /* 2 másodperces végtelenített animáció */
}

#reszletek, #arak {
    scroll-margin-top: 40px;
}

/* Az animáció kulcskockái (keyframes) */
@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px); /* Lefelé mozdul 6 pixelt */
    }
    60% {
        transform: translateY(3px); /* Kicsit visszaugrik, majd újra le */
    }
}

/* --- LASSAN MOZGÓ ANIMÁLT HULLÁM --- */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: -7px; /* Eltünteti a Safari féle hézagot a szekciók közt */
}

/* Animáció definiálása a hullám rétegekre */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* --- HOGYAN MŰKÖDIK ÉS LÉPÉS IKONOK --- */
.how-it-works {
    padding: 60px 0 80px 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.how-it-works h2 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 50px; }
.step-card { padding: 20px; }
.icon-circle {width:60px;height:60px;background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto -20px auto; /* Ráültetjük az ikonra */
    position: relative;
    z-index: 2;
    border: 4px solid var(--color-bg-white);
}

.step-icon {
    width: 100px;
    height: 100px;
    background-color: #d1e7dd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--color-primary);
}

.step-icon svg {
    width: 45px;
    height: 45px;
    margin-top: 15px; /* Kicsit lejjebb toljuk, mert a szám rálóg a tetejére */
}

/* --- A TOVÁBBI SZEKCIÓK (Árazás, Magyarázó box, Lábléc) PONTOSAN UGYANAZOK, MINT AZ ELŐZŐBEN --- */
/* (Ide jön a .pricing, .price-card, .explanation-box, .site-footer kódja, hogy teljes legyen) */

.pricing { padding: 80px 0; text-align: center; background-color: var(--color-bg-light); }
.pricing h2 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 50px; }
/* Meglévő doboz stílus KIEGÉSZÍTVE a position: relative; tulajdonsággal */
.price-card {position: relative;background: var(--color-bg-white);border:1px solid #e0e0e0;border-radius:var(--border-radius);padding: 40px 30px;display:flex;flex-direction:column;    box-shadow:0 4px 6px rgba(0,0,0,0.05)}
.card-decor-sticker {position: absolute;top:-25px;left:-15px;width:80px;height:80px;border-radius:50%;border:4px solid var(--color-bg-white);box-shadow:0 4px 10px rgba(0,0,0,0.15);   background-size:cover;background-position:center;z-index:10}
.decor-snail {background-image: url('../kepek/csigaBiga.webp')}
.decor-paw {background-image: url('../kepek/mancsBukkfan.webp')}
.decor-mushroom {background-image: url('../kepek/varganyagomba.webp')}
.price-card:hover .card-decor-sticker {transform: scale(1.1) rotate(-5deg);transition: transform 0.3s ease}
.card-decor-sticker {transition: transform 0.3s ease}
.price-card.featured { background-color: var(--color-primary); color: var(--color-bg-white); border-color: var(--color-secondary); transform: scale(1.05); position: relative; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.price-card .badge { position: absolute; top: 0; right: 0; background-color: var(--color-secondary); color: var(--color-primary); font-size: 0.8rem; font-weight: bold; padding: 5px 15px; border-bottom-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); text-transform: uppercase; }
.price-card h3 { font-size: 1.8rem; }
.price-card .subtitle { color: var(--color-text-light); margin-bottom: 15px; }
.price-card.featured .subtitle { color: #d1e7dd; }
.price-card .price { font-size: 2.5rem; font-weight: bold; margin-bottom: 5px; }
.price-card .price span { font-size: 1.2rem; font-weight: normal; }
.price-card .annual-price { font-size: 1rem; font-weight: bold; color: var(--color-secondary); margin-bottom: 25px; }
.price-card:not(.featured) .annual-price { color: var(--color-primary-light); }
.price-card ul { margin-bottom: 30px; flex-grow: 1; text-align: left; }
.price-card ul li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: bold; }
.price-card.featured ul li::before { color: var(--color-secondary); }
.price-card button { width: 100%; }

.explanation-box { padding: 60px 0; background-color: var(--color-bg-light); }
.info-content { background-color: var(--color-bg-white); border-left: 6px solid var(--color-secondary); padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.info-content h3 { color: var(--color-primary); font-size: 1.5rem; margin-bottom: 15px; }
.info-content p { margin-bottom: 15px; color: var(--color-text-main); }
.info-content p:last-child { margin-bottom: 0; }

.site-footer { background-color: var(--color-primary); color: #d1e7dd; text-align: center; padding: 40px 0; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: var(--color-bg-white); text-decoration: none; margin: 0 15px; font-weight: bold; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-secondary); }

/* --- Reszponzív nézet javítása az új elrendezéshez --- */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }

    .hero-text h1 { font-size: 3rem; }
    
    .poster-img {
        max-height: 400px;
    }

    .price-card.featured {
        transform: scale(1);
    }
    
    .grid-3 { gap: 20px; }
    .footer-links a { display: block; margin: 10px 0; }
}

/* --- Új Elrendezések --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.bg-light-green { background-color: #eaf2ed; } /* Egy nagyon halvány zöld háttér a kiemeléshez */

/* --- Hero kiegészítés --- */
.hero-subtitle {
    font-size: 1.8rem !important;
    font-weight: bold;
    color: var(--color-secondary) !important;
    margin-bottom: 15px !important;
}

/* --- A Játékról Szekció --- */
.about-game { padding: 80px 0; background-color: var(--color-bg-white); }
.about-grid { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; }
.about-image-wrapper { flex: 1; }
/* --- A Játékról Szekció Képbeállításai --- */
.image-placeholder {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden; /* Ez vágja le a kép sarkait, hogy igazodjon a lekerekítéshez */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Egy elegáns árnyék, ami kiemeli a képet a háttérből */
    /* A szaggatott keretet és a háttérszínt eltávolítottuk */
}

.image-placeholder img {
    width: 100%;       /* A kép sosem lóghat ki a tárolójából */
    height: auto;      /* Az arányok megtartása mellett méretezi át magát */
    display: block;    /* Eltünteti a képek alatti láthatatlan üres teret */
    object-fit: cover; /* Megakadályozza a kép torzulását */
}

.highlight-box {
    background-color: #fff9e6; border-left: 5px solid var(--color-secondary);
    padding: 20px; border-radius: 8px; margin-top: 30px; font-size: 1.1rem;
}

/* --- Miért imádják Szekció --- */
.benefits { padding: 80px 0; }
.benefits h2 { margin-bottom: 50px; color: var(--color-primary); }
.benefit-card {
    background: var(--color-bg-white); padding: 30px 20px;
    border-radius: var(--border-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.benefit-card:hover { transform: translateY(-5px); }
.benefit-icon { font-size: 3rem; margin-bottom: 15px; }
.benefit-card h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 15px; }

/* --- Kiknek ajánljuk Szekció --- */
.target-audience { padding: 80px 0; background-color: var(--color-bg-light); }
.target-audience h2 { margin-bottom: 50px; color: var(--color-primary); }
.target-card {
    background: var(--color-bg-white); border-radius: var(--border-radius);
    overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: left;
}
.target-image { height: 200px; background-color: #ccc; background-size: cover; background-position: center; }
/* Ide jönnek majd a képeid hivatkozásai: */
.hotel-bg { background-image: url('../kepek/hotel-qrkod-jatek.png'); } 
.restaurant-bg { background-image: url('../kepek/etterem-qrkod-jatek.png'); }
.park-bg { background-image: url('../kepek/arboretum-qrkod-jatek.png'); }

.target-card h3 { padding: 20px 20px 10px 20px; color: var(--color-primary); font-size: 1.4rem; }
.target-card p { padding: 0 20px 20px 20px; color: var(--color-text-light); }

/* --- Final CTA Szekció --- */
.final-cta {
    background-color: var(--color-primary); color: var(--color-bg-white);
    padding: 80px 0; background-image: url('mancsBukkfan.webp'); 
    background-size: 200px; background-blend-mode: multiply;
}
.final-cta h2 { font-size: 2.5rem; margin-bottom: 20px; }
.final-cta p { font-size: 1.3rem; margin-bottom: 30px; color: #d1e7dd; }
.btn-large { font-size: 1.3rem; padding: 15px 40px; }

/* Reszponzivitás javítása */
@media (max-width: 768px) {
    .about-grid { flex-direction: column; }
    .grid-4 { grid-template-columns: 1fr; }
}



/* =========================================
   ÁSZF / Jogi dokumentumok egyedi stílusai 
   ========================================= */

.legal-page {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
}

.legal-header {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 60px 0 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.legal-header .site-logo {
    max-width: 150px; /* Szabályozza a maximális méretet */
    width: 100%;      /* Engedi zsugorodni mobilon */
    height: auto;     /* Megtartja a képarányt */
    margin: 0 auto 20px auto; /* Középre igazítja */
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-header p {
    color: #d1e7dd;
    font-style: italic;
}

/* Maga a dokumentum teste (fehér papír hatás) */
.legal-content {
    max-width: 900px; /* Szándékosan keskenyebb, hogy a sorok ne legyenek túl hosszúak, így jobb olvasni */
    margin: 0 auto 60px auto;
}

.legal-doc-wrapper {
    background-color: var(--color-bg-white);
    padding: 50px 60px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.legal-doc-wrapper section {
    margin-bottom: 40px;
}

.legal-doc-wrapper h2 {
    color: var(--color-primary);
    font-size: 1.6rem;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 10px;
    margin-top: 50px;    /* Bőséges térköz a FELETTE lévő szövegtől */
    margin-bottom: 20px; /* Térköz az ALATTA lévő szövegtől */
}

/* A legelső H2 címsor felett viszont ne legyen felesleges űr */
.legal-doc-wrapper section:first-of-type h2 {
    margin-top: 0;
}

.legal-doc-wrapper p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
}

.legal-doc-wrapper ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-doc-wrapper ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #444;
    position: relative;
}

.legal-doc-wrapper ul li::before {
    content: "•";
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.legal-footer-note {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #ccc;
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-light);
}

.legal-footer-note a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: bold;
}

/* Reszponzivitás mobilra a jogi oldalnál */
@media (max-width: 768px) {
    .legal-doc-wrapper {
        padding: 30px 20px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-doc-wrapper p, .legal-doc-wrapper ul li {
        text-align: left; /* Mobilon a sorkizárt nehezen olvasható */
        font-size: 1rem;
    }
}

/* --- Felgörgető gomb --- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Alapértelmezett, rejtett állapot */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    transition: all 0.3s ease;
}

#scrollTopBtn svg {
    width: 24px;
    height: 24px;
}

/* Ez az osztály adódik hozzá görgetéskor (JavaScript-ből) */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-3px) scale(1.05); /* Hovernél finoman feljebb pattan */
}

/* =========================================
   Süti (Cookie) Sáv
   ========================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 86, 49, 0.95); /* A sötétzöld alapszíned kicsit átlátszóan */
    color: var(--color-bg-white);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    display: none; /* Alapértelmezetten rejtett */
}

/* Ezt az osztályt adja hozzá a JS, ha meg kell jelennie */
.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #d1e7dd;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.cookie-content a:hover {
    color: var(--color-bg-white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 1rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.guide-container { max-width: 900px; margin: 40px auto; padding: 0 20px; font-family: inherit; color: #333; }
        .guide-header { background: linear-gradient(135deg, #1e5631, #2e7d32); color: white; padding: 40px; border-radius: 16px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .guide-header h1 { margin: 0 0 15px 0; font-size: 2.2rem; }
        .guide-header p { margin: 0; font-size: 1.1rem; opacity: 0.9; line-height: 1.6; }
        
        .step-card-tu { background: white; border-radius: 12px; padding: 30px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; gap: 25px; align-items: flex-start; border-left: 6px solid #2e7d32; }
        .step-number { background: #e8f5e9; color: #2e7d32; font-weight: bold; font-size: 1.5rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
        .step-content h3 { margin: 0 0 10px 0; color: #1e5631; font-size: 1.3rem; }
        .step-content p { margin: 0 0 10px 0; line-height: 1.6; color: #555; }
        .tip-box { background: #f4f9f4; border: 1px dashed #2e7d32; padding: 12px 18px; border-radius: 8px; font-size: 0.95rem; color: #2d5a27; margin-top: 10px; }
        
        .action-bar { display: flex; justify-content: space-between; align-items: center; background: #fff3e0; padding: 25px; border-radius: 12px; border: 1px solid #ffe0b2; margin-top: 40px; }
        .action-bar h3 { margin: 0 0 5px 0; color: #e65100; }
        .action-bar p { margin: 0; color: #666; font-size: 0.95rem; }
        
        @media print {
            .action-bar, .no-print { display: none !important; }
            .guide-container { margin: 0; padding: 0; max-width: 100%; }
            .step-card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
        }