﻿/* =========================================================
   ALAPOK
   ========================================================= */

:root {
    --green-dark: #284b35;
    --green: #557c5b;
    --green-light: #e8efe6;

    --cream: #f7f4ed;
    --cream-dark: #eee9dc;

    --gold: #b49a62;
    --text: #30352f;
    --muted: #6d746b;

    --white: #ffffff;

    --container: 1180px;

    --shadow:
        0 15px 40px rgba(38, 60, 43, .09);

    --radius: 18px;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

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

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

.narrow {
    max-width: 780px;
}


/* =========================================================
   TYPOGRÁFIA
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    line-height: 1.15;
    color: var(--green-dark);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
    font-size: 1.45rem;
}

p {
    margin-top: 0;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: rgba(255,255,255,.85);

    font-size: .76rem;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow.green {
    color: var(--green);
}


/* =========================================================
   NAVIGÁCIÓ
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(247,244,237,.96);

    backdrop-filter: blur(10px);

    border-bottom:
        1px solid rgba(40,75,53,.08);
}

.nav-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--green-dark);
}

.logo strong {
    display: block;

    font-family: Georgia, serif;

    font-size: 1.5rem;
}

.logo small {
    display: block;

    color: var(--muted);

    font-size: .68rem;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.logo-leaf {
    color: var(--gold);

    font-size: 2.5rem;
}

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

    font-size: .92rem;
}

.main-nav a {
    transition: color .2s ease;
}

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

.nav-button {
    padding: 10px 20px;

    color: white !important;

    background: var(--green);

    border-radius: 50px;
}

.menu-toggle {
    display: none;

    border: 0;
    background: none;

    font-size: 1.7rem;

    color: var(--green-dark);

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(24,51,33,.78),
            rgba(24,51,33,.25)
        ),
        url("images/hero-illoolaj.jpg")
        center / cover no-repeat;

    background-color: #55705b;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-text {
    max-width: 760px;

    color: white;
}

.hero h1 {
    color: white;

    max-width: 800px;

    margin-bottom: 28px;
}

.hero h1 em {
    display: block;

    color: #d7e4cf;

    font-family: Georgia, serif;

    font-weight: 400;
}

.hero-lead {
    max-width: 650px;

    font-size: 1.2rem;

    color: rgba(255,255,255,.9);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 12px 25px;

    border-radius: 50px;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;

    background: var(--green);
}

.button-primary:hover {
    background: var(--green-dark);
}

.button-light {
    color: var(--green-dark);

    background: white;
}

.button-light:hover {
    background: var(--green-light);
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 120px 0;

    text-align: center;

    background: var(--cream);
}

.intro h2 {
    max-width: 800px;

    margin-inline: auto;

    font-family: Georgia, serif;
}

.intro p {
    font-size: 1.08rem;
}

.intro .lead {
    color: var(--muted);

    font-size: 1.2rem;
}


/* =========================================================
   TERÜLETEK
   ========================================================= */

.areas {
    padding: 110px 0;

    background: white;
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    font-family: Georgia, serif;
}

.section-heading p {
    color: var(--muted);

    font-size: 1.05rem;
}


.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.card {
    position: relative;

    padding: 34px 28px;

    background: var(--cream);

    border:
        1px solid rgba(40,75,53,.07);

    border-radius: var(--radius);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.card-highlight {
    background: var(--green-dark);

    color: rgba(255,255,255,.8);
}

.card-highlight h3 {
    color: white;
}

.card-highlight .card-number {
    color: rgba(255,255,255,.4);
}

.card-icon {
    font-size: 2rem;

    margin-bottom: 25px;
}

.card-number {
    display: block;

    margin-bottom: 10px;

    color: var(--green);

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .15em;
}

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

.card-highlight p {
    color: rgba(255,255,255,.75);
}

.card ul {
    padding: 0;

    margin: 25px 0;

    list-style: none;
}

.card li {
    padding: 5px 0;

    font-size: .9rem;
}

.card li::before {
    content: "✓";

    margin-right: 8px;

    color: var(--gold);
}

.text-link {
    display: inline-block;

    margin-top: 5px;

    color: var(--green);

    font-weight: 700;
}

.card-highlight .text-link {
    color: #d6e5d0;
}


/* =========================================================
   QUOTE
   ========================================================= */

.quote-section {
    padding: 100px 0;

    background: var(--green-light);
}

.quote-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;
}

.image-placeholder {
    aspect-ratio: 1 / 1;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 8px;

    color: white;

    background:
        linear-gradient(
            145deg,
            #6d8d6d,
            #304d38
        );

    border-radius: 30px;

    box-shadow: var(--shadow);

    font-family: Georgia, serif;

    letter-spacing: .2em;
}

.image-placeholder strong {
    font-size: 2rem;
}

blockquote {
    margin: 25px 0;

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: clamp(1.8rem, 3vw, 3rem);

    line-height: 1.25;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
    padding: 110px 0;

    background: white;
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    color: white;

    background: var(--green);

    border-radius: 50%;

    font-weight: 700;
}

.step p {
    color: var(--muted);

    font-size: .95rem;
}


/* =========================================================
   RÓLAM
   ========================================================= */

.about {
    padding: 110px 0;

    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 80px;
}

.photo-placeholder {
    aspect-ratio: 4 / 5;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 8px;

    color: var(--green-dark);

    background: var(--cream-dark);

    border-radius: 30px;

    font-size: .8rem;

    letter-spacing: .15em;
}

.photo-placeholder strong {
    font-family: Georgia, serif;

    font-size: 1.8rem;
}

.about-content h2 {
    font-family: Georgia, serif;
}

.about-content p {
    color: var(--muted);
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 110px 20px;

    color: white;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #284b35,
            #54775a
        );
}

.cta h2 {
    max-width: 800px;

    margin-inline: auto;

    color: white;

    font-family: Georgia, serif;
}

.cta p {
    max-width: 650px;

    margin: 0 auto 35px;

    color: rgba(255,255,255,.82);

    font-size: 1.1rem;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.disclaimer {
    padding: 55px 0;

    background: #eeebe3;

    color: #686b65;

    font-size: .82rem;
}

.disclaimer h3 {
    font-size: 1.1rem;
}

.disclaimer p {
    margin-bottom: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    color: rgba(255,255,255,.7);

    background: #1d3023;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;

    padding: 65px 0;
}

.footer-logo {
    color: white;

    font-family: Georgia, serif;

    font-size: 1.7rem;
}

.footer h4 {
    color: white;

    font-size: .9rem;

    text-transform: uppercase;

    letter-spacing: .12em;
}

.footer a {
    display: block;

    margin-bottom: 8px;

    font-size: .9rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    padding: 20px;

    border-top:
        1px solid rgba(255,255,255,.1);

    text-align: center;

    font-size: .78rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

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

    .steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .quote-grid,
    .about-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .image-placeholder,
    .photo-placeholder {
        max-width: 600px;

        margin-inline: auto;

        width: 100%;
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .nav-container {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px;

        background: var(--cream);

        border-bottom:
            1px solid rgba(40,75,53,.1);

        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 10px;
    }

    .nav-button {
        text-align: center;
    }

    .hero {
        min-height: 650px;

        background-position: 60% center;
    }

    .hero h1 {
        font-size: 2.9rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .intro,
    .areas,
    .how-it-works,
    .about,
    .quote-section {
        padding: 75px 0;
    }

    .cards,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quote-grid,
    .about-grid {
        gap: 35px;
    }

    .card {
        padding: 30px 25px;
    }

    .footer-grid {
        gap: 30px;
    }

}


/* =========================================================
   KIS MOBIL
   ========================================================= */

@media (max-width: 420px) {

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    blockquote {
        font-size: 1.7rem;
    }

}
