@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
/* Alap betűtpis */


:root {
    --content-max-width: 1000px;
    --content-padding: 3rem 2rem;
    --section-gap: 4rem;

    /* Alapszínek */
    --primary: #ffffff;
    --black: #000000;
    --white: #ffffff;
    --text-light: #ffffff;
    --text-muted: #dddddd;
    --text-dark: #222222;
    --gold: #d4af37;

    /* Árnyék */
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.15);


    /* main alatti hely */
    --header-offset: 8rem;
    --header-offset-mobile: 6rem;


    /* Menü */
    --menu-bg: rgba(0, 0, 0, 0.5);
    --menu-blur: blur(12px);
    --menu-border: rgba(255, 255, 255, 0.1);
    --menu-link-color: var(--white);
    --menu-link-hover-bg: rgba(255, 255, 255, 0.1);
    --menu-link-hover-color: var(--gold);
    --menu-link-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    --menu-close-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    --menu-hover-glow: rgba(212, 175, 55, 0.6);



    /* Modal */
    --modal-bg: rgba(0, 0, 0, 0.85);
    --modal-content-bg: rgba(255, 255, 255, 0.05);
    --modal-border: rgba(255, 255, 255, 0.2);
    --modal-radius: 16px;
    --modal-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --modal-close-color: #ffffff;
    --modal-close-hover: var(--gold);
}


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

html {
    height: 100%;
}

body {
    min-height: 100vh;
    font-family: 'Marcellus', serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    color: var(--white);
}



/* WebKit alapú böngészők (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/*ANIMÁCIÓK*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

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



/* === rolunk.php === */
.service-content {
    max-width: var(--content-max-width);
    padding: var(--content-padding);
    margin-bottom: var(--section-gap);
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--black);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.7s ease both;
    font-family: 'Marcellus', serif;
    width: 100%;
    margin-top: var(--header-offset);
}


.service-content h2 {
    color: var(--gold);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.service-content h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gold);
    padding-left: 0.8rem;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.service-content p em {
    font-style: italic;
    color: var(--gold);
    font-size: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
}

.service-content ul li {
    background: var(--white);
    padding: 0.9rem 1rem;

    margin-bottom: 0.8rem;
    box-shadow: var(--shadow);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--black);
}

.service-content a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.service-content a:hover {
    color: var(--accent);
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .service-content {
        max-width: var(--content-max-width);
        padding: var(--content-padding);
        margin-bottom: var(--section-gap);
        background: var(--white);
        border: 1px solid var(--gold);
        color: var(--black);
        box-shadow: var(--shadow);
        animation: fadeInUp 0.7s ease both;
        font-family: 'Marcellus', serif;
        width: 80%;
        margin-top: var(--header-offset);
    }

    .service-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .service-content h3 {
        font-size: 1.2rem;
        border-left-width: 3px;
    }

    .service-content p {
        font-size: 1rem;
    }

    .service-content ul li {
        font-size: 1rem;
    }
}


/* === Képgaléria === */
.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-img {
    width: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.certificate-img:hover {
    transform: scale(1.05);
}

/* === Képnéző modal === */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.certificate-modal.open {
    display: flex;
}

.certificate-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}

.certificate-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
    user-select: none;
}

.nav-arrow.prev {
    left: 2rem;
}

.nav-arrow.next {
    right: 2rem;
}

/* === Mobil képnéző (image-modal) === */
.image-modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
}

.image-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    overflow-y: auto;
}

.image-modal img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* === Nyilak (mobilon lent, desktopon oldalt) === */
.modal-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.modal-prev,
.modal-next {
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.5);
    color: black;
}

@media (min-width: 769px) {
    .modal-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 3rem;
        margin-top: 0;
        pointer-events: none;
    }

    .modal-prev,
    .modal-next {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.3);
        color: black;
    }
}

footer.hidden {
    display: none !important;
}






/* --- header.php  --- */

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    margin: 0;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box;
}


.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-auth {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(145deg, #1c1c1c, #2b2b2b);

    /* vékony arany vonal felül box-shadow-dal */
    box-shadow:
        0 -0.5px 0 0 var(--gold),
        /* vékony top csík */
        0 0 0 1px rgba(212, 175, 55, 0.2),
        0 0 15px rgba(212, 175, 55, 0.3),
        inset 0 0 8px rgba(255, 255, 255, 0.05);

    color: var(--black);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    background-image: linear-gradient(to right,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}


.btn-auth i {
    font-size: 1.1rem;
    color: var(--gold);
}

.btn-auth:hover {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.4),
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 0 8px rgba(255, 255, 255, 0.08);
    color: var(--gold);
}


.logo img {
    width: 200px;
    max-width: 100%;
    height: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInLogo 0.8s ease forwards;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.6),
        /* csak lefelé vet árnyékot */
        0 0 12px rgba(212, 175, 55, 0.25),
        /* külső arany ragyogás */
        inset 0 0 4px rgba(212, 175, 55, 0.2),
        /* belső arany fény */
        inset 0 0 3px rgba(255, 255, 255, 0.1);
    /* finom világosítás */
}



.logo img:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(255, 255, 255, 0.1),
        inset 0 0 6px rgba(255, 255, 255, 0.2);
}




/* Mobilra kisebb logó */
@media (max-width: 768px) {
    .logo img {
        width: 250px;
    }
}


/* === SIDE MENU (jobbra zárt, középen igazított csempék) === */
.side-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: none;
    padding: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.side-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* === Menü gomb (jobbra felül, csak mobilon) === */
.menu-open-btn {
    background: var(--gold);
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 1rem;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1049;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    display: none;
    /* alapból rejtve */
}

/* Csak mobil nézetben legyen látható a menü gomb */
@media (max-width: 768px) {
    .menu-open-btn {
        display: block;
    }
}

/* Ha a menü nyitva van, a gomb tűnjön el */
.side-menu.open~.menu-open-btn {
    display: none !important;
}

/* === Bezáró gomb (X) a menün belül === */
.side-menu .menu-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--gold);
    font-weight: bold;
    cursor: pointer;
}

/* === Csempe-stílusú menüpontok === */
.side-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.5rem;
    width: 100%;
    max-width: 150px;
    min-height: 80px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--black);
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--gold);
    transition: all 0.25s ease;
    text-align: center;
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.6),
        0 0 12px rgba(212, 175, 55, 0.25),
        inset 0 0 4px rgba(212, 175, 55, 0.2),
        inset 0 0 3px rgba(255, 255, 255, 0.1);
}

.side-menu a:hover {
    background-color: #fce9e4;
    color: var(--gold);
    transform: translateY(-2px);
}

/* === Ikon a csempékben === */
.side-menu a i {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--gold);
}


/* --- UNIFIED AUTH BUTTONS (VISIBLE ON ALL DEVICES) --- */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.mobile-auth-buttons .btn-auth {
    width: 160px;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    text-align: center;
    justify-content: center;
}

.mobile-auth-buttons .btn-auth i {
    font-size: 1rem;
}

/* Mobil logó eltolás */
@media (max-width: 768px) {
    .side-logo-fixed {
        bottom: 20px;
    }
}

/* --- OVERLAY --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
}

.overlay.show {
    display: block;
}

@media (max-width: 768px) {
    .auth-buttons {
        display: none !important;
    }
}



.maincontainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: var(--header-offset);
    width: 100%;
    min-height: 100vh;
    z-index: 0;
    overflow: hidden;
}

/* Fix háttérképréteg */
.maincontainer::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('asztali.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -2;
    pointer-events: none;
}

/* Mobil háttérváltás + header offset */
@media (max-width: 768px) {
    .maincontainer {
        padding-top: var(--header-offset-mobile);
    }

    .maincontainer::before {
        background-image: url('mobil.png');
    }
}


/* === Csempe rendszer (alap) === */
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;

}

/* === Alap csempe megjelenés === */
.tile {
    width: 280px;
    height: 150px;
    background: var(--white);
    border: 0.5px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    box-shadow:
        0 8px 20px rgba(212, 175, 55, 0.05),
        inset 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}



.tile:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--gold);
}

/* === Animált arany nyíl === */
.tile::after {
    content: '➜';
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: absolute;
    bottom: 1rem;
}

.tile:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* === Ikon a csempében === */
.tile i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
    transition: color 0.3s, transform 0.3s;
}

/* === Animációs késleltetés === */
.tile:nth-child(1) {
    animation-delay: 0.3s;
}

.tile:nth-child(2) {
    animation-delay: 0.6s;
}

.tile:nth-child(3) {
    animation-delay: 0.9s;
}

.tile:nth-child(4) {
    animation-delay: 1.2s;
}

.tile:nth-child(5) {
    animation-delay: 1.5s;
}

/* === Link viselkedés === */
a.tile,
a.tile:visited,
a.tile:hover,
a.tile:focus,
a.tile:active {
    text-decoration: none;
}

/* === Fade animáció === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* === Mobil nézet optimalizálás === */
@media (max-width: 768px) {
    .tile-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* függőleges középre igazítás */
        align-items: center;
        /* vízszintes középre */
        padding: 6rem 1rem 2rem;
        /* felső padding a logó miatt */
        gap: 1.5rem;
        height: 100vh;
        box-sizing: border-box;
    }

    .tile {

        max-width: 260px;
        padding: 1.2rem 1rem;
        height: auto;
        font-size: 1rem;
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.08),
            inset 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .tile i {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }

    .tile::after {
        font-size: 0.9rem;
        bottom: 0.6rem;
    }
}



/* Beszédbuborék stílus */
.quote-bubble {
    position: relative;
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
}



/* Idézet szöveg */
.quote-text {
    margin: 0 0 1.5rem;
    text-align: center;
    color: var(--black);
}

/* Szerző */
.quote-author {
    text-align: right;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--gold);
}

/* Mobil reszponzivitás */
@media (max-width: 768px) {
    .quote-bubble {
        font-size: 1rem;
        padding: 1.5rem;
        max-width: 400px;
    }

    .quote-bubble::before {
        width: 20px;
        height: 20px;
        border-bottom-left-radius: 40px;
    }

    .quote-author {
        font-size: 0.9rem;
    }
}



/* === FOOTER STÍLUSOK === */

footer {
    color: var(--black, #fff);
    padding: 2rem 1rem 1rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;

    z-index: 1;
}

.footer-logo-top {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
    border-top: 0.5px solid var(--gold);
}

.footer-logo-top .footer-logo {
    max-width: 190px;
    height: auto;
    box-shadow: var(--footer-logo-shadow, 0 0 10px rgba(0, 0, 0, 0.3));
}

/* ==== Tartalomrács ==== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-column h3,
.footer-column h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-column p {
    margin: 0;
    line-height: 1.4;
}

.footer-column a {
    display: block;
    color: var(--black);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-column a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* ==== Social ikonok ==== */
.footer-column.social .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--black);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--gold);
}

/* ==== Céges logók ==== */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem auto 0;
    flex-wrap: wrap;
}

.footer-logos img {
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

/* ==== Alsó sáv ==== */
.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
    font-size: 0.75rem;
    color: var(--gold);
}

/* ==== Mobil nézet ==== */
@media (max-width: 768px) {

    footer {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: var(--white) !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column.social .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo-top {
        margin-bottom: 1rem;
    }
}



.floating-action-button {
    position: fixed;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    box-shadow:
        inset 3px 3px 6px rgba(255, 255, 255, 0.1),
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10000;
}

.floating-action-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.5),
        inset 1px 1px 4px rgba(255, 255, 255, 0.15),
        inset -1px -1px 4px rgba(0, 0, 0, 0.2);
}

/* Kosár: középen */
.floating-action-button.cart {
    bottom: 50%;
    transform: translateY(50%);
}

.floating-action-button.cart i {
    color: #c0c0c0;
    /* ezüst ikon */
}

/* Hívás: alul */
.floating-action-button.call {
    bottom: 20px;
}

.floating-action-button.call i {
    color: #4caf50;
    /* zöld ikon */
}






/* === Kapcsolati oldal konténer === */
.contact-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 6rem;
    animation: fadeInUp 0.7s ease both;
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
}

/* === Cégadatkártya (bal oszlop) === */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gold);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 480px;
    color: var(--black);
    text-align: center;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.08),
        0 0 12px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.12),
        0 0 12px rgba(212, 175, 55, 0.15);
}

.contact-card img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.custom-h3 {
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.5rem;
}

.contact-info {
    margin-top: 1rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--black);
}

.contact-card a {
    color: var(--gold);
    text-decoration: none;
}

.contact-card a:hover {
    color: #bfa134;
    text-decoration: underline;
}

/* === Űrlap (jobb oszlop) === */
.contact-form {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.12),
        0 0 0 2px rgba(212, 175, 55, 0.1);
}

.contact-form a {
    color: var(--gold);
    text-decoration: underline;
}

.contact-form a:hover {
    color: #bfa134;
}

/* === Mezők === */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: #f9f9f9;
    color: #222;
    font-size: 1rem;
    border: 1px solid #ddd;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: border 0.3s, box-shadow 0.3s;
}

input::placeholder,
textarea::placeholder {
    color: #888;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 8px var(--gold);
}

/* === Gomb === */
button[name="submit"] {
    background: var(--gold);
    color: var(--black);
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
    align-self: center;
}

button[name="submit"]:hover {
    background: var(--submit-hover);
    transform: translateY(-2px);
}

/* === Adatvédelem checkbox === */
.checkbox-wrapper-39 {
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.checkbox-wrapper-39 label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--black);
    line-height: 1.4;
}

.checkbox-wrapper-39 input[type="checkbox"] {
    accent-color: var(--gold);
    margin-top: 0.2rem;
}

/* === Navigációs gombok === */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.button {
    width: 120px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.button.waze {
    background-image: url('/pic/waze.jpg');
}

.button.maps {
    background-image: url('/pic/maps.jpg');
}

.button.waze::after,
.button.maps::after {
    background: none !important;
}

/* === Üzenet visszajelzés === */
.form-message {
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    backdrop-filter: blur(8px);
    display: none;
    width: 100%;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

/* === Mobil optimalizálás === */
@media (max-width: 768px) {

    .contact-card,
    .contact-form {
        max-width: 100%;
    }

    .contact-info {
        text-align: center;
        padding-left: 0;
    }

    .checkbox-wrapper-39 label {
        flex-direction: column;
        align-items: flex-start;
    }

    button[name="submit"] {
        width: 100%;
    }
}


/* adatvedelem.php */
.textadmin-container {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: auto;
    padding: 4rem;
    color: var(--white);
    animation: fadeInUp 0.7s ease both;
}

.textadmin-container h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: 2rem;
}

.textadmin-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.textadmin-tablink {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s, transform 0.2s;
}

.textadmin-tablink:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.textadmin-tablink.active {
    background: var(--highlight);
    color: var(--white);
}

.textadmin-tabcontent {
    display: none;
}

.textadmin-tabcontent.active {
    display: block;
}

.textadmin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.textadmin-form label {
    font-weight: 600;
    color: var(--white);
}

.textadmin-form textarea {
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 14px;
    color: var(--white);
    font-size: 1rem;
    resize: vertical;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.textadmin-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    outline: none;
}

.textadmin-form .btn-glass {
    background: var(--highlight);
    color: var(--white);
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: center;
}

.textadmin-form .btn-glass:hover {
    background: var(--submit-hover);
    transform: translateY(-4px) scale(1.02);
}




/* ===================== PDF Viewer Szakasz ===================== */

.pdf-section {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.pdf-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}


.pdf-container {
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    margin: 0 auto 2rem auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Letöltési link */
.pdf-download-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, color 0.3s ease;
}

.pdf-download-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--highlight);
}

/* Mobiloptimalizálás */
@media (max-width: 768px) {
    .pdf-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .pdf-container {
        height: 75vh;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}