/* ===== Általános stílusok ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: white;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Fejléc ===== */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--dark);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #f3f4f6;
    padding: 1rem;
}

.mobile-menu a {
    padding: 0.5rem 0;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.show {
        display: flex;
    }
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #4338ca;
    padding: 1rem;
}

.mobile-menu a {
    padding: 0.5rem 0;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu.show {
        display: flex;
    }
}
/* ===== Hero rész ===== */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ===== Keresőmező ===== */
.search-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
}

.search-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: var(--primary-dark);
}

/* ===== Álláskártyák ===== */
.jobs-section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.job-company {
    color: var(--gray);
    margin-bottom: 15px;
    display: block;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 14px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-description {
    margin-bottom: 20px;
    color: var(--dark);
}

.job-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
}

/* ===== Statisztikák ===== */
.stats-section {
    background: var(--light);
    padding: 60px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.stat-item {
    padding: 0 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
}

/* ===== Lábléc ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* ===== Reszponzív design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-button {
        padding: 15px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .company-card {
        background: white;
        border-radius: 10px;
        padding: 25px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .company-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .company-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    .company-name {
        font-size: 22px;
        font-weight: 700;
        color: #1e293b;
    }
    .company-positions {
        background: #4f46e5;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 14px;
    }
    .company-website {
        color: #4f46e5;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 10px;
    }
    .company-website:hover {
        text-decoration: underline;
    }
    .company-description {
        color: #64748b;
        line-height: 1.7;
    }
    .view-jobs {
        display: inline-block;
        margin-top: 15px;
        padding: 8px 20px;
        background: #4f46e5;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 600;
        transition: background 0.3s;
    }
    .view-jobs:hover {
        background: #4338ca;
    }
    /* Regisztrációs űrlap stílusai */
    .auth-section {
        padding: 60px 0;
        display: flex;
        justify-content: center;
    }

    .auth-card {
        background: white;
        border-radius: 10px;
        padding: 40px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        width: 100%;
        max-width: 500px;
    }

    .auth-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 30px;
        text-align: center;
        color: var(--primary);
    }

    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .form-label {
        font-weight: 600;
        color: var(--dark);
    }

    .form-input, .form-select {
        padding: 12px 15px;
        border: 2px solid var(--light-gray);
        border-radius: 6px;
        font-size: 16px;
        transition: border-color 0.3s;
    }

    .form-input:focus, .form-select:focus {
        border-color: var(--primary);
        outline: none;
    }

    .btn-block {
        width: 100%;
        padding: 12px;
    }

    .auth-footer {
        margin-top: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .auth-link {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.3s;
    }

    .auth-link:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }
    /* style.css-hez adjuk hozzá */
    .dashboard-section {
        padding: 60px 0;
    }

    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .dashboard-card {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .dashboard-card h2 {
        font-size: 1.5rem;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .dashboard-card .btn {
        width: 100%;
        text-align: center;
    }
}