:root {
    --primary: #d3ad93;
    --secondary: #aa7652;
    --text-light: #f6f4f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--primary);
}

/* HEADER */

.header {
    background-color: var(--secondary);
    width: 95%;
    margin: 1.5cm auto 0 auto;
    border-radius: 60px;
    padding: 18px 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    /* Javítás: Stacking context biztosítása */
    position: relative;
    z-index: 9999;
}
h1 {
    text-align: center;
    color:white
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    height: 70px;
}

/* Title */
.site-title {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    width: 35px;
    height: 30px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* CONTENT */

.content {
    width: 90%;
    margin: 60px auto;
}

.card {
    background: var(--secondary);
    padding: 60px;
    border-radius: 30px;
    color: white;
    font-size: 1.2rem;
    line-height: 1.9;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.card p {
    margin-bottom: 25px;
}

.highlight {
    font-weight: bold;
    font-size: 1.3rem;
}

.card a {
    color: #fff;
    font-weight: bold;
}

/* MAP */

.map-section {
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.map-section iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* TABLET */

@media (max-width: 1024px) {

    .site-title {
        font-size: 1.6rem;
    }

    .nav-links {
        gap: 20px;
    }
}

/* MOBILE */

@media (max-width: 700px) {

    .nav-links {
        position: absolute;
        top: 90px;
        right: 20px;
        background: var(--secondary);
        flex-direction: column;
        width: 220px;
        padding: 25px;
        border-radius: 20px;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        gap: 20px;
        /* Javítás: Legyen minden felett */
        z-index: 10000;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .card {
        padding: 35px;
        font-size: 1.05rem;
    }
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll to top button */
#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    background-color: var(--secondary);
    color: var(--text-light);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Alapértelmezetten rejtett */
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#scrollTopBtn.show {
    display: flex;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

