/* --------------------------------------------------
   Alapok
-------------------------------------------------- */
:root {
    --bg: #f7f4ee;
    --bg-alt: #efe9df;
    --text: #2c2b29;
    --muted: #67625c;
    --line: rgba(44, 43, 41, 0.12);
    --white: #ffffff;
    --primary: #2f5b63;
    --primary-dark: #24464c;
    --sand: #d7c5aa;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.narrow {
    width: min(820px, 100%);
}

.center {
    text-align: center;
}

.section {
    padding: 96px 0;
}

.section.alt {
    background: var(--bg-alt);
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

h1, h2, h3 {
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    max-width: 900px;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0;
    max-width: 760px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

.section-heading {
    margin-bottom: 42px;
}

.section-lead {
    font-size: 1.22rem;
    line-height: 1.75;
    color: var(--text);
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(247, 244, 238, 0.82);
    border-bottom: 1px solid rgba(44, 43, 41, 0.07);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--text);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav a {
    font-size: 0.96rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-btn {
    border: 1px solid rgba(44, 43, 41, 0.12);
    background: transparent;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(44, 43, 41, 0.04);
}

.lang-btn.active {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
}

/* --------------------------------------------------
   Hero
-------------------------------------------------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-image: url("hero1.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 22, 22, 0.68) 0%, rgba(22, 22, 22, 0.46) 38%, rgba(22, 22, 22, 0.24) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 64px 0;
    color: var(--white);
}

.hero .eyebrow,
.hero h1,
.hero .hero-text,
.hero .hero-meta {
    color: var(--white);
}

.hero .eyebrow {
    opacity: 0.9;
}

.hero-text {
    font-size: 1.16rem;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-meta {
    font-size: 0.95rem;
    opacity: 0.88;
    letter-spacing: 0.02em;
}

/* --------------------------------------------------
   Gombok
-------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #f3f1ec;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------
   Kártyák
-------------------------------------------------- */
.cards {
    display: grid;
    gap: 24px;
}

.cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 220px;
}

/* --------------------------------------------------
   About / Intro / Contact
-------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.contact-section h2 {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
}

.contact-box {
    display: inline-block;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box a {
    color: var(--primary);
}

.contact-box a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.site-footer {
    border-top: 1px solid rgba(44, 43, 41, 0.08);
    background: #eee7db;
}

.footer-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin: 0;
    font-size: 0.94rem;
}

/* --------------------------------------------------
   Reszponzív
-------------------------------------------------- */
@media (max-width: 960px) {
    .cards.two,
    .cards.three,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 0;
    }

    .hero {
        min-height: 82vh;
        background-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(22, 22, 22, 0.60) 0%, rgba(22, 22, 22, 0.42) 100%);
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 14px 0;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 20px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .section {
        padding: 64px 0;
    }

    .hero-content {
        padding: 54px 0;
    }

    .hero-text {
        font-size: 1.04rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .footer-inner {
        min-height: auto;
        padding: 22px 0;
        flex-direction: column;
        text-align: center;
    }
}
