* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #e5e7eb;
    color: #091629;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #091629;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #091629;
    font-weight: 600;
}

/* hero - sivý  */
.hero {
    background: linear-gradient(135deg, #46060b, #4d060f);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 110px 20px 80px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.18rem;
    color: #4b5563;
    line-height: 1.7;
}

/* kontakt na mňa */
.contact {
    background: rgb(0, 0, 0);
    padding: 45px 30px;
    margin-top: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}/* Footer */
.footer {
    background-color: #557499;
    color: #1e2937;
    text-align: center;
    padding: 35px 20px;
    margin-top: 60px;
}

.footer a {
    color: #1e40af;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}/* vzdelanie */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.education-card {
    background: white;
    padding: 28px 35px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 30px;
    transition: 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.year {
    background: #64748b;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 140px;
    text-align: center;
    flex-shrink: 0;
}

.school-info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.location {
    color: #64748b;
    font-weight: 500;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
    min-height: 160px;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.language-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.flag {
    font-size: 4.5rem;
    margin-bottom: 18px;
    display: block;
}

.level {
    color: #64748b;
    font-weight: 600;
    margin-top: 10px;
}
/* moje silné stránky */
.strengths-table-container {
    max-width: 1000px;
    margin: 0 auto;
}

.strengths-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.strengths-table th {
    background: #f1f5f9;
    padding: 22px;
    font-size: 1.35rem;
    text-align: center;
}

.strengths-table td {
    padding: 22px 28px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.strengths-table tr:last-child td {
    border-bottom: none;
}

.description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    display: block;
    margin-top: 6px;
}
/* moje hodnoty a záľuby */
.values-content {
    max-width: 900px;
    margin: 0 auto;
}

.values-text {
    background: white;
    padding: 28px 35px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    font-size: 1.08rem;
    line-height: 1.75;
}
/* budúcnosť */
.future-content {
    max-width: 800px;
    margin: 0 auto 60px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    line-height: 1.8;
}

.future-content p {
    margin-bottom: 18px;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.education-timeline {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.school-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.school-info {
    padding: 25px;
}

.school-info .year {
    background: #64748b;
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.school-info h3 {
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.location {
    color: #64748b;
    font-weight: 500;
}
/* galéria  */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

/* Nadpis galérie */
.gallery h2 {
    margin-bottom: 25px;
}
/* budúcnosť-galéria */

.future-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.future-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.future-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}
/* Hero with Photo */
.hero {
    background: linear-gradient(135deg, #091629, #08172c);
    color: white;
    padding: 100px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* rozlišenie 768px-1024px */
@media (max-width: 1024px) {
    .nav-links {
        font-size: 1rem;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-photo {
        width: 240px;
        height: 240px;
    }
}

/* mobily  768px) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 1rem;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        font-size: 0.95rem;
    }
    
    .nav-links a {
        margin-left: 0;
    }

    .hero {
        padding: 80px 20px 60px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-photo {
        width: 200px;
        height: 200px;
    }

    .skills-grid,
    .languages-grid,
    .future-grid,
    .gallery,
    .future-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .education-card {
        flex-direction: column;
    }

    .strengths-table {
        font-size: 0.95rem;
    }
    
    .strengths-table td,
    .strengths-table th {
        padding: 14px 16px;
    }

    .main-content {
        padding: 30px 15px;
    }
}