/* --- 1. ALAPOK ÉS TYPOGRAPHY --- */
* { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    background-color: #1a0131;
    color: #f1e4c0;
    font-family: 'Lora', serif;
    overflow-x: hidden;
}

/* --- 2. FEJLÉC RENDSZER --- */
header {
    background: url('fejlec_hatter.jpg') no-repeat center center/cover;
    height: 300px;
    position: relative;
    border-bottom: 3px solid #ffd700;
}

.header-overlay {
    background: rgba(46, 1, 82, 0.6);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header h1 {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    text-shadow: 2px 2px 15px #000;
    font-size: 1.8rem;
    margin: 0;
}

/* --- 3. MENÜ RENDSZER (PC ÉS MOBIL) --- */
.hamburger {
    display: none; 
    position: absolute;
    left: 20px;
    bottom: 15px;
    font-size: 35px;
    color: #ffd700;
    cursor: pointer;
    z-index: 1001;
}

.side-nav {
    height: 100%; width: 280px;
    position: fixed; z-index: 2000;
    top: 0; left: -280px;
    background-color: #1a0131;
    border-right: 2px solid #ffd700;
    transition: 0.4s ease;
    padding-top: 60px;
}

.side-nav.open { left: 0; }
.side-nav ul { list-style: none; padding: 0; }
.side-nav ul li { padding: 15px 30px; border-bottom: 1px solid rgba(255,215,0,0.1); }
.side-nav ul li a { text-decoration: none; color: #ffd700; font-family: 'Cinzel', serif; font-size: 20px; display: block; }

#menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1500; }
#menu-overlay.active { display: block; }
.close-btn { position: absolute; top: 10px; right: 25px; font-size: 40px; color: #ffd700; cursor: pointer; }

/* PC Nézet (769px felett) */
@media (min-width: 769px) {
    .hamburger { display: none !important; }
    .side-nav {
        position: absolute;
        left: 0; top: auto; bottom: 0;
        width: 100%; height: auto;
        background: rgba(0,0,0,0.8);
        border-right: none;
        padding-top: 0;
    }
    .side-nav ul { display: flex; justify-content: center; margin: 0; }
    .side-nav ul li { border-bottom: none; padding: 10px 20px; }
    .side-nav ul li a { font-size: 16px; font-weight: bold; }
    .close-btn { display: none; }
}

/* Mobil Nézet (768px alatt) */
@media (max-width: 768px) {
    header { height: 250px; }
    header h1 { font-size: 1.6rem; }
    .hamburger { display: block; }
    /* Galéria képek mobilon legyenek magasabbak, hogy ne vágja le az arcot */
    .img-container img { height: 350px !important; } 
    .gallery { grid-template-columns: 1fr !important; }
}

/* --- 4. TARTALMI ELEMEK --- */
.dzsin-keret {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: #2e0152;
    border: 8px double #ffd700;
    border-radius: 50px 5px 50px 5px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.status-box {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff4444;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); }
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: rgba(255, 215, 0, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 3px solid #ffd700;
}

.service-item h3 {
    color: #ffd700;
    border-bottom: 1px solid #ffd700;
    padding-bottom: 5px;
    margin-top: 0;
}

/* Galéria képek beállítása */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.img-container img {
    width: 100%;
    height: 280px; /* PC-n kicsit magasabb az elegancia miatt */
    object-fit: cover;
    object-position: top center; /* Arcokra fókuszál */
    border: 2px solid #ffd700;
    cursor: pointer;
    transition: transform 0.3s;
}

.img-container span {
    display: block;
    text-align: center;
    color: #ffd700;
    margin-top: 8px;
    font-family: 'Cinzel', serif;
}

/* --- 5. LIGHTBOX (NAGYÍTÁS) - EZ HIÁNYZOTT! --- */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border: 3px solid #ffd700;
}

/* --- 6. EGYÉB ELEMEK (VIDEO, KONTAKT, FOOTER) --- */
.contact-strip {
    background: #ffd700;
    color: #1a0131;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    margin-top: 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-card { background: #000; border: 2px solid #ffd700; border-radius: 10px; overflow: hidden; }

.thumbnail-container {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    display: flex; justify-content: center; align-items: center;
}

.thumbnail-container img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }

.play-button {
    position: absolute;
    width: 60px; height: 60px;
    background: rgba(255, 215, 0, 0.8);
    color: #1a0131;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 30px; z-index: 10;
}

footer {
    background: #000;
    text-align: center;
    padding: 20px;
    border-top: 2px solid #ffd700;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .services { grid-template-columns: 1fr; }
    .dzsin-keret { padding: 20px; }
}

/* --- BEMUTATKOZÁS STÍLUSA --- */
.bemutatkozas-tartalom {
    line-height: 1.8; /* Jobb olvashatóság */
    text-align: justify; /* Sorkizárt szöveg az elegancia miatt */
    font-size: 1.1rem;
}

.intro-text {
    font-size: 1.3rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
}

.info-block {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #ffd700;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
}

.bemutatkozas-tartalom p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .bemutatkozas-tartalom {
        text-align: left; /* Mobilon a sorkizárt néha csúnya réseket hagy */
    }
}

/* --- TANFOLYAMOK EXTRA --- */
.tanfolyam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tanfolyam-tartalom ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.tanfolyam-tartalom ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #f1e4c0;
}

.tanfolyam-tartalom ul li::before {
    content: "✦"; /* Misztikus csillag a pontok helyett */
    position: absolute;
    left: 0;
    color: #ffd700;
}

@media (max-width: 768px) {
    .tanfolyam-grid {
        grid-template-columns: 1fr;
    }
}

/* --- IGAZ TÖRTÉNETEK KÁRTYÁK --- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.story-card {
    background: rgba(46, 1, 82, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-decoration: none; /* Eltünteti a link aláhúzást */
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.story-card:hover {
    background: rgba(46, 1, 82, 0.8);
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.story-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.story-content h3 {
    margin: 0 0 10px 0;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
}

.story-content p {
    margin: 0 0 15px 0;
    color: #f1e4c0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.read-more {
    font-size: 0.85rem;
    color: #ffd700;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobil nézet */
@media (max-width: 600px) {
    .story-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* --- CIKK MEGJELENÍTÉS --- */
.cikk-tartalom {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
}

.cikk-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #ffd700;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.cikk-cim {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: center;
}

.lead {
    font-size: 1.2rem;
    font-style: italic;
    color: #f1e4c0;
    background: rgba(255, 215, 0, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #ffd700;
}

.cikk-szoveg p {
    margin-bottom: 20px;
    text-align: justify;
}

blockquote {
    font-size: 1.4rem;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    border-top: 1px double #ffd700;
    border-bottom: 1px double #ffd700;
}

.szerzo {
    font-weight: bold;
    text-align: right;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 10px;
}

.vissza-gomb {
    margin-top: 50px;
    text-align: center;
}

@media (max-width: 768px) {
    .cikk-cim { font-size: 1.5rem; }
    .cikk-info { flex-direction: column; gap: 5px; }
}


.tanacs-doboz {
    background: rgba(255, 215, 0, 0.1);
    border: 1px dashed #ffd700;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    font-style: italic;
    position: relative;
}

.tanacs-doboz::before {
    content: "💡";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #1a0131;
    padding: 0 10px;
    font-size: 1.5rem;
}

.cikk-szoveg em {
    color: #ffd700;
    font-size: 1.1rem;
}

.uzenet-panel {
    background: rgba(46, 1, 82, 0.6);
    border: 1px solid #ffd700;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.uzenet-panel h3 {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.uzenet-panel ul {
    list-style: none;
    padding: 0;
}

.uzenet-panel ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.uzenet-panel ul li::before {
    content: "🕯️";
    position: absolute;
    left: 0;
}

.uzenet-panel strong {
    color: #ffd700;
}

/* --- SZELLEMEK OLDAL EXTRA --- */
.eset-blokk {
    background: rgba(255, 215, 0, 0.03);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.eset-blokk h3 {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid #ffd700;
    padding-bottom: 10px;
    margin-top: 0;
}

.misztikus-elvalaszto {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(255,215,0,0.75), rgba(0,0,0,0));
    margin: 50px 0;
}

.vészjelzés {
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid #ff4444;
    padding: 20px;
    border-radius: 10px;
    color: #f1e4c0;
    margin: 20px 0;
    font-style: italic;
    animation: flash 3s infinite;
}

@keyframes flash {
    0% { border-color: #ff4444; }
    50% { border-color: #ffd700; }
    100% { border-color: #ff4444; }
}

.specialis-datums-kiemeles {
    text-align: center;
    background: rgba(46, 1, 82, 0.8);
    border: 2px solid #ffd700;
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.datum-fokusz {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .datum-fokusz { font-size: 1.8rem; }
}

.figyelmeztetes-box {
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.3);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.figyelmeztetes-box h4 {
    color: #ff4444;
    font-family: 'Cinzel', serif;
    margin-top: 0;
}

.figyelmeztetes-box ul {
    list-style: none;
    padding: 0;
}

.figyelmeztetes-box ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.figyelmeztetes-box ul li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #ff4444;
}

/* --- VENDÉGKÖNYV EXTRA STÍLUSOK --- */
.guestbook-actions {
    text-align: center;
    margin-bottom: 40px;
}

.write-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #ffd700;
    color: #1a0131;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.write-btn:hover {
    background: #1a0131;
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.guestbook-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.guestbook-card {
    background: rgba(46, 1, 82, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.05);
}

.guestbook-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(46, 1, 82, 0.6);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.guestbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.guestbook-name {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guestbook-name::before {
    content: "🔮";
    font-size: 1rem;
}

.guestbook-date {
    font-size: 0.85rem;
    color: rgba(241, 228, 192, 0.6);
    font-style: italic;
}

.guestbook-message {
    line-height: 1.6;
    color: #f1e4c0;
    text-align: justify;
}

@media (max-width: 600px) {
    .guestbook-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .guestbook-message {
        text-align: left;
    }
}