:root {
    --light-color: rgba(249, 249, 249, 1);
    --dark-color: rgba(40, 40, 40, 1);
    --mid-dark-color:  rgba(83, 78, 78, 1);

    --dark-gradient: linear-gradient(rgba(40, 40, 40, 1), rgba(83, 78, 78, 1));
    --light-gradient: linear-gradient(rgb(186, 184, 179), rgba(83, 78, 78, 1));


    --radius-default: 8px;

    --text-shadow: 2px 2px 6px rgba(40, 40, 40, 0.8);
}


@font-face {
    font-family: 'General Sans';
    src: url(fonts/GeneralSans-Medium.woff2) format(woff2);
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans';
    src: url(fonts/GeneralSans-Regular.woff2) format(woff2);
    font-weight: 400;
    font-style: normal;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'General Sans', sans-serif;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
        ),
        url("images/tall-body-bg.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

html,
body {
    overflow-x: hidden;
}

h1, h2, h3, a {
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 500;
    margin: 0;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0;
}
p {
    letter-spacing: 0;
}




/* NAV */

.nav {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: start;
    padding: 32px;
    position: relative;
    z-index: 10;
    color: var(--light-color);
    gap: 8px;
    background: linear-gradient(
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0) 100%
        );
}

.nav-first-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.nav-sec-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 32px;
    font-size: 1.3rem;
    font-weight: 500;
}
.topnav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.topnav a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
}

.topnav a:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: 0.3s ease-in-out;
}

.topnav img {
    display: none;
    border-radius: 8px;
}

/* HAMBURGER */

.menu-toggle {
    display: none;
}

/* MOBILE */

@media (max-width: 1200px) {

    .nav {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
        gap: 32px;
        width: 100%;
        max-width: 100%;
        position: relative;
        box-sizing: border-box;
        z-index: 10;
        transition: none;
    }

    .nav-first-row {
        margin-top: -64px;
    }
    
    .nav-sec-row p {
        margin: 0;
    }
    .nav:has(.topnav.open) {
        opacity: 1;
    }

    .topnav {
        width: 100%;
        max-width: 100%;
        background-color: var(--light-color);
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .topnav img {
        display: block;
        width: 100%;
        height: auto;
        justify-self: flex-end;
    }

    /* HAMBURGER BUTTON */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;

        width: 40px;
        height: 40px;

        position: relative;
        z-index: 1001;

        background: transparent;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        align-self: flex-end;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        flex-shrink: 0;
        background: var(--light-color);
        border-radius: 2px;

        transition: transform 0.3s ease,
                    opacity 0.3s ease;
    }

    /* HAMBURGER TO X */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* MOBILE MENU */

    .topnav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: 80px 24px 32px;

        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 16px;

        background: linear-gradient(rgba(0, 0, 0, 1), rgba(40, 40, 40, 1));
        z-index: 1000;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.3s ease,
                    visibility 0.3s ease;
    }

    .topnav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .topnav a {
        color: var(--light-color);
        font-size: 1.25rem;
        text-decoration: none;
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 768px) {
    .nav-sec-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* HERO */

.hero {
    height: 100vh;
    height: 100dvh;
    min-height: 740px;
    display: flex;
    flex-direction: column;
    position: relative;
}


.hero-content {
    flex: 1;
    min-height: 0;
    background-image: url(images/hero-bg-sunrise.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.hero-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 1) 90%,
        rgba(0, 0, 0, 1) 100%,

        transparent 55%
    );
    z-index: 2;
    pointer-events: none;
}
.nav-first-row h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    text-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
    text-align: left;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-main {
        padding: 32px 32px;
    }
    .hero-main-par {
        flex-direction: column;
        text-align: left;
        gap: 8px;
    }
}
.hero-main p {
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    text-shadow: 0 0 24px rgba(0, 0, 0, 0.7);
}

.hero-portraits {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(400px, 100vw, 620px);

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(-10px, 4vw, 1px);

    z-index: 1;

}

.hero-portraits img {
    height: 100%;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
}

.portrait1 {
    position: relative;
    z-index: 2;
    margin-left: 70px;
}

.portrait2 {
    position: relative;
    z-index: 1;
    margin-right: -250px;
}

@media (max-width: 768px) {
    .portrait2 {
        margin-right: clamp(-10px, 5vw, 10px);
    }
}

.hero-btn {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-self: baseline;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    background-color: var(--light-color);
    padding: 16px 0;
    
}

.hero-btn a {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    padding: 16px;
}

.hero-btn a:hover {
    background-color: rgba(40, 40, 40, 0.4);
    transition: 0.3s ease-in-out;
}


.portrait1 {
    animation: slideInLeft 0.8s ease-out both;
}

.portrait2 {
    animation: slideInRight 0.8s ease-out 0.1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait1,
    .portrait2 {
        animation: none;
    }
}


/* ALMODOK */

.almodok {
    background: none;
}

.almodok-content {
    padding: 128px 80px;
    color: var(--light-color);
    text-shadow: var(--text-shadow);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 64px;
}

@media (max-width: 768px) {
    .almodok-content {
        padding: 128px 32px;
    }
}
.almodok-content .nevek {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.almodok-content .nevek h2 {
    font-weight: 500;
    font-size: clamp(2.3rem, 2vw, 2.6rem);
}

.almodok-content .nevek span {
    font-size: 1.2rem;
}

.almodok-copy {
    display: flex;
    flex-direction: column;
    height: max-content;
    gap: auto;
}
.almodok-copy p {
    max-width: 65ch;
}



/* VERS */


.vers {
    background-color: var(--light-color);
}

.vers-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 128px 80px;
    flex-wrap: wrap;
    gap: 64px;
}
@media (max-width: 768px) {
    .vers-content {
        padding: 128px 32px;
    }
}
.vers-content .vers-copy {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 32px;
}
.vers-copy .vers-szoveg {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 32px;
}
.vers-copy h2 {
    font-size: 2.6rem;
    max-width: 18ch;
    text-align: left;
    line-height: 120%;
    margin-top: 0;
}

.vers-copy p {
    max-width: 40ch;
    text-align: left;
    margin: 0;
}

.vers-btns {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-self: baseline;
    flex-wrap: wrap;
    gap: 32px;
    width: 100%;
    background-color: var(--light-color);
    padding: 32px 0;
}

.vers-btns a {
    text-decoration: none;
    font-weight: 500;
    color: var(--light-color);
    background-color: var(--dark-color);
    padding: 16px 48px;
    border-radius: 8px;
    width: 240px;
    text-align: center;
}

.vers-btns a:hover {
    background-color: rgba(40, 40, 40, 0.4);
    transition: 0.3s ease-in-out;
}

.vers-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vers-image img {
    width: 100%;
    max-height: 440px;
    border-radius: var(--radius-default);
    filter: grayscale(1);
}


/* AJTO */

.ajto {
    background: none;
}

.ajto-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 128px;
    gap: 80px;
}

@media (max-width: 768px) {
    .ajto-content {
        padding: 128px 32px;
    }
}
.ajto-content img {
    width: 100%;
    max-height: 600px;
    border-radius: var(--radius-default);
    box-shadow: 4px 4px 12px rgba(40, 40, 40, 0.6);
}

.ajto-content .ajto-copy p {
    text-align: center;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--light-color);
    text-shadow: 2px 2px 6px rgba(40, 40, 40, 0.8);
    max-width: 40ch;
}


/* MUSORAINK */


.musoraink {
    background-color: var(--light-color);
}

.musoraink-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 128px 64px;
    gap: 128px;
}

@media (max-width: 768px) {
    .musoraink-content {
        padding: 128px 32px;
    }
}
.musoraink-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.musoraink-title h2 {
    font-size: 2.6rem;
    text-align: center;
    line-height: 120%;
    margin-top: 0;
}

.kategoria-elso img {
    width: 100%;
    max-height: 400px;
    border-radius: var(--radius-default);
}

.kategoria-elso {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px;
    width: 100%;
}

.kategoria-elso-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 45ch;
}

.kategoria-elso-lista {
    word-break: normal;
    overflow-wrap: normal;
}
.kategoria-elso-copy h3 {
    margin: 0;
    font-size: 1.6rem;
}
.kategoria-elso-szoveg {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kategoria-elso-cimek {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.kategoria-elso-cimek p {
    margin: 0;
}


.kategoria-masodik {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    gap: 64px;
    width: 100%;
}

.kategoria-masodik img {
    width: 100%;
    max-height: 400px;
    border-radius: var(--radius-default);
}

.kategoria-masodik-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.kategoria-masodik-copy h3 {
    font-size: 1.6rem;
}

.musoraink-content .bold {
    font-weight: 600;
    font-size: 1.2rem;
}

.musoraink-content .paragraph {
    padding-top: 128px;
    max-width: 40ch;
}
.musoraink-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 128px;
}

.musoraink-btns a {
    text-decoration: none;
    font-weight: 500;
    color: var(--light-color);
    background-color: var(--dark-color);
    padding: 16px 48px;
    border-radius: 8px;
    width: 240px;
    text-align: center;
}

.musoraink-btns a:hover {
    background-color: rgba(40, 40, 40, 0.4);
    transition: 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .musoraink-content .paragraph {
        padding-top: 32px;
    }
    .musoraink-btns {
        gap: 16px;
    }
}

/* EREDMENYEK */


.eredmenyek {
    background: none;
}

.eredmenyek-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    text-align: center;
    padding: 128px;
    color: var(--light-color);
    text-shadow: var(--text-shadow);
    gap: 64px;
}

@media (max-width: 768px) {
    .eredmenyek-content {
        padding: 128px 32px;
    }
}
.eredmenyek-lista {
    display: flex;
    flex-direction: column;
    gap: 32px;
} 
.eredmenyek-content p {
    margin: 0;
}

.eredmenyek-lista .bold {
    font-weight: 600;
}

.eredmenyek-content h2 {
    font-weight: 500;
    margin: 0;
    max-width: 24ch;
}

/* ZENE */


.zene-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.zene-elso {
    background-color: var(--light-color);
    width: 100%;
}
.zene-content h2 {
    font-size: 2.6rem;
    margin: 0;
    margin-bottom: 64px;
    padding-top: 128px;
}

.videok {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 64px;
}
.video-container {
    width: 400px;
    aspect-ratio: 16 / 9;
    background-color: black;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-container button {
    padding: 4px 8px;
    background-color: var(--light-color);
    border-radius: var(--radius-default);
}
.video-container p{
    color: var(--light-color);
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-default);
}

.zene-masodik {
    background: none;
    width: 100%;
    padding: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
    color: var(--light-color);
    text-shadow: var(--text-shadow);
}

.zene-masodik h4 {
    font-size: 1.6rem;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.tovabbi-linkek {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.video-link {
    width: 100%;
    text-decoration: none;
    color: inherit;
    text-transform: none;
    font-weight: 400;
    background-color: rgba(249, 249, 249, 0);
    border-radius: 8px;
}

.video-link:hover {
    background-color: rgba(249, 249, 249, 0.2);
    transform: 0.6s ease;
}


/* GALERIA */

.galeria {
    background-color: var(--light-color);
    padding-top: 128px;
    padding-bottom: 128px;
    text-align: center;
}

.galeria-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0 8px;
  justify-content: center;
}

.column {
  -ms-flex: 40%;
  flex: 40%;
  max-width: 40%;
  padding: 0 8px;
}

.column img {
  margin-top: 16px;
  vertical-align: middle;
  width: 100%;
  border-radius: var(--radius-default);
}

/* KAPCSOLAT */


.kapcsolat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
    color: var(--light-color);
    text-shadow: var(--text-shadow);
    padding: 128px;
}

@media (max-width: 786px) {
    .kapcsolat-content {
        padding: 128px 32px;
    }
}
.kapcsolat-content p {
    max-width: 55ch;
    text-align: center;
}

.kapcsolat .email {
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    text-decoration: underline;
}

.dalhanghir h4 {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.dalhanghir p {
    text-align: center;
}

.dalhanghir span {
    text-decoration: underline;
    font-size: clamp(1.6rem, 5vw, 2.6rem);
}


/* FOOTER */

.footer-top {
    height: 96px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 100%,
        transparent 55%
    );
}
footer {
    position: relative;
    background-color: var(--light-color);
}

.footer-image {
    width: 100%;
    position: relative;
    z-index: 1;
}


.footer-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.1) 100%,
        transparent 55%
    );
    z-index: 2;
    pointer-events: none;
}


.footer-image img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 5;
    color: rgba(249, 249, 249, 0.4);
    display: flex;
    flex-direction: column;
}

.footer-copy a {
    text-decoration: none;
    color: rgba(249, 249, 249, 0.4);
    text-transform: none;
}


.footer-copy p {
    margin: 0;
}
@media (max-width: 768px) {
    .footer-copy {
        font-size: 0.8rem;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}



/* REVEAL */

.reveal {
    opacity: 1;
    transform: none;
}

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-reveal .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.nav {
    animation: slideInTop 0.3s ease-out both;
}

.hero-main {
    animation: slideInTop 0.4s ease-out 0.1s both;
}

.hero-btn {
    animation: slideInBottom 0.8s ease-out;
}
@keyframes slideInTop {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav,
    .hero-main {
        animation: none;
    }
}
