@import url('https://fonts.googleapis.com/css2?family=VT323:wght@400&family=Inter:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}


.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.screen.active {
    display: block;
    opacity: 1;
}

.screen.transitioning-out {
    opacity: 0;
}


#boot-screen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boot-console {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding: 40px;
    background: #000000;
    border-radius: 0;
}

#boot-messages {
    height: calc(100% - 30px);
    overflow-y: auto;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #ffffff;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}


#login-screen {
    background: url('assets/images/BackgroundLogin.png') center/cover no-repeat;
    position: relative;
}

#login-screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.login-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    z-index: 10;
}

.login-icons-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.login-icons-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-time {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
}

.login-icons {
    display: flex;
    gap: 12px;
}

.login-icon {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.login-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}


.user-login-card {
    background: rgba(180, 120, 160, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 0;
    min-width: 240px;
    height: 56px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    animation: slideInUp 0.4s ease-out;
}

.user-login-card:hover {
    background: rgba(180, 120, 160, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    padding-left: 8px;
    margin: 0;
    height: 100%;
    width: 100%;
}

.user-avatar-login {
    flex-shrink: 0;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.user-name-login {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
    text-align: left;
}


.not-listed {
    position: relative;
    margin-top: 12px;
    margin-bottom: 40px;
    align-self: flex-start;
    margin-left: -120px;
}

.not-listed-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.not-listed-link:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}


.ubuntu-logo {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.ubuntu-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.ubuntu-trademark {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 300;
}

.f11-tip {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.login-system-icons {
    position: absolute;
    top: 20px;
    right: 20px;
}

.login-icon-column {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.login-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.login-icon:hover {
    opacity: 1;
}

.login-icon-img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.login-power-icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
}


#desktop-screen {
    background: url('assets/images/BackgroundDesktop.png') center/cover no-repeat;
    position: relative;
    cursor: default;
}


.login-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.login-loading-spinner.active {
    opacity: 1;
}

.login-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-left: 3px solid #e95420;
    border-radius: 50%;
    animation: loginSpin 1s linear infinite;
}

@keyframes loginSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ubuntuGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.desktop {
    height: calc(100vh - 32px); 
    position: relative;
    padding: 20px;
    margin-left: 68px; 
    z-index: 1;
}

.desktop-icons {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    cursor: default;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    padding: 10px;
    border-radius: 8px;
    position: absolute;
    max-width: 95px;
}

.desktop-icon.dragging {
    z-index: 1000;
    opacity: 0.8;
    transform: rotate(2deg);
    pointer-events: none;
}


.selection-box {
    position: absolute;
    border: 2px solid #4A90E2;
    background-color: rgba(74, 144, 226, 0.2);
    pointer-events: none;
    z-index: 999;
    display: none;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.desktop-icon:active {
    transform: scale(0.95);
}

.icon-image {
    font-size: 48px;
    margin-bottom: 8px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}


.desktop-icon[data-window="terminal"] {
    transform: translateX(8px);
}

.icon-label {
    font-size: 11px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 85px;
    word-wrap: break-word;
    font-weight: 500;
}


.ubuntu-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(24, 24, 24, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.activities-button {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.activities-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.app-menu {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.topbar-center {
    display: flex;
    align-items: center;
}

.clock {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

.clock .time {
    line-height: 1;
}

.clock .date {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.system-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator, .user-menu {
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator:hover, .user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}


.power-menu {
    position: fixed;
    top: 32px;
    right: 10px;
    width: 280px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    overflow: hidden;
}

.power-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.power-menu-content {
    padding: 0;
}

.power-menu-header {
    padding: 12px 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.power-menu-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.power-menu-options {
    padding: 8px 0;
}

.power-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    border: none;
    background: none;
    width: 100%;
}

.power-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.power-menu-item:active {
    background: rgba(255, 255, 255, 0.12);
}

.power-menu-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    flex-shrink: 0;
}

.power-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.power-menu-text {
    flex: 1;
}

.power-menu-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.power-menu-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    line-height: 1.2;
}

.indicator-img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.power-indicator .indicator-img {
    width: 12px;
    height: 12px;
}


.ubuntu-dock {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 68px;
    background: rgba(24, 24, 24, 0.85);
    backdrop-filter: blur(20px);
    padding: 40px 8px 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    z-index: 999;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.dock-item:active {
    transform: scale(0.95);
}

.dock-item.active {
    background: rgba(255, 255, 255, 0.15);
    position: relative;
}

.dock-item.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: #e95420;
    border-radius: 2px;
}

.dock-icon {
    font-size: 24px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dock-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.dock-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 4px 8px;
}

.dock-spacer {
    flex: 1;
}

.show-applications {
    margin-bottom: 8px;
}

.apps-grid {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}


.activities-overview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    animation: slideInUp 0.3s ease-out;
}

.activities-overview.hidden {
    display: none;
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: #fff;
}

.activities-header h2 {
    font-size: 24px;
    font-weight: 300;
}

.close-activities {
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-activities:hover {
    background: rgba(255, 255, 255, 0.1);
}

.activities-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 600px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.2s;
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.app-name {
    color: #fff;
    font-size: 14px;
    text-align: center;
}


#windows-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 40px);
    pointer-events: none;
}

.window {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    min-width: 500px;
    max-width: 900px;
    min-height: 400px;
    max-height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
    z-index: 100;
    display: flex;
    flex-direction: column;
}


#resume-window {
    min-width: 800px;
    max-width: 1200px;
    min-height: 700px;
    max-height: 90vh;
    width: 80vw;
    height: 85vh;
}

.window.hidden {
    display: none;
    pointer-events: none;
}

.window-header {
    background: linear-gradient(180deg, #f6f6f6 0%, #e8e8e8 100%);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    user-select: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 40px;
    border-radius: 12px 12px 0 0;
}

.window-header:hover {
    cursor: move;
}

.window-title {
    color: #2c2c2c;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    text-align: center;
}

.window-controls {
    display: flex;
    gap: 4px;
}

.window-button {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #c0c0c0;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: #333333;
    background: #e8e8e8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.window-minimize {
    background: #e8e8e8;
    border-color: #c0c0c0;
}

.window-maximize {
    background: #e8e8e8;
    border-color: #c0c0c0;
}

.window-close {
    background: #dd4a4a;
    border-color: #c03030;
    color: #ffffff;
}

.window-button:hover {
    transform: scale(1.05);
    background: #d8d8d8;
    border-color: #a0a0a0;
}

.window-close:hover {
    background: #e55555;
}

.window-content {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    color: #2c2c2c;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}


.resume-pdf-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.pdf-toolbar {
    background: #f5f5f5;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pdf-btn {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.pdf-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.pdf-viewer {
    flex: 1;
    position: relative;
    min-height: 800px;
}

.pdf-viewer embed {
    border: none;
    display: block;
}

.pdf-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}


.about-content {
    line-height: 1.6;
}

.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

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

.photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #bdc3c7;
}

.profile-info h2 {
    color: #e95420;
    margin-bottom: 5px;
}

.profile-info .title {
    color: #666;
    font-style: italic;
}

.cyberarch-logo-top {
    margin: 15px 0;
}

.cyberarch-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cyberarch-group-photo {
    flex-shrink: 0;
}

.cyberarch-logo-header {
    width: 480px;
    height: auto;
    border-radius: 8px;
}

.cyberarch-individual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-left: 5px;
    margin-top: 40px;
}

.image-caption {
    margin: 0;
    flex-shrink: 0;
    margin-right: -20px;
}

.individual-photo-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: -15px;
}

.arrow-pointer {
    font-size: 32px;
    color: #e95420;
    font-weight: bold;
    animation: pointLeft 2s ease-in-out infinite;
}

@keyframes pointLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

.individual-photo {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-caption p {
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin: 0;
}

.bio-section, .skills-section {
    margin-bottom: 25px;
}

.bio-section h3, .skills-section h3 {
    color: #e95420;
    margin-bottom: 12px;
    font-size: 18px;
}

.experience-section {
    margin-bottom: 25px;
}

.experience-section h2 {
    color: #e95420;
    margin-bottom: 15px;
    font-size: 20px;
}

.cyberarch-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e95420;
}

.cyberarch-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cyberarch-logo {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
}

.cyberarch-description {
    flex: 1;
}

.cyberarch-description p {
    margin-bottom: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cyberarch-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cyberarch-logo {
        width: 125px;
    }

    .cyberarch-images {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cyberarch-logo-header {
        width: 100%;
        max-width: 400px;
    }

    .individual-photo {
        width: 150px;
    }
}



.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.skill-item {
    background: #34495e;
    padding: 8px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    color: #ecf0f1;
}


.resume-content {
    line-height: 1.6;
}

.resume-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #34495e;
}

.resume-header h1 {
    color: #3498db;
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-info {
    color: #bdc3c7;
    font-size: 14px;
}

.resume-section {
    margin-bottom: 25px;
}

.resume-section h2 {
    color: #3498db;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #34495e;
    padding-bottom: 5px;
}

.job {
    margin-bottom: 20px;
}

.job h3 {
    color: #ecf0f1;
    font-size: 16px;
    margin-bottom: 5px;
}

.company {
    color: #bdc3c7;
    font-style: italic;
    margin-bottom: 10px;
}

.job ul {
    margin-left: 20px;
    color: #ecf0f1;
}

.job li {
    margin-bottom: 5px;
}

.education h3 {
    color: #ecf0f1;
    font-size: 16px;
    margin-bottom: 5px;
}

.education p {
    color: #bdc3c7;
    font-style: italic;
}

.resume-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.download-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    width: auto;
}

.download-btn:hover {
    background: #229954;
}


.projects-content {
    line-height: 1.6;
}

.projects-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #34495e;
}

.projects-header h2 {
    color: #3498db;
    font-size: 24px;
    margin-bottom: 10px;
}

.projects-header p {
    color: #bdc3c7;
    font-size: 16px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #34495e;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2c3e50;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-image {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.project-info h3 {
    color: #3498db;
    font-size: 18px;
    margin-bottom: 10px;
}

.project-info p {
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: #2c3e50;
    color: #3498db;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 10px;
}

.project-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.project-link:hover {
    color: #2980b9;
}


.contact-content {
    line-height: 1.6;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #34495e;
}

.contact-header h2 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-header p {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info h3, .contact-form h3 {
    color: #1a1a1a;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
    color: #004499;
}

.contact-details span {
    color: #1a1a1a;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #2c3e50;
    border-radius: 6px;
    background: #2c3e50;
    color: #ecf0f1;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.send-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    width: 100%;
}

.send-btn:hover {
    background: #229954;
}

.form-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


@media (max-width: 768px) {
    .terminal-container {
        min-width: 320px;
        max-width: 95vw;
        margin: 0 10px;
    }

    .terminal-content {
        padding: 15px;
        min-height: 250px;
    }

    .terminal-line {
        font-size: 14px;
    }

    .terminal-title {
        font-size: 12px;
    }

    .terminal-button {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .boot-console {
        font-size: 16px;
    }

    .desktop-icons {
        padding: 10px;
        grid-template-columns: repeat(auto-fill, 80px);
        gap: 15px;
    }

    .icon-image {
        font-size: 36px;
    }

    .icon-label {
        font-size: 11px;
        max-width: 85px;
    }

    .window {
        min-width: 320px;
        max-width: 95vw;
        min-height: 250px;
        max-height: 80vh;
    }

    .window-content {
        padding: 15px;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .start-menu {
        min-width: 160px;
    }

    .taskbar {
        padding: 0 8px;
    }

    .start-button {
        font-size: 13px;
        padding: 6px 12px;
    }

    .clock {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .terminal-container {
        min-width: 300px;
        max-width: 98vw;
    }

    .terminal-content {
        padding: 12px;
        min-height: 200px;
    }

    .terminal-line {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .instruction-line {
        font-size: 12px;
    }

    .terminal-button {
        width: 12px;
        height: 12px;
        font-size: 8px;
    }

    .desktop-icons {
        grid-template-columns: repeat(auto-fill, 70px);
        gap: 12px;
    }

    .icon-image {
        font-size: 32px;
    }

    .window {
        min-width: 300px;
        max-width: 98vw;
    }

    .window-header {
        padding: 10px 12px;
    }

    .window-title {
        font-size: 13px;
    }

    .window-close {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .projects-header h2,
    .contact-header h2,
    .resume-header h1 {
        font-size: 20px;
    }

    .project-card {
        padding: 15px;
    }

    .tech-stack {
        justify-content: center;
    }

    
    .boot-console {
        padding: 10px;
        max-width: 90%;
    }

    
    .start-menu {
        left: 5px;
        bottom: 45px;
    }

    
    .desktop-icon {
        padding: 5px;
        border-radius: 8px;
        min-height: 70px;
        justify-content: center;
    }

    .desktop-icon:active {
        background: rgba(255, 255, 255, 0.1);
    }

    
    .window {
        top: 5%;
        transform: translate(-50%, 0);
    }

    
    body.mobile {
        touch-action: manipulation;
    }
}


@media (min-width: 1400px) {
    .window {
        min-width: 500px;
        max-width: 900px;
        min-height: 400px;
        max-height: 700px;
    }

    .desktop-icons {
        grid-template-columns: repeat(auto-fill, 120px);
        gap: 25px;
    }

    .icon-image {
        font-size: 56px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}


.firefox-header {
    background: #1c1b22;
    color: #fbfbfe;
    padding: 0;
    border-bottom: 1px solid #42414d;
    display: flex;
    flex-direction: column;
    min-height: 80px;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 12px 12px 0 0;
}

.firefox-tabs {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 12px 12px 0 12px;
    background: #2b2a33;
    flex: 1;
    position: relative;
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.firefox-tab {
    background: #42414d;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 16px 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 240px;
    min-width: 120px;
    position: relative;
    color: #cfcfd8;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
    margin: 0;
    margin-right: auto;
}

.firefox-tab:hover {
    background: #52525e;
}

.firefox-tab.active {
    background: #1c1b22;
    color: #fbfbfe;
    margin-bottom: -1px;
    z-index: 2;
    border-bottom: 1px solid #1c1b22;
}

.tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
}

.tab-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.tab-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.15s ease;
}

.tab-close:hover {
    background: rgba(251, 251, 254, 0.1);
    opacity: 1;
}

.new-tab-button {
    background: none;
    border: none;
    color: #cfcfd8;
    font-size: 18px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.new-tab-button:hover {
    background: rgba(251, 251, 254, 0.1);
}

.firefox-controls {
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    gap: 0;
}

.firefox-controls button {
    width: 46px;
    height: 32px;
    border: none;
    background: none;
    color: #cfcfd8;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.firefox-controls button:hover {
    background: rgba(251, 251, 254, 0.1);
}

.firefox-controls .window-close:hover {
    background: #d70022;
    color: #fff;
}

.firefox-toolbar {
    background: #1c1b22;
    border-bottom: 1px solid #42414d;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.firefox-nav {
    display: flex;
    gap: 2px;
}

.nav-btn {
    background: none;
    border: none;
    color: #cfcfd8;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.nav-btn:hover {
    background: rgba(251, 251, 254, 0.1);
}

.firefox-address-bar {
    flex: 1;
    margin: 0 8px;
}

.address-bar {
    background: #42414d;
    border: 1px solid #52525e;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #cfcfd8;
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 36px;
    transition: border-color 0.15s ease;
}

.protocol {
    color: #8f8f9d;
}

.security-icon {
    margin-left: auto;
    font-size: 14px;
    color: #00d924;
}

.firefox-menu .menu-btn {
    background: none;
    border: none;
    color: #cfcfd8;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.firefox-menu .menu-btn:hover {
    background: rgba(251, 251, 254, 0.1);
}

.firefox-content {
    background: #fff;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.webpage-content {
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

.profile-section {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

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

.profile-pic .avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


#about-window {
    min-width: 800px;
    min-height: 600px;
}

#about-window .window-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}


#terminal-window {
    min-width: 700px;
    min-height: 500px;
    background: #2d2d2d;
    font-family: 'Ubuntu Mono', 'Courier New', monospace;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: linear-gradient(to bottom, #484848, #2d2d2d);
    border-bottom: 1px solid #1a1a1a;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    flex-shrink: 0;
    z-index: 10;
}

.terminal-title {
    color: #e6e6e6;
    font-size: 13px;
    font-weight: normal;
    font-family: 'Ubuntu', sans-serif;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.terminal-controls {
    display: flex;
    gap: 4px;
    order: 1; 
}

.terminal-controls .window-button {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.terminal-close {
    background: #cc575d;
    border-color: #a04045;
}

.terminal-minimize {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.terminal-maximize {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.terminal-controls .window-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.terminal-controls .terminal-close:hover {
    background: #d9585f;
}

.terminal-content {
    background: #2d2d2d;
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-body {
    flex: 1;
    padding: 16px;
    font-family: 'Ubuntu Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    color: #e6e6e6;
    background: #2d2d2d;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}


.terminal-body::-webkit-scrollbar {
    width: 12px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 6px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 6px;
    border: 2px solid #1a1a1a;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #6a6a6a;
}


.terminal-body {
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a #1a1a1a;
}

.terminal-output {
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 12px;
    font-family: 'Ubuntu Mono', monospace;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 8px;
}


.nautilus-header {
    background: #2d2d2d;
    border-bottom: 1px solid #1a1a1a;
}

.nautilus-content {
    background: #f6f5f4;
    padding: 0;
}

.nautilus-headerbar {
    background: #e1dedb;
    border-bottom: 1px solid #cdc7c2;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}

.nautilus-nav {
    display: flex;
    gap: 2px;
}

.nav-button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #3d3846;
}

.nav-button:disabled {
    color: #9a9996;
    cursor: default;
}

.nav-button:not(:disabled):hover {
    background: #deddda;
    border-color: #cdc7c2;
}

.nautilus-path {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0 12px;
}

.path-segment {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #cdc7c2;
    font-size: 13px;
    color: #3d3846;
}

.path-icon {
    font-size: 14px;
}

.nautilus-search {
    display: flex;
    gap: 2px;
}

.search-button, .view-button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #3d3846;
}

.search-button:hover, .view-button:hover {
    background: #deddda;
    border-color: #cdc7c2;
}

.nautilus-sidebar-content {
    display: flex;
    height: calc(100% - 48px);
}

.nautilus-sidebar {
    width: 160px;
    background: #faf9f8;
    border-right: 1px solid #deddda;
    padding: 8px 0;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-header {
    font-size: 11px;
    font-weight: 600;
    color: #787878;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px 4px;
    margin-bottom: 4px;
}

.sidebar-item {
    padding: 6px 16px;
    font-size: 13px;
    color: #3d3846;
    cursor: pointer;
    transition: background-color 0.15s;
}

.sidebar-item:hover {
    background: #e8e6e3;
}

.sidebar-item.active {
    background: #3584e4;
    color: #ffffff;
}

.nautilus-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.nautilus-status {
    background: #f6f5f4;
    border-bottom: 1px solid #deddda;
    padding: 8px 16px;
    font-size: 12px;
    color: #787878;
}

.nautilus-files {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    align-content: start;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s;
    text-align: center;
    max-width: 100px;
}

.file-item:hover {
    background: #e8f4fd;
}

.file-item:active {
    background: #cce8ff;
}

.file-item.selected {
    background: #4a90e2;
    color: white;
}

.file-item.selected .file-label {
    color: white;
}

.file-icon-container {
    margin-bottom: 8px;
}

.file-icon {
    width: 48px;
    height: 48px;
    display: block;
}

.file-label {
    font-size: 12px;
    color: #3d3846;
    word-wrap: break-word;
    line-height: 1.3;
    max-width: 100%;
}


.file-viewer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

.file-viewer-header {
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
    font-weight: 600;
}

.file-viewer-body {
    flex: 1;
    overflow: auto;
    padding: 16px;
}

.file-content {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #2d2d2d;
    background: transparent;
}

.terminal-line {
    margin: 0;
    padding: 0;
    display: block;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 12px;
    line-height: 1.2;
}

.terminal-output-line {
    margin: 0 0 4px 0;
    padding: 0;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 12px;
    line-height: 1.2;
    white-space: pre-wrap;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: auto;
    min-height: 20px;
}

.terminal-prompt {
    color: #4af626;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 4px;
}

.terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #e6e6e6;
    font-family: inherit;
    font-size: inherit;
    flex: 1;
    padding: 0;
    margin: 0;
    min-width: 0;
    caret-color: #e6e6e6;
}

.terminal-cursor {
    display: none;
}

@keyframes terminal-cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}


.terminal-output .text-green {
    color: #4af626;
}

.terminal-output .text-blue {
    color: #6bb6ff;
}

.terminal-output .text-yellow {
    color: #ffdd33;
}

.terminal-output .text-red {
    color: #ff6b6b;
}
.terminal-output .text-white {
    color: #ffffff;
}

.terminal-output .text-cyan {
    color: #4dd0e1;
}

.terminal-output .text-magenta {
    color: #ba68c8;
}

.terminal-output .text-white {
    color: #e6e6e6;
}

.terminal-output .text-dim {
    color: #999999;
}

