/* =========================================================
   VHJog.hu
   Dr. Ökrös Tamás Ügyvédi Iroda
   Közös weboldal-stílus
   ========================================================= */


/* ---------- ALAPOK ---------- */

:root {
    --navy: #071a2d;
    --navy-light: #102a43;
    --gold: #b89a5b;
    --gold-light: #d2bd8a;

    --text: #252525;
    --muted: #66717c;

    --background: #ffffff;
    --soft-background: #f5f6f7;
    --border: #e3e5e7;

    --max-width: 1180px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--background);
    color: var(--text);

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}


img {
    max-width: 100%;
    height: auto;
}


a {
    color: var(--navy);
    text-decoration: none;
}


a:hover {
    color: var(--gold);
}


/* ---------- KÖZÖS OLDALSZÉLESSÉG ---------- */

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}


/* ---------- CÍMEK ---------- */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--navy);
    font-family: "Merriweather", Georgia, serif;
    line-height: 1.25;
    font-weight: 700;
}


h1 {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
}


h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}


h3 {
    font-size: 1.25rem;
}


p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}


/* ---------- GOMBOK ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 11px 24px;

    border: 1px solid var(--gold);
    border-radius: 2px;

    background: var(--gold);
    color: var(--navy);

    font-weight: 700;
    line-height: 1.2;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
}


.btn-outline {
    background: transparent;
    color: var(--navy);
}


.btn-outline:hover {
    background: var(--navy);
    color: #ffffff;
}


/* ---------- FEJLÉC ---------- */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}


.header-inner {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 92px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--navy);
}


.site-brand:hover {
    color: var(--navy);
}


.site-brand-text {
    display: flex;
    flex-direction: column;
}


.site-brand-name {
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}


.site-brand-subtitle {
    margin-top: 4px;

    color: var(--gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ---------- MENÜ ---------- */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}


.main-nav a {
    position: relative;

    padding: 34px 0 31px;

    color: var(--navy);

    font-size: .94rem;
    font-weight: 600;
}


.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .2s ease;
}


.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}


.main-nav a:hover {
    color: var(--navy);
}


/* ---------- ÁLTALÁNOS SZAKASZOK ---------- */

.section {
    padding: 80px 0;
}


.section-soft {
    background: var(--soft-background);
}


.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}


.eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}


/* ---------- KÁRTYÁK ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


.card {
    height: 100%;
    padding: 30px;

    background: #ffffff;
    border: 1px solid var(--border);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.card:hover {
    transform: translateY(-3px);

    border-color: var(--gold);

    box-shadow: 0 12px 30px rgba(7, 26, 45, .08);
}


/* ---------- CIKKOLDALAK ---------- */

.article-header {
    padding: 70px 0 50px;

    background: var(--soft-background);
    border-bottom: 1px solid var(--border);
}


.article-header-inner {
    max-width: 850px;
}


.article-content {
    width: min(calc(100% - 40px), 850px);
    margin: 0 auto;
    padding: 60px 0 80px;
}


.article-content p,
.article-content li {
    font-size: 1.04rem;
}


.article-content h2 {
    margin-top: 48px;
}


.article-content h3 {
    margin-top: 34px;
}


.article-back {
    margin-top: 50px;
    padding-top: 30px;

    border-top: 1px solid var(--border);
}


/* ---------- LÁBLÉC ---------- */

.site-footer {
    padding: 58px 0 30px;

    background: var(--navy);
    color: rgba(255, 255, 255, .82);
}


.footer-inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}


.footer-brand {
    margin-bottom: 24px;

    color: #ffffff;

    font-family: "Merriweather", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
}


.footer-legal {
    max-width: 850px;

    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
    line-height: 1.7;
}


.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, .12);

    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
}


/* ---------- MOBIL ---------- */

.mobile-menu-button {
    display: none;
}


@media (max-width: 800px) {

    .header-inner {
        min-height: 76px;
    }


    .main-nav {
        gap: 18px;
    }


    .main-nav a {
        padding: 26px 0 24px;
        font-size: .85rem;
    }


    .main-nav a::after {
        bottom: 18px;
    }


    .card-grid {
        grid-template-columns: 1fr;
    }


    .section {
        padding: 60px 0;
    }

}


@media (max-width: 650px) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 0;
        padding-top: 18px;
        padding-bottom: 10px;
    }


    .main-nav {
        width: 100%;

        justify-content: space-between;
        gap: 10px;

        overflow-x: auto;
    }


    .main-nav a {
        flex: 0 0 auto;

        padding: 18px 0 14px;

        font-size: .82rem;
    }


    .main-nav a::after {
        bottom: 8px;
    }


    .container,
    .header-inner,
    .footer-inner,
    .article-content {
        width: min(calc(100% - 28px), var(--max-width));
    }

}
/* ===== FŐOLDALI HERO HÁTTÉR ===== */

body > main > .section:first-child {
    position: relative;
    background:
        linear-gradient(
            rgba(7, 12, 20, 0.76),
            rgba(7, 12, 20, 0.76)
        ),
        url("../images/vhjog-hero.jpg") center center / cover no-repeat;
    color: #ffffff;
    min-height: 570px;
    display: flex;
    align-items: center;
}

body > main > .section:first-child h1 {
    color: #ffffff;
}

body > main > .section:first-child p {
    color: rgba(255, 255, 255, 0.92);
}

body > main > .section:first-child .eyebrow {
    color: #d2bd8a;
}

body > main > .section:first-child .btn-outline {
    color: #ffffff;
    border-color: #d2bd8a;
}

body > main > .section:first-child .btn-outline:hover {
    background: #d2bd8a;
    color: #071a2d;
}
/* ===== VHJog logó méretezése ===== */

.site-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    flex: 0 0 92px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.header-inner {
    min-height: 118px;
}
.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #d2bd8a;
}
/* ===== FŐMENÜ – végleges egyszerű hover ===== */

.main-nav a,
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    text-decoration: none;
    border-top: none;
}

.main-nav a::before,
.main-nav a::after {
    display: none !important;
}

.main-nav a:hover {
    color: #b89a5b;
}
/* Főoldali kapcsolat – 3 kártya egy sorban */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
}/* ===== MOBIL FEJLÉC JAVÍTÁS ===== */
@media (max-width: 650px) {

    .header-inner {
        min-height: auto;
    }

    .site-brand {
        width: 100%;
        gap: 12px;
        align-items: center;
    }

    .site-logo {
        width: 110px;
        height: 110px;
        flex: 0 0 110px;
    }

    .site-brand-text {
        min-width: 0;
        white-space: normal;
    }

    .site-brand-name {
        font-size: 1.25rem;
        line-height: 1.25;
        white-space: normal;
    }

    .site-brand-subtitle {
        margin-top: 8px;
    }
}