/* Shared styles for Nikopoulos.xyz */

/* Base styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    position: relative;
}

/* ASCII background for pages that use it */
#ascii-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    white-space: pre;
    font-family: 'Courier New', monospace;
    font-size: 4px;
    line-height: 4px;
    letter-spacing: 0;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

/* Main content area */
#content-area {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 20px auto 100px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Content area without ASCII background */
#content-area.no-background {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: none;
}

/* Typography */
#content-area h1 {
    color: #fff;
    font-family: 'Georgia', serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

#content-area h2 {
    color: #ccc;
    font-family: 'Georgia', serif;
    font-size: 1.8em;
    margin: 30px 0 15px 0;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

#content-area h3 {
    color: #fff;
    font-family: 'Georgia', serif;
    font-size: 1.5em;
    margin: 20px 0 10px 0;
}

#content-area p {
    color: #ddd;
    font-family: 'Georgia', serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#content-area ul {
    color: #ddd;
    font-family: 'Georgia', serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#content-area li {
    margin-bottom: 8px;
}

#content-area code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #88ff88;
}

/* Navigation */
#nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

#nav-logo {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
}

#nav-links {
    display: flex;
    gap: 15px;
}

#nav-links a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 1em;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#nav-links a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #555;
}

/* Project and content cards */
.content-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #555;
}

.content-card h3 {
    margin: 0 0 10px 0;
}

.content-card a {
    color: #88ff88;
    text-decoration: none;
}

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

.content-card .meta {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-family: 'Courier New', monospace;
    margin-left: 10px;
}

.status-live {
    background-color: rgba(136, 255, 136, 0.2);
    color: #88ff88;
    border: 1px solid #88ff88;
}

.status-demo {
    background-color: rgba(255, 255, 136, 0.2);
    color: #ffff88;
    border: 1px solid #ffff88;
}

.status-planned {
    background-color: rgba(255, 136, 136, 0.2);
    color: #ff8888;
    border: 1px solid #ff8888;
}

/* Tech tags */
.tech-tags {
    margin-top: 10px;
}

.tech-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-right: 8px;
    margin-bottom: 4px;
}

/* Special elements */
.tech-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #88ff88;
    padding: 15px;
    margin: 20px 0;
}

.back-link {
    color: #88ff88;
    text-decoration: none;
    font-size: 0.9em;
}

.back-link:hover {
    text-decoration: underline;
}

.loading {
    text-align: center;
    color: #888;
    font-style: italic;
}

.error {
    color: #ff8888;
    background-color: rgba(255, 136, 136, 0.1);
    border: 1px solid #ff8888;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #content-area {
        margin: 10px;
        padding: 15px;
        border-radius: 5px;
    }
    
    #nav-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    #nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #nav-links a {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    #content-area h1 {
        font-size: 2em;
    }
    
    #content-area h2 {
        font-size: 1.5em;
    }
    
    .content-card h3 {
        font-size: 1.3em;
    }
    
    .status-badge {
        display: block;
        margin: 5px 0;
        text-align: center;
        width: fit-content;
    }
}
