/* zero-day.ai Custom CSS */
/* Terminal Theme with Security Research Focus */

:root {
    --main-bg-color: #0a0e27;
    --main-text-color: #a0a9cc;
    --highlight-color: #00ffaa;
    --alt-color: #64ffda;
    --link-color: #00d9ff;
    --border-color: #1a1f3a;
    --code-bg: #0d1225;
    --accent-purple: #bd93f9;
    --accent-orange: #ffb86c;
}

body {
    background: linear-gradient(135deg, #0a0e27 0%, #0d1225 50%, #0a0e27 100%);
    background-attachment: fixed;
    color: var(--main-text-color);
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Terminal-style elements */
.color-highlight {
    color: var(--highlight-color);
}

.color-alt {
    color: var(--alt-color);
}

/* Glow effect for important elements */
.glow {
    text-shadow: 0 0 10px var(--highlight-color),
                 0 0 20px rgba(0, 255, 170, 0.3);
}

/* Logo styling */
.logo {
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
}

.logo-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: var(--link-color);
    animation: blink 1s infinite;
    box-shadow: 0 0 5px var(--link-color);
}

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

/* Links */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--highlight-color);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 255, 170, 0.6);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--link-color);
    background-color: transparent;
    color: var(--link-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background-color: var(--highlight-color);
    color: var(--main-bg-color);
    border-color: var(--highlight-color);
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.4);
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--highlight-color);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: normal;
}

h1 { font-size: 2.2em; line-height: 1.3; }
h2 { font-size: 1.8em; line-height: 1.4; }
h3 { font-size: 1.4em; line-height: 1.5; }

/* Code blocks */
pre, code {
    background-color: var(--code-bg);
    color: var(--main-text-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'TerminusModern', 'Courier New', monospace;
}

pre {
    padding: 15px;
    overflow-x: auto;
    border-left: 3px solid var(--link-color);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

/* Navigation */
nav {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav li {
    display: inline;
    font-size: 16px;
}

/* Header section */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    color: var(--alt-color);
    box-shadow: 0 -2px 10px rgba(0, 217, 255, 0.1);
}

/* Main content centering */
main, .content, article, .content-p {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Center text in main content areas */
main p, article p, .content p {
    text-align: justify;
    margin-bottom: 1.5em;
}

/* Homepage content centering */
.home-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog post styling */
.post {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-title {
    margin-bottom: 15px;
}

.post-meta {
    color: var(--alt-color);
    font-size: 0.9em;
    margin-bottom: 30px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--main-text-color);
}

.post-content p {
    margin-bottom: 20px;
}

.post-tags {
    margin-top: 30px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    margin-right: 10px;
    background-color: var(--code-bg);
    border: 1px solid var(--link-color);
    border-radius: 3px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    color: var(--alt-color);
}

.tag:hover {
    background-color: var(--link-color);
    color: var(--main-bg-color);
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 { font-size: 2em; }
    h2 { font-size: 1.5em; }
    h3 { font-size: 1.2em; }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Terminal fonts */
@font-face {
    font-family: 'TerminusModern';
    src: url('/fonts/TerminusModern.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Removed scanning line animation for better readability */

/* Gibson logo integration */
.gibson-logo {
    filter: drop-shadow(0 0 5px var(--highlight-color));
    transition: filter 0.3s ease;
}

.gibson-logo:hover {
    filter: drop-shadow(0 0 15px var(--highlight-color));
}