* {
    box-sizing: border-box;
}

:root {
    --surface: #ffffff;
    --accent: #15803d;
    --accent-soft: #dcfce7;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border-soft: #e5e7eb;
}

/* HÁTTÉR: ég + fű */

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: #cfd4da;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, #e5e7eb 0%, #d1d5db 40%, #9ca3af 100%);
    z-index: -3;
}

/* FELHŐK */

.clouds {
    position: fixed;
    top: 5%;
    left: 0;            /* ne induljon balra kilógva */
    width: 100%;        /* elég, ha a viewport szélességét fedi */
    height: 260px;
    background:
        url('data:image/svg+xml;utf8,\
        <svg xmlns="http://www.w3.org/2000/svg" width="600" height="200" viewBox="0 0 600 200">\
            <g fill="%23ffffff" opacity="0.92">\
                <circle cx="80" cy="100" r="50" />\
                <circle cx="150" cy="90" r="60" />\
                <circle cx="230" cy="110" r="50" />\
                <circle cx="310" cy="95" r="55" />\
                <circle cx="390" cy="110" r="50" />\
                <circle cx="470" cy="95" r="60" />\
                <circle cx="540" cy="110" r="50" />\
            </g>\
        </svg>'
        ) repeat-x;
    animation: cloud-move 120s linear infinite;
    z-index: -2;
}

@keyframes cloud-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(800px);
    }
}

/* FŰ */

body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: url("grass.png") repeat-x;
    background-size: contain;
    animation: grass-wind 14s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

@keyframes grass-wind {
    0% {
        transform: translateX(0) skewX(0deg);
    }

    50% {
        transform: translateX(-12px) skewX(1deg);
    }

    100% {
        transform: translateX(10px) skewX(-1.2deg);
    }
}

/* OLDAL TARTALOM */

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

/* TOPBAR */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 20px;
}

.brand-title {
    margin: 0;
    font-size: clamp(2.1rem, 3.2vw, 2.6rem);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-sub {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: opacity 0.25s ease;
    cursor: default;

    max-width: 26ch;
    min-height: 2.8em;
    line-height: 1.35;
}

.fade-out {
    opacity: 0;
}

.brand-title-main {
    letter-spacing: 0.03em;
    color: #111827;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.18);
}

.brand-title-pill {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: #16a34a;
    color: #f9fafb;
    border: 1px solid #15803d;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

/* NAV */

nav {
    margin-bottom: 22px;
}

.nav-links {
    display: inline-flex;
    gap: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.nav-links a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ===== HERO BLOKK – VÉGLEGES, KITAKARÍTOTT VERZIÓ ===== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 28px;

    background: rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    padding: 32px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);

    margin-bottom: 40px;
    align-items: stretch;
}

.hero h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    color: #7c2d12;
}

.hero p {
    margin: 0;
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* bal oldal – slider oszlop */

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-slides {
    margin-top: 18px;
    padding: 14px 14px 40px;
    background: #f9fafb;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    position: relative;
    flex: 1;
}

/* alapból minden slide rejtve */
.hero-slide {
    display: none;
    flex-direction: column;
    gap: 8px;
}

/* aktív slide */
.hero-slide.active {
    display: flex;
}

/* kép a slide-ban */
.hero-slide img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 6px;
}

.hero-slide h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #b91c1c;
}

.hero-slide p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* pöttyök */

.hero-dots {
    margin-top: 10px;
    display: flex;
    gap: 6px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
}

.hero-dot.active {
    width: 18px;
    background: #15803d;
}

/* "Következő téma" gomb */

.hero-next {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.2s;
}

.hero-next:hover {
    background: #0f632d;
    transform: translateX(-50%) scale(1.04);
}

.hero-next:active {
    transform: translateX(-50%) scale(0.97);
}

/* jobb oldal – kép oszlop */

.hero-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.hero-img-wrap img {
    width: auto;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 16px;
}

/* ===== SZEKCIÓK ===== */

section {
    margin-bottom: 42px;
}

h2.section-title {
    text-align: center;
    margin: 0 0 20px;
    font-size: 1.8rem;
}

section p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* RÓLAM */

.rolam-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.rolam-photo {
    width: 170px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* SZOLGÁLTATÁSOK */

.services {
    margin-top: 26px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: var(--surface);
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.card h3 {
    margin: 0 0 6px;
    color: #b91c1c;
    font-size: 1.02rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

/* ÁRAK DOBOZ */

.contact-box {
    margin-top: 12px;
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

/* FOOTER */

.clean-footer {
    text-align: center;
    padding: 12px 8px;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    border-top: 1px solid #d1d5db;
    margin-top: 40px;
}

.clean-footer .small {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

/* ZENE GOMB */

#music-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

#music-toggle:hover {
    background: rgba(255, 255, 255, 1);
}

/* LEBEGŐ KONTAKT WIDGET */

.floating-contact-widget {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 10000;
    font-size: 14px;
}

#contact-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #0084ff;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    padding: 12px 12px 10px;
    border: 1px solid var(--border-soft);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-panel p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-btn.phone {
    background: #16a34a;
    color: #f9fafb;
}

.contact-btn.messenger {
    background: #0084ff;
    color: #ffffff;
}

.contact-btn.share {
    background: #1877f2;
    color: #ffffff;
}

.contact-btn:hover {
    filter: brightness(1.05);
}

/* LEBEGŐ HÍVÁS GOMB – modern */

.floating-call {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 9999;
    background: #15803d;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s ease;
    backdrop-filter: blur(6px);
}

.floating-call:hover {
    background: #0f632d;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.floating-call:active {
    transform: scale(0.97);
}

/* ===== KAPCSOLAT SZEKCIÓ – ÜVEGES KÁRTYA ===== */

.contact-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.contact-card {
    max-width: 560px;
    margin: 0 auto 10px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

/* sorok: címke + érték egysoros elrendezés */

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 4px 0;
    font-size: 0.98rem;
}

.contact-label {
    font-weight: 600;
    color: #111827;
}

.contact-link {
    color: #15803d;
    text-decoration: none;
    font-weight: 600;
}

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

/* kis magyarázó szöveg alul */

.contact-note {
    margin-top: 10px;
    font-size: 0.88rem;
    color: #4b5563;
    text-align: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .rolam-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .rolam-photo {
        display: none;
    }
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    /* FONTOS: NINCS order:-1, így a DOM sorrend marad:
       elől a slider (hero-text), alatta a kép (hero-img-wrap) */

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .brand-sub {
        font-size: 1rem;
        max-width: 22ch;
        min-height: 3.2em;
    }

    .page {
        padding: 16px 12px 50px;
    }
}
/* Mobil finomhangolás, hogy minden elférjen egy kijelzőn */
@media (max-width: 480px) {

  .hero-header {
    padding: 1.2rem 1.2rem 0.4rem;   /* kevesebb függőleges tér */
  }

  .hero-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 1.9rem;               /* picit kisebb cím */
    margin: 0;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 0.25rem 0.7rem;
  }

  #brand-sub {
    font-weight: 700;
    color: #000;           /* erősebb kontraszt */
    text-shadow: 0 1px 2px rgba(0,0,0,0.15); /* finom mélység */
}

  .hero-tabs {
    margin-top: 0.3rem;              /* kevesebb hely a menü előtt */
  }
}
html, body {
    max-width: 100%;
    overflow-x: hidden;  /* sose kelljen oldalra húzni */
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.hero,
.hero-text,
.hero-slides,
.hero-img-wrap {
    max-width: 100%;
    box-sizing: border-box;
}

.hero-slide img,
.hero-img-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}
.arak-sub {
    text-align: center;
    font-size: 0.88rem;
    color: #6b7280;
    margin-top: -4px;
    margin-bottom: 26px;
    line-height: 1.45;

    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}




