@font-face {
    font-family: 'PlayfairDisplay';
    src: url('/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Alap stílusok */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
}

.site-header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1280px;
    z-index: 1000;
    box-sizing: border-box;

    background-color: #a8b9a3;
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    flex-shrink: 0;
    max-width: 140px;
}

.logo img {
    height: 14px;
    max-width: 100%;
    display: block;
}

/* Navigációs menü */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-transform: uppercase;
    font-family: 'PlayfairDisplay', serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: #000;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: bold;
}

.main-nav a.active {
    background-color: #a67852;
    color: #fff;
}

.main-nav a:hover {
    background-color: #a67852;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(166, 120, 82, 0.15);
}

/* Social ikonok */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons a {
    color: #000;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #a67852;
}

/* Hamburger ikon */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* Külön mobil header rész (ikonok + hamburger) */
.mobile-header {
    display: none;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

/* Desktop / mobil váltás */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobil nézet */
@media (max-width: 950px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 95px;
        right: 15px;
        background-color: #a8b9a3;
        flex-direction: column;
        width: 150px;
        padding: 10px;
        border-radius: 16px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
        transition: right 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(8px);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding-right: 10px;
    }

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
    }

    .main-nav li {
        display: inline-block;
        width: 100%;
        text-align: right;
        padding: 10px 10px;
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .mobile-header {
        display: flex;
    }

    .logo img {
        height: 14px;
        max-width: 100%;
    }

    .mobile-header {
        gap: 10px;
    }

    .menu-toggle {
        padding: 4px;
    }
}
