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

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: white;
    color: #1a1a1a;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: nowrap;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-top: 0;
}

nav a {
    color: #ffb02e;
    text-decoration: none;
    font-weight: bold;
}

.title-wrapper {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-bar {
    width: 0;
    height: 7px;
    background-color: #f9a825;
    margin: 0 auto 4px auto;
    transition: width 1s ease-out;
}

.section-bar.visible {
    width: 220px;
}


.cta-button {
    padding: 8px 20px;
    background-color: #ffb02e;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    color: white;
    background-color: #b36b00;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: black;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    background-image: url('kep.webp');
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-box {
    padding: 40px;
    max-width: 900px;
    color: white;
}

.intro-box h2 {
    position: relative;
    z-index: 1;
}

.intro-box h2::before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    z-index: -1;
    border-radius: 8px;
}

.intro-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-box p {
    margin-bottom: 20px;
    text-align: left;
}

.why-section {
    background-color: #ffffff;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.product-section {
    background-color: #ffffff;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.section-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 2rem;
    color: #1a1a1a;
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f9a825;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-out;
}

.hamburger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

@media (max-width: 768px) {

    #main-nav {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.35s ease-in-out, opacity 0.35s ease-in-out;
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
    }

    #main-nav.show {
        max-height: 1000px;
        opacity: 1;
    }
    header {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
        padding: 25px;
    }

    .logo {
        order: 0;
    }


    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
        margin-top: 10px;
        order: 2;
    }
    nav.show {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        margin-left: auto;
        order: 1;
        align-self: center;
    }


    .cta-button {
        display: inline-block;
        width: fit-content;
    }

    .parallax {
        background-image: url('frame_00_delay-0.01s.jpg');
        background-attachment: scroll;
        transition: background-image 0.5s ease-in-out, opacity 1s ease-in-out;
        opacity: 0;
    }

    .parallax.fade-in {
        background-image: url('frame_19_delay-0.01s.webp');
        opacity: 1;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .intro-box {
        padding: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .product-point span.force-nowrap {
        white-space: normal;
    }
}


.section-title.visible::before {
    transform: scaleX(1);
}

.why-section ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.product-section ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}


.why-point {
    margin-bottom: 12px;
    padding-left: 26px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.why-point.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-point:nth-child(1) {
    transition-delay: 0.2s;
}

.why-point:nth-child(2) {
    transition-delay: 0.4s;
}

.why-point:nth-child(3) {
    transition-delay: 0.6s;
}

.why-point:nth-child(4) {
    transition-delay: 0.8s;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.product-point {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: normal;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.product-point.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-point i.fa-circle {
    color: #ffb02e;
    font-size: 0.55rem;
    flex-shrink: 0;
    margin-right: 4px;
    display: inline-block;
    transform: translateY(1px);
}

.product-point span {
    display: inline-block;
    line-height: 1.3;
}

.product-point i.fa-circle {
    color: #ffb02e;
    font-size: 0.55rem;
    flex-shrink: 0;
    margin-right: 8px;
    display: inline-block;
    transform: translateY(1px);
}


.product-point i {
    color: #ffb02e;
    font-size: 0.55rem;
    flex-shrink: 0;
    margin-right: 4px;
    display: inline-block;
    transform: translateY(1px);
}

.product-point i.fa-circle {
    color: #ffb02e;
    font-size: 0.55rem;
    margin-right: 8px;
    display: inline-block;
    transform: translateY(1px); /* finomhangolás lefelé */
}

.product-point:nth-child(1) {
    transition-delay: 0.2s;
}

.product-point:nth-child(2) {
    transition-delay: 0.4s;
}

.product-point:nth-child(3) {
    transition-delay: 0.6s;
}

.product-point:nth-child(4) {
    transition-delay: 0.8s;
}

.product-point:nth-child(5) {
    transition-delay: 1s;
}

.product-point:nth-child(6) {
    transition-delay: 1.2s;
}

.product-point:nth-child(7) {
    transition-delay: 1.4s;
}

.product-point:nth-child(8) {
    transition-delay: 1.6s;
}

.product-point:nth-child(9) {
    transition-delay: 1.8s;
}

.product-point:nth-child(10) {
    transition-delay: 2.0s;
}

.product-point:nth-child(11) {
    transition-delay: 2.2s;
}

.product-point:nth-child(12) {
    transition-delay: 2.4s;
}


.why-point i {
    color: #ffb02e;
    margin-right: 10px;
}

footer {
    background-color: #f9a825;
    color: black;
    text-align: center;
    padding: 20px 10px;
    font-size: 1rem;
    position: relative;
}

.footer-center {
    display: inline-block;
}

.footer-link {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.fullbar {
    height: 4px;
    width: 100%;
    background-color: #f9a825;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease-out;
    flex-shrink: 0;
    flex-grow: 0;
}

.fullbar.visible {
    transform: scaleX(1);
}

.fullbar.visible {
    transform: scaleX(1);
}

@media (min-width: 769px) {
    .product-point span.force-nowrap {
        white-space: nowrap;
    }
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0 20px;
    }

    nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 25px;
        margin-top: 0 !important;
    }

    .hamburger {
        display: none !important;
    }
}

.contact-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
    background-color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form button {
    margin: 0 auto;
    padding: 10px 24px;
    background-color: #ffb02e;
    color: #1a1a1a;
    font-weight: bold;
    border: none; /* <<< ez szedi le a fekete keretet */
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #b36b00;
    color: white;
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1a1a1a;
}

.contact-info i {
    color: #ffb02e;
    font-size: 1.2rem;
}

.contact-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
}
body.contact-page .contact-section {
    margin-top: 0;
}

.hero + .contact-section {
    margin-top: 0;
}
#submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #ffb02e;
    color: white;
    font-weight: bold;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: none;
    display: none;
}

#submit-btn.loading .spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: #1a1a1a;
    border-top: 2px solid #ffb02e;
    padding: 20px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-text {
    margin-bottom: 12px;
    font-size: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cookie-options.hidden {
    display: none;
}

.cookie-options label {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cookie-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9998;
    pointer-events: all;
}

.cookie-banner .cta-button {
    border: none; /* fekete keret eltüntetése */
    cursor: pointer; /* mutatóvá teszi az egeret */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: #ffb02e;
    color: #1a1a1a;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-banner .cta-button:hover {
    background-color: #b36b00;
    color: white;
}
.cookie-banner input[type="checkbox"] {
    cursor: pointer;
}

.cookie-options-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.cookie-privacy-link {
    color: #1a1a1a;
    text-decoration: underline;
    margin-left: 8px;
}

.cookie-privacy-link:hover {
    color: #ffb02e;
}
.privacy-checkbox {
    margin: 1.5em 0 1em;
    font-size: 0.9em;
}

.privacy-checkbox input[type="checkbox"] {
    margin-right: 0.5em;
}

#captcha-and-submit {
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.cookie-settings-link {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
}

.cookie-settings-link:hover {
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 20px;
}

.blog-tile.split-tile {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid black; /* itt van a teljes keret */
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background-color: white; /* hátsó alap, ha valami kilógna */
}

.blog-tile.split-tile:hover {
    transform: translateY(-5px);
}

.tile-image {
    background-color: #fff; /* kép mögötti fehér */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 200px;
    overflow: hidden;
}

.tile-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.tile-header {
    background-color: #2a2a2a; /* ipari sötétszürke */
    padding: 16px;
}

.tile-header h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
}

.tile-body {
    background-color: lightgray;
    padding: 20px;
    flex-grow: 1;
}

.tile-body p {
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
}

.tile-readmore {
    margin-top: 16px;
    text-align: center;
}

.tile-readmore span {
    font-size: 1rem;
    font-weight: 500;
    color: #2a2a2a;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.split-tile:hover .tile-readmore span {
    color: #ffb02e;
    transform: translateX(4px);
}

.tile-readmore i {
    margin-left: 4px;
}

.language-selector {
    display: inline-block;
    margin-left: 10px;
}

@media (hover: hover) and (pointer: fine) {
    .language-selector select {
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 6px 12px;
        background-color: white;
        color: #333;
    }
}

.language-selector select {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    background-color: transparent;
    color: inherit;
}

.language-selector select:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
    color: inherit;
    text-shadow: 0 0 0 #000;
}

.why-point {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}


.why-point:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


.why-point {
    opacity: 0;
    transform: scale(0.98);
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.why-point.visible {
    opacity: 1;
    transform: scale(1);
}

.product-point i.fa-circle {
    font-size: 0.5rem;
    color: #ffb02e;
    margin-right: 10px;
    transform: translateY(1px);
}

.why-point i {
    color: #ffb02e;
    margin-right: 10px;
}


.why-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    list-style: none;
    padding-left: 0;
}

@media (max-width: 768px) {
    .why-section ul {
        grid-template-columns: 1fr;
    }
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}