:root {
    --primary: #c1121f;
    --btnactive: #9b0f19;

    --bg: #050505;
    --layout: #0f0f0f;
    --bgop: rgba(13, 13, 13, 0.8);

    --line: #242424;
    --line-border: #7e0000;

    --text: #f5f5f5;
    --muted-text: #a1a1a1;
}

* {
    box-sizing: border-box;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    display: none;
}

/* Firefox */
html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

/* IE/regi Edge */
body {
    -ms-overflow-style: none;
}

h1,
h2,
h3 {
    font-family: Cormorant Garamond, serif;
    margin: 0;
}
h1{
    font-size: 3.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.2rem;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

p {
    color: var(--muted-text);
    letter-spacing: 0.02em;
    font-weight: 300;
    font-size: 0.95rem;
}
/* térkép "dark mode" */
#map {
    filter: invert(90%) hue-rotate(180deg);
}
/* gombok */

.btn {
    all: unset;
    cursor: pointer;
    width: fit-content;
    background-color: var(--layout);
    color: var(--muted-text);
    padding: 0.5rem 2.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 1px 1px 1px var(--primary), -1px -1px 1px var(--line);
}

.btn:hover {
    background-color: var(--primary);
    color: var(--text);
    transform: scale(1.1);
    box-shadow: 0 4px 8px var(--bg);
}

/* nav bar */

.menu {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding-right: 2rem;
    background: transparent;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#hamb {
    display: none;
}

.hamb_list {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 3rem;
}

.menu img {
    height: 60px;
    margin: 12px 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu ul li {
    display: inline;
}

.menu ul li a {
    text-decoration: none;
    color: var(--muted-text);
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    background-color: var(--primary);
    color: var(--text);
    transform: scale(1.1);
}

.menu.sticky-active {
    background-color: var(--bgop);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu.sticky-active img {
    height: 40px;
}

/* Hero section */

.hero-container {
    height: 80vh;
    min-height: 550px;
}

.hero {
    background:
        linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
        url("../pictures/hero.png");
    background-size:
        100% 100%,
        cover;
    background-position:
        center,
        calc(50% + 150px) center;
    background-repeat:
        no-repeat,
        no-repeat;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-info {
    margin: 0 5rem;
    width: 45%;
    max-height: none;
    height: auto;
}

.hero-info p,
.hero-info h1,
.hero-info h2 {
    margin-top: 2rem;
}

.hero-btn {
    margin: 2rem 5rem;
}

/* Szemlelet */

.szemlelet_container {
    max-width: 1500px;
    min-width: 70%;
    height: 150px;
    gap: 1rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.szemlelet_item {
    width: 24%;
    text-align: center;
    transition: all 0.3s ease;
}

.szemlelet_item p {
    margin-top: 0;
}

.szemlelet_item:hover {
    transform: scale(1.1);
}

.szemlelet_img {
    height: 75px;
    margin: 0 1rem;
}

.vertical_line {
    height: 80px;
    width: 1px;
    background-color: var(--line);
}

@media (max-width: 820px) {
    .hero-container {
        height: 100svh;
        min-height: 560px;
    }

    .hero-info {
        width: 70%;
        margin: 0 2rem;
    }

    .szemlelet_container {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
        padding: 1rem;
    }

    .szemlelet_item {
        width: 45%;
        gap: 0;
        margin: 0;
    }

    .szemlelet_img {
        margin: 0;
    }

    .middle {
        display: none;
    }

    .hero-btn {
        margin: 2rem auto;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero-container {
        height: auto;
        min-height: 100svh;
    }

    .hero {
        min-height: 100svh;
        justify-content: center;
        padding-top: 80px;
        background-position:
            center,
            center;
    }

    .hero-info {
        width: min(70%, 520px);
        margin: 0 2rem;
    }

    .hero-info p,
    .hero-info h1,
    .hero-info h2 {
        margin-top: 1rem;
    }

    .hero-btn {
        margin: 2rem;
    }
}


/* Content */

.row_one {
    background-color: var(--bg);
    padding: 2rem;
}

.row_two {
    background-color: var(--layout);
    padding: 2rem;
}

.section_border {
    border: none;
    height: 2px;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, var(--bg) 0%, var(--line-border) 40%, var(--line-border) 60%, var(--bg) 100%);
}

/* Footer */

footer {
    background-color: var(--bg);
    display: flex;
    justify-content: space-around;
    padding: 1rem;
}
.kapcsolatok{
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.kapcsolatok img{
    height: 70px;
    width: 70px;
    filter: brightness(0) invert(1);
    transition:all 0.1s ease;
}
.kapcsolatok img:hover{
    transform: scale(1.1);
}
footer a{
    text-decoration: none;
    color: var(--muted-text);
}

.btn.active {
    background-color: var(--btnactive);
}

.btn.active:hover {
    background-color: var(--primary);
}

.locations {
    display: flex;
    gap: 1rem;
}

@media (max-width: 820px) {
    /* hamburger menu */

    .menu {
        justify-content: center;
        height: 80px;
        padding-right: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .menu.sticky-active {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hamb_list {
        position: absolute;
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        width: 100%;
        height: 0;
        padding: 0;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: hidden;
        transition: height 0.3s ease, background-color 0.3s ease;
        z-index: 120;
    }

    .hamb_list.hamb_on {
        height: 330px;
        padding-top: 80px;
        background-color: var(--bgop);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #hamb {
        display: unset;
        cursor: pointer;
        position: fixed;
        padding: 10px;
        padding-top: 0;
        top: 5px;
        right: 20px;
        font-size: 50px;
        z-index: 150;
        background-color: transparent;
        border-radius: 14px;
    }

    #logo {
        position: absolute;
        left: 0;
        padding: 4px;
        border-radius: 8px;
        z-index: 150;
    }

    /* footer */

    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: center;
    }
    .kapcsolatok{
        align-items: center;
        justify-content: center;
    }
    .kapcsolatok img{
        height: 50px;
        width: 50px;
    }
}


.adatkezeles{
    max-width: 1000px;
    margin: auto;
}
.adatkezeles p{
    padding-left: 1rem;
}
.adatkezeles a{
    text-decoration: none;
    color: var(--muted-text);
}
.impresszum{
    max-width: 1000px;
    margin: auto;
}
.impresszum p{
    padding-left: 1rem;
}
.impresszum a{
    text-decoration: none;
    color: var(--muted-text);
}