/* Stefan Vrtiel - Personal Presentation Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scale(1);
        opacity: 0;
    }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    min-height: 50px;
    display: flex;
    align-items: center;
}

.typing-text {
    font-weight: 500;
}

.cursor {
    font-weight: 100;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-large .arrow,
.btn-large .download {
    transition: transform 0.3s ease;
}

.btn-large:hover .arrow {
    transform: translateX(5px);
}

.btn-large:hover .download {
    transform: translateY(3px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    position: relative;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.6);
    border-right-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot-1 {
    top: 10%;
    right: 30%;
    animation-delay: 0s;
}

.dot-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 0.7s;
}

.dot-3 {
    top: 70%;
    right: 10%;
    animation-delay: 1.4s;
}

.tech-stack {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: techFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-item:nth-child(1) {
    top: -20px;
    left: -30px;
}

.tech-item:nth-child(2) {
    top: 50px;
    right: -40px;
}

.tech-item:nth-child(3) {
    bottom: 100px;
    left: -50px;
}

.tech-item:nth-child(4) {
    bottom: -20px;
    right: -20px;
}

@keyframes techFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.brand-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Courier New', monospace;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    position: relative;
}

.navbar-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: var(--transition);
    position: relative;
    display: block;
}

.navbar-nav a:hover {
    color: var(--secondary-color);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-divider {
    width: 1px;
    height: 20px;
    background: rgba(0,0,0,0.2);
    margin: 0 1rem;
}

.language-switcher {
    display: flex;
    gap: 0.25rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--secondary-color);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.logout-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3) !important;
}

.logout-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4) !important;
}

.logout-btn::after {
    display: none !important;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Better spacing and layout */
#about .card {
    transition: all 0.3s ease;
    border: none;
}

#about .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Stats grid improvements */
.stat-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact info improvements */
.contact-info .d-flex {
    transition: all 0.2s ease;
    border-radius: 8px;
}

.contact-info .d-flex:hover {
    background-color: rgba(var(--primary-color-rgb), 0.08) !important;
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    #about .card-body {
        padding: 1.5rem !important;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Skills Section */
.skill-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.skills-list .skill-item {
    transition: all 0.2s ease;
}

.skills-list .skill-item:hover {
    transform: translateX(5px);
}

.progress {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Card hover effects */
#skills .card {
    transition: all 0.3s ease;
}

#skills .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#skills .card:hover .skill-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .skill-icon {
        font-size: 2.5rem;
    }
    
    #skills .card-body {
        padding: 2rem !important;
    }
}

.skill-bar {
    width: 60%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    width: 0;
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    padding: 2rem 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15%; /* Posunuté doprava, aby bolo pod dátummi */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 0;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 15%; /* Posunuté doprava */
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.experience-date {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.experience-content:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.experience-item .row {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .experience-timeline::before {
        display: none;
    }
    
    .experience-item::before {
        display: none;
    }
    
    .experience-item {
        margin-bottom: 2rem;
    }
}

/* Chat Bot */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    word-wrap: break-word;
}

.message.user {
    align-self: flex-end;
    background: var(--secondary-color);
    color: white;
}

.message.bot {
    align-self: flex-start;
    background: #f0f0f0;
    color: var(--text-primary);
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.75rem 1rem;
    margin-right: 0.5rem;
}

.chat-input button {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/Stefan_Vrtiel_IT_Senior_Project_Manager.png') center/cover;
    opacity: 0.1;
}

.login-form {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.logo .brand-icon {
    font-size: 2rem;
    color: white;
    font-family: 'Courier New', monospace;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-logo .brand-icon {
    font-size: 3rem;
    color: white;
    font-family: 'Courier New', monospace;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        z-index: 10000;
        padding-top: 80px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        right: 0;
        pointer-events: auto;
    }
    
    /* Prevent body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    body.menu-open .navbar-menu {
        z-index: 10001 !important;
    }
    
    body.menu-open .chat-container {
        z-index: 999 !important;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 2rem 1.5rem;
        align-items: stretch;
        pointer-events: auto;
    }
    
    .navbar-nav li {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        margin-bottom: 0;
        pointer-events: auto;
    }
    
    .navbar-nav li:last-child {
        border-bottom: none;
    }
    
    .navbar-nav a {
        padding: 1rem 0;
        font-size: 1.1rem;
        display: block;
        pointer-events: auto;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    
    .navbar-nav a:hover {
        color: var(--primary-color);
    }
    
    .navbar-divider {
        height: 1px;
        width: 100%;
        margin: 1rem 0;
    }
    
    .language-switcher {
        justify-content: center;
        margin: 1rem 0;
        pointer-events: auto;
    }
    
    .language-switcher .lang-btn {
        pointer-events: auto;
        cursor: pointer;
        padding: 0.5rem 1rem;
        border: 1px solid var(--primary-color);
        background: transparent;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .language-switcher .lang-btn.active {
        background: var(--primary-color);
        color: white;
    }
    
    .language-switcher .lang-btn:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .logout-btn {
        margin-top: 1rem !important;
        text-align: center !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        color: white !important;
        font-weight: 600 !important;
        background: #dc3545 !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        display: block !important;
    }
    
    .logout-btn:hover {
        color: white !important;
        background: #c82333 !important;
    }
    
    .brand-name {
        font-size: 1rem;
        font-weight: 600;
        margin-left: 8px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        gap: 0.3rem;
    }
    
    .brand-icon {
        font-size: 1.2rem;
    }
    
    /* Experience timeline mobile adjustments */
    .experience-timeline::before {
        display: none;
    }
    
    .experience-item::before {
        display: none;
    }
    
    .experience-item {
        margin-bottom: 2rem;
    }
    
    .chat-window {
        width: 90vw;
        right: 5vw;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hero Section Mobile Specific */
    .hero {
        padding: 120px 0 30px;
        text-align: center;
    }
    
    .hero .row {
        flex-direction: column-reverse;
    }
    
    .hero .col-6 {
        flex: 0 0 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        justify-content: center;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: none;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .profile-dots {
        width: 300px;
        height: 300px;
    }
    
    .tech-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .tech-item:nth-child(1) {
        top: -10px;
        left: -20px;
    }
    
    .tech-item:nth-child(2) {
        top: 30px;
        right: -30px;
    }
    
    .tech-item:nth-child(3) {
        bottom: 80px;
        left: -40px;
    }
    
    .tech-item:nth-child(4) {
        bottom: -10px;
        right: -10px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e0e0e0;
        --text-secondary: #b0b0b0;
    }
}

/* Skills Section with Hero Background */
.skills-hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.skills-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.skills-hero-bg .container {
    position: relative;
    z-index: 2;
}

/* Skills particles animation */
.skills-hero-bg .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.skills-hero-bg .particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: skillsParticleFloat 8s ease-in-out infinite;
}

@keyframes skillsParticleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scale(1);
        opacity: 0;
    }
}

/* Skills shapes animation */
.skills-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.skills-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: skillsShapeFloat 8s ease-in-out infinite;
}

.skills-shapes .shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 15%;
    animation-delay: 1s;
}

.skills-shapes .shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 25%;
    animation-delay: 3s;
}

.skills-shapes .shape-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 75%;
    animation-delay: 5s;
}

@keyframes skillsShapeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* White/transparent text for skills section */
.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Contact Section Layout Fix */
#contact .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

#contact .col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    #contact .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Contact Form Styling */
#contact .form-control {
    border: 2px solid #eee !important;
    border-radius: 8px !important;
    background-color: white !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

#contact .form-control:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
    outline: none !important;
}

#contact .form-control:hover {
    border-color: #ccc !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

#contact .form-label {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

/* Comprehensive Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Section Mobile - Kompletná mobilná optimalizácia */
    .hero {
        padding: 2rem 0 4rem 0;
        min-height: 75vh;
        position: relative;
        overflow: hidden;
    }
    
    .hero .container {
        padding: 0 1rem;
    }
    
    .hero .row {
        flex-direction: column;
        text-align: center;
    }
    
    .hero .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .hero .col-6:first-child {
        order: 2;
    }
    
    .hero .col-6:last-child {
        order: 1;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Hero Badge */
    .hero-badge {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero Title */
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .gradient-text {
        font-size: 2.2rem !important;
    }
    
    /* Hero Subtitle */
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        line-height: 1.4 !important;
    }
    
    /* Hero Description */
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Hero Stats */
    .hero-stats {
        margin-bottom: 2rem !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    
    .hero-stats .stat {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
        margin-top: 0.25rem !important;
    }
    
    /* Hero CTA Buttons - vedľa seba */
    .hero-cta {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 2rem !important;
        flex-wrap: wrap !important;
    }
    
    .hero-cta .btn {
        flex: 1 !important;
        min-width: 140px !important;
        max-width: 170px !important;
        padding: 12px 16px !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        border-radius: 25px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
    
    .hero-cta .btn .arrow,
    .hero-cta .btn .download {
        margin-left: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Hero Social Links */
    .hero-social {
        display: flex !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin-bottom: 3rem !important;
    }
    
    .hero-social .social-link {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(102, 126, 234, 0.1) !important;
        color: var(--primary-color) !important;
        transition: all 0.3s ease !important;
    }
    
    .hero-social .social-link:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateY(-2px) !important;
    }
    
    /* Scroll Down Indicator */
    .hero-scroll {
        position: absolute !important;
        bottom: 1rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        animation: bounce 2s infinite !important;
    }
    
    .hero-scroll .scroll-icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        background: var(--primary-color) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 1.3rem !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    }
    
    .hero-scroll .scroll-icon:hover {
        background: var(--secondary-color) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    }
    
    /* Hero Visual */
    .hero-visual {
        margin-top: 3rem;
    }
    
    .profile-container {
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .profile-image {
        width: 250px !important;
        height: 250px !important;
    }
    
    .profile-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
    
    /* Animations */
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(-10px);
        }
        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }
    
    /* About Section Mobile */
    #about .row {
        flex-direction: column;
    }
    
    #about .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    #about .card {
        margin-bottom: 2rem;
    }
    
    #about .card-body {
        padding: 1.5rem !important;
    }
    
    .stat-item {
        text-align: center;
        padding: 1rem 0;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    /* Professional Highlights Mobile */
    .highlight-item {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .highlight-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .highlight-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Skills Section Mobile */
    #skills {
        padding: 3rem 0;
    }
    
    #skills .container {
        padding: 0 1rem;
    }
    
    #skills .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    #skills .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 0 !important;
    }
    
    #skills .card {
        margin-bottom: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    }
    
    #skills .card-body {
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Skills Header */
    #skills .text-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    #skills .text-center h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #skills .text-center p {
        font-size: 1rem !important;
        max-width: 90% !important;
    }
    
    /* Skill Icon and Title */
    .skill-icon {
        font-size: 2.5rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .card-body .text-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 1.5rem !important;
    }
    
    .card-body .text-center h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    
    /* Skills List */
    .skills-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .skill-item {
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .skill-item .d-flex {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .skill-item .fw-medium {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }
    
    .skill-item .text-muted {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }
    
    /* Progress Bars */
    .progress {
        height: 6px !important;
        border-radius: 3px !important;
        background-color: rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
    }
    
    .progress-bar {
        border-radius: 3px !important;
        transition: width 0.6s ease !important;
    }
    
    /* Experience Section Mobile */
    #experience {
        padding: 3rem 0;
    }
    
    #experience .container {
        padding: 0 1rem;
    }
    
    #experience .text-center {
        margin-bottom: 2rem !important;
    }
    
    #experience .text-center h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #experience .text-center p {
        font-size: 1rem !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
    
    .experience-timeline {
        padding: 1rem 0;
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    /* Timeline Items - oba typy */
    .experience-item,
    .timeline-item {
        margin-bottom: 0 !important;
        padding: 0 !important;
        border-left: none !important;
        position: relative !important;
        width: 100% !important;
    }
    
    .experience-item .row,
    .timeline-item .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin: 0 !important;
    }
    
    .experience-item .col-lg-3,
    .timeline-item .col-lg-3,
    .experience-item .col-lg-9,
    .timeline-item .col-lg-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }
    
    /* Date containers */
    .experience-date,
    .timeline-date {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 8px !important;
        text-align: center !important;
        font-weight: 600 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .experience-date small,
    .timeline-date small {
        font-size: 0.8rem !important;
        margin-top: 0.25rem !important;
        opacity: 0.9 !important;
    }
    
    /* Content cards */
    .experience-content,
    .timeline-content {
        border-radius: 12px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        margin-bottom: 0 !important;
    }
    
    .experience-content .card-body,
    .timeline-content .card-body {
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .experience-content h3,
    .timeline-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .experience-content h4,
    .timeline-content h4 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.4 !important;
    }
    
    .experience-content p,
    .timeline-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Lists in experience */
    .experience-content ul,
    .timeline-content ul {
        margin-top: 1rem !important;
        padding-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .experience-content li,
    .timeline-content li {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        display: flex !important;
        align-items: flex-start !important;
        margin-bottom: 0 !important;
    }
    
    .experience-content li .text-primary,
    .timeline-content li .text-primary {
        margin-right: 0.5rem !important;
        margin-top: 0.1rem !important;
        flex-shrink: 0 !important;
    }
    }
    
    .experience-description ul {
        margin-top: 1rem;
        padding-left: 1.2rem;
    }
    
    .experience-description li {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Contact Section Mobile */
    #contact {
        padding: 3rem 0;
    }
    
    #contact .row {
        flex-direction: column;
    }
    
    #contact .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    
    #contact .card-body {
        padding: 1.5rem !important;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(102, 126, 234, 0.05);
        border-radius: 8px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Form Mobile */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        padding: 12px 16px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
    }
    
    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
    }
    
    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px 24px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Chatbot Mobile - vpravo dole */
    .chat-container {
        bottom: 15px;
        right: 15px;
        width: 300px;
        max-width: calc(100vw - 30px);
        height: 350px;
        z-index: 1000;
        position: fixed;
    }
    
    .chat-toggle {
        bottom: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 999;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .chat-header {
        padding: 12px 16px;
    }
    
    .chat-header h4 {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 16px;
        max-height: 450px;
    }
    
    .chat-input-container {
        padding: 12px 16px;
    }
    
    .chat-input {
        font-size: 1rem;
        padding: 10px 12px;
    }
    
    .chat-send-btn {
        padding: 10px 12px;
    }
    
    /* General Mobile Typography */
    h1 {
        font-size: 2.2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem;
    }
    
    h4 {
        font-size: 1.2rem !important;
    }
    
    h5 {
        font-size: 1.1rem !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Container and Spacing */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .card {
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    }
    
    /* Utilities */
    .text-center {
        text-align: center !important;
        padding: 5px;
    }
    
    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: 10px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .scroll-text {
        font-size: 0.7rem !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        text-align: center !important;
    }
    
    .scroll-arrow {
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
    }
    
    .mb-1 { margin-bottom: 0.25rem !important; }
    .mb-2 { margin-bottom: 0.5rem !important; }
    .mb-3 { margin-bottom: 1rem !important; }
    .mb-4 { margin-bottom: 1.5rem !important; }
    .mb-5 { margin-bottom: 3rem !important; }
    
    .mt-1 { margin-top: 0.25rem !important; }
    .mt-2 { margin-top: 0.5rem !important; }
    .mt-3 { margin-top: 1rem !important; }
    .mt-4 { margin-top: 1.5rem !important; }
    .mt-5 { margin-top: 3rem !important; }
}

/* iOS Safari/Edge Zoom Prevention */
@supports (-webkit-touch-callout: none) {
    /* iOS specific fixes */
    .chat-input input {
        font-size: 16px !important; /* Prevents zoom on iOS */
        -webkit-appearance: none !important;
        appearance: none !important;
        border-radius: 0 !important;
        border-radius: 20px !important;
    }
    
    .chat-input input:focus {
        font-size: 16px !important; /* Maintains font size on focus */
        transform: none !important;
        zoom: 1 !important;
    }
    
    /* Prevent viewport changes when keyboard appears */
    .chat-container {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        transform: none !important;
    }
    
    /* Form inputs general iOS fix */
    input, textarea, select {
        font-size: 16px !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    
    input:focus, textarea:focus, select:focus {
        font-size: 16px !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        zoom: 1 !important;
    }
}

/* Alternative method - disable zoom completely on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    input, textarea, select {
        font-size: 16px !important;
    }
    
    .chat-input input {
        font-size: 16px !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}
