* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

p {
    font-weight: 500;
}

header {
    
    background: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.burger-menu {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f1d532;
}

.hero {
    background: linear-gradient(135deg,#f1d34af1 0%,  #f18125 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding-left: 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    opacity: 1;
    pointer-events: none;
}

.hero-image img {
    width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
    position: relative;
    z-index: 2;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Orbit container and background aura */
.orbit-container {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 1;
}


/* Orbit rings */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
    will-change: transform;
}

.orbit-ring-1 {
    width: 480px;
    height: 480px;
    border: 2.5px dashed rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    animation: orbit-cw 18s linear infinite;
}

.orbit-ring-2 {
    width: 680px;
    height: 680px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    animation: orbit-ccw 26s linear infinite;
}

.orbit-ring-3 {
    width: 880px;
    height: 880px;
    border: 3px dotted rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
    animation: orbit-cw 38s linear infinite;
}

/* Orbiting circles */
.orbit-circle {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff, 0 0 30px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 255, 255, 0.6);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

.circle-1 {
    width: 26px;
    height: 26px;
    top: -13px;
    left: 50%;
    margin-left: -13px;
}

.circle-2 {
    width: 38px;
    height: 38px;
    top: 50%;
    right: -19px;
    margin-top: -19px;
}

.circle-2::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.circle-3 {
    width: 20px;
    height: 20px;
    bottom: 12%;
    left: 9%;
}

.circle-4 {
    width: 30px;
    height: 30px;
    bottom: 22%;
    right: 2%;
}

.circle-5 {
    width: 18px;
    height: 18px;
    top: 15%;
    left: 8%;
}


/* Animations */
@keyframes orbit-cw {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-ccw {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 12px #ffffff, 0 0 25px rgba(255, 255, 255, 0.85), 0 0 40px rgba(255, 255, 255, 0.5);
    }
    100% {
        transform: scale(1.2);
        box-shadow: 0 0 20px #ffffff, 0 0 45px rgba(255, 255, 255, 1), 0 0 70px rgba(255, 255, 255, 0.7);
    }
}



.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.45rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 1;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.3px;
}

.hero-btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-btn-primary:hover {
    background: #1a1a1a;
    color: #FFD700;
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    text-shadow: none;
}

.hero-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.services {
    background: linear-gradient(180deg, #232526 0%, #0a0a0a 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    width: 100%;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    width: fit-content;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, #f1d34a 0%, #f18125 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1050px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #141416;
    color: #e0e0e0;
    padding: 2.2rem 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(241, 211, 74, 0.5);
    box-shadow: 0 12px 30px rgba(241, 129, 37, 0.2), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(241, 211, 74, 0.12);
    border: 1px solid rgba(241, 211, 74, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #FFD700;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(241, 211, 74, 0.22);
    color: #f18125;
}

.service-card h3 {
    margin-bottom: 0.85rem;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a5a5a5;
    font-weight: 400;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #c5c5c5;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7), 0 0 14px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
}

.service-card:hover .service-list li {
    color: #e5e5e5;
}

.portfolio {
    background: linear-gradient(135deg, #f1d34af1 0%, #f18125 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio h2 {
    text-align: center;
    font-size: 3rem;
    width: fit-content;
    margin: 0 auto 0.75rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: unset;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.portfolio-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* ===================================================
   Portfólio Webové projekty & Stránky
   =================================================== */
.portfolio-web-section {
    margin-bottom: 4.5rem;
}

.portfolio-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portfolio-group-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.portfolio-group-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.web-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.web-card {
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.web-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.web-browser-bar {
    background: #1b1c22;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
    flex: 1;
    background: #121317;
    border-radius: 6px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    color: #888996;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: monospace;
}

.browser-address svg {
    color: #10b981;
    flex-shrink: 0;
}

.web-card-preview {
    height: 155px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
}

.preview-gradient-1 {
    background: radial-gradient(circle at 50% 40%, #3a281c 0%, #221811 65%, #120d09 100%);
    border-bottom: 1px solid rgba(201, 147, 85, 0.3);
}

.preview-gradient-1 .preview-device-icon {
    color: #e8bd88;
    text-shadow: 0 0 16px rgba(201, 147, 85, 0.6), 0 2px 8px rgba(0, 0, 0, 0.8);
    transform: rotate(-45deg);
    display: inline-block;
    transition: transform 0.3s ease;
}

.web-card:hover .preview-gradient-1 .preview-device-icon {
    transform: rotate(-30deg) scale(1.1);
    color: #f7d4aa;
}

.preview-gradient-2 {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
}

.preview-gradient-3 {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 50%, #6d28d9 100%);
}

.preview-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.preview-badge {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.preview-badge.badge-wip {
    background: rgba(245, 158, 11, 0.9);
}

.preview-device-icon {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
    display: inline-block;
}

.web-card-preview h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.web-card-body {
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.web-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.web-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
}

.web-card-body h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.web-card-body p {
    font-size: 0.92rem;
    color: #b0b2be;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.web-card-actions {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.web-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    background: linear-gradient(135deg, #f18125 0%, #f1d34a 100%);
    color: #000000;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(241, 129, 37, 0.3);
}

.web-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(241, 129, 37, 0.5);
    filter: brightness(1.06);
}

.web-action-btn svg {
    transition: transform 0.25s ease;
}

.web-action-btn:hover svg {
    transform: translateX(3px) translateY(-3px);
}

.web-action-btn.disabled {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.web-action-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

.portfolio-design-section {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 4rem;
}

.portfolio-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.7) rgba(0, 0, 0, 0.1);
    width: 100%;
}

.portfolio-gallery::-webkit-scrollbar {
    height: 8px;
}

.portfolio-gallery::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.portfolio-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.portfolio-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #18181c;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(241, 211, 74, 0.5);
    box-shadow: 0 14px 35px rgba(241, 129, 37, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    height: 240px;
    background: #18181c;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.06);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.thumb-overlay svg {
    stroke: #FFD700;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.thumb-overlay span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.75);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #FFD700;
}

.portfolio-thumb:hover .thumb-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 400;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFD700;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease, transform 0.2s ease;
}

.portfolio-link:hover {
    color: #ffae00;
    transform: translateX(4px);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    border: 2px solid #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    z-index: 5;
}

.carousel-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.carousel-btn:active {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .portfolio-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        display: none;
    }

    .portfolio-card {
        flex: 0 0 280px;
    }

    .portfolio-thumb {
        height: 200px;
    }
}

/* ===================================================
   Lightbox Modal for Fullsize Images
=================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 12, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    user-select: none;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 88vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1.25rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: rgba(24, 24, 28, 0.85);
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #000000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.lightbox-prev {
    left: 28px;
}

.lightbox-next {
    right: 28px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.65);
    }
    .lightbox-prev {
        left: 12px;
    }
    .lightbox-next {
        right: 12px;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
    }
    .lightbox-content img {
        max-width: 95vw;
        max-height: 70vh;
    }
    .lightbox-caption {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }
}

.about {
    background: linear-gradient(180deg, #232526 0%, #0a0a0a 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    width: 100%;
    position: relative;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    width: fit-content;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, #f18125 0%, #f1d34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-container {
    max-width: 1150px;
    margin: 0 auto;
    width: 100%;
}

.about-lead {
    max-width: 820px;
    margin: 0 auto 3.5rem;
    text-align: center;
    font-size: 1.15rem;
    color: #d1d1d6;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Karty v sekcii O mne */
.about-card {
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 129, 37, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.1rem;
}

.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(241, 129, 37, 0.15) 0%, rgba(241, 211, 74, 0.15) 100%);
    border: 1px solid rgba(241, 211, 74, 0.3);
    color: #f1d34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-card-header h3 {
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Časová os (Timeline) */
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.timeline-item {
    position: relative;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(241, 211, 74, 0.35);
}

.timeline-period {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1d34a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.timeline-place {
    display: block;
    font-size: 0.88rem;
    color: #a0a0a8;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #c0c0c8;
    line-height: 1.55;
}

/* Skupina certifikátov a odznakov */
.about-badges-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-mini-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1c1d22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
}

.about-mini-badge svg {
    color: #f1d34a;
    flex-shrink: 0;
}

.about-mini-badge strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
}

.about-mini-badge span {
    display: block;
    font-size: 0.75rem;
    color: #9898a2;
}

/* Technológie & Nástroje tagy */
.skills-category {
    margin-bottom: 1.4rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #a0a0a8;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 0.65rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: #1c1d22;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e5e5e8;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: rgba(241, 129, 37, 0.2);
    border-color: #f18125;
    color: #f1d34a;
    transform: translateY(-2px);
}

.skill-tag.tag-design:hover {
    background: rgba(241, 211, 74, 0.2);
    border-color: #f1d34a;
    color: #ffffff;
}

/* Záujmy a záľuby */
.hobbies-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hobby-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: #1c1d22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hobby-item:hover {
    border-color: rgba(241, 211, 74, 0.35);
    transform: translateX(3px);
}

.hobby-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.hobby-item strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.hobby-item p {
    font-size: 0.85rem;
    color: #a5a5b0;
    line-height: 1.5;
}

/* Spodný informačný pás (Lokácia & VP) */
.about-footer-info {
    margin-top: 2.8rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0.95rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-footer-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: #c0c0cb;
    font-weight: 500;
}

.about-footer-item svg {
    color: #f1d34a;
    flex-shrink: 0;
}

.contact {
    background: linear-gradient(135deg, #f18125 0%, #f1d34af1 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    width: fit-content;
    margin: 0 auto 2rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.contact-container {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Kontaktná karta vycentrovaná */
.contact-card {
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.6rem 2.2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.8rem;
    text-align: center;
    letter-spacing: -0.3px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.05rem 1.3rem;
    background: #1e1e22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    background: #25252b;
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #FFD700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.08);
    background: #FFD700;
    color: #000000;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #a0a0a8;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-item:hover .contact-value {
    color: #FFD700;
}

footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 0;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: #FFD700;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.12);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #ffae00;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.scroll-to-top:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.scroll-to-top svg {
    width: 26px;
    height: 26px;
    stroke: #000000;
    transition: transform 0.25s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .navbar {
        padding: 0.85rem 1.5rem;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .burger-bar {
        width: 100%;
        height: 3px;
        background: #FFD700;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        transform-origin: left center;
    }

    .burger-menu.open .burger-bar:nth-child(1) {
        transform: rotate(42deg) translate(2px, -1px);
    }

    .burger-menu.open .burger-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .burger-menu.open .burger-bar:nth-child(3) {
        transform: rotate(-42deg) translate(2px, 1px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(12, 12, 16, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        padding: 2rem;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 600;
        display: block;
        padding: 0.7rem 1.2rem;
        border-radius: 12px;
        color: #ffffff;
        transition: all 0.25s ease;
    }

    .nav-links a:hover {
        background: rgba(255, 215, 0, 0.12);
        color: #FFD700;
        transform: translateX(4px);
    }

    /* Hide hero photo & orbit on tablets and mobile */
    .hero-image {
        display: none !important;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 8rem 1.5rem 5rem;
        min-height: 80vh;
        gap: 0;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.85rem;
        margin-top: 2rem;
    }

    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Responzívne web projekty */
    .portfolio-web-section {
        margin-bottom: 3.5rem;
    }

    .portfolio-group-title {
        font-size: 1.6rem;
    }

    .web-projects-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 1.5rem;
    }

    .portfolio-design-section {
        padding-top: 3rem;
    }

    /* Responzívne O mne pre tablet a mobil */
    .about {
        padding: 4.5rem 1.25rem;
    }

    .about h2 {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }

    .about-lead {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.8rem 1.4rem;
    }

    .about-badges-group {
        grid-template-columns: 1fr;
    }

    .about-footer-info {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        border-radius: 20px;
        padding: 1rem 1.25rem;
        width: 100%;
        max-width: 380px;
    }

    /* Responzívny kontakt pre tablet a mobil */
    .contact {
        padding: 4.5rem 1.25rem 5rem;
    }

    .contact h2 {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }

    .contact-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.2rem;
    }

    .contact-card {
        padding: 2rem 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 1.8rem auto 0;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    /* O mne pre malé mobily */
    .about {
        padding: 3.8rem 1rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about-lead {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .about-card {
        padding: 1.5rem 1.15rem;
        border-radius: 16px;
    }

    .about-card-header h3 {
        font-size: 1.2rem;
    }

    .timeline-title {
        font-size: 0.98rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    /* Web projekty pre mobily */
    .portfolio-group-title {
        font-size: 1.4rem;
    }

    .portfolio-group-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .web-card-body {
        padding: 1.4rem 1.2rem;
    }

    .web-card-preview {
        height: 135px;
    }

    .web-action-btn {
        padding: 0.75rem 1.1rem;
        font-size: 0.9rem;
    }

    /* Kontaktná sekcia pre malé mobily */
    .contact {
        padding: 3.8rem 1rem 4.2rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .contact-card {
        padding: 1.6rem 1.15rem;
        border-radius: 18px;
    }

    .contact-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1.3rem;
    }

    .contact-items {
        gap: 0.85rem;
    }

    .contact-item {
        padding: 0.85rem 0.95rem;
        gap: 0.85rem;
        border-radius: 14px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .contact-value {
        font-size: 0.95rem;
    }

    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 360px) {
    .contact {
        padding: 3.2rem 0.75rem 3.8rem;
    }

    .contact-card {
        padding: 1.35rem 0.85rem;
    }

    .contact-item {
        padding: 0.75rem 0.75rem;
        gap: 0.65rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-value {
        font-size: 0.85rem;
    }
}
