/* style.css */

/* CSS Reset a základné nastavenia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    min-height: 100vh;
}

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

/* Header/Hero sekcia */
.hero {
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.contact-item i {
    color: rgba(255, 255, 255, 0.7);
    width: 16px;
}

/* Navigácia */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #4B5563;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #19547b;
    border-bottom-color: #19547b;
    background: rgba(25, 84, 123, 0.05);
}

/* Hlavný obsah */
.main-content {
    background: white;
    margin: 0;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #19547b, #ffd89b);
    border-radius: 2px;
}

/* O mne sekcia */
.about-content .intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.achievements h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #19547b;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.achievement-card {
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(25, 84, 123, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(25, 84, 123, 0.4);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Timeline pre skúsenosti */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #19547b, #ffd89b);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(25, 84, 123, 0.3);
}

.timeline-content {
    flex: 1;
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #19547b;
}

.timeline-content h3 {
    color: #19547b;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: #4B5563;
}

.results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.result-tag {
    background: #10B981;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Znalosti sekcia */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #19547b;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: white;
    color: #4B5563;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: #19547b;
    color: #19547b;
    transform: translateY(-2px);
}

.language-skills {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-name {
    min-width: 120px;
    font-weight: 500;
}

.language-level {
    flex: 1;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: linear-gradient(45deg, #19547b, #ffd89b);
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* Vzdelanie */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.education-item {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.education-item h3 {
    color: #19547b;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.education-degree {
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 10px;
}

.certifications h3 {
    color: #4F46E5;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateX(5px);
}

.cert-year {
    background: #19547b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.cert-name {
    font-weight: 500;
    color: #4B5563;
}

/* Osobné vlastnosti */
.personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.strength-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #19547b;
}

.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.strength-card i {
    font-size: 2.5rem;
    color: #19547b;
    margin-bottom: 20px;
}

.strength-card h3 {
    color: #1F2937;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.strength-card p {
    color: #6B7280;
    line-height: 1.6;
}

.interests {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.interests h3 {
    color: #19547b;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.interest-tag {
    background: white;
    color: #4B5563;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.interest-tag:hover {
    transform: translateY(-3px);
}

/* Kontakt sekcia */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.value-proposition {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #19547b;
}

.value-proposition h3 {
    color: #19547b;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.value-proposition ul {
    margin: 20px 0;
    padding-left: 20px;
}

.value-proposition li {
    margin-bottom: 12px;
    color: #4B5563;
    line-height: 1.6;
}

.cta-text {
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 25px;
    text-align: center;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: sticky;
    top: 100px;
}

.contact-card h3 {
    color: #1F2937;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-button.email {
    background: #19547b;
    color: white;
}

.contact-button.email:hover {
    background: #0f3c57;
    transform: translateY(-2px);
}

.contact-button.phone {
    background: #ffd89b;
    color: #19547b;
    border: 2px solid #19547b;
}

.contact-button.phone:hover {
    background: #19547b;
    color: #ffd89b;
    transform: translateY(-2px);
}

.additional-info {
    color: #6B7280;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Back to top tlačidlo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ffd89b;
    background: -webkit-linear-gradient(to right, #19547b, #ffd89b);
    background: linear-gradient(to right, #19547b, #ffd89b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(25, 84, 123, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 84, 123, 0.6);
}

/* Responzívny dizajn */
@media (max-width: 768px) {
    .name {
        font-size: 2.2rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-info {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 40px;
        gap: 15px;
    }
    
    .timeline-date {
        align-self: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .personal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card {
        position: static;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0 30px;
    }
    
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .achievement-card {
        padding: 20px 15px;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .skill-category {
        padding: 20px;
    }
    
    .contact-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Animácie */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scroll efekty */
.section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(even) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(odd) .timeline-content {
    animation: slideInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(even) .timeline-content {
    animation: slideInRight 0.8s ease forwards;
}

/* Hover efekty pre interaktivitu */
.achievement-card,
.skill-category,
.strength-card,
.education-item,
.cert-item {
    cursor: pointer;
}

/* Focus states pre prístupnosť */
.nav-link:focus,
.contact-button:focus,
.back-to-top:focus {
    outline: 2px solid #19547b;
    outline-offset: 2px;
}

/* Print štýly */
@media print {
    .navbar,
    .back-to-top,
    .footer {
        display: none;
    }
    
    .hero {
        background: #19547b !important;
        -webkit-print-color-adjust: exact;
    }
    
    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}