/* =========================================================
   Antal László Fényképész - új reszponzív CSS
   A HTML szerkezete és a JS által használt ID/class nevek
   változatlanok.
   ========================================================= */

/* ---------- Alapok ---------- */
:root {
    --bg: #fbe5bb;
    --text: #000;
    --green: #7ffd64;
    --contact: #00dcff;
    --white: #fff;
    --header-height: 80px;
    --content-width: min(1200px, calc(100% - 40px));
}

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

html {
    margin: 0;
    padding: 0;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

img,
video {
    max-width: 100%;
}

a {
    color: #000;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
dl,
dt,
dd,
ul,
li {
    margin-top: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

i {
    font-size: 0;
}

.sortores {
    width: 100%;
    height: 1px;
    flex: 0 0 1px;
    background: transparent;
}

.contener {
    margin-top: var(--header-height);
    position: relative;
    width: 100%;
    height: calc(100svh - var(--header-height));
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.contener > div:not(#alsosav) {
    scroll-margin-top: 10px;
}

.contener #alsosav {
    position: relative;
    width: 100%;
    min-height: 45px;
    padding: 12px 20px;
    background: #000;
}

.contener #alsosav p {
    margin: 0;
    color: #fff;
    background: #000;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

/* ---------- JS-állapotok ---------- */
#eskuvo.notactive,
#arakfull.notactive,
#eskuvolista .notactive,
#nemesemail.notactive,
#ezustemail.notactive,
#aranyemail.notactive {
    display: none;
}

/* ---------- Főmenü ---------- */
#menu {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    margin: 0;
    padding: 0 4%;
    background: var(--bg);
}

#menu > ul {
    position: absolute;
    left: 4%;
    top: 0;
    width: 42%;
    height: var(--header-height);
}

#menu > ul > li {
    height: var(--header-height);
}

#menu > ul a {
    display: block;
    height: 100%;
}

#logo {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) 80px minmax(110px, 1fr);
    align-items: center;
    width: 100%;
    max-width: 520px;
    height: var(--header-height);
    margin: 0;
    padding: 0;
    background: transparent;
}

#nev1,
#nev2 {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(24px, 3.5vh, 42px);
    line-height: 1;
    white-space: nowrap;
}

#nev1 {
    text-align: right;
}

#nev2 {
    text-align: left;
}

#logo1 {
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 0;
    background-image: url(logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#menunyit {
    position: absolute;
    top: 0;
    right: 4%;
    width: 50%;
    height: var(--header-height);
    margin: 0;
    padding: 0;
}

#menunyit > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.4vw, 28px);
    width: 100%;
    height: var(--header-height);
    margin: 0;
    padding: 0;
}

#menunyit > ul > li {
    flex: 0 0 auto;
}

#menu1,
#menu2,
#menu3,
#menu4,
#menu5,
#menu6 {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(21px, 3.2vh, 38px);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

#menu a {
    color: #000;
    text-decoration: none;
}

#menunyit #menuki,
#menunyit #menube {
    display: none;
}

#logo:hover,
#menu1:hover,
#menu2:hover,
#menu3:hover,
#menu4:hover,
#menu5:hover,
#menu6:hover,
.gomb:hover {
    animation: menufokus 2.5s;
}

@keyframes menufokus {
    0%, 100% {
        filter: none;
    }

    50% {
        filter: blur(2px);
    }
}

/* ---------- Közös szekció ---------- */
#koszon,
#rolam,
#gyik,
#galeria,
#arak,
#egyebarak,
#kapcsolat {
    position: relative;
    width: var(--content-width);
    min-height: calc(100svh - var(--header-height));
    margin: 0 auto;
    padding: 40px 0;
}

/* ---------- Nyitó rész ---------- */
#koszon {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
}

#koszonbal {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

#koszonbal h1,
#koszonbal #alcim {
    margin: 0 0 24px;
    color: #000;
    text-align: center;
}

#koszonbal h1 {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.15;
}

#koszonbal #alcim {
    font-size: clamp(17px, 1.45vw, 23px);
    line-height: 1.5;
}

#koszonbal p:not(#alcim) {
    margin: 16px 0 0;
    color: #000;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.45;
    text-align: center;
}

#koszonjobb {
    position: relative;
    width: 100%;
    min-width: 0;
    height: min(70vh, 700px);
    overflow: hidden;
}

#fokepek {
    position: relative;
    width: 100%;
    height: calc(100% - 70px);
    overflow: hidden;
}

#fokepek img {
    position: absolute;
    top: 0;
    width: min(70%, 560px);
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: left 0.6s ease;
}

#fokepek img.active {
    left: 50%;
    transform: translateX(-50%);
}

#fokepek img.notactive {
    left: 150%;
    transform: translateX(-50%);
}

#fokepek span.active,
#fokepek span.notactive {
    position: absolute;
    top: 4%;
    left: 50%;
    width: 100%;
    color: #fff;
    background: transparent;
    font-size: clamp(20px, 2vw, 32px);
    text-align: center;
    transform: translateX(-50%);
}

#fokepek span.notactive {
    left: 150%;
}

#kepcontrol {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: transparent;
}

#kepcontrol i {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #000;
    background: transparent;
    font-size: 40px;
    transform: translate(-50%, -50%);
}

#kepcontrol #bal,
#kepcontrol #jobb {
    position: absolute;
    top: 0;
    width: 18%;
    height: 100%;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

#kepcontrol #bal {
    left: 0;
}

#kepcontrol #jobb {
    right: 0;
}

/* ---------- Rólam / értékelések ---------- */
#rolam {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(30px, 4vw, 70px);
}

#ertekeles {
    position: relative;
    width: 100%;
    height: min(75vh, 700px);
    margin: 0;
    overflow: hidden;
    border: 2px solid #000;
    border-radius: 5%;
    text-align: start;
}

#velemenyek,
.velemenyek {
    color: #000;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    text-align: center;
}

#velemenyek {
    margin: 28px 0 12px;
}

.velemenyek {
    margin: 0 0 18px;
}

#velemenyek span {
    font-size: 1.2em;
}

#velemenyek span:nth-child(1),
#velemenyek span:nth-child(4) {
    color: #3186ff;
}

#velemenyek span:nth-child(2),
#velemenyek span:nth-child(3) {
    color: #fc413d;
}

#velemenyek span:nth-child(5) {
    color: #00af57;
}

#velemenyek span:nth-child(6) {
    color: #fc413d;
}

#ertekeles1.active,
#ertekeles2.active,
#ertekeles3.active,
#ertekeles4.active,
#ertekeles5.active,
#ertekeles6.active,
#ertekeles7.active,
#ertekeles8.active {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 115px 28px 90px;
    overflow: auto;
}

#ertekeles1.notactive,
#ertekeles2.notactive,
#ertekeles3.notactive,
#ertekeles4.notactive,
#ertekeles5.notactive,
#ertekeles6.notactive,
#ertekeles7.notactive,
#ertekeles8.notactive {
    display: none;
}

#ertekeles1.active .ertekelescim,
#ertekeles2.active .ertekelescim,
#ertekeles3.active .ertekelescim,
#ertekeles4.active .ertekelescim,
#ertekeles5.active .ertekelescim,
#ertekeles6.active .ertekelescim,
#ertekeles7.active .ertekelescim,
#ertekeles8.active .ertekelescim {
    display: block;
    margin: 0 0 14px;
    color: #000;
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1.25;
}

#ertekeles1.active .ertekelesnev,
#ertekeles2.active .ertekelesnev,
#ertekeles3.active .ertekelesnev,
#ertekeles4.active .ertekelesnev,
#ertekeles5.active .ertekelesnev,
#ertekeles6.active .ertekelesnev,
#ertekeles7.active .ertekelesnev,
#ertekeles8.active .ertekelesnev {
    display: block;
    margin: 0 0 12px;
    color: #000;
    font-size: clamp(17px, 1.35vw, 22px);
}

#ertekeles1.active .csillag,
#ertekeles2.active .csillag,
#ertekeles3.active .csillag,
#ertekeles4.active .csillag,
#ertekeles5.active .csillag,
#ertekeles6.active .csillag,
#ertekeles7.active .csillag,
#ertekeles8.active .csillag {
    margin: 0 0 15px;
    font-size: 24px;
}

#ertekeles1.active .ertekelesszoveg,
#ertekeles2.active .ertekelesszoveg,
#ertekeles3.active .ertekelesszoveg,
#ertekeles4.active .ertekelesszoveg,
#ertekeles5.active .ertekelesszoveg,
#ertekeles6.active .ertekelesszoveg,
#ertekeles7.active .ertekelesszoveg,
#ertekeles8.active .ertekelesszoveg {
    margin: 0 0 20px;
    color: #000;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.55;
}

#ertekeles1.active a,
#ertekeles2.active a,
#ertekeles3.active a,
#ertekeles4.active a,
#ertekeles5.active a,
#ertekeles6.active a,
#ertekeles7.active a,
#ertekeles8.active a {
    display: block;
    width: 100%;
    color: #000;
    font-size: 18px;
    text-align: center;
}

#ertekeles1.active i,
#ertekeles2.active i,
#ertekeles3.active i,
#ertekeles4.active i,
#ertekeles5.active i,
#ertekeles6.active i,
#ertekeles7.active i,
#ertekeles8.active i {
    font-size: 0.8em;
}

#velemenyekcontrol {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 70px;
    background: var(--bg);
}

#velemenyekbal,
#velemenyekjobb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#velemenyekbal i,
#velemenyekjobb i {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #000;
    background: transparent;
    font-size: 40px;
    transform: translate(-50%, -50%);
}

#rolamleiras {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

#rolamleiras h2 {
    margin: 0 0 18px;
    color: #000;
    font-size: clamp(26px, 2.3vw, 38px);
    line-height: 1.2;
    text-align: center;
}

#rolamleiras #idezet {
    width: 100%;
    margin: 0 0 25px;
    color: #000;
    font-size: clamp(19px, 1.6vw, 27px);
    line-height: 1.35;
    text-align: center;
}

#rolamleiras img {
    float: left;
    width: clamp(120px, 13vw, 190px);
    margin: 0 22px 12px 0;
    border-radius: 3%;
}

#rolamleiras #miert {
    width: auto;
    margin: 0 0 18px;
    color: #000;
    font-size: clamp(22px, 1.8vw, 30px);
    line-height: 1.25;
    text-align: center;
}

#rolamleiras p {
    width: auto;
    margin: 0 0 14px;
    color: #000;
    font-size: clamp(16px, 1.1vw, 19px);
    line-height: 1.5;
    text-align: center;
}

#rolamleiras p:nth-child(10) {
    width: 100%;
    margin: 22px 0 14px;
}

#rolamleiras a {
    display: block;
    width: 100%;
    margin-top: 20px;
    color: #000;
    font-size: 20px;
    text-align: center;
}

#rolamleiras i {
    font-size: 1em;
    color: #000;
}

/* ---------- GYIK ---------- */
#gyik {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#gyikkiir {
    margin: 0 0 28px;
    color: #000;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    text-align: center;
}

#gyikkerdesek {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

#gyikkerdesek .kerdes {
    margin: 0;
    padding: 15px 50px 15px 18px;
    color: #000;
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.35;
    text-align: left;
}

#gyikkerdesek .valasz {
    margin: 0;
    padding: 0 18px 18px;
    color: #000;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.5;
    text-align: left;
}

#kerdes1.active,
#kerdes2.active,
#kerdes3.active,
#kerdes4.active,
#kerdes5.active,
#kerdes6.active,
#kerdes7.active,
#kerdes8.active,
#kerdes9.active,
#kerdes10.active,
#kerdes11.active,
#kerdes12.active,
#kerdes13.active,
#kerdes1.notactive,
#kerdes2.notactive,
#kerdes3.notactive,
#kerdes4.notactive,
#kerdes5.notactive,
#kerdes6.notactive,
#kerdes7.notactive,
#kerdes8.notactive,
#kerdes9.notactive,
#kerdes10.notactive,
#kerdes11.notactive,
#kerdes12.notactive,
#kerdes13.notactive {
    position: relative;
    width: 100%;
    margin: 0;
    border: 1px solid #000;
    border-radius: 5px;
    transition: min-height 0.5s ease, max-height 0.5s ease;
}

#kerdes1.active,
#kerdes2.active,
#kerdes3.active,
#kerdes4.active,
#kerdes5.active,
#kerdes6.active,
#kerdes7.active,
#kerdes8.active,
#kerdes9.active,
#kerdes10.active,
#kerdes11.active {
    min-height: 92px;
}

#kerdes12.active,
#kerdes13.active {
    min-height: 125px;
}

#kerdes1.notactive,
#kerdes2.notactive,
#kerdes3.notactive,
#kerdes4.notactive,
#kerdes5.notactive,
#kerdes6.notactive,
#kerdes7.notactive,
#kerdes8.notactive,
#kerdes9.notactive,
#kerdes10.notactive,
#kerdes11.notactive,
#kerdes12.notactive,
#kerdes13.notactive {
    height: 58px;
    overflow: hidden;
}

#kerdes1.active i,
#kerdes2.active i,
#kerdes3.active i,
#kerdes4.active i,
#kerdes5.active i,
#kerdes6.active i,
#kerdes7.active i,
#kerdes8.active i,
#kerdes9.active i,
#kerdes10.active i,
#kerdes11.active i,
#kerdes12.active i,
#kerdes13.active i {
    display: none;
}

#kerdes1.notactive i,
#kerdes2.notactive i,
#kerdes3.notactive i,
#kerdes4.notactive i,
#kerdes5.notactive i,
#kerdes6.notactive i,
#kerdes7.notactive i,
#kerdes8.notactive i,
#kerdes9.notactive i,
#kerdes10.notactive i,
#kerdes11.notactive i,
#kerdes12.notactive i,
#kerdes13.notactive i {
    position: absolute;
    top: 50%;
    right: 18px;
    left: auto;
    z-index: 2;
    color: #000;
    font-size: 22px;
    transform: translateY(-50%);
}

#gyikkerdesek .sortores {
    height: 10px;
}

/* ---------- Galéria ---------- */
#galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100svh - var(--header-height));
    overflow: visible;
}

#galeria h2 {
    width: 100%;
    margin: 0 0 8px;
    color: #000;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(32px, 3.5vh, 48px);
    line-height: 1.1;
    text-align: center;
}

#galeria > p {
    width: 100%;
    max-width: 950px;
    margin: 0 0 24px;
    color: #000;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.45;
    text-align: center;
}

#galeria > a {
    display: block;
    width: 100%;
    color: #000;
}

#eskuvo.active,
#paros.active,
#portre.active,
#csaladi.active,
#baba.active,
#jarmuvek.active {
    position: relative;
    display: inline-block;
    width: 20%;
    height: 210px;
    margin: 15px 1.8%;
    overflow: hidden;
    vertical-align: top;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 15px;
    box-shadow:
        -25px -25px 25px rgba(255,255,255,0.3),
        25px 25px 25px rgba(0,0,0,0.5),
        inset -15px -15px 15px rgba(255,255,255,0.3),
        inset 15px 15px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#eskuvo.active {
    background-image: url(portfolio/mini/IMG_4901.jpg);
}

#paros.active {
    background-image: url(portfolio/mini/IMG_2061.jpg);
}

#portre.active {
    background-image: url(portfolio/mini/IMG_1641.jpg);
}

#csaladi.active {
    background-image: url(portfolio/mini/csalad.jpg);
}

#baba.active {
    background-image: url(portfolio/mini/IMG_5016.jpg);
}

#jarmuvek.active {
    background-image: url(portfolio/mini/IMG_0379.jpg);
}

#eskuvo.active h3,
#paros.active h3,
#portre.active h3,
#csaladi.active h3,
#baba.active h3,
#jarmuvek.active h3,
#eskuvolista.active h4 {
    position: absolute;
    left: 50%;
    width: 78%;
    height: auto;
    margin: 0;
    padding: 5px 8px;
    background: rgb(255 255 255 / 75%);
    color: #000;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(17px, 2.2vh, 25px);
    line-height: 1.15;
    text-align: center;
    transform: translateX(-50%);
}

#eskuvo.active h3 {
    top: 73%;
}

#paros.active h3,
#portre.active h3,
#csaladi.active h3,
#baba.active h3,
#jarmuvek.active h3 {
    top: 80%;
}

#baba.active h3 {
    top: 68%;
}

#galeria #eskuvo:hover,
#galeria #paros:hover,
#galeria #portre:hover,
#galeria #csaladi:hover,
#galeria #baba:hover,
#galeria #jarmuvek:hover {
    transform: scale(1.08);
}

#eskuvolista.active {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-height: 75vh;
    margin: 0 0 25px;
    padding: 55px 25px 25px;
    overflow: auto;
    border-radius: 15px;
    box-shadow:
        0 0 0 rgba(255,255,255,0),
        0 0 0 rgba(0,0,0,0),
        inset -20px -20px 15px rgba(255,255,255,0.3),
        inset 15px 15px 15px rgba(0,0,0,0.1);
}

#eskuvolista.active #eskuvolistabezar {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 45px;
    background: transparent;
    cursor: pointer;
}

#eskuvolista.active #eskuvolistabezar i {
    color: #000;
    font-size: 32px;
    background: transparent;
}

#eskuvolista.active > a {
    position: relative;
    display: block;
    min-width: 0;
}

#eaeskuvo.active,
#cjeskuvo.active,
#abeskuvo.active,
#bbeskuvo.active,
#ereskuvo.active,
#mjeskuvo.active,
#lleskuvo.active,
#zsdleskuvo.active,
#zjeskuvo.active,
#azseskuvo.active,
#kbeskuvo.active,
#bgeskuvo.active,
#gyaeskuvo.active,
#ateskuvo.active {
    position: relative;
    width: 100%;
    height: 220px;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 15px;
    box-shadow:
        -20px -20px 20px rgba(255,255,255,0.3),
        20px 20px 20px rgba(0,0,0,0.5),
        inset -12px -12px 12px rgba(255,255,255,0.3),
        inset 12px 12px 12px rgba(0,0,0,0.1);
}

#gyaeskuvo.active { background-image: url(portfolio/mini/_MG_8325.jpg); }
#ateskuvo.active { background-image: url(portfolio/mini/_MG_4554.jpg); }
#eaeskuvo.active { background-image: url(portfolio/mini/_MG_1017.jpg); }
#cjeskuvo.active { background-image: url(portfolio/mini/_MG_0702.jpg); }
#abeskuvo.active { background-image: url(portfolio/mini/_MG_0248.jpg); }
#bbeskuvo.active { background-image: url(portfolio/mini/IMG_8819.jpg); }
#ereskuvo.active { background-image: url(portfolio/mini/IMG_7708.jpg); }
#mjeskuvo.active { background-image: url(portfolio/mini/IMG_6117.jpg); }
#lleskuvo.active { background-image: url(portfolio/mini/IMG_3339.jpg); }
#zsdleskuvo.active { background-image: url(portfolio/mini/IMG_2155.jpg); }
#zjeskuvo.active { background-image: url(portfolio/mini/IMG_1640.jpg); }
#azseskuvo.active { background-image: url(portfolio/mini/IMG_8905.jpg); }
#kbeskuvo.active { background-image: url(portfolio/mini/IMG_6920.jpg); }
#bgeskuvo.active { background-image: url(portfolio/mini/IMG_4759.jpg); }

#eskuvolista.active h4 {
    top: 72%;
}

/* ---------- Árlista ---------- */
#arak {
    display: block;
}

#arakfull.active {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    width: 100%;
    min-height: calc(100svh - var(--header-height) - 80px);
    margin: 0 auto;
    padding: 0 0 20px;
}

#arakfull.active h2 {
    grid-column: 1 / -1;
    margin: 0 0 10px;
    color: #000;
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 1.2;
    text-align: center;
}

#arkiiras1,
#arkiiras2,
#arkiiras3 {
    min-width: 0;
}

#arakfull.active #arkiiras1,
#arakfull.active #arkiiras2,
#arakfull.active #arkiiras3 {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 520px;
    margin: 0;
    padding: 18px;
    border-radius: 15px;
    box-shadow:
        -15px -15px 15px rgba(255,255,255,0.2),
        15px 15px 15px rgba(0,0,0,0.1),
        inset -5px -5px 5px rgba(255,255,255,0.2),
        inset 5px 5px 5px rgba(0,0,0,0.1);
}

#arany,
#ezust,
#nemes {
    position: relative;
    width: 100%;
    height: 150px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

#arany {
    background-image: url(arany.png);
}

#ezust {
    background-image: url(ezust.png);
}

#nemes {
    background-image: url(nemes.png);
}

#aranykiir,
#ezustkiir,
#nemeskiir {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

#aranykiir #aranycsomag,
#ezustkiir #ezustcsomag,
#nemeskiir #nemescsomag {
    margin: 0 0 10px;
    color: #000;
    background: transparent;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(27px, 2.5vw, 38px);
    line-height: 1.1;
    text-align: center;
}

#aranydiv,
#ezustdiv,
#nemesdiv {
    width: 100%;
    margin: 0;
    padding: 0;
}

#aranydiv dt,
#ezustdiv dt,
#nemesdiv dt,
#aranydiv dd,
#ezustdiv dd,
#nemesdiv dd {
    margin: 0 0 5px;
    color: #000;
    background: transparent;
    font-size: clamp(13px, 1.25vh, 17px);
    line-height: 1.25;
    text-align: center;
}

#aranydiv .nagy,
#ezustdiv .nagy,
#nemesdiv .nagy {
    display: block;
    width: 100%;
    margin-top: 10px;
    color: #000;
    background: transparent;
    font-size: clamp(18px, 2vh, 25px);
    font-weight: 700;
    text-align: center;
}

#arakfull.active #aranykiir i,
#arakfull.active #ezustkiir i,
#arakfull.active #nemeskiir i {
    color: red;
    font-size: 1em;
}

#arakfull.active #aranykiir .szamla i,
#arakfull.active #ezustkiir .szamla i,
#arakfull.active #nemeskiir .szamla i {
    color: green;
}

#arakfull.active .gomb {
    position: static;
    display: block;
    width: 140px;
    height: 35px;
    margin: auto auto 0;
    padding: 0;
    color: #fff;
    background: #000;
    border-radius: 5%;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
}

#arakfull.active .gomb a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #000;
    text-align: center;
}

#arakfull.active .info {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    color: #000;
    background: transparent;
    font-size: clamp(12px, 1.35vh, 16px);
    line-height: 1.35;
    text-align: center;
}

/* ---------- Csomagrendelő ablakok ---------- */
#nemesemail.active,
#ezustemail.active,
#aranyemail.active {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: var(--bg);
}

#nemesemail.active form,
#ezustemail.active form,
#aranyemail.active form {
    position: relative;
    width: min(900px, 100%);
    height: min(760px, 95%);
    margin: 0;
    padding: 35px 40px 45px;
    overflow-y: auto;
    background: var(--green);
    border-radius: 10%;
}

#nemesemail.active .emailbezar,
#ezustemail.active .emailbezar,
#aranyemail.active .emailbezar {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 60;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

#nemesemail.active .emailbezar i,
#ezustemail.active .emailbezar i,
#aranyemail.active .emailbezar i {
    color: #000;
    font-size: 36px;
}

#nemesemail.active .csomagnev,
#ezustemail.active .csomagnev,
#aranyemail.active .csomagnev {
    width: 100%;
    margin: 0 0 35px;
    color: #000;
    background: transparent;
    font-size: clamp(25px, 3.5vh, 38px);
    line-height: 1.15;
    text-align: center;
}

#nemesemail.active .gomb,
#ezustemail.active .gomb,
#aranyemail.active .gomb {
    position: static;
    display: block;
    width: 140px;
    min-height: 35px;
    margin: 25px auto 0;
    padding: 0 10px;
    color: #fff;
    background: #000;
    border: 0;
    border-radius: 5%;
    font-size: 16px;
    line-height: 35px;
}

.bigbox1,
.bigbox2 {
    position: relative;
    width: calc(50% - 15px);
    margin: 0 0 10px;
    background: transparent;
}

.bigbox1 {
    float: left;
}

.bigbox2 {
    float: right;
}

.bigbox {
    position: relative;
    width: 100%;
    margin: 0 0 10px;
    background: transparent;
}

.box {
    position: relative;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background: transparent;
}

.inputbox {
    position: relative;
    width: 100%;
    height: 48px;
    color: #000;
    background: transparent;
}

.inputbox input {
    position: relative;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    color: #000;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-size: 17px;
}

.text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    padding: 0 10px;
    color: #000;
    background: transparent;
    font-size: 17px;
    line-height: 48px;
    pointer-events: none;
    transition: 0.3s;
}

.line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    border-radius: 2px;
    pointer-events: none;
}

.inputboxtext {
    position: relative;
    width: 100%;
    height: 110px;
    color: #000;
    background: transparent;
}

.inputboxtext textarea {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 110px;
    padding: 10px;
    color: #000;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    font-size: 17px;
    resize: vertical;
}

.inputbox input:focus + .text,
.inputbox input:valid + .text,
.inputboxtext textarea:focus + .text,
.inputboxtext textarea:valid + .text {
    top: -32px;
    left: -10px;
}

.inputbox input:focus ~ .line,
.inputbox input:valid ~ .line,
.inputboxtext textarea:focus ~ .line,
.inputboxtext textarea:valid ~ .line {
    background: #000;
    height: 2px;
}

.checkdoboz {
    clear: both;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 35px;
    margin: 15px 0;
    background: transparent;
}

.pipa {
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkdoboz label {
    color: #000;
    background: transparent;
    font-size: 14px;
    line-height: 1.3;
}

form a {
    display: block;
    margin: 10px 0;
    color: #000;
    background: transparent;
    text-align: center;
}

/* ---------- Egyéb árak ---------- */
#egyebarak {
    display: flex;
    align-items: center;
    justify-content: center;
}

#egyebarakfull {
    position: relative;
    width: 90%;
    min-height: 80%;
    margin: 0 auto;
    padding: 45px 40px 35px;
    border-radius: 15px;
    box-shadow:
        -15px -15px 15px rgba(255,255,255,0.2),
        15px 15px 15px rgba(0,0,0,0.1),
        inset -5px -5px 5px rgba(255,255,255,0.2),
        inset 5px 5px 5px rgba(0,0,0,0.1);
}

#egyebarakfull h2,
#egyebarakfull h3,
#egyebarakfull p {
    position: relative;
    width: 100%;
    margin: 0 auto 14px;
    color: #000;
    font-size: clamp(17px, 1.5vw, 23px);
    line-height: 1.45;
    text-align: center;
}

#egyebarakfull h2 {
    margin-bottom: 25px;
    font-size: clamp(28px, 2.5vw, 40px);
}

#egyebarakfull h3 {
    margin-bottom: 20px;
    font-size: clamp(19px, 1.6vw, 25px);
}

#egyebarakfull .rendeles {
    margin-top: 20px;
}

#fullvideo {
    display: block;
    width: min(600px, 80%);
    height: auto;
    margin: 30px auto 0;
}

/* ---------- Kapcsolat ---------- */
#kapcsolat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kapcsolat > h2 {
    width: 100%;
    margin: 0 0 25px;
    color: #000;
    font-size: clamp(30px, 3vw, 42px);
    text-align: center;
}

#email {
    position: relative;
    width: min(1050px, 100%);
    min-height: 720px;
    margin: 0 auto;
    padding: 35px 40px;
    background: var(--green);
    border-radius: 10%;
}

#kapcsolat h3 {
    width: 100%;
    margin: 0 0 15px;
    color: #000;
    background: transparent;
    font-size: clamp(22px, 2vw, 30px);
    text-align: center;
}

#info {
    width: 100%;
    margin: 0 0 35px;
    color: #000;
    background: transparent;
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.45;
    text-align: center;
}

#kapcsolat form {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}

#kapcsolat .gomb {
    position: static;
    display: block;
    width: 140px;
    height: 35px;
    margin: 25px auto 0;
    color: #fff;
    background: #000;
    border: 0;
    border-radius: 5%;
    font-size: 17px;
    cursor: pointer;
    transition: 0.5s;
}

#kontakt {
    position: absolute;
    top: 50%;
    left: -25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 28%;
    min-height: 75%;
    padding: 30px 15px;
    background: var(--contact);
    border-radius: 10%;
    transform: translateY(-50%);
}

#kontakt #eler {
    position: static;
    width: 100%;
    margin: 0 0 30px;
    color: #000;
    background: var(--contact);
    font-size: clamp(20px, 2vw, 30px);
    text-align: center;
    transform: none;
}

#kontakt #ikon1,
#kontakt #ikon2,
#kontakt #ikon3,
#kontakt #ikon4 {
    position: static;
    display: block;
    margin: 12px 0 5px;
    color: #000;
    background: var(--contact);
    font-size: 24px;
    transform: none;
}

#kontakt #kiir1,
#kontakt #kiir2,
#kontakt #kiir3,
#kontakt #kiir4,
#kontakt #kiir5 {
    position: static;
    width: 100%;
    margin: 0 0 8px;
    color: #000;
    background: var(--contact);
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.3;
    text-align: center;
    transform: none;
}

#kontakt #kiir5 {
    margin-top: 10px;
}

/* ---------- Tablet / kisebb laptop ---------- */
@media (max-width: 1460px) {
    #menu {
        padding: 0 10%;
    }

    #menu > ul {
        left: 10%;
        width: 79%;
    }

    #logo {
        max-width: 520px;
    }

    #menunyit {
        right: 10%;
        width: 48px;
        height: 80px;
    }

    #menunyit > ul {
        position: absolute;
        top: 80px;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: min(360px, 82vw);
        height: auto;
        padding: 0;
        background: var(--bg);
        box-shadow: 0 15px 25px rgba(0,0,0,0.12);
    }

    #menunyit #menuki,
    #menunyit #menube {
        position: absolute;
        top: 20px;
        right: 0;
        display: none;
        width: 48px;
        height: 50px;
        background: transparent;
        cursor: pointer;
    }

    #menunyit #menuki.nyitva,
    #menunyit #menube.nyitva {
        display: block;
    }

    #menunyit #menuki i,
    #menunyit #menube i {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        background: transparent;
        font-size: 38px;
    }

    #menunyit #menuki.zarva,
    #menunyit #menube.zarva {
        display: none;
    }

    #menu1.nyitva,
    #menu2.nyitva,
    #menu3.nyitva,
    #menu4.nyitva,
    #menu5.nyitva,
    #menu6.nyitva {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 18px 10px;
        font-size: clamp(25px, 3.2vh, 38px);
        line-height: 1.15;
        background: var(--bg);
        transition: 0.3s;
    }

    #menu1.zarva,
    #menu2.zarva,
    #menu3.zarva,
    #menu4.zarva,
    #menu5.zarva,
    #menu6.zarva {
        display: none;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    #koszon,
    #rolam,
    #gyik,
    #galeria,
    #arak,
    #egyebarak,
    #kapcsolat {
        width: min(1100px, calc(100% - 40px));
    }

    #koszon {
        gap: 35px;
    }

    #koszonjobb {
        height: min(65vh, 620px);
    }

    #fokepek img {
        width: 75%;
    }

    #rolam {
        grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
    }

    #rolamleiras img {
        width: 120px;
    }

    #eskuvolista.active {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #arakfull.active #arkiiras1,
    #arakfull.active #arkiiras2,
    #arakfull.active #arkiiras3 {
        min-height: 540px;
    }

    #kontakt {
        left: -22%;
        width: 26%;
    }
}

/* ---------- Tablet / álló vagy kisebb képernyő ---------- */
@media (max-width: 1025px) {
    :root {
        --header-height: 80px;
    }

    #koszon,
    #rolam,
    #gyik,
    #galeria,
    #arak,
    #egyebarak,
    #kapcsolat {
        width: min(90%, 850px);
    }

    #koszon {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 55px 0 70px;
        gap: 30px;
    }

    #koszonbal {
        max-width: 760px;
        padding: 10px;
    }

    #koszonjobb {
        height: 560px;
    }

    #fokepek {
        height: calc(100% - 65px);
    }

    #fokepek img {
        width: 70%;
    }

    #rolam {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 55px 0 70px;
        gap: 35px;
    }

    #ertekeles {
        height: 560px;
    }

    #rolamleiras {
        max-width: 850px;
    }

    #rolamleiras img {
        width: 150px;
    }

    #gyik {
        min-height: auto;
        padding: 55px 0 70px;
    }

    #galeria {
        min-height: auto;
        padding: 55px 0 70px;
    }

    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        width: 30%;
        height: 220px;
        margin: 15px 1.4%;
    }

    #eskuvolista.active {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
    }

    #arak {
        min-height: auto;
        padding: 55px 0 70px;
    }

    #arakfull.active {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    #arakfull.active h2 {
        grid-column: 1;
    }

    #arakfull.active #arkiiras1,
    #arakfull.active #arkiiras2,
    #arakfull.active #arkiiras3 {
        width: 100%;
        min-height: 540px;
    }

    #arakfull.active .info {
        grid-column: 1;
    }

    #egyebarak {
        min-height: auto;
        padding: 55px 0 70px;
    }

    #egyebarakfull {
        width: 100%;
        min-height: 0;
    }

    #kapcsolat {
        min-height: auto;
        padding: 55px 0 90px;
    }

    #email {
        min-height: 760px;
        padding: 35px 30px;
    }

    #kontakt {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-height: 230px;
        margin: 0 0 30px;
        padding: 25px;
        transform: none;
    }

    #kontakt #eler {
        margin-bottom: 15px;
    }
}

/* ---------- Telefon ---------- */
@media (max-width: 600px) {
    :root {
        --header-height: 70px;
    }

    .contener {
        height: calc(100svh - var(--header-height));
    }

    #menu {
        height: var(--header-height);
        padding: 0 4%;
    }

    #menu > ul {
        left: 4%;
        width: 88%;
        height: var(--header-height);
    }

    #logo {
        grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr);
        width: min(88%, 430px);
        height: var(--header-height);
    }

    #nev1,
    #nev2 {
        font-size: clamp(18px, 2.7vh, 25px);
    }

    #logo1 {
        width: 45px;
        height: 45px;
    }

    #menunyit {
        top: 0;
        right: 4%;
        width: 44px;
        height: var(--header-height);
    }

    #menunyit #menuki,
    #menunyit #menube {
        top: 10px;
        width: 44px;
        height: 45px;
    }

    #menunyit #menuki i,
    #menunyit #menube i {
        font-size: 32px;
    }

    #menunyit > ul {
        top: var(--header-height);
        width: min(320px, 90vw);
    }

    #menu1.nyitva,
    #menu2.nyitva,
    #menu3.nyitva,
    #menu4.nyitva,
    #menu5.nyitva,
    #menu6.nyitva {
        padding: 13px 8px;
        font-size: clamp(22px, 3.2vh, 30px);
    }

    #koszon,
    #rolam,
    #gyik,
    #galeria,
    #arak,
    #egyebarak,
    #kapcsolat {
        width: calc(100% - 24px);
        padding: 35px 0 55px;
    }

    #koszon {
        gap: 20px;
    }

    #koszonbal {
        padding: 0 6px;
    }

    #koszonbal h1 {
        font-size: clamp(25px, 7vw, 34px);
    }

    #koszonbal #alcim {
        font-size: 16px;
    }

    #koszonbal p:not(#alcim) {
        font-size: 14px;
    }

    #koszonjobb {
        height: 390px;
    }

    #fokepek {
        height: calc(100% - 55px);
    }

    #fokepek img {
        width: 82%;
    }

    #fokepek span.active,
    #fokepek span.notactive {
        font-size: 20px;
    }

    #kepcontrol {
        height: 55px;
    }

    #kepcontrol i {
        font-size: 30px;
    }

    #rolam {
        gap: 25px;
    }

    #ertekeles {
        height: 520px;
    }

    #ertekeles1.active,
    #ertekeles2.active,
    #ertekeles3.active,
    #ertekeles4.active,
    #ertekeles5.active,
    #ertekeles6.active,
    #ertekeles7.active,
    #ertekeles8.active {
        padding: 100px 18px 75px;
    }

    #velemenyek {
        margin-top: 22px;
        font-size: 21px;
    }

    .velemenyek {
        font-size: 18px;
    }

    #ertekeles1.active .ertekelescim,
    #ertekeles2.active .ertekelescim,
    #ertekeles3.active .ertekelescim,
    #ertekeles4.active .ertekelescim,
    #ertekeles5.active .ertekelescim,
    #ertekeles6.active .ertekelescim,
    #ertekeles7.active .ertekelescim,
    #ertekeles8.active .ertekelescim {
        font-size: 19px;
    }

    #ertekeles1.active .ertekelesnev,
    #ertekeles2.active .ertekelesnev,
    #ertekeles3.active .ertekelesnev,
    #ertekeles4.active .ertekelesnev,
    #ertekeles5.active .ertekelesnev,
    #ertekeles6.active .ertekelesnev,
    #ertekeles7.active .ertekelesnev,
    #ertekeles8.active .ertekelesnev {
        font-size: 16px;
    }

    #ertekeles1.active .ertekelesszoveg,
    #ertekeles2.active .ertekelesszoveg,
    #ertekeles3.active .ertekelesszoveg,
    #ertekeles4.active .ertekelesszoveg,
    #ertekeles5.active .ertekelesszoveg,
    #ertekeles6.active .ertekelesszoveg,
    #ertekeles7.active .ertekelesszoveg,
    #ertekeles8.active .ertekelesszoveg {
        font-size: 14px;
    }

    #velemenyekcontrol {
        height: 60px;
    }

    #velemenyekbal i,
    #velemenyekjobb i {
        font-size: 30px;
    }

    #rolamleiras {
        padding: 0 4px;
    }

    #rolamleiras h2 {
        font-size: 27px;
    }

    #rolamleiras #idezet {
        font-size: 19px;
    }

    #rolamleiras img {
        float: none;
        display: block;
        width: 130px;
        margin: 0 auto 18px;
    }

    #rolamleiras #miert {
        font-size: 22px;
    }

    #rolamleiras p {
        font-size: 15px;
        line-height: 1.55;
    }

    #gyikkiir {
        font-size: 28px;
    }

    #gyikkerdesek .kerdes {
        padding: 13px 42px 13px 13px;
        font-size: 15px;
    }

    #gyikkerdesek .valasz {
        padding: 0 13px 15px;
        font-size: 14px;
    }

    #kerdes1.notactive,
    #kerdes2.notactive,
    #kerdes3.notactive,
    #kerdes4.notactive,
    #kerdes5.notactive,
    #kerdes6.notactive,
    #kerdes7.notactive,
    #kerdes8.notactive,
    #kerdes9.notactive,
    #kerdes10.notactive,
    #kerdes11.notactive,
    #kerdes12.notactive,
    #kerdes13.notactive {
        height: 54px;
    }

    #kerdes1.active,
    #kerdes2.active,
    #kerdes3.active,
    #kerdes4.active,
    #kerdes5.active,
    #kerdes6.active,
    #kerdes7.active,
    #kerdes8.active,
    #kerdes9.active,
    #kerdes10.active,
    #kerdes11.active {
        min-height: 100px;
    }

    #kerdes12.active,
    #kerdes13.active {
        min-height: 145px;
    }

    #galeria h2 {
        font-size: 34px;
    }

    #galeria > p {
        font-size: 14px;
    }

    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        width: 43%;
        height: 150px;
        margin: 10px 2.5%;
        box-shadow:
            -10px -10px 10px rgba(255,255,255,0.3),
            10px 10px 10px rgba(0,0,0,0.5),
            inset -5px -5px 5px rgba(255,255,255,0.3),
            inset 5px 5px 5px rgba(0,0,0,0.1);
    }

    #eskuvo.active h3,
    #paros.active h3,
    #portre.active h3,
    #csaladi.active h3,
    #baba.active h3,
    #jarmuvek.active h3 {
        width: 84%;
        top: 72%;
        font-size: 17px;
    }

    #baba.active h3 {
        top: 62%;
    }

    #eskuvolista.active {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 55px 15px 20px;
    }

    #eaeskuvo.active,
    #cjeskuvo.active,
    #abeskuvo.active,
    #bbeskuvo.active,
    #ereskuvo.active,
    #mjeskuvo.active,
    #lleskuvo.active,
    #zsdleskuvo.active,
    #zjeskuvo.active,
    #azseskuvo.active,
    #kbeskuvo.active,
    #bgeskuvo.active,
    #gyaeskuvo.active,
    #ateskuvo.active {
        height: 190px;
    }

    #eskuvolista.active h4 {
        width: 85%;
        top: 68%;
        font-size: 17px;
    }

    #arakfull.active h2 {
        font-size: 28px;
    }

    #arakfull.active #arkiiras1,
    #arakfull.active #arkiiras2,
    #arakfull.active #arkiiras3 {
        min-height: 560px;
        padding: 15px;
    }

    #arany,
    #ezust,
    #nemes {
        height: 145px;
    }

    #aranykiir #aranycsomag,
    #ezustkiir #ezustcsomag,
    #nemeskiir #nemescsomag {
        font-size: 28px;
    }

    #aranydiv dt,
    #ezustdiv dt,
    #nemesdiv dt,
    #aranydiv dd,
    #ezustdiv dd,
    #nemesdiv dd {
        font-size: 13px;
    }

    #nemesemail.active,
    #ezustemail.active,
    #aranyemail.active {
        position: absolute;
        padding: 12px;
        overflow: auto;
    }

    #nemesemail.active form,
    #ezustemail.active form,
    #aranyemail.active form {
        width: 100%;
        height: 100%;
        padding: 45px 18px 30px;
        border-radius: 7%;
    }

    .bigbox1,
    .bigbox2 {
        float: none;
        width: 100%;
        margin: 0;
    }

    .box {
        margin: 22px 0;
    }

    .text,
    .inputbox input,
    .inputboxtext textarea {
        font-size: 15px;
    }

    .checkdoboz label {
        font-size: 12px;
    }

    #egyebarakfull {
        width: 100%;
        padding: 30px 18px;
    }

    #egyebarakfull h2 {
        font-size: 28px;
    }

    #egyebarakfull h3 {
        font-size: 18px;
    }

    #egyebarakfull p {
        font-size: 15px;
    }

    #fullvideo {
        width: 100%;
        margin-top: 25px;
    }

    #email {
        min-height: 900px;
        padding: 28px 15px;
        border-radius: 7%;
    }

    #kapcsolat h3 {
        font-size: 23px;
    }

    #info {
        font-size: 14px;
    }

    #kapcsolat .gomb {
        width: 160px;
        height: 45px;
        font-size: 16px;
    }

    #kontakt {
        min-height: 250px;
        padding: 22px 12px;
        border-radius: 7%;
    }

    #kontakt #eler {
        font-size: 22px;
    }

    #kontakt #kiir1,
    #kontakt #kiir2,
    #kontakt #kiir3,
    #kontakt #kiir4,
    #kontakt #kiir5 {
        font-size: 14px;
    }
}

/* ---------- Nagyon keskeny telefon ---------- */
@media (max-width: 380px) {
    #nev1,
    #nev2 {
        font-size: 17px;
    }

    #logo {
        grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    }

    #logo1 {
        width: 38px;
        height: 38px;
    }

    #koszonjobb {
        height: 330px;
    }

    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        width: 44%;
        height: 135px;
        margin-inline: 2%;
    }

    #eskuvo.active h3,
    #paros.active h3,
    #portre.active h3,
    #csaladi.active h3,
    #baba.active h3,
    #jarmuvek.active h3 {
        font-size: 15px;
    }
}

/* ---------- Érintőképernyő ---------- */
@media (hover: none) {
    #logo:hover,
    #menu1:hover,
    #menu2:hover,
    #menu3:hover,
    #menu4:hover,
    #menu5:hover,
    #menu6:hover,
    .gomb:hover {
        animation: none;
    }

    #galeria #eskuvo:hover,
    #galeria #paros:hover,
    #galeria #portre:hover,
    #galeria #csaladi:hover,
    #galeria #baba:hover,
    #galeria #jarmuvek:hover {
        transform: none;
    }
}


/* ---------- Galéria: javított rács és olvasható feliratok ---------- */
#galeria {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 265px));
    justify-content: space-evenly;
    align-items: start;
    column-gap: clamp(24px, 4vw, 60px);
    row-gap: 45px;
}

#galeria h2,
#galeria > p {
    grid-column: 1 / -1;
    justify-self: center;
}

#galeria > p {
    margin-bottom: 0;
}

#eskuvolista.notactive {
    display: none;
}

#galeria > a {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    color: #000;
    text-decoration: none;
}

#eskuvo.active,
#paros.active,
#portre.active,
#csaladi.active,
#baba.active,
#jarmuvek.active {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 245px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 15px;
}

#galeria #eskuvo.active > p,
#galeria #paros.active > p,
#galeria #portre.active > p,
#galeria #csaladi.active > p,
#galeria #baba.active > p,
#galeria #jarmuvek.active > p {
    position: absolute;
    right: 8%;
    bottom: 0;
    left: 8%;
    box-sizing: border-box;
    width: 84%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 8px;
    background: rgb(255 255 255 / 82%);
    color: #000;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(18px, 1.55vw, 25px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    z-index: 2;
}

#galeria #eskuvo.active > p {
    bottom: 18%;
}

#galeria #baba.active > p {
    bottom: 0;
}

/* Az esküvői galéria kinyitott képlistája külön rács marad. */
#eskuvolista.active {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

/* ---------- Galéria tablet ---------- */
@media (max-width: 1025px) {
    #galeria {
        grid-template-columns: repeat(2, minmax(0, 265px));
        justify-content: space-evenly;
        column-gap: clamp(22px, 5vw, 50px);
        row-gap: 38px;
    }

    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        width: 100%;
        height: 220px;
        margin: 0;
    }

    #galeria #eskuvo.active > p,
    #galeria #paros.active > p,
    #galeria #portre.active > p,
    #galeria #csaladi.active > p,
    #galeria #baba.active > p,
    #galeria #jarmuvek.active > p {
        font-size: clamp(18px, 2.2vw, 23px);
    }
}

/* ---------- Galéria telefon ---------- */
@media (max-width: 600px) {
    #galeria {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 32px;
    }

    #galeria h2,
    #galeria > p {
        grid-column: 1;
    }

    #galeria > a,
    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        width: min(100%, 300px);
    }

    #eskuvo.active,
    #paros.active,
    #portre.active,
    #csaladi.active,
    #baba.active,
    #jarmuvek.active {
        height: 220px;
    }

    #galeria #eskuvo.active > p,
    #galeria #paros.active > p,
    #galeria #portre.active > p,
    #galeria #csaladi.active > p,
    #galeria #baba.active > p,
    #galeria #jarmuvek.active > p {
        font-size: 21px;
    }
}


/* ============================================================
   2026-11-16 | Vászonkép, kapcsolat, esküvői megrendelőlapok
   Csak az egyeztetett részeket módosító felülírások.
   ============================================================ */

/* Vászonkép: önálló, tartalomhoz igazodó szekció. */
#vaszonkep {
    position: relative;
    width: var(--content-width);
    min-height: calc(100svh - var(--header-height));
    margin: 0 auto;
    padding: clamp(50px, 7vw, 90px) 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    text-align: center;
    scroll-margin-top: 10px;
}
#vaszonkep h2 { margin: 0 0 8px; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.2; }
#vaszonkep p { width: 100%; max-width: 950px; margin: 0; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.5; }
#vaszonkep > a { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; color: #704083; font-size: clamp(17px, 1.4vw, 21px); overflow-wrap: anywhere; }
#vaszonlogo { width: min(280px, 75vw); min-height: 65px; display: grid; place-items: center; }
#vaszonlogo::before { content: 'evaszonkep.hu'; color: #19a8a5; font: 700 clamp(23px, 4vw, 34px) Arial, sans-serif; }
/* A valódi logóképet külön szükséges bekötni, ha rendelkezésre áll a fájl. */

/* Az űrlapmezők ne lebegjenek: a form közvetlen gyermekei rácsba kerülnek. */
#kapcsolat #email > form,
#nemesemail.active form,
#ezustemail.active form,
#aranyemail.active form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 18px;
    align-content: start;
}
#kapcsolat form > .bigbox1,
#kapcsolat form > .bigbox2,
#nemesemail.active form > .bigbox1,
#nemesemail.active form > .bigbox2,
#ezustemail.active form > .bigbox1,
#ezustemail.active form > .bigbox2,
#aranyemail.active form > .bigbox1,
#aranyemail.active form > .bigbox2 {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
}
#kapcsolat form > .bigbox,
#kapcsolat form > .checkdoboz,
#kapcsolat form > a,
#kapcsolat form > .gomb,
#nemesemail.active form > .bigbox,
#nemesemail.active form > .checkdoboz,
#nemesemail.active form > a,
#nemesemail.active form > .gomb,
#ezustemail.active form > .bigbox,
#ezustemail.active form > .checkdoboz,
#ezustemail.active form > a,
#ezustemail.active form > .gomb,
#aranyemail.active form > .bigbox,
#aranyemail.active form > .checkdoboz,
#aranyemail.active form > a,
#aranyemail.active form > .gomb { grid-column: 1 / -1; }
#kapcsolat form .box,
#nemesemail.active form .box,
#ezustemail.active form .box,
#aranyemail.active form .box { margin: 14px 0 8px; }
#kapcsolat form .inputbox,
#nemesemail.active form .inputbox,
#ezustemail.active form .inputbox,
#aranyemail.active form .inputbox { height: 50px; }
#kapcsolat form .inputboxtext,
#nemesemail.active form .inputboxtext,
#ezustemail.active form .inputboxtext,
#aranyemail.active form .inputboxtext { height: 115px; }
#kapcsolat form .inputboxtext textarea,
#nemesemail.active form .inputboxtext textarea,
#ezustemail.active form .inputboxtext textarea,
#aranyemail.active form .inputboxtext textarea { height: 100%; resize: vertical; }
#kapcsolat form .text,
#nemesemail.active form .text,
#ezustemail.active form .text,
#aranyemail.active form .text { font-size: clamp(13px, 1.1vw, 16px); line-height: 1.25; top: 10px; padding: 0 6px; }
#kapcsolat form .inputbox input:focus + .text,
#kapcsolat form .inputbox input:valid + .text,
#kapcsolat form .inputboxtext textarea:focus + .text,
#kapcsolat form .inputboxtext textarea:valid + .text,
#nemesemail.active form .inputbox input:focus + .text,
#nemesemail.active form .inputbox input:valid + .text,
#nemesemail.active form .inputboxtext textarea:focus + .text,
#nemesemail.active form .inputboxtext textarea:valid + .text,
#ezustemail.active form .inputbox input:focus + .text,
#ezustemail.active form .inputbox input:valid + .text,
#ezustemail.active form .inputboxtext textarea:focus + .text,
#ezustemail.active form .inputboxtext textarea:valid + .text,
#aranyemail.active form .inputbox input:focus + .text,
#aranyemail.active form .inputbox input:valid + .text,
#aranyemail.active form .inputboxtext textarea:focus + .text,
#aranyemail.active form .inputboxtext textarea:valid + .text { top: -17px; left: 0; }
#kapcsolat form .checkdoboz,
#nemesemail.active form .checkdoboz,
#ezustemail.active form .checkdoboz,
#aranyemail.active form .checkdoboz { justify-content: center; margin: 0; }
#kapcsolat form > a,
#nemesemail.active form > a,
#ezustemail.active form > a,
#aranyemail.active form > a { margin: 0; text-align: center; text-decoration: underline; }
#kapcsolat form > .gomb,
#nemesemail.active form > .gomb,
#ezustemail.active form > .gomb,
#aranyemail.active form > .gomb { justify-self: center; margin: 0; cursor: pointer; }

/* Kapcsolat: a kék panel balról belóg, az űrlap számára helyet hagyunk. */
#kapcsolat { width: min(1350px, calc(100% - 48px)); padding: 40px 0 65px; }
#email { width: min(1060px, calc(100% - 240px)); min-height: 0; margin: 0 0 0 240px; padding: 34px 42px 60px 170px; border-radius: 70px; }
#kontakt { left: -240px; top: 50%; width: 270px; min-height: 0; padding: 35px 18px; border-radius: 40px; }
#kapcsolat #email > form { width: 100%; }
#kapcsolat #email > h3 { margin-bottom: 12px; }
#kapcsolat #info { margin-bottom: 28px; }

/* A csomagrendelő lapok a csomagkártyák helyén jelennek meg. */
#arak { position: relative; }
#nemesemail.active,
#ezustemail.active,
#aranyemail.active {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: calc(100svh - var(--header-height) - 90px);
    padding: 55px 45px 25px;
    overflow: visible;
    align-items: flex-start;
    background: var(--bg);
}
#nemesemail.active form,
#ezustemail.active form,
#aranyemail.active form {
    width: min(940px, 100%);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 24px 35px 35px;
    overflow: visible;
    border-radius: 65px;
}
#nemesemail.active form > .csomagnev,
#ezustemail.active form > .csomagnev,
#aranyemail.active form > .csomagnev { grid-column: 1 / -1; margin: 0 0 10px; }
#nemesemail.active .emailbezar,
#ezustemail.active .emailbezar,
#aranyemail.active .emailbezar { top: 4px; right: 20px; }

@media (max-width: 1100px) {
    #kapcsolat { width: min(94%, 850px); }
    #email { width: 100%; margin: 0; padding: 35px 35px 40px; border-radius: 55px; display: flex; flex-direction: column; }
    #kapcsolat #email > h3 { order: 0; }
    #kapcsolat #email > #info { order: 1; }
    #kapcsolat #email > form { order: 2; }
    #kontakt { position: relative; top: auto; left: auto; width: 100%; margin: 30px 0 0; transform: none; order: 3; border-radius: 35px; }
    #vaszonkep { width: min(90%, 850px); min-height: auto; }
}
@media (max-width: 700px) {
    #vaszonkep { width: calc(100% - 28px); padding: 50px 8px 65px; gap: 17px; }
    #vaszonkep p { font-size: 16px; }
    #kapcsolat { width: calc(100% - 24px); padding: 35px 0 55px; }
    #email { padding: 28px 18px 30px; border-radius: 35px; min-height: 0; }
    #kapcsolat #email > form,
    #nemesemail.active form,
    #ezustemail.active form,
    #aranyemail.active form { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    #kapcsolat form > .bigbox1,
    #kapcsolat form > .bigbox2,
    #nemesemail.active form > .bigbox1,
    #nemesemail.active form > .bigbox2,
    #ezustemail.active form > .bigbox1,
    #ezustemail.active form > .bigbox2,
    #aranyemail.active form > .bigbox1,
    #aranyemail.active form > .bigbox2 { grid-column: 1; }
    #kapcsolat form .box,
    #nemesemail.active form .box,
    #ezustemail.active form .box,
    #aranyemail.active form .box { margin: 12px 0 9px; }
    #kapcsolat form .text,
    #nemesemail.active form .text,
    #ezustemail.active form .text,
    #aranyemail.active form .text { font-size: 13px; }
    #kapcsolat form .inputboxtext,
    #nemesemail.active form .inputboxtext,
    #ezustemail.active form .inputboxtext,
    #aranyemail.active form .inputboxtext { height: 145px; }
    #kapcsolat form .checkdoboz,
    #nemesemail.active form .checkdoboz,
    #ezustemail.active form .checkdoboz,
    #aranyemail.active form .checkdoboz { align-items: flex-start; }
    #kapcsolat form .checkdoboz label,
    #nemesemail.active form .checkdoboz label,
    #ezustemail.active form .checkdoboz label,
    #aranyemail.active form .checkdoboz label { font-size: 12px; }
    #kontakt { margin-top: 28px; padding: 28px 12px; }
    #nemesemail.active,
    #ezustemail.active,
    #aranyemail.active { padding: 60px 0 20px; min-height: 0; }
    #nemesemail.active form,
    #ezustemail.active form,
    #aranyemail.active form { width: 100%; padding: 24px 16px 30px; border-radius: 35px; }
    #nemesemail.active .emailbezar,
    #ezustemail.active .emailbezar,
    #aranyemail.active .emailbezar { top: 5px; right: 5px; }
}


/* ============================================================
   2026-11-17 | Esküvői galéria finomítása
   A többi galéria és a megrendelőlapok változatlanok.
   ============================================================ */

/* A JS a nyitott esküvői listánál az egész többi galéria-linket rejti el. */
#galeria.eskuvoi-lista-nyitva > a {
    display: none;
}

/* A nyitott galéria a fő rács teljes szélességét kapja. */
#galeria #eskuvolista.active {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    width: 100%;
    max-height: min(75svh, 850px);
    padding: 12px 24px 24px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* A bezáró gomb a galéria SAJÁT görgethető területében tapad meg. */
#galeria #eskuvolista.active #eskuvolistabezar {
    position: sticky;
    top: 0;
    left: auto;
    grid-column: 1 / -1;
    justify-self: start;
    width: 48px;
    height: 48px;
    margin-bottom: -10px;
    border-radius: 10px;
    background: rgb(251 229 187 / 95%);
    z-index: 20;
}

/* Négyzetes kártyák, a háttérképek teljes megjelenítésével.
   Az alsó sáv külön helyet kap a feliratnak. */
#galeria #eskuvolista.active > a {
    display: block;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
}
#galeria #eskuvolista.active > a > div.active {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding-bottom: 68px;
    background-size: contain;
    background-position: center top;
    background-origin: content-box;
    background-repeat: no-repeat;
}
#galeria #eskuvolista.active > a > div.active > h4 {
    top: auto;
    bottom: 0;
    width: 88%;
    min-height: 62px;
    padding: 5px 6px;
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: 1.15;
}

@media (max-width: 1025px) {
    #galeria #eskuvolista.active {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 12px 16px 20px;
    }
}
@media (max-width: 600px) {
    #galeria #eskuvolista.active {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 18px;
        padding: 12px 12px 20px;
    }
    #galeria #eskuvolista.active > a {
        width: min(100%, 330px);
    }
    #galeria #eskuvolista.active > a > div.active > h4 {
        font-size: clamp(17px, 5vw, 22px);
    }
}


/* 2026-11-19 | Tablet, csomaghivatkozások, laptop */
@media (min-width: 601px) and (max-width: 1025px) and (orientation: portrait) {
    #galeria :is(#eskuvo,#paros,#portre,#csaladi,#baba,#jarmuvek).active > h3 {
        top: auto;
        bottom: 0;
        height: auto;
    }
}

#arakfull.active dt a,
#arakfull.active dt a:visited {
    color: #245b94;
    text-decoration: underline;
}

@media (min-width: 1026px) and (max-width: 1460px) {
    #koszonjobb {
        height: calc(70px + min(calc((65vh - 70px) * 1.3), 715px, calc(100svh - var(--header-height) - 100px)));
    }
    #fokepek img {
        width: 97.5%;
    }
}
