/* Globális beállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Főoldali konténer és szöveg blokkok */
.site-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    font-family: sans-serif;
    color: #222;
    line-height: 1.8;
}

.hero-text-block {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.hero-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    color: #111;
    text-align: center;
}

.content-body {
    color: #444;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.content-body p {
    margin-bottom: 2rem;
}

.hero-quote {
    margin: 30px 0;
    padding: 15px 20px;
    border-left: 3px solid #d4af37;
    background: #fdfaf2;
    font-style: italic;
    color: #555;
}

.hero-footer-text {
    margin: 0;
}

.contact-link {
    color: #111;
    font-weight: 500;
    text-decoration: underline;
}

/* --- Navigáció & Nagyobb Logo Trükk --- */
/* --- Navigáció & Természetes Nagyobb Logo --- */
.navbar {
    min-height: 95px; /* Biztosítja, hogy elég magas legyen a sáv a nagyobb logónak */
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Tökéletesen vízszintes középre igazítás */
    padding: 12px 4%;
    background-color: #ffffff;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

/* A logót hordozó link vagy konténer pozicionálása */
.navbar a:has(.brand-logo), 
.logo-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* A nagyobb logo, amely abszolút pozícióval nem tolja el a menüt */
.brand-logo {
    height: 90px; /* Itt állíthatod be a logó méretét (pl. 70px - 80px), amilyen nagyra szeretnéd */
    width: auto !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #d4af37;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.navbar nav ul li {
    margin-left: 0.8rem;
}

.navbar nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #d4af37;
}

/* Hamburger gomb alapértelmezésben rejtett desktopon */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #111;
    cursor: pointer;
    padding: 5px;
}

/* Alapértelmezésben a szöveges logo rejtett */
.mobile-text-logo {
    display: none;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #111;
}

/* Nyelvváltó Modul Stílus */
.na-top-language-switcher {
    display: inline-flex;
    align-items: center;
    background-color: #242424;
    padding: 4px 6px;
    border-radius: 20px;
    border: 1px solid #444;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.na-top-language-switcher a {
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
}

.na-top-language-switcher a.active {
    background-color: #d4af37;
    color: #121212 !important;
}

.na-top-language-switcher a.inactive {
    color: #888888;
}

.na-top-language-switcher a.inactive:hover {
    color: #ffffff;
}

/* Hero Szekció */
.hero {
    height: 55vh;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('https://picsum.photos/1600/900?monochrome') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #aaa;
    max-width: 700px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #d4af37;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #f3cf65;
}

/* Hitelesítő Modul / Kereső */
.auth-section {
    padding: 3rem 2rem;
    background-color: #181818;
    text-align: center;
    border-bottom: 1px solid #282828;
}

.auth-section h2 {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.auth-form {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.auth-form input[type="text"] {
    padding: 0.8rem 1rem;
    width: 320px;
    border: 1px solid #444;
    background-color: #242424;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form input[type="text"]:focus {
    outline: none;
    border-color: #d4af37;
}

.btn-search {
    padding: 0.8rem 1.8rem;
    background-color: #d4af37;
    border: none;
    color: #121212;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-search:hover {
    background-color: #f3cf65;
}

/* Galéria Grid & Kártyák */
.gallery-section {
    padding: 4rem 5%;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.art-card {
    background-color: #1e1e1e;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, border-color 0.3s;
}

.art-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.art-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.art-info {
    padding: 1.5rem;
    text-align: left;
}

.art-info h3 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.art-info .code {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background-color: #332700;
    color: #d4af37;
    border: 1px solid #d4af37;
    font-size: 0.8rem;
    border-radius: 4px;
}

.price {
    color: #4caf50;
    font-weight: bold;
}

/* Lábléc */
.site-footer {
    margin-top: auto !important;
    padding-top: 10px !important;
}

footer {
    background-color: #0d0d0d;
    text-align: center;
    padding: 1.2rem 1rem;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
    width: 100%;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #d4af37;
}

/* --- NormanArt Custom Module Classes --- */
.na-login-wrapper {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: sans-serif;
    color: #333;
}
.na-login-title {
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}
.na-alert-error {
    padding: 10px;
    background: #f8d7da;
    color: #721c24;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}
.na-alert-success {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    margin-bottom: 15px;
    border-radius: 4px;
}
.na-form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.na-form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.na-form-textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.na-form-btn {
    width: 100%;
    padding: 12px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;
}
.na-search-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.na-adatlap-wrapper {
    font-family: sans-serif;
    color: #f0f0f0;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
    background: transparent;
    border: none;
    box-shadow: none;
}
.na-main-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.na-gallery-column {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.na-main-img-box {
    width: 100%;
    height: 320px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.na-info-column {
    flex: 1 1 100%;
    width: 100%;
    color: #f0f0f0;
}
.na-spec-table {
    border-top: 1px solid #333333;
    padding-top: 12px;
    margin-bottom: 20px;
    width: 100%;
}
.na-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #222222;
}
.na-label {
    color: #aaaaaa;
    font-size: 13px;
}
.na-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
}
.na-price {
    color: #d4af37;
    font-weight: bold;
    font-size: 14px;
}
.na-description {
    font-size: 14px;
    line-height: 1.5;
    color: #cccccc;
    margin-bottom: 20px;
}
.na-awards-box {
    padding: 12px 15px;
    background: #1a1a1a;
    border-left: 3px solid #d4af37;
    font-size: 13px;
    line-height: 1.5;
    color: #dddddd;
}
.na-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: pointer;
}
.na-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}
.na-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

/* --- EGYESÍTETT MOBIL NÉZET OPTIMALIZÁCIÓK (768px alatt) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 3%;
    }
    .brand-logo {
        height: 36px;
        position: static;
        transform: none;
    }
    .mobile-menu-toggle {
        display: block !important;
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        border-bottom: 1px solid #ddd;
        padding: 20px 0;
        z-index: 2000;
    }
    .navbar nav.mobile-active {
        display: block !important;
    }
    .navbar nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .navbar nav ul li {
        margin-left: 0 !important;
    }
    .navbar nav ul li a {
        font-size: 0.75rem;
    }
    .lang-switcher-wrapper {
        margin-top: 10px;
    }
    
    /* Mobil logo váltás */
    .mobile-hidden-logo {
        display: none !important;
    }
    .mobile-text-logo {
        display: inline-block !important;
    }

    /* Adatlap és konténer igazítás mobilon */
    .site-content {
        max-width: 100% !important;
        margin: 15px 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    .na-adatlap-wrapper {
        margin: 15px auto !important;
        padding: 0 10px !important;
    }
    .na-main-container {
        gap: 15px !important;
    }
    .na-main-img-box {
        height: 250px !important;
    }
    .na-info-column {
        padding: 0 5px !important;
    }

    /* Mobilon a nagyítónál a natív zoom engedélyezése */
    .na-main-img-box img, 
    .na-gallery-column img {
        cursor: default !important;
        pointer-events: auto;
    }
}

/* Ha a részletes adatlapon nincs leírás, a gomb közvetlenül a specifikációs tábla alá záródik */
.site-content div[style*="border-top: 1px solid #333333"] + div + a,
.site-content div[style*="border-top: 1px solid #333333"] + a {
    margin-top: 5px !important;
}