/* Alap stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(20, 20, 35, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid #2d2d4a;
}

/* Header stílusok */
.header {
    padding: 40px;
    background: linear-gradient(to right, #2d2d4a, #1a1a3a);
    border-bottom: 1px solid #3a3a6a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6c63ff, #3a3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.profile-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #a0a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    color: #b0b0d0;
    font-size: 18px;
    font-weight: 300;
}

/* Social links */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: #6c63ff;
    transform: translateY(-3px);
}

/* Main content */
.main-content {
    padding: 40px;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #6c63ff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(108, 99, 255, 0.2);
}

/* Intro section */
.intro-content {
    background: rgba(40, 40, 60, 0.3);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #6c63ff;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #d0d0f0;
    line-height: 1.8;
}

.intro-content strong {
    color: #8a84ff;
    font-weight: 600;
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card {
    background: rgba(40, 40, 60, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: #6c63ff;
    background: rgba(50, 50, 80, 0.4);
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.project-card:nth-child(1) .project-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

.project-card:nth-child(2) .project-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.project-card:nth-child(3) .project-icon {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
}

.project-header h3 {
    font-size: 22px;
    color: #ffffff;
    flex-grow: 1;
}

.project-role {
    background: rgba(108, 99, 255, 0.2);
    color: #8a84ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.project-description {
    color: #b0b0d0;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
    flex-grow: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(108, 99, 255, 0.2);
    color: #8a84ff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 99, 255, 0.3);
    margin-top: auto;
}

.project-link:hover {
    background: rgba(108, 99, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

/* Contact section */
.contact-content {
    background: rgba(40, 40, 60, 0.3);
    padding: 30px;
    border-radius: 15px;
}

.contact-content > p {
    color: #d0d0f0;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(50, 50, 80, 0.3);
    border-radius: 12px;
    border-left: 4px solid #6c63ff;
}

.contact-method i {
    font-size: 28px;
    color: #6c63ff;
    margin-top: 5px;
}

.contact-method h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-method p {
    color: #b0b0d0;
    font-size: 16px;
}

.contact-note {
    background: rgba(40, 40, 60, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.contact-note p {
    color: #a0a0d0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.contact-note i {
    color: #6c63ff;
}

/* Footer */
.footer {
    padding: 30px 40px;
    background: rgba(25, 25, 40, 0.8);
    border-top: 1px solid #3a3a6a;
}

.footer-content {
    text-align: center;
}

.copyright {
    color: #a0a0c0;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-note {
    color: #8080a0;
    font-size: 14px;
    font-style: italic;
}

/* Reszponzív design */
@media (max-width: 992px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .profile {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 15px;
    }
    
    .header, .main-content {
        padding: 25px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .profile-info h1 {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .header, .main-content {
        padding: 20px;
    }
    
    .intro-content,
    .contact-content,
    .project-card {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}