body {
    margin: 0;
    font-family: "Montserrat", sans-serif;;
    line-height: 1.6;
    color: #333;

}

header {
    background: url('img/hero-image1.webp') center/cover no-repeat;
    height: 620px;
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 55px;
    color: #6b7b7e;
    margin-top: 30px;
    transform: scale(2.5);
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    animation: heroSubtitleIn 700ms ease-in-out 60ms both;
}

header p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    transform: scale(2.5);
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    animation: heroSubtitleIn 700ms ease-in-out 760ms both;
}

.intro {
    padding: 2rem;
    background: #e3e0e0;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.intro p{
    max-width: 1100px;
}
.mozaik-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.mozaik-block {
    /*width: 550px;*/
    /*height: 550px;*/
    width: 50%;
    height: auto;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.mozaik-block.text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.mozaik-block.text h2 {
    font-size: 46px;
    margin-bottom: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    line-height: 100%;
}

.mozaik-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bottom-row {
    background: #e3e0e0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;

}
.bottom-row p{
    max-width: 1000px;
    text-align: center;
}

footer {
    background: #fdfdfd;
    color: #58483b;
}
footer p{
    max-width: 1100px;
    text-align: left;
    padding: 2rem;
    margin: 0 auto;
    font-size: 1em;
}
/* Footer: Adatkezelési tájékoztató lenyitható */
.privacy-toggle {
    color: #58483b;
    text-decoration: underline;
    cursor: pointer;
}
.privacy-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 400ms ease;
}
.privacy-panel.open {
    /* Elég nagy érték a tartalomhoz; ha hosszabb lesz, növelhető */
    max-height: 1200px;
}

/* Elastic zoom-in animation for the hero title */
@keyframes heroTitleElastic {
    0%   { transform: scale(0.2); opacity: .6; }
    60%  { transform: scale(1.10); }
    80%  { transform: scale(0.95); }
    92%  { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

/* Subtitle scale-in animation after the title */
@keyframes heroSubtitleIn {
    0%   { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    header h1 {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    header p {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .privacy-panel {
        transition: none !important;
    }
}
@media (max-width: 1100px) {
    .mozaik-row {
        flex-direction: row;
        align-items: stretch;
    }

    .mozaik-block {
        width: 50%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 760px) {
    .mozaik-row {
        flex-direction: column;
        align-items: center;
    }
    .mozaik-block {
        width: 100%;
    }
    /* Szöveges dobozok magassága legyen tartalomhoz igazodó mobilon */
    .mozaik-block.text {
        aspect-ratio: auto; /* ne legyen négyzetes kényszer */
        height: auto;
    }
    .mozaik-row.nature{
        flex-direction: column-reverse;
    }
}

@media (max-width: 550px) {
    header { height: 390px; }
    body { font-size: 18px; }
    header h1 { font-size: 36px; }
    header p { font-size: 14px; }
    .intro { font-size: 18px; }
    .mozaik-block.text h2 { font-size: 32px; }
    .bottom-row { font-size: 16px; }
}
