/* ========================================================================= */
/* ALAPVETŐ BEÁLLÍTÁSOK ÉS VÁLTOZÓK                                          */
/* ========================================================================= */
:root {
    --ud-zold: #004735;
    --ud-sarga: #ffab0d;
    --vilagos-zold: rgb(0, 174, 130);
    --sotet-szurke: rgb(51, 51, 51);
    --feher: #ffffff;
    --hater-szurke: #f4f4f4;
    --shadow-soft: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-hard: 0 15px 35px rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(-45deg, #ffffff, #eaf3f0, #fdfcf9, #e5efe9);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    color: var(--sotet-szurke);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

/* Ez biztosítja az eltolást a fix fejléc miatt */
[id] {
    scroll-margin-top: 140px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, h4 {
    font-family: 'DINPro Bold', 'DINPro', Verdana, sans-serif;
    color: var(--ud-zold);
    font-weight: 700;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 5%;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--ud-zold);
    color: var(--feher);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'DINPro', Verdana, sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--ud-zold);
}

.btn:hover {
    background-color: var(--feher);
    color: var(--ud-zold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hard);
}

.btn-outline {
    background-color: transparent;
    color: var(--ud-zold);
    border: 1px solid var(--ud-zold);
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 15px;
}

.btn-outline:hover {
    background-color: var(--ud-zold);
    color: var(--feher);
}

header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-right-elements {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    background: transparent;
    border: 2px solid var(--ud-zold);
    color: var(--ud-zold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    text-align: center;
    
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    -webkit-font-smoothing: subpixel-antialiased;
}

.lang-toggle:hover {
    background: var(--ud-zold);
    color: var(--feher);
    transform: scale(1.05) translateZ(0); 
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%; /* Ezt növeltem meg! */
    max-width: 1500px;
    margin: auto;
}

.navbar-logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    flex: 1; 
}

.top-logo {
    height: 100px; 
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.top-logo-right {
    height: 80px; 
    width: auto;
    object-fit: contain;
}

.navbar-logo-area span {
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--ud-zold);
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.menu li a {
    text-decoration: none;
    color: var(--sotet-szurke);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.menu li a:hover {
    color: var(--ud-zold);
    border-color: var(--ud-sarga);
}

.header-right-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Hero                                                              */
.hero {
    text-align: center;
    padding: 80px 0;
}

.animated-logo-container {
    margin: 0 auto 60px;
    width: 380px; 
    height: 380px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo-img {
    width: 320px; 
    height: 320px;
    object-fit: contain; 
    position: absolute;
    z-index: 2;
}

.logo-inner-ring {
    width: 360px; 
    height: 360px;
    border: 2px solid transparent;
    border-top: 4px solid var(--ud-sarga);
    border-bottom: 4px solid var(--ud-sarga);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    animation: spinRing 15s infinite linear;
    box-shadow: var(--shadow-soft);
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-pre-title {
    display: block;
    color: #888888;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
}

.hero h1 {
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--sotet-szurke);
    font-style: italic;
}

/* Szekciók távolsága                                              */
.content-section {
    padding-top: 100px;
    padding-bottom: 50px;
    border-top: 1px solid rgba(0, 71, 53, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 10px;
    font-size: 2.5em;
}

.section-subtitle {
    color: #777;
    font-size: 1.1em;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Times New Roman', Times, serif;
}

/* Fókuszterületek                                           */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.elegant-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 71, 53, 0.08);
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    overflow: hidden;
}

.elegant-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: var(--ud-sarga);
    transition: height 0.5s ease;
}

.elegant-card:hover {
    background: var(--feher);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 53, 0.08);
    border-color: rgba(0, 71, 53, 0.15);
}

.elegant-card:hover::before {
    height: 100%;
}

.card-icon-minimal {
    font-size: 4em;
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-weight: bold;
    color: rgba(0, 71, 53, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.elegant-card:hover .card-icon-minimal {
    color: rgba(0, 71, 53, 0.1);
    transform: scale(1.1) translate(-5px, 5px);
}

.elegant-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elegant-card-content h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: var(--ud-zold);
    letter-spacing: 0.5px;
}

.elegant-card-content p {
    color: var(--sotet-szurke);
    font-size: 16px;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 25px;
}

.elegant-link {
    text-decoration: none;
    color: var(--ud-zold);
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
}

.elegant-link:hover {
    color: var(--ud-sarga);
    transform: translateX(5px);
}

/* Képzések                                          */
.carousel-container {
    position: relative;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 15px; 
    margin: -20px -15px; 
}

.courses-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px;
    align-items: stretch; 
}

.course-card-3d {
    background: var(--feher);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    
    box-sizing: border-box; 
    flex: 0 0 calc(33.333% - 20px); 
    max-width: calc(33.333% - 20px); 
}

.course-card-3d:hover {
    transform: translateY(-8px); 
    box-shadow: var(--shadow-hard);
    border-color: var(--ud-sarga);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--feher);
    border: 1px solid rgba(0, 71, 53, 0.1);
    color: var(--ud-zold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--ud-zold);
    color: var(--feher);
    box-shadow: 0 6px 20px rgba(0, 71, 53, 0.15);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.course-badge-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.course-badge {
    background-color: var(--feher);
    color: var(--ud-zold);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'DINPro', Verdana, sans-serif;
    font-weight: bold;
    border: 1px solid var(--ud-zold);
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: block;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.course-desc {
    font-size: 16px;
    color: var(--sotet-szurke);
    flex-grow: 1;
    margin-bottom: 25px;
    line-height: 1.7;
}

.course-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    font-family: 'DINPro', Verdana, sans-serif;
    font-size: 15px;
}

.course-details li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.course-details strong {
    color: var(--ud-zold);
}

.course-price {
    font-size: 1.6em;
    color: var(--ud-zold);
    font-family: 'DINPro Bold', Verdana, sans-serif;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.course-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.course-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
}

.course-btn-small {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    font-size: 14px;
    margin-top: 0;
}

/* Tananyagok                                                */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.material-card {
    background: var(--feher);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

.material-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 71, 53, 0.05);
    color: var(--ud-zold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.material-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.material-info p {
    color: var(--sotet-szurke);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.material-link {
    text-decoration: none;
    color: var(--ud-sarga);
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: color 0.3s ease;
}

.material-link:hover {
    color: var(--ud-zold);
}

/* Fordító                                     */
.translator-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 60px;
    border: 1px solid rgba(0,0,0,0.03);
}

.translator-text {
    flex: 1;
}

.translator-desc {
    font-size: 17px;
    color: var(--sotet-szurke);
    line-height: 1.8;
    margin-bottom: 30px;
}

.translator-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.translator-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--sotet-szurke);
}

.translator-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ud-zold);
    font-weight: bold;
}

.translator-graphic {
    flex: 1;
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-hard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    font-family: 'Times New Roman', Times, serif;
    color: var(--ud-zold);
    position: absolute;
}

.orb-1 {
    transform: translateX(-40px) translateY(-20px);
    z-index: 2;
}

.orb-2 {
    transform: translateX(40px) translateY(20px);
    background: var(--ud-zold);
    color: var(--feher);
    z-index: 1;
}

/* k+f                                   */
.kf-section {
    position: relative;
    margin-top: 100px;
    padding: 120px 5%;
    background-image: url('kf.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.kf-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 71, 53, 0.85), rgba(0, 71, 53, 0.95)); 
    z-index: 1;
}

.kf-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--feher);
}

.kf-content h2 {
    color: var(--feher);
    font-size: 3em;
    margin-top: 0;
    margin-bottom: 25px;
}

.kf-content p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Megrendelés                                           */
.payment-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 80px 10%;
    border-radius: 12px;
    margin-top: 100px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-soft);
}

.payment-form {
    max-width: 450px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'DINPro', Verdana, sans-serif;
}

.payment-form input, .payment-form select {
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.payment-form input:focus, .payment-form select:focus {
    outline: none;
    border-color: var(--ud-zold);
}

.btn-otp {
    background-color: var(--ud-zold);
    border: 1px solid var(--ud-zold);
    cursor: pointer;
    font-size: 16px;
    border-radius: 30px;
    padding: 18px;
    color: var(--feher);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-otp:hover {
    background-color: var(--feher);
    color: var(--ud-zold);
}

footer {
    background-color: var(--ud-zold);
    color: var(--feher);
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
    position: relative;
    font-family: 'DINPro', Verdana, sans-serif;
    min-height: 120px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ud-sarga);
}

footer p {
    margin: 0 0 10px;
    font-size: 14px;
}

footer .footer-links {
    margin-bottom: 20px;
}

footer a {
    color: var(--feher);
    text-decoration: none;
    opacity: 0.8;
    margin: 0 10px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 1;
    color: var(--ud-sarga);
}

.footer-logo {
    position: absolute;
    bottom: 30px;
    right: 5%;
    height: 130px; 
    width: auto;
    object-fit: contain;
    background-color: var(--feher); 
    padding: 8px;
    border-radius: 8px; 
    box-shadow: var(--shadow-soft);
}

/* otp logok                                               */
.footer-left-logos {
    position: absolute;
    bottom: 70px;
    left: 5%;
    display: flex;
    gap: 15px;
    align-items: center;
    background-color: var(--feher);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.payment-logo {
    height: 35px; /* Állíthatod, ha nagyobbat/kisebbet szeretnél */
    width: auto;
    object-fit: contain;
}

/* Mobil                                         */
@media (max-width: 1150px) {
    .course-card-3d {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .header-container { flex-direction: column; gap: 20px; }
    .header-right-logo { justify-content: center; }
}

@media (max-width: 950px) {
    .course-card-3d {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .carousel-container {
        padding: 0 50px;
    }
    .materials-grid {
        grid-template-columns: 1fr;
    }
    .translator-container {
        flex-direction: column;
        padding: 40px;
    }
    .translator-graphic {
        height: 200px;
        margin-top: 30px;
    }
    .kf-section {
        background-attachment: scroll; 
    }
}

@media (max-width: 800px) {
    .footer-logo {
        position: static;
        margin-top: 30px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-left-logos {
        position: static;
        margin-top: 20px;
        margin-bottom: 30px;
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 600px) {
    .services { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .carousel-container { padding: 0 40px; }
    .carousel-btn { width: 35px; height: 35px; font-size: 14px; }
}

/* Scroll anim                       */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.slide-up { transform: translateY(50px); }
.slide-left { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- ÚJ CSS SZABÁLYOK A SÜTIKHEZ, KOSÁRHOZ ÉS A LÁBLÉCHEZ --- */

.cart-icon {
    transition: transform 0.3s ease;
}
.cart-icon:hover {
    transform: scale(1.15);
}

.footer-partner {
    position: absolute;
    bottom: 30px;
    right: 5%;
    text-align: center; /* Itt történt a varázslat */
}

.footer-partner span {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.footer-logo-partner {
    height: 90px;
    width: auto;
    object-fit: contain;
    background-color: var(--feher);
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    box-sizing: border-box;
    border-top: 3px solid var(--ud-zold);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 15px;
    color: var(--sotet-szurke);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'DINPro', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-decline {
    background: transparent;
    border: 2px solid #999;
    color: #666;
}

.btn-decline:hover {
    background: #999;
    color: var(--feher);
}

.btn-accept-all {
    background: var(--ud-zold);
    color: white;
}

.btn-accept-all:hover {
    background: var(--ud-sarga);
    color: #000;
}

.btn-accept-essential {
    background: transparent;
    border: 2px solid var(--ud-zold);
    color: var(--ud-zold);
}

.btn-accept-essential:hover {
    background: var(--ud-zold);
    color: white;
}

@media (max-width: 900px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-cookie {
        width: 100%;
    }
    .footer-partner {
        position: static;
        margin-top: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Fejléc újrarendezése */
/* Ezt add hozzá a @media blokkon BELÜLRE! */
    .header-container {
        position: relative !important;
    }

    nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 9999 !important;
    }
    nav.active {
        display: block !important;
    }
    
    .menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-right-elements {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    /* Túl nagy betűk kisebbre vétele */
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .kf-content h2, 
    .kf-content .hero-pre-title span {
        font-size: 2em !important; /* Felülírjuk az inline HTML stílust */
    }

    /* Gombok ne lógjanak le a képernyőről */
    .hero .btn, 
    .hero .btn-outline {
        width: 100%;
        box-sizing: border-box;
    }
}

/* --- KOSÁR IKON ÉS PIROS KARIKA --- */
.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--ud-zold);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.cart-icon:hover {
    transform: scale(1.1);
    color: var(--ud-sarga);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff4d4d; /* Piros karika */
    color: white;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- DEDIKÁLT KOSÁR OLDAL --- */
.cart-page-container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--feher);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--ud-zold);
    color: var(--sotet-szurke);
    font-family: 'DINPro Bold', Verdana, sans-serif;
    font-size: 16px;
}

.cart-table td {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-item-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--ud-zold);
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
}

.btn-remove {
    background: #ffe6e6;
    color: #ff4d4d;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-remove:hover {
    background: #ff4d4d;
    color: white;
}

.cart-summary {
    text-align: right;
    font-size: 24px;
    font-weight: bold;
    color: var(--ud-zold);
    margin-bottom: 30px;
    padding-top: 20px;
}

.empty-cart-msg {
    text-align: center;
    padding: 60px 0;
    color: var(--sotet-szurke);
}

.empty-cart-msg i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

/* --- SZÉP FELUGRÓ ÉRTESÍTÉS (TOAST) --- */
.toast-notification {
    position: fixed;
    top: 40px;             /* Felülre kerül */
    left: 50%;             /* Vízszintesen középre toljuk */
    background-color: var(--ud-zold);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;         /* Hogy biztosan a fejléc felett legyen */
    
    /* Alapból el van rejtve felfelé (-100px) ÉS középre van igazítva a saját szélességéhez képest (-50%) */
    transform: translate(-50%, -100px); 
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.toast-notification.show {
    /* Megjelenéskor marad vízszintesen középen (-50%), de függőlegesen lecsúszik az eredeti helyére (0) */
    transform: translate(-50%, 0);
    opacity: 1;
}

/* --- HAMBURGER IKON ALAPÉRTELMEZETTEN REJTVE --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ud-zold);
    cursor: pointer;
    margin-left: 15px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

/* --- MOBIL NÉZET JAVÍTÁSOK (< 768px) --- */
@media (max-width: 768px) {
    /* 1. Fejléc egyetlen sorba kényszerítése */
    .header-container {
        flex-wrap: nowrap !important; 
        justify-content: space-between !important;
    }
    
    .header-right-elements {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .hamburger { 
        display: block !important; 
        margin-left: 10px;
    }
    
    /* Menü elrejtése és stílusozása lenyílóra */
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    nav.active {
        display: block; /* Ha rányomnak a hamburgerre, megjelenik */
    }
    .menu {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    /* 2. Fókuszterületek középre húzása 1 oszlopban */
    .services {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important; /* Ez húzza középre a kártyákat */
        gap: 30px !important;
    }

    /* Kártyák maximális szélességének beállítása mobilon */
    .elegant-card {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    /* 3. Lábléc egymásba csúszásának javítása */
    footer {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 30px 20px !important;
    }
    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .footer-partner {
        position: static !important;
        margin-top: 20px !important;
        justify-content: center !important;
    }
}