:root {
    --primary-bg: #000000;
    --main-text: #ffffff;
    --accent: #e18a07; /* Ez a narancs */
    --secondary-1: #c6c6c6;
    --secondary-2: #f1f1f1;
    --secondary-3: #636363;
    
    /* Fontok */
    --font-heading: 'Tahoma', 'Geneva', sans-serif;
    --font-nav: 'Gill Sans', 'Gill Sans MT', 'Calibri', sans-serif;
    --font-body: 'Tahoma', 'Geneva', sans-serif;
    
    --section-padding: 80px 0;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* Hogy a fejléc ne takarja ki a címet görgetéskor */
}

body {
    background-color: var(--primary-bg);
    color: var(--main-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

p {
    margin-bottom: 1.5rem;
}

/* --- Container & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

/* --- Navigáció --- */
header {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px; 
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-container:hover .nav-logo-img {
    transform: scale(1.05);
}

/* Asztali menü */
.nav-links {
    display: flex;
    gap: 25px;
    font-family: var(--font-nav);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger ikon (mobil) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--main-text);
}

/* --- Hero Szekció (Főoldal) --- */
#hero {
    height: 90vh;
    /* KÉP HELYE: Főoldali nagy háttérkép */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./images/sfh_csoport_fun.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -80px; /* Kompenzálja a sticky header-t */
    padding-top: 80px;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4.5rem); /* Reszponzív betűméret */
    margin-bottom: 20px;
    color: var(--main-text);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--secondary-2);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Gombok --- */
.btn {
    background-color: var(--accent);
    color: var(--primary-bg);
    padding: 15px 35px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 2px;
    font-family: var(--font-nav);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    background-color: #f19b1a;
    box-shadow: 0 5px 15px rgba(225, 138, 7, 0.4);
}

/* --- Szekció Címek --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-3);
    margin: 10px auto 0;
}

/* --- Rólunk --- */
#rolunk {
    background-color: #0a0a0a;
}

.rolunk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rolunk-text p {
    color: var(--secondary-1);
    font-size: 1.05rem;
    text-align: justify;
}

/* --- Pillérek --- */
.piller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.piller-card {
    background: #111;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
    height: 100%;
}

.piller-card:hover {
    border-bottom-color: var(--accent);
    background: #181818;
    transform: translateY(-5px);
}

.piller-icon-img {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
    /* A speciális narancs filter, amit kértél */
    filter: invert(48%) sepia(89%) saturate(862%) hue-rotate(359deg) brightness(98%) contrast(93%);
    transition: transform 0.3s ease;
}

.piller-card:hover .piller-icon-img {
     transform: scale(1.1);
}

/* --- Képzések Grid --- */
#kepzesek {
    background-color: #0a0a0a;
}

.kepzes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.kepzes-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Négyzet alak */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.overlay-link {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.overlay-link h3 {
    color: var(--accent);
    font-size: 1.6rem;
    text-transform: uppercase;
    text-align: center;
    padding: 15px;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    transition: color 0.3s ease;
}

.kepzes-card:hover .overlay-link {
    background: rgba(0, 0, 0, 0.2); /* Kivilágosodik */
}

.kepzes-card:hover h3 {
    color: #fff;
    transform: scale(1.1);
}

/* --- Oktatók --- */
.oktato-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

.oktato-img-placeholder {
    width: 80px;
    height: 80px;
    background: var(--secondary-3);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Kapcsolat & Form --- */
#kapcsolat {
    background-color: #0a0a0a;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: #1c1c1c;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(225, 138, 7, 0.3);
}

/* --- Footer --- */
footer {
    padding: 50px 0;
    border-top: 1px solid #222;
    text-align: center;
    background: #050505;
    color: var(--secondary-3);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 15px;
    color: var(--secondary-1);
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* --- ALOLDALAK (Page Templates) --- */
.page-hero {
    padding: 120px 0 80px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--accent);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem; 
    color: #fff; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-top: 20px;
}

.back-btn {
    color: var(--secondary-1);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.back-btn:hover {
    color: var(--accent);
}

/* Aloldal tartalom grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 szöveg, 1/3 infó doboz */
    gap: 40px;
    align-items: start;
}

.description-column {
    background: transparent;
}

.description-column p {
    text-align: justify;
    color: var(--secondary-1);
}

.subpage-title {
    color: var(--accent);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* Idézet blokk */
blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #fff;
    background: #111;
    padding: 20px;
}

/* Követelmények doboz (jobb oldali sáv) */
.requirements-box {
    background: #111;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    border-top: 4px solid var(--accent);
    position: sticky;
    top: 100px; /* Sticky sidebar */
}

.requirements-box h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.requirements-box ul {
    margin-bottom: 25px;
}

.requirements-box li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--secondary-1);
    font-size: 0.95rem;
}

.requirements-box li::before {
    content: '■';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 3px;
}

/* --- MOBIL NÉZET (Responsive) --- */
@media (max-width: 900px) {
    .rolunk-grid, .content-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-box {
        position: static; /* Mobilon ne legyen sticky */
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Hamburger megjelenítése */
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px; /* Header alatt */
        height: calc(100vh - 80px);
        background-color: #000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding-top: 50px;
        transition: 0.4s ease;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* --- Külső információs linkek stílusa --- */
.info-link-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05); /* Halvány szürke háttér */
    border: 1px solid #444;
    color: var(--secondary-1); /* Világosszürke szöveg */
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-link-btn i {
    margin-right: 8px;
    font-size: 0.85rem;
}

.info-link-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(225, 138, 7, 0.05); /* Halvány narancs háttér effekt */
    transform: translateY(-2px);
}

/* --- Videó konténer (Youtube embedhez) --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 arány */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Táblázatok a követelmények dobozban --- */
.requirements-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.85rem;
    color: var(--secondary-1);
    background: rgba(255,255,255,0.05);
}

.requirements-box th, 
.requirements-box td {
    padding: 8px 5px;
    border: 1px solid #444;
    text-align: left;
}

.requirements-box th {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.requirements-box h4 {
    margin-top: 20px;
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}
/* Eseménynaptár Stílusok - Finomított verzió */
.event-calendar {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px; /* Kisebb távolság a sorok között */
}

.event-row {
    display: grid;
    grid-template-columns: 100px 1fr 160px; /* Kicsit keskenyebb dátum és gomb oszlop */
    background: #000;
    border: 1px solid #333;
    padding: 12px 20px; /* CSÖKKENTETT MARGÓ: fenti-alsó 12px, oldalsó 20px */
    align-items: center;
    transition: 0.3s ease;
}

.event-row:hover {
    border-color: var(--accent);
    background: #0a0a0a;
}

.event-date {
    text-align: center;
    border-right: 2px solid var(--accent);
    padding-right: 15px;
}

.event-date .day {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 1px;
}

.event-info {
    padding-left: 25px;
}

.event-info h3 {
    margin-bottom: 2px;
}

.event-info h3 a {
    color: #fff;
    font-size: 1.2rem; /* NAGYOBB BETŰ a címnek */
    font-weight: bold;
}

.event-info p {
    font-size: 1rem; /* NAGYOBB BETŰ a leírásnak */
    color: var(--secondary-1);
    margin: 0;
}

.btn-small {
    background: var(--accent);
    color: #000;
    padding: 12px 10px; /* Kicsit magasabb gomb */
    text-align: center;
    font-weight: 800; /* Extra vastag betű */
    font-size: 1rem; /* NAGYOBB BETŰ a jelentkezéshez */
    text-transform: uppercase;
    display: block;
    transition: 0.2s;
}

.btn-small:hover {
    background: #fff;
    transform: scale(1.05);
}
/* --- KAPCSOLAT ÉS MESSENGER --- */
.contact-wrapper {
    display: grid;
    /* A bal oldal (űrlap) 2-szer szélesebb legyen, mint a jobb (messenger) */
    grid-template-columns: 2fr 1fr; 
    gap: 60px; /* Megfelelő távolság a két oldal között */
    margin-top: 30px;
    align-items: start;
    
    /* Ez teszi középre az egész blokkot */
    max-width: 1000px; /* Itt állíthatod az egész szekció összélességét */
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 15px;
}

.contact-form {
    width: 100%;
}

input, textarea {
    width: 100%; /* Visszaállítva 100%-ra, hogy ne lógjon ki */
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    display: block;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0084FF;
    color: #fff !important;
    padding: 16px 20px;
    font-weight: bold;
    border-radius: 4px;
    gap: 12px;
    width: 100%;
    transition: 0.3s;
}

.messenger-btn:hover {
    background: #006acc;
    transform: translateY(-3px);
}

/* --- ÜZENETKÜLDÉS VISSZAJELZÉS (PHP-hoz) --- */
.form-status {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 2px;
    text-align: center;
    font-weight: bold;
}

.form-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.form-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* --- LÁBLÉC --- */
footer {
    padding: 40px 0;
    border-top: 1px solid #222;
    text-align: center;
    background: #050505;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--secondary-1);
    margin: 0 10px;
}

/* --- RESPONSIVE (MOBIL) --- */
@media (max-width: 900px) {
    .content-grid, .rolunk-grid, .contact-wrapper {
        grid-template-columns: 1fr;
		
    }
    .requirements-box {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        background: #000;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s;
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .event-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    .event-date {
        border-right: none;
        border-bottom: 2px solid var(--accent);
        padding: 0 0 10px;
        margin: 0 auto;
        width: 100px;
    }
}
/* --- Vezetői aláírás stílusa --- */
.lead-signature {
    padding: 40px 0;
    text-align: center;
    background-color: #000;
    border-top: 1px solid #1a1a1a;
}

.lead-signature p {
    font-size: 1 rem;
    color: var(--secondary-3);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lead-signature .leads {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #c1c1c1;
    margin-bottom: 5px;
    font-weight: bold;
}

.lead-signature .separator {
    color: var(--accent);
    margin: 0 15px;
}

.lead-signature .role {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 5px;
}

/* Mobil nézet az aláíráshoz */
@media (max-width: 600px) {
    .lead-signature .leads {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 1.2rem;
    }
    .lead-signature .separator {
        display: none;
    }
}
/* --- OKTATÓI OLDAL FRISSÍTÉS --- */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px; /* Kisebb távolság a dobozok között */
    margin-top: 30px;
}

.instructor-card {
    background: #111;
    padding: 12px 20px; /* JELENTŐSEN CSÖKKENTETT MAGASSÁG: 12px felül-alul */
    border-radius: 4px;
    border-left: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Tartalom függőlegesen középre zárva */
    transition: 0.3s;
    min-height: 100px; /* Egy minimális magasság, hogy egységesek legyenek */
}

.instructor-card h3 {
    font-size: 1.1rem; /* Kicsit kisebb név, hogy ne nyújtsa meg a dobozt */
    color: #fff;
    margin-bottom: 2px; /* Minimális hely a név alatt */
}

.instructor-card .city {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.75rem; /* Kompaktabb város kiírás */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.instructor-card .rank {
    font-size: 1rem; /* MEGNÖVELT BETŰMÉRET a rangnak */
    color: var(--secondary-2); /* Világosabb, jobban olvasható szín */
    margin-bottom: 0;
    line-height: 1.2;
}

.instructor-card:hover {
    background: #181818;
    transform: translateX(5px); /* Oldalra mozdul el lefelé helyett, elegánsabb */
}