* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: white; padding: 2.5rem 0; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: white; text-decoration: none; }

/* Hero */
.hero { background: #f8f9fa; padding: 4rem 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; color: #1e3c72; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; color: #666; }
.btn {
    display: inline-block;
    background: #1e3c72;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.btn:hover { background: #2a5298; }

/* Projects */
.projects { padding: 4rem 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #1e3c72; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-5px); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-content { padding: 1.5rem; }
.project-title { font-size: 1.3rem; margin-bottom: 0.5rem; color: #1e3c72; }
.tech-stack { color: #666; margin-bottom: 1rem; }
.tech-stack span {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 5px;
}

/* Skills */
.skills { background: #f8f9fa; padding: 4rem 0; }
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.skill-item h3 { color: #1e3c72; margin-bottom: 0.5rem; }

/* Contact */
.contact { padding: 4rem 0; text-align: center; }
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.contact-links a {
    color: #1e3c72;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.contact-links a:hover { color: #2a5298; }

footer { background: #1e3c72; color: white; text-align: center; padding: 1rem 0; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { flex-direction: column; gap: 1rem; }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;          /* space between logo a txt */
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 35px;       /* size of logo */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* Hover for all logo+text */
.logo-container:hover .logo-text,
.logo-container:hover .logo-img {
    opacity: 0.8;
}

/* === ABOUT SECTION === */
.about {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-group {
    position: relative;
}

.skill-tag {
    display: inline-block;
    background: var(--glass);
    backdrop-filter: blur(15px);
    color: var(--accent-primary);
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.1);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    transform: translateX(8px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .skills-list { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .skill-tag { margin: 0.5rem; }
}

/* Kontakt */
.contact-hero {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-secondary);
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.contact-section { padding: 6rem 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item a {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 15px var(--accent-secondary);
}

.nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

/* Mobile */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
