/* === ALAP BEÁLLÍTÁSOK (JAVÍTVA) === */
:root {
    --surface-color: rgba(255, 255, 255, 0.95);
    --primary-color: #42a02f;
    --heading-color: #111111;
    --border-color: #eeeeee;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --text-color: #333333; 
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}
body {
    background-image: url(images/confetti-bg2.jpg);
    background-repeat: repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color); 
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-content-wrapper {
    max-width: 1100px;
    margin: 40px auto; 
    background-color: var(--surface-color); 
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
}
/* === FEJLÉC === */
.site-header {
    background-image: url(images/zigzag.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
    box-shadow: none;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-content-wrapper {
    background-color: var(--surface-color, #ffffff); 
    max-width: 1100px; 
    margin: 0 auto; 
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); 
    padding: 20px 0; 
}
.header-content { display: flex; justify-content: space-between; align-items: center; font-family:Verdana, Geneva, Tahoma, sans-serif; }
.header-left img { height: 50px; width: auto; display: block; } 
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; } 
.main-nav li { margin-left: 25px; }
.main-nav a { font-size: 1em; font-weight: 500; color: var(--text-color); text-decoration: none; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; font-size: 32px; cursor: pointer; color: var(--heading-color); }

/* --- ASZTALI NÉZET: NYELVVÁLASZTÓ MEGOSZTÁSA --- */
/* ASZTALI NÉZETBEN LÁTHATÓ */
.language-switcher-item {
    margin-left: 25px; 
    list-style: none;
}
/* A zászló stílusai a menülistában asztali nézetben (ALAPÉRTELMEZETT) */
.language-switcher-item a img {
    width: 32px; 
    height: auto;
    display: block; 
    border-radius: 4px; 
    transition: transform 0.2s ease;
}
.language-switcher-item a:hover img {
    transform: scale(1.1); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* ASZTALI NÉZETBEN LÁTHATÓVÁ TESSZÜK A ZÁSZLÓT A MAIN-NAV UTÁN */
.header-right .language-switcher-item {
    display: block; 
    list-style: none; 
}
/* VÉGE ASZTALI JAVÍTÁS */


/* === FOTÓALBUM === */
.hero { padding: 30px 0; }
.photo-album-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; background-color: #faefe4; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 1px solid #ddd; }
.album-page { padding: 10px; }
.album-page-left { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; justify-items: center; }
.album-photo { background-color: white; padding: 10px; border: 1px solid #ccc; box-shadow: 3px 3px 8px rgba(0,0,0,0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.album-photo img { display: block; width: 100%; }
.album-photo:nth-child(1) { grid-column: span 2; transform: rotate(-4deg); }
.album-photo:nth-child(2) { transform: rotate(2deg); }
.album-photo:nth-child(3) { transform: rotate(-5deg); }
.album-photo:hover { transform: rotate(0deg) scale(1.1); box-shadow: 5px 5px 15px rgba(0,0,0,0.3); z-index: 10; }
.album-page-right .video-column h2 { font-size: 2.2em; color: var(--heading-color); margin-top: 0; text-align: center; }
.album-page-right .video-column p { text-align: center; margin-bottom: 20px; }

/* *** FONTOS JAVÍTÁS: 4:3 KÉPARÁNY (75%) *** */
.video-wrapper { 
    position: relative; 
    padding-bottom: 75%; 
    height: 0; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.video-wrapper iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 0; 
}
/* *** PLACEHOLDER KÉPARÁNY JAVÍTÁSA *** */
.youtube-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 75%; 
    height: 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: filter 0.2s;
}

.album-text { margin-top: 20px; text-align: center; padding: 0 15px; }
.album-text h3 { color: var(--heading-color); font-size: 1.4em; }
.album-text p { font-size: 1em; font-style: italic; color: #555; line-height: 1.7; text-align: left; }
.mobile-photo-stack { display: none; }

/* === ZÁSZLÓ ÉS NYELVVÁLTÓ STÍLUSA (KORÁBBI) === */
.language-switcher {
    display: none; 
}
/* === ALKALMAK SZALAG (ÚJ) === */
.occasions-banner {
    background-color: #ff8c69; 
    color: #fff; 
    padding: 30px 0;
    margin: 40px 0; 
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}
.occasions-banner h2 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
    color: #fff; 
}
.occasions-banner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px 30px; 
}
.occasions-banner li {
    font-size: 1.1em;
    font-weight: 500;
}
/* === KÜLÖNLEGES ALKALMAK === */
.special-occasions { padding: 10px 0; }
.occasions-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background-color: var(--surface-color); padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); }
.occasions-content .text-column h2 { font-size: 2em; color: var(--heading-color); margin-top: 0; }
.occasions-content .text-column p { font-size: 1.1em; line-height: 1.7; color: var(--text-color); }
.occasions-content .text-column strong { color: var(--primary-color); }
.occasions-content .media-column img, .occasions-content .media-column video { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }

/* === HOGYAN MŰKÖDIK? === */
.process-section { padding: 10px 0; }
.process-section .container { background-color: var(--surface-color); padding: 10px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); text-align: center; }
.steps { display: flex; gap: 30px; margin-top: 30px; text-align: left; }
.step { flex: 1; background-color: #fdfdfd; padding: 20px; border: 1px solid var(--border-color); border-radius: 8px; text-align: justify; }

/* Új stílusok a képekhez és a videóhoz */
.step img, .step video {
    max-width: 300px; 
    height: auto;
    margin-bottom: 20px; 
    display: block; 
    margin-left: auto;
    margin-right: auto; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

/* Kicsit nagyobb címek és szöveg a lépéseknél */
.step h3 {
    font-size: 1.4em;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 10px;
}
.step p {
    font-size: 1em;
    color: var(--text-color);
}

/* =================================================================== */
/* === GYAKORI KÉRDÉSEK (GYIK) ALOLDAL STÍLUSAI === */
/* =================================================================== */
.faq-section { padding: 40px 0; text-align: center; }
.faq-section h1 { font-size: 2.5em; color: var(--heading-color); margin-bottom: 40px; }
.accordion {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    overflow: hidden; 
}
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    background-color: transparent;
    color: var(--heading-color);
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    padding-right: 50px; 
}
.accordion-header::after { 
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after {
    content: '-';
}
.accordion-header:hover {
    background-color: #f0f0f0;
}
.accordion-content {
    background-color: #fcfcfc;
    padding: 0 25px;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.accordion-item.active .accordion-content {
    max-height: 200px; 
    padding: 20px 25px;
}
.accordion-content p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
}
.accordion-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
/* === ALKALMAK SZEKCIÓ (KÁRTYÁS ELRENDEZÉS - VÉGLEGES) === */
.occasions-showcase {
    background-color: #ff8c69; 
    padding: 40px 0;
    margin: 40px 0;
    text-align: center;
}
.occasions-showcase h2 {
    font-size: 2.2em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    margin-top: 0;
    margin-bottom: 40px;
}
.occasion-link {
    text-decoration: none; 
    color: inherit; 
    display: block; 
}
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.occasion-card {
    background-color: transparent; 
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden; 
    text-align: center;
    position: relative; 
    height: 100%; 
}
.occasion-link:hover .occasion-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}
.occasion-image {
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.occasion-card-body {
    background-color: var(--surface-color); 
    padding: 30px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.occasion-card-body h3 {
    font-size: 1.4em;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 15px;
}
.occasion-card-body p {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
}
.occasion-card-body .occasion-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.occasion-card-body .occasion-sublist li {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.occasion-card-body .occasion-sublist li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
/* GYIK kapcsolatfelvételi rész */
.faq-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.faq-contact h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--heading-color);
}
/* A cta-link stílusait már a fő CSS-ben definiáltuk */
/* Illusztrációs példa szekció */
.illustration-example-section { padding: 60px 0; text-align: center; }
.illustration-box { max-width: 900px; margin: 0 auto; background-color: var(--surface-color); padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); }
.illustration-box h2 { font-size: 2em; margin-bottom: 30px; color: var(--heading-color); }
.illustration-media { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.illustration-image-container { max-width: 400px; text-align: center; }
.illustration-image-container img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.illustration-image-container .caption { font-style: italic; color: #666; margin-top: 10px; }
.illustration-media .video-wrapper { width: 100%; max-width: 560px; }
/* Reszponzivitás illusztrációhoz */
@media (min-width: 768px) {
    .illustration-media {
        flex-direction: row; 
        justify-content: center;
    }
}
.example-video-section { padding: 40px 0; }
.example-video-box { max-width: 800px; margin: 0 auto; background-color: var(--surface-color); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); text-align: center; }
.example-video-box h2 { font-size: 2em; color: var(--heading-color); margin-top: 0; }
.example-video-box p { margin-bottom: 30px; color: var(--text-color); }
.source-image-container { margin-bottom: 20px; }
.source-image-container img { max-width: 80%; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.video-choices { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.choice-button { background-color: var(--primary-color); color: white; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 1em; border: 2px solid transparent; transition: all 0.3s ease; }
.choice-button:hover { background-color: #00751d; transform: translateY(-2px); }
.example-video-box { max-width: 800px; margin: 0 auto; background-color: var(--surface-color); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); }
.source-image-container { margin-bottom: 0px; }
.source-image-container img { max-width: 90%; height: auto; border-radius: 8px; box-shadow: none; }
.video-choices { margin-top: 30px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.choice-button { background-color: var(--primary-color); color: white; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 1em; border: 2px solid transparent; transition: all 0.3s ease; }
.choice-button:hover { background-color: #2e32ff; transform: translateY(-2px); }
/* === KAPCSOLATI ŰRLAP (JAVÍTOTT) === */
.contact-section { padding: 60px 0; }
/* Az új közös doboz kapja a hátteret és a stílust */
.contact-box {
    max-width: 700px;
    margin: 0 auto; 
    background-color: var(--surface-color); 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center; 
}
.contact-box h2 { font-size: 2em; margin-top: 0; margin-bottom: 10px; color: var(--heading-color); }
.contact-box p { max-width: 600px; margin: 0 auto 40px auto; color: var(--text-color); }
/* Az űrlap maga már nem igényel hátteret, csak igazítást */
.contact-form { text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--heading-color); }
.form-group input,
.form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 1em; font-family: var(--font-family); box-sizing: border-box; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group button { width: 100%; padding: 15px; background-color: var(--primary-color); color: white; border: none; border-radius: 6px; font-size: 1.2em; font-weight: bold; cursor: pointer; transition: background-color 0.3s; }
.form-group button:hover { background-color: #1c8b05; }

/* === LÁBLÉC === */
.site-footer { text-align: center; padding: 20px; margin-top: 40px; font-size: 0.9em; color: #555; background-color: var(--surface-color); box-shadow: 0 -2px 5px var(--shadow-color); }
.site-footer a { color: var(--primary-color); text-decoration: none; } 
/* 1. BEVEZETŐ SZEKCIÓ */
.intro-section { padding: 40px 0; text-align: center; }
.intro-section blockquote p { font-style: italic; color: #555; font-size: 1.4em; }
.intro-section .intro-text { max-width: 800px; margin: 0 auto; text-align: justify; line-height: 1.8; }
/* 2. PÉLDAVIDEÓ SZEKCIÓ */
.video-example-section { padding: 20px 0; }
.video-box { max-width: 800px; margin: 0 auto; background-color: var(--surface-color); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); text-align: center; }
.video-box .source-image-container { margin-bottom: 20px; }
.video-box .source-image-container img { max-width: 100%; border-radius: 8px; }
.video-box .video-caption { margin-top: 20px; font-size: 1.1em; font-weight: bold; color: var(--text-color); }
/* 3. GIRLAND ELVÁLASZTÓ */
.girland-separator { height: 140px; background-image: url('images/meglepetes-girland.webp'); background-repeat: repeat-x; background-position: center; margin: 0px 0; }
/* === VISSZAJELZÉSEK SZEKCIÓ (HORIZONTÁLIS CAROUSEL - E-MAIL STÍLUS) === */
.reviews-section { padding: 60px 0; text-align: center; background-color: #f7f7f7; border: 1px solid #ddd; border-radius: 15px; max-width: 1100px; margin: 40px auto; overflow: hidden; }
.reviews-carousel { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; background-color: transparent; padding: 20px 15px; margin: 0; }
.reviews-carousel.active-drag { cursor: grabbing; user-select: none; }
.review-card { min-width: 280px; max-width: 350px; width: 33.333%; flex-shrink: 0; background-color: var(--surface-color); border-radius: 10px; padding: 25px; margin: 0 10px; text-align: left; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); scroll-snap-align: center; cursor: grab; }
.review-card:active { cursor: grabbing; }
.email-subject { font-weight: bold; color: var(--primary-color); border-bottom: 1px solid var(--border-color); padding-bottom: 8px; margin-top: 0; margin-bottom: 15px; font-size: 0.95em; }
.email-greeting { font-weight: bold; margin-bottom: 10px; }
.review-text { color: var(--text-color); line-height: 1.6; margin-bottom: 20px; padding-left: 10px; border-left: 3px solid #ff8c69; }
.reviewer-name { font-weight: normal; color: #555; text-align: right; margin-top: 20px; font-size: 0.9em; }
/* Média lekérdezések (responsiveness) - Reviews */
@media (max-width: 1100px) {
    .review-card { width: calc(50% - 20px); max-width: none; }
}
@media (max-width: 768px) { 
    .review-card { width: calc(65% - 20px); min-width: 280px; }
}
@media (max-width: 500px) { 
    .review-card { min-width: 90%; width: 90%; }
    .reviews-section { border: none; margin: 40px 0; box-shadow: none; padding: 40px 0; }
}
.scroll-hint { margin-top: 20px; color: #888; font-size: 0.9em; font-style: italic; padding: 0 15px; }
/* Média lekérdezések (responsiveness) - Reviews */
@media (max-width: 1100px) {
    .review-card { width: calc(50% - 20px); max-width: none; }
}
@media (max-width: 768px) { 
    .review-card { width: calc(65% - 20px); min-width: 280px; }
}
@media (max-width: 500px) { 
    .review-card { min-width: 90%; width: 90%; }
}
.scroll-hint { margin-top: 20px; color: #888; font-size: 0.9em; font-style: italic; }
/* 5. CSELEKVÉSRE ÖSZTÖNZÉS (CTA) */
.cta-section { padding: 60px 20px; text-align: center; }
.cta-link { display: inline-block; background-color: var(--primary-color); color: white; padding: 20px 40px; border-radius: 12px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); }
.cta-link:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5); }
.cta-link h2 { margin: 0; font-size: 1.8em; }
/* =================================================================== */
/* === ESKÜVŐ ALOLDAL STÍLUSAI === */
/* =================================================================== */
.wedding-intro-section { padding: 40px 0; text-align: center; }
.wedding-intro-section h1 { font-size: 2.5em; color: var(--heading-color); margin-bottom: 30px; }
.wedding-intro-section .intro-text { max-width: 800px; margin: 0 auto 40px auto; line-height: 1.8; text-align: justify; }
/* Térköz a videók között */
.wedding-intro-section .video-wrapper { max-width: 800px; margin: 0 auto 40px auto; }
/* A "Profi tipp" kiemelése */
.pro-tip { max-width: 800px; margin: 0 auto 40px auto; padding: 25px; background-color: #f7f7f7; border-left: 5px solid var(--primary-color); border-radius: 8px; text-align: left; font-size: 1.1em; line-height: 1.7; }
.pro-tip p { margin: 0; }
/* =================================================================== */
/* === MAGUNKRÓL ALOLDAL STÍLUSAI (VÉGLEGES) === */
/* =================================================================== */
/* Ez a belső wrapper fogja össze a kártyákat */
.page-content-wrapper { max-width: 1000px; margin: 0 auto; background-color: #faefe4; }
/* A "kártyák" közös stílusa */
.contact-info-box, .about-row, .about-closing-box { background-color: var(--surface-color); padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-color); margin-bottom: 30px; }
/* 1. KAPCSOLAT DOBOZ */
.contact-info-box h2 { font-size: 2em; color: var(--heading-color); margin-top: 0; margin-bottom: 20px; text-align: center; }
.contact-info-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 600px; margin: 0 auto; }
.contact-info-box li { display: flex; align-items: center; font-size: 1.1em; }
.contact-info-box li img { width: 34px; margin-right: 12px; }
/* 2-3-4. KÉP-SZÖVEG SOROK */
.about-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.about-row--reverse { grid-template-columns: 1.5fr 1fr; }
.about-row--reverse .text-column { order: -1; }
.image-column img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.image-column figcaption { text-align: center; font-style: italic; color: #666; margin-top: 10px; }
.text-column h3 { font-size: 1.8em; margin-top: 0; }
.text-column p { line-height: 1.8; font-size: 1.1em; }
/* AZ UTOLSÓ DOBOZ */
.about-closing-box { text-align: center; }
.final-words { font-size: 1.2em; font-weight: 500; max-width: 700px; margin: 0 auto 30px auto; }
.about-closing-box .cta-section { padding: 0; }

/* --- MOBIL MENÜ JAVÍTÁSOK (AUTO PATCH) --- */
.main-nav {
    position: relative; /* ez engedi az abszolútul pozícionált UL-t */
}

/* alap: asztali */
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

/* MOBIL: a menü "lebegő" panelként jelenik meg a hamburger alatt */
@media (max-width: 992px) {

    .main-nav {
        position: relative;
    }

    .main-nav ul {
        position: absolute;
        top: calc(100% + 6px); /* közvetlenül a header alá */
        right: 0;
        left: auto; /* JAVÍTVA */
        width: 250px; /* JAVÍTVA */
        display: none; /* alapértelmezésben rejtett */
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 8px 0;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        border-top: 3px solid var(--primary-color);
        background-color: var(--surface-color);
        z-index: 9999;
        box-sizing: border-box;
    }

    .main-nav.active ul {
        display: flex;
    }

    .main-nav li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child { border-bottom: none; }

    .main-nav a {
        display: block;
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8em;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px 10px;
        z-index: 10001; /* biztosan a tetején marad */
        position: relative;
    }

    /* ha szükséges, csökkentjük a logó méretét és elhelyezést */
    .header-left img { height: 44px; }

}

/* kis biztonsági fix: overflow és box-sizing mobilon */
html, body {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
body { overflow-x: hidden !important; max-width: 100vw !important; }

/* === MOBIL DESIGN FIX - HERO SZEKCIÓ VÁLTÁSA === */
@media (max-width: 900px) 

{

.steps {
    flex-direction: column; /* Ezzel kerülnek egymás alá */
    gap: 20px; /* Enyhén csökkentett távolság mobilon */
}

.step {
    flex: none; /* Kikapcsolja a rugalmasságot, ami a kilógást okozhatja */
    max-width: 100%; /* Biztosítja, hogy ne feszüljön túl a szélesség */
}


    /* 1. KÉPALBUM STRUKTÚRA ÁTALAKÍTÁSA */
    .photo-album-container {
        /* Egy hasábra váltás mobilra */
        grid-template-columns: 1fr; 
        padding: 20px; /* kicsit kevesebb belső tér */
    }

    /* 2. BAL OLDALI KÉPEK ELTÜNTETÉSE */
    /* A sok kép helyett csak egy illusztratív fotó marad felül (mobile-photo-stack) */
    .album-page-left {
        display: none;
    }

    /* 3. A MOBIL KÉPEK MEGJELENÍTÉSE FELÜL */
    .mobile-photo-stack {
        display: block; /* Visszaállítjuk láthatóra */
        text-align: center;
        margin-bottom: 20px;
    }

    .mobile-photo-stack img {
        max-width: 80%; /* Optimalizált szélesség */
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    /* 4. A TARTALOM (VIDEÓ ÉS SZÖVEG) IGAZÍTÁSA */
    .album-page-right {
        padding: 0; 
    }
    
    .album-page-right .video-column h1 {
        font-size: 2em;
    }
    
    .album-text p {
        text-align: center; /* A szöveg középre igazítása mobilon */
    }

}