* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --dark-bg: #0a0e27;
    --darker-bg: #050a1a;
    --light-text: #f0f0f0;
    --medium-text: #b0b0b0;
    --border-color: #1a2a4a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigáció */
.navbar {
    background: rgba(5, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Bemutatkozó rész */
.bemutatkozas {
    padding: 6rem 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 100%);
    position: relative;
    overflow: hidden;
}

.bemutatkozas::before {
    content: '';
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.intro-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.image-placeholder svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

/* Média rész */
.media {
    padding: 6rem 20px;
    background: var(--dark-bg);
}

.media h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.media-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.media-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.media-info {
    padding: 1.5rem;
}

.media-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.media-info p {
    color: var(--medium-text);
    font-size: 0.95rem;
}

/* Projekt rész */
.projektek {
    padding: 6rem 20px;
    background: linear-gradient(135deg, #050a1a 0%, #0a0e27 100%);
}

.projektek h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ff6b6b, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(255, 107, 107, 0.3);
}

.project-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.active {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.project-status.planning {
    background: rgba(255, 212, 61, 0.2);
    color: #ffd93d;
    border: 1px solid #ffd93d;
}

.project-status.testing{
    background: rgba(255, 212, 61, 0.2);
    color: #ff9900;
    border: 1px solid #ff9900;
}

.project-status.completed{
    background: rgba(255, 212, 61, 0.2);
    color: #0dff00;
    border: 1px solid #0dff00;
}

.project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-card p {
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-team {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.team-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Előrehaladási rész */
.elorehalalas {
    padding: 6rem 20px;
    background: var(--dark-bg);
}

.elorehalalas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #43e97b, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-container {
    margin-bottom: 6rem;
}

.progress-item {
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.progress-header h3 {
    font-size: 1.1rem;
}

.progress-percentage {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #43e97b);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.progress-description {
    color: var(--medium-text);
    font-size: 0.9rem;
}

/* Timeline */
.timeline h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.timeline-items {
    position: relative;
    padding: 2rem 0;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-marker {
    border-color: #43e97b;
    background: rgba(67, 233, 123, 0.1);
}

.timeline-item.active .timeline-marker {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-content {
    border-color: rgba(67, 233, 123, 0.3);
}

.timeline-item.active .timeline-content {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--medium-text);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 20px;
    margin-top: 4rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--medium-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-media.hidden {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 212, 255, 0.4);
    color: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-text);
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 2001;
}

/* Responsív */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
    }

    .intro-text h1 {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .media-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .timeline-items::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
        left: -5px;
    }
}
