body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: #222;
    min-height: 100vh;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(3px);
    z-index: -1;
}

header {
    border-bottom: 4px solid #222;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contrast-icon-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #222;
    border-radius: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 5px;
}

.contrast-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #222;
    color: white;
}

/* Aktív állapot */
.contrast-icon-btn.active {
    background-color: #222;
    color: white;
}

/* Nagy kontraszt mód */
.high-contrast .contrast-icon-btn {
    background: #000;
    border-color: yellow;
    color: white;
}

.high-contrast .contrast-icon-btn:hover {
    background: #333;
}

.high-contrast {
    filter: contrast(120%) brightness(120%);
    background: black !important;
    color: white !important;
}

.high-contrast header {
    background-color: #000 !important;
    border-color: yellow;
}

.high-contrast .hero,
.high-contrast .hero-text p {
    background-color: #111 !important;
    border-color: yellow !important;
    color: white !important;
}

.high-contrast .button {
    background-color: yellow !important;
    color: black !important;
    border-color: white !important;
}

.high-contrast .nav-buttons a {
    color: white !important;
    border-color: yellow !important;
}

.high-contrast .slogan {
    background: linear-gradient(90deg, yellow 0%, white 100%);
    -webkit-text-fill-color: black;
}

.high-contrast p,
.high-contrast .service-card,
.high-contrast .nutrition-text,
.high-contrast .call-to-action,
.high-contrast section {
    color: white !important;
    background-color: #000 !important;
    border-color: yellow !important;
}

.high-contrast .content {
    background-color: #000 !important;
    border: 2px solid yellow !important;
}

.high-contrast .service-card {
    border: 2px solid yellow !important;
}

.high-contrast .call-to-action {
    border: 2px solid yellow !important;
}

.high-contrast h1,
.high-contrast h2,
.high-contrast h3 {
    color: yellow !important;
    border-bottom: 2px solid yellow !important;
}

.high-contrast .button {
    background-color: yellow !important;
    color: black !important;
    border-color: white !important;
}

.high-contrast .button:hover {
    background-color: white !important;
    color: black !important;
    border-color: yellow !important;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.slogan {
    font-size: 32px;
    font-weight: 800;
    margin: 10px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #222 0%, #555 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-buttons {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 10;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid #222;
    border-radius: 0 0 16px 16px;
}

.nav-buttons.open {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-buttons a {
    margin: 8px auto;
    width: 80%;
    box-sizing: border-box;
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    padding: 14px 25px;
    border: 3px solid #222;
    border-radius: 16px;
    text-decoration: none;
    color: #222;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-buttons a:hover {
    background-color: #222;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.nav-buttons a.active {
    background-color: #222 !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.nav-buttons a.active:hover {
    background-color: #333 !important;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 20px;
}

.social-icons a {
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border: 3px solid #222;
    border-radius: 50%;
    background-color: white;
    padding: 0;
    transition: transform 0.3s, background-color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
}

.social-icons .icon {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

.hamburger-menu {
    display: block;
    font-size: 32px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    z-index: 20;
    transition: transform 0.3s;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

@media (min-width: 1401px) {
    .hamburger-menu {
        display: none;
    }

    .nav-buttons {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        z-index: 1;
        padding: 0;
        box-shadow: none;
        border-bottom: none;
        border-radius: 0;
        align-items: center;
        gap: 20px;
    }

    .nav-buttons a {
        margin: 0;
        width: auto;
        text-align: center;
        background-color: transparent;
        box-shadow: none;
    }
}

.content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1.5s ease-out;
}

.intro,
.experience,
.nutrition-text {
    text-align: justify;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

h1,
h2,
h3 {
    color: #222;
    position: relative;
    padding-bottom: 10px;
    margin-top: 0;
}

h1 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: 15px;
}

p {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
    margin: 0 0 15px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.service-card {
    text-align: center;
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

.service-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.nutrition-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.nutrition-text {
    padding-right: 20px;
}

.call-to-action {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.button {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
    padding: 14px 30px;
    border: 3px solid #222;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    background-color: #222;
    transition: all 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover {
    background-color: white;
    color: #222;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1400px) {
    .slogan {
        font-size: 24px;
    }

    .content {
        max-width: 1000px;
        margin: 28px auto;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .social-icons {
        margin: 20px auto 0;
        justify-content: center;
    }

    .button {
        padding: 13px 28px;
    }

    section {
        padding: 18px;
    }
}

@media (max-width: 1200px) {
    .content {
        margin: 25px 15px;
        padding: 18px;
    }

    .social-icons {
        gap: 15px;
        justify-content: center;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        justify-content: center;
    }

    .button {
        padding: 12px 26px;
    }
}

@media (max-width: 1000px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .nutrition-container {
        gap: 20px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 900px) {
    .content {
        margin: 20px 10px;
        padding: 15px;
    }

    section {
        padding: 15px;
        margin-bottom: 30px;
    }

    .nutrition-container {
        grid-template-columns: 1fr;
    }

    .nutrition-text {
        padding-right: 0;
    }

    .call-to-action {
        border-left: none;
        border-top: 4px solid #222;
        padding: 20px 15px;
    }

    .social-icons {
        margin: 15px auto 0;
        justify-content: center;
    }
}

@media (max-width: 780px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slogan {
        font-size: 20px;
        width: 80%;
    }

    .service-card {
        padding: 20px;
    }

    .button {
        font-size: 16px;
        padding: 12px 24px;
    }

    section:hover {
        transform: translateY(-3px);
    }

    .service-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    section {
        padding: 12px;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .button {
        padding: 10px 18px;
        font-size: 14px;
        border-width: 2px;
    }

    .social-icons {
        gap: 12px;
        justify-content: center;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }

    .nav-buttons a {
        padding: 10px 15px;
        border-width: 2px;
        font-size: 15px;
    }

    .slogan {
        font-size: 18px;
        margin: 5px;
    }

    p {
        font-size: 15px;
    }
}


body.loaded .content {
    opacity: 1;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 10px;
    background: #222;
    color: white;
    z-index: 100;
}