/* =====================================================
   Amelie boltja — variáns II.
   Editorial, sötétzöld + arany, magazin-szerű layout
   ===================================================== */

:root {
    --bg:          #f3ece0;   /* meleg vaj */
    --bg-soft:     #ece3d1;
    --paper:       #f8f2e6;
    --ink:         #1f2a23;   /* mélyzöld-fekete */
    --ink-2:       #2c3a31;
    --forest:      #2a3a30;
    --forest-deep: #182019;
    --gold:        #b89052;
    --gold-soft:   #dcbf89;
    --rouge:       #8a3a2a;
    --muted:       #7e7261;
    --line:        #c9bda4;

    --serif:  "Playfair Display", "Times New Roman", Georgia, serif;
    --sans:   "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}
h1 { line-height: 0.98; }
h2 { line-height: 1.05; }

p { margin: 0 0 1em; color: var(--ink-2); }
em { font-style: italic; color: var(--gold); font-weight: 500; }

.wrap {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* shared typographic bits */
.sec-head-label {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.2rem;
}
.sec-head-label .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0;
}
.sec-head-label.center { justify-content: center; }

.sec-title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 500;
}
.sec-title--sm { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.sec-title em { color: var(--gold); font-style: italic; }

.sec-intro {
    max-width: 560px;
    color: var(--ink-2);
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* ------------- BUTTONS / LINKS ------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.8rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    border-radius: 999px;
    transition: all 0.25s ease;
}
.btn:hover { background: var(--forest); border-color: var(--forest); transform: translateY(-1px); }

.btn--light {
    background: var(--gold-soft);
    color: var(--forest-deep);
    border-color: var(--gold-soft);
}
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }

.link-arrow {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow--light { color: var(--gold-soft); border-color: var(--gold-soft); }
.link-arrow--light:hover { color: #fff; border-color: #fff; }

/* =========================
   NAV
   ========================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 236, 224, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
}
.logo-serif {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
}
.logo-serif em { color: var(--gold); }
.logo-est {
    margin-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}
.nav ul a {
    text-decoration: none;
    color: var(--ink-2);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}
.nav ul a:hover { color: var(--gold); }

.nav-cta {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* hamburger gomb — PC-n rejtve, csak mobilon jelenik meg */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
/* X alakzat, amikor nyitva van a menü */
.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 100% 0%, rgba(184,144,82,0.12), transparent 60%),
        var(--bg);
    padding: clamp(3rem, 7vw, 5rem) 0 0;
    overflow: hidden;
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 2rem 4rem;
    padding-bottom: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.hero-meta-top {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.hero-meta-top .divider {
    width: 1px;
    height: 12px;
    background: var(--line);
}

.display {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 500;
    line-height: 0.96;
    color: var(--ink);
}
.display-line { display: block; }
.display-italic {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
    padding-left: 2.2em;
}

.hero-body {
    max-width: 420px;
    align-self: end;
}
.hero-lead {
    font-size: 1.08rem;
    color: var(--ink-2);
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

/* floating showcase card */
.hero-card {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: end;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow:
        0 30px 60px -30px rgba(31, 42, 35, 0.35),
        0 1px 2px rgba(31, 42, 35, 0.06);
    position: relative;
    transform: rotate(1.5deg);
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed var(--gold);
    border-radius: 2px;
    pointer-events: none;
    opacity: 0.5;
}
.hero-card-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.8rem;
}
.hero-card-image {
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    margin-bottom: 1.2rem;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,230,190,0.4), transparent 60%),
        linear-gradient(135deg, #a87b55 0%, #6b3f24 100%);
    filter: saturate(0.9) contrast(0.95);
}
.hero-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}
.hero-card-era {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0 0 0.8rem;
}
.hero-card-price {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--rouge);
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

/* marquee */
.marquee {
    background: var(--forest-deep);
    color: var(--gold-soft);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marq 45s linear infinite;
}
@keyframes marq {
    to { transform: translateX(-100%); }
}

/* =========================
   SECTION scaffolding
   ========================= */
.section { padding: clamp(5rem, 9vw, 8rem) 0; }

.sec-head {
    max-width: 780px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.sec-head--center .sec-intro { margin-left: auto; margin-right: auto; }

/* =========================
   KOLLEKCIÓ
   ========================= */
.kollekcio { background: var(--bg); border-top: 1px solid var(--line); }

.items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
}

.item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.item-img {
    aspect-ratio: 4 / 5;
    border-radius: 2px;
    position: relative;
    background-color: var(--bg-soft);
    background-size: cover;
    background-position: center;
    filter: saturate(0.85) contrast(0.95);
    box-shadow: 0 20px 40px -25px rgba(31, 42, 35, 0.4);
    transition: transform 0.5s ease;
}
.item:hover .item-img { transform: translateY(-4px) scale(1.01); }
.item-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(24,32,25,0.3));
    border-radius: 2px;
}
.item--tall .item-img { aspect-ratio: 4 / 6; }

/* placeholder "photos" */
.item-img-1 {
    background-image:
        radial-gradient(circle at 30% 30%, rgba(220,191,137,0.45), transparent 55%),
        linear-gradient(135deg, #a87b55 0%, #5e3a22 100%);
}
.item-img-2 {
    background-image:
        radial-gradient(circle at 60% 40%, rgba(255,255,255,0.55), transparent 55%),
        linear-gradient(135deg, #e9dbc3 0%, #bfa784 100%);
}
.item-img-3 {
    background-image:
        radial-gradient(circle at 50% 22%, rgba(220,191,137,0.6), transparent 50%),
        linear-gradient(160deg, #3a3323 0%, #1c180f 100%);
}
.item-img-4 {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(220,220,220,0.5), transparent 55%),
        linear-gradient(135deg, #6b6b6b 0%, #2e2e2e 100%);
}
.item-img-5 {
    background-image:
        radial-gradient(circle at 25% 75%, rgba(255,230,190,0.4), transparent 55%),
        linear-gradient(135deg, #8d6b4d 0%, #34241a 100%);
}
.item-img-6 {
    background-image:
        radial-gradient(circle at 40% 55%, rgba(120,140,90,0.6), transparent 55%),
        linear-gradient(135deg, #7d8f69 0%, #2a3a30 100%);
}

.item-info { display: flex; flex-direction: column; gap: 0.5rem; }

/* kattintható tárgy-kártya (link az egész kártyán) */
.item-link {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-decoration: none;
    color: inherit;
}
.item-link .item-img { width: 100%; }
.item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.6rem;
}
.item h3 { font-size: 1.35rem; margin: 0.2rem 0 0.1rem; line-height: 1.25; }
.item p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.item .price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--rouge);
    margin-top: 0.4rem;
}

.kollekcio-note {
    text-align: center;
    margin-top: 4rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--muted);
}
.kollekcio-note strong {
    font-style: normal;
    color: var(--ink);
    font-weight: 500;
}

/* =========================
   ÉRTÉKEK
   ========================= */
.ertekek {
    background: var(--forest);
    color: var(--bg);
    border-top: 1px solid var(--forest-deep);
}
.ertekek .sec-title { color: var(--bg); }
.ertekek .sec-title em { color: var(--gold-soft); }
.ertekek .sec-head-label { color: var(--gold-soft); }
.ertekek .sec-head-label .num { border-color: var(--gold-soft); color: var(--gold-soft); }
.ertekek .sec-intro { color: rgba(243,236,224,0.75); }

.values {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2.5rem;
    counter-reset: v;
}
.values li {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(220, 191, 137, 0.35);
}
.val-num {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-soft);
    font-size: 1.3rem;
    margin: 0 0 0.8rem;
}
.values h3 { color: var(--bg); font-size: 1.25rem; margin: 0 0 0.6rem; }
.values p { color: rgba(243,236,224,0.75); font-size: 0.96rem; margin: 0; }

/* =========================
   TÖRTÉNET
   ========================= */
.tortenet { background: var(--bg-soft); }
.tortenet-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.tortenet-visual {
    position: relative;
    min-height: 520px;
}
.photo {
    position: absolute;
    border: 10px solid var(--paper);
    border-radius: 2px;
    box-shadow: 0 25px 50px -20px rgba(31,42,35,0.35);
    background-size: cover;
    background-position: center;
    filter: sepia(0.25) contrast(0.95);
}
.photo-1 {
    top: 0; left: 0;
    width: 65%;
    aspect-ratio: 3/4;
    transform: rotate(-3deg);
    background-color: #3a2618;
}
.photo-2 {
    bottom: 20px; right: 0;
    width: 55%;
    aspect-ratio: 4/3;
    transform: rotate(4deg);
    background-color: #2a3a30;
}
.photo-caption {
    position: absolute;
    bottom: -30px;
    left: 10px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.tortenet-text p { font-size: 1.05rem; color: var(--ink-2); }

.sign {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: inline-block;
}
.sign-name {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--ink);
    margin: 0;
    line-height: 1;
}
.sign-role {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0.4rem 0 0;
}

/* =========================
   LÁTOGATÁS
   ========================= */
.latogatas { background: var(--bg); border-top: 1px solid var(--line); }

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
}

.visit-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: clamp(2rem, 3.5vw, 3rem);
    position: relative;
}

.visit-card--dark {
    background: var(--forest);
    color: var(--bg);
    border-color: var(--forest-deep);
    overflow: hidden;
}
.visit-card--dark::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 260px; height: 260px;
    border: 1px solid rgba(220,191,137,0.2);
    border-radius: 50%;
    pointer-events: none;
}

.visit-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 1.5rem;
}
.visit-eyebrow.light { color: var(--gold-soft); }

.hours {
    margin: 0 0 1.5rem;
    padding: 0;
}
.hours > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--line);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
}
.hours > div:last-child { border-bottom: none; }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; color: var(--rouge); }
.hours dd.closed { color: var(--muted); font-style: italic; }

.visit-note {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
}

.contacts {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}
.contacts li {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(220,191,137,0.25);
}
.c-lbl {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 600;
}
.contacts a {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--bg);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contacts a:hover { color: var(--gold-soft); }

.visit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
    position: relative;
    z-index: 1;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
    background: var(--forest-deep);
    color: rgba(243,236,224,0.75);
    padding: 3rem 0;
    font-size: 0.9rem;
}
.foot-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
}
.foot-brand {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin: 0;
    color: var(--bg);
}
.foot-brand em { color: var(--gold-soft); }
.foot-sub {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin: 4px 0 0;
}
.foot-colophon, .foot-copy { margin: 0; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .items { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .visit-grid { grid-template-columns: 1fr; }
    .tortenet-grid { grid-template-columns: 1fr; }
    .tortenet-visual { min-height: 480px; margin-bottom: 3rem; }
}

@media (max-width: 860px) {
    /* hamburger gomb megjelenik */
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .nav { position: sticky; }

    /* a menü alapból rejtve, lenyíló panelként */
    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px -25px rgba(31,42,35,0.4);
        padding: 0.5rem 0;
        /* elrejtve, amíg nincs megnyitva */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.25s ease;
    }
    /* megnyitott állapot */
    .menu-open .nav ul {
        max-height: 80vh;
        opacity: 1;
        pointer-events: auto;
    }
    .nav ul li {
        width: min(1200px, 92%);
        margin: 0 auto;
    }
    .nav ul a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }
    .nav ul li:last-child a { border-bottom: none; }

    .hero-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-card {
        grid-column: 1;
        grid-row: auto;
        transform: rotate(0);
        max-width: 340px;
    }
    .display-italic { padding-left: 1em; }

    .hero-meta-top { flex-wrap: wrap; gap: 0.8rem; }
}

@media (max-width: 600px) {
    .items { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; gap: 2.5rem; }
    .contacts li { grid-template-columns: 1fr; gap: 0.2rem; }
    .foot-inner { flex-direction: column; text-align: center; }
    .photo-1 { width: 80%; }
    .photo-2 { width: 70%; }
}