/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: url('backgrounds/aqua_wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

.desktop {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Icon styles */
.icon {
    position: absolute;
    width: 128px;
    text-align: center;
    color: white;
    cursor: pointer;
}

.icon img {
    width: 128px;
    height: 128px;
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.5));
}

.icon span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Random positions for icons */
#projects-icon {
    top: 20%;
    left: 10%;
}

#blog-icon {
    top: 50%;
    left: 30%;
}

#findme-icon {
    top: 70%;
    left: 60%;
}

/* Terminal Window Modal */
.terminal-window {
    position: absolute;
    top: 15%;
    left: 25%;
    width: 50%;
    background-color: #2e2e2e;
    border-radius: 10px;
    overflow: hidden;
    display: none; /* Hidden by default */
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: #f0f0f0;
    font-family: monospace;
    z-index: 1000;
}

/* Window Header */
.window-header {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    padding: 5px 10px;
}

/* Window Controls */
.window-controls {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.window-controls span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    cursor: pointer;
}

.close-button {
    background-color: #ff5f57;
}

.minimize-button {
    background-color: #ffbd2e;
}

.maximize-button {
    background-color: #28c840;
}

/* Window Title */
.window-title {
    font-size: 14px;
    color: #ccc;
}

/* Window Content */
.window-content {
    padding: 20px;
}

.window-content h2 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.window-content p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.window-content a {
    color: #007aff;
    text-decoration: none;
}

.window-content a:hover {
    text-decoration: underline;
}

/* App Store Button */
.appstore-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007aff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.appstore-button:hover {
    background-color: #005bb5;
}

/* Cursor Pointer for Buttons */
.window-controls span:hover,
.appstore-button:hover {
    cursor: pointer;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* Adjust icon sizes for smaller screens */
    .icon {
        width: 80px;
    }

    .icon img {
        width: 80px;
        height: 80px;
    }

    .icon span {
        font-size: 12px;
    }

    /* Stack icons vertically */
    #projects-icon,
    #blog-icon,
    #findme-icon {
        position: static;
        margin: 20px auto;
    }

    .desktop {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    /* Adjust terminal window for mobile */
    .terminal-window {
        position: fixed;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
        border-radius: 5px;
    }

    /* Adjust window header */
    .window-header {
        padding: 10px;
    }

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

    /* Adjust window content */
    .window-content {
        padding: 15px;
    }

    .window-content h2 {
        font-size: 20px;
    }

    .window-content p {
        font-size: 16px;
    }

    /* Adjust app store button */
    .appstore-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

.folder-window {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 80%;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    display: none; /* Hidden by default */
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: #000;
    font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    z-index: 1000;
}

/* Folder Window Header */
.folder-window .window-header {
    display: flex;
    align-items: center;
    background-color: #e0e0e0;
    padding: 5px 10px;
}

/* Window Controls */
/* Same styles as before */

/* Folder Window Content */
.folder-window .window-content {
    padding: 20px;
    overflow-y: auto;
}

/* File List Styles */
.file-list {
    list-style: none;
    padding: 0;
}

.file-item {
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #007aff;
}

.file-item:hover {
    text-decoration: underline;
}