:root {
    --primary: #ffffff;
    --card: #f9f9f9;
    --highlight: #d32f2f;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    --black: #000000;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--black);
    position: relative;
    z-index: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asztalpanir.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}

@media (max-width: 768px) {
    body::before {
        background: url('panirmobil.png') no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header a {
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

header a:hover {
    transform: scale(1.05);
}

header img {
    max-width: 100%;
    height: auto;
    width: 700px;
    border-radius: 20px;
}

.menu-open-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--highlight);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 8px;
    z-index: 1100;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-x: hidden;
    transition: width 0.5s;
    padding-top: 60px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu a {
    padding: 16px 32px;
    text-decoration: none;
    font-size: 1.3rem;
    color: #ffffff;
    display: block;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.side-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff4d4f;
}

.side-menu .menu-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1049;
}

.overlay.show {
    display: block;
}

body.notice-modal-open {
    overflow: hidden;
}

.notice-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(6, 8, 12, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
}

.notice-modal.show {
    display: flex;
    animation: noticeFadeIn 0.25s ease;
}

.notice-modal-card {
    width: min(520px, 94vw);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(155deg, rgba(18, 22, 31, 0.96), rgba(41, 45, 58, 0.94));
    color: #ffffff;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    padding: 1.45rem 1.25rem 1.3rem;
    text-align: left;
    position: relative;
    animation: noticePopIn 0.28s ease;
}

.notice-modal-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(211, 47, 47, 0.25);
    border: 1px solid rgba(255, 119, 119, 0.55);
    color: #ffd7d7;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.notice-modal-card h2 {
    margin: 0;
    color: #ff6d6d;
    font-size: clamp(1.5rem, 5.5vw, 2.05rem);
    line-height: 1.15;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.notice-modal-text {
    margin: 0.95rem 0 1.2rem;
    font-size: clamp(1.02rem, 3.6vw, 1.18rem);
    line-height: 1.5;
    color: #f4f7ff;
}

.notice-modal-text strong {
    color: #ffe08f;
    font-weight: 800;
}

.notice-modal-action {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #ff5c5c, #d32f2f);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(211, 47, 47, 0.35);
}

.notice-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

@keyframes noticeFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes noticePopIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-radius: 12px;
}

.day-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.day-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff4d4f;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px black;
}

.day-section p {
    font-size: 1.1rem;
    margin: 0.3rem 0;
    color: #f5f5f5;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .container {
        margin: 1.5rem auto;
        padding: 1rem;
    }

    .day-section {
        padding: 1.25rem 1rem;
        margin: 1.25rem auto;
    }

    .day-section h2 {
        font-size: clamp(1.9rem, 8vw, 2.2rem);
        line-height: 1.15;
    }

    #napiajanlat h2 {
        font-size: clamp(1.75rem, 8.5vw, 2.1rem);
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

.banner {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    color: #f8ee25;
    padding: 2rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.banner p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--highlight);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    z-index: 1000;
}

footer {
    background: var(--black);
    color: white;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}
