/* Kutyavarazslo.hu - fejrész */
:root {
    --header-purple-dark: #24102f;
    --header-purple: #371542;
    --header-purple-light: #492759;
    --header-gold: #e8b94e;
    --header-gold-light: #f2cf69;
    --header-white: #ffffff;
    --header-text: #f8f3fa;
}

.site-header {
    background: linear-gradient(135deg, var(--header-purple-dark) 0%, var(--header-purple) 48%, var(--header-purple-light) 100%);
    color: var(--header-text);
    overflow: hidden;
}

.nav-wrap {
    width: min(1420px, calc(100% - 48px));
    min-height: 96px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--header-gold-light);
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.05;
    white-space: nowrap;
}

.site-logo img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    position: relative;
    padding: 36px 0 30px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;
    height: 2px;
    background: var(--header-gold-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--header-gold-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-offer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--header-gold-light);
    border-radius: 13px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}

.nav-offer i {
    color: var(--header-gold-light);
}

.nav-offer:hover {
    background: var(--header-gold-light);
    color: #24102f;
    transform: translateY(-1px);
}

.nav-offer:hover i {
    color: #24102f;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid rgba(232,185,78,.55);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--header-gold-light);
}

.hero {
    width: min(1420px, calc(100% - 48px));
    min-height: 570px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: stretch;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px 24px 80px 0;
}

.hero-content h1 {
    margin: 0;
    max-width: 650px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 5.1vw, 82px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.hero-content h1 span {
    display: block;
    margin-bottom: 12px;
    color: var(--header-gold-light);
}

.hero-content p {
    max-width: 560px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.hero-button-gold {
    background: linear-gradient(90deg, #f3cf68, #e6b23c);
    color: #24102f;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero-button-outline {
    border: 1px solid var(--header-gold-light);
    color: var(--header-gold-light);
    background: rgba(255,255,255,.02);
}

.hero-image {
    position: relative;
    min-height: 570px;
    overflow: visible;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -170px;
    width: 260px;
    z-index: 2;
    background: linear-gradient(90deg, var(--header-purple) 0%, rgba(55,21,66,.92) 34%, rgba(55,21,66,0) 100%);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center right;
}

@media (max-width: 1180px) {
    .nav-wrap {
        grid-template-columns: auto auto 1fr auto;
        gap: 18px;
    }

    .nav-toggle {
        display: block;
        grid-column: 3;
        justify-self: end;
    }

    .main-nav {
        position: absolute;
        top: 96px;
        left: 24px;
        right: 24px;
        z-index: 50;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 16px 24px;
        border: 1px solid rgba(232,185,78,.2);
        border-radius: 14px;
        background: #2b1036;
        box-shadow: 0 18px 50px rgba(0,0,0,.28);
    }

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

    .main-nav a {
        width: 100%;
        padding: 14px 0;
        text-align: center;
    }

    .main-nav a::after {
        bottom: 8px;
    }

    .hero {
        grid-template-columns: 48% 52%;
    }
}

@media (max-width: 820px) {
    .nav-wrap {
        width: min(100% - 28px, 1420px);
        grid-template-columns: 1fr auto;
        min-height: 82px;
    }

    .site-logo {
        font-size: 19px;
    }

    .site-logo img {
        width: 62px;
        height: 62px;
    }

    .nav-toggle {
        grid-column: auto;
    }

    .nav-offer {
        display: none;
    }

    .main-nav {
        top: 82px;
        left: 14px;
        right: 14px;
    }

    .hero {
        width: 100%;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 56px 24px 38px;
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: clamp(46px, 11vw, 68px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        min-height: 430px;
    }

    .hero-image::before {
        inset: -80px 0 auto 0;
        width: 100%;
        height: 140px;
        background: linear-gradient(180deg, var(--header-purple) 0%, rgba(55,21,66,0) 100%);
    }

    .hero-image img {
        object-position: 68% center;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
    }

    .hero-image {
        min-height: 350px;
    }
}