/* ALAPBEÁLLÍTÁSOK */
:root {
    --primary: #9146ff;
    --primary-glow: rgba(145, 70, 255, 0.3);
    --bg: #0e0e12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #efeff1;
    --text-dim: #adadb8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top right, #1a1a2e, #0e0e12);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* NAVBAR - FIXÁLT ÉS KATTINTHATÓ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 80px;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* FŐ KONTÉNER */
.container {
    max-width: 1100px;
    margin: 120px auto 50px;
    padding: 20px;
    position: relative;
}

/* CÍMEK */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-desc {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 50px;
}

/* RÁCSRENDSZER (Ez hiányzott neked!) */
.project-grid, .social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* KÁRTYA STÍLUSOK */
.project-card, .social-card {
    background: var(--card-bg);
    border: 1px solid rgba(145, 70, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.3s ease;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover, .social-card:hover {
    transform: translateY(-10px);
    background: rgba(145, 70, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-img {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #1a1a1a;
}

/* RÓLAM SZEKCIÓ (Index.php) */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bio-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.wolf-circle {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary), #4e00c2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: 900;
    box-shadow: 0 0 50px var(--primary-glow);
    margin: auto;
}

/* GOMBOK ÉS TAG-EK */
.tag-container {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
}

/* ANIMÁCIÓ */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MOBIL NÉZET */
@media (max-width: 800px) {
    .about-section { grid-template-columns: 1fr; text-align: center; }
    .navbar { padding: 0 5%; }
    .nav-links { gap: 15px; font-size: 0.9rem; }
}

input[type="text"] {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px;
    border-radius: 8px;
    outline: none;
}
input[type="text"]:focus {
    border-color: var(--primary);
}

.wolf-circle img {
    max-width: 150%;
    max-height: 150%;
    /* Ha kerek képet akarsz: */
    border-radius: 50%; 
    /* Ez biztosítja, hogy ne torzuljon a kép: */
    object-fit: cover; 
}

/* --- ALAPBEÁLLÍTÁSOK --- */
:root {
    --primary: #9146ff;
    --primary-glow: rgba(145, 70, 255, 0.3);
    --bg: #0e0e12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #efeff1;
    --text-dim: #adadb8;
}

* {
    box-sizing: border-box;
}

/* STICKY FOOTER MEGOLDÁS */
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top right, #1a1a2e, #0e0e12);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column; /* Egymás alá rakja a tartalmat és a footert */
}

/* A fő tartalom kitölti a helyet, így a footer az aljára szorul */
main, .container {
    flex: 1 0 auto;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 80px;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* --- KONTÉNER ÉS CÍMEK --- */
.container {
    max-width: 1100px;
    margin: 120px auto 50px; /* A navbar miatt 120px fentről */
    padding: 20px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-desc {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 50px;
}

/* --- RÓLAM SZEKCIÓ (INDEX) --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.wolf-circle {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary), #4e00c2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px var(--primary-glow);
    margin: auto;
    position: relative;
    overflow: hidden; /* Hogy a logó ne lógjon ki */
}

.wolf-circle img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

/* --- KÁRTYÁK ÉS RÁCSOK --- */
.bio-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- ADMIN MEZŐK --- */
input[type="text"], input[type="password"] {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* --- TAG-EK --- */
.tag-container {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
}

/* --- FOOTER --- */
footer {
    flex-shrink: 0;
    text-align: center;
    padding: 40px;
    color: var(--text-dim);
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

/* --- ANIMÁCIÓK --- */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBIL NÉZET --- */
@media (max-width: 800px) {
    .about-section { grid-template-columns: 1fr; text-align: center; }
    .navbar { padding: 0 5%; }
    .nav-links { gap: 15px; font-size: 0.8rem; }
    .wolf-circle { width: 200px; height: 200px; }
}