/* Main stylesheet extracted from index.html */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Courier+Prime:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Courier Prime', monospace;
    line-height: 1.6;
    color: #e1e8ed;
    background-color: #15202b;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.hero-section {
    text-align: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d9bf0, #4a9eff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: bold;
    margin: 0 auto 30px;
    border: 3px solid #1d9bf0;
    animation: fadeIn 1s ease-out;
    position: relative;
}

.k8s-logo {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #326ce5, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.2s both;
    letter-spacing: -1px;
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid #1d9bf0;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #1d9bf0;
    }
}

.title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    color: #1d9bf0;
    margin-bottom: 30px;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.6s both;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8899a6;
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: #1d9bf0;
    transform: translateY(-2px);
    color: #1d9bf0;
}

.bio-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: #e1e8ed;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #8899a6;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    font-family: 'JetBrains Mono', monospace;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    max-width: 700px;
}

.experience-card {
    background: #1e2732;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #38444d;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out;
}

.experience-card:hover {
    background: #253341;
    border-color: #1d9bf0;
    transform: translateY(-5px);
}

.company-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1d9bf0;
    margin-bottom: 8px;
}

.role-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #8899a6;
    margin-bottom: 15px;
}

.role-description {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #e1e8ed;
    line-height: 1.6;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

.cert-card {
    background: #1e2732;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #38444d;
    transition: all 0.3s ease;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.cert-card:hover {
    background: #253341;
    border-color: #1d9bf0;
    transform: translateY(-5px);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cert-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.cert-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.cert-issuer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #8899a6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top link */
.back-to-top-link {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.top-link {
    font-family: 'JetBrains Mono', monospace;
    color: #1d9bf0;
    text-decoration: none;
    padding: 12px 25px;
    background: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-link:hover {
    background: rgba(29, 155, 240, 0.2);
    border-color: #1d9bf0;
    transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1d9bf0, #4a9eff);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.3);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #1a8cd8, #4a9eff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #0f1419;
    padding: 40px 0;
    border-top: 1px solid #38444d;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-content p {
    font-family: 'JetBrains Mono', monospace;
    color: #8899a6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-love {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.heart {
    color: #9146ff;
    font-size: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .title {
        font-size: 1.2rem;
    }
    .bio-text {
        font-size: 1rem;
    }
    .certifications {
        grid-template-columns: 1fr;
    }
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .top-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .footer-content {
        padding: 0 20px;
    }
    .footer-content p {
        font-size: 0.8rem;
    }
}
