@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'JetBrains Mono', monospace;
    color: #c9d1d9;
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
    padding: 0.5rem;
    overflow-x: hidden;
    background-image: url('../images/os-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.terminal {
    width: 100%;
    min-height: 98vh;
    margin: 0 auto;
    background-color: rgba(22, 27, 34, 0.75);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.terminal-header {
    background-color: rgba(33, 38, 45, 0.5);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-title {
    color: #c9d1d9;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-title a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-title a:hover {
    color: #c9d1d9;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #c9d1d9;
}

.nav-link.active {
    color: #c9d1d9;
    font-weight: 500;
}

.terminal-body {
    padding: 3rem 2rem;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9d1d9;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.blog-post {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post:last-of-type {
    border-bottom: none;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h2 {
    color: #c9d1d9;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.post-meta {
    font-size: 0.9rem;
    color: #8b949e;
}

.post-content {
    margin-bottom: 2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.post-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.post-footer {
    margin-top: 2rem;
}

.read-more-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #c9d1d9;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.coming-soon {
    text-align: center;
    padding: 3rem 0;
    color: #8b949e;
    font-size: 1rem;
    font-style: italic;
}

.dock {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(22, 27, 34, 0.75);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 100;
    transition: all 0.3s ease;
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #c9d1d9;
    transition: all 0.2s ease;
    position: relative;
}

.dock-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-2px);
}

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

.dock-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.dock-icon-terminal { 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><rect width="128" height="128" rx="28" fill="%23212121"/><path d="M32 40l16 16-16 16" fill="none" stroke="%23f0f0f0" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path d="M56 72h32" fill="none" stroke="%23f0f0f0" stroke-width="8" stroke-linecap="round"/></svg>'); 
    background-size: contain; 
}

.dock-icon-notes { 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><rect width="128" height="128" rx="28" fill="%23fff"/><path fill="%23ffc700" d="M0 28v12h128V28c0-15.5-12.5-28-28-28H28C12.5 0 0 12.5 0 28z"/><path fill="%23ffde59" d="M0 28v4h128v-4z"/><rect y="50" width="128" height="8" fill="%23e0e0e0"/><rect y="68" width="128" height="8" fill="%23e0e0e0"/><rect y="86" width="100" height="8" fill="%23e0e0e0"/></svg>'); 
    background-size: contain; 
}

.dock-icon-mail { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><rect width="128" height="128" rx="28" fill="%2358b5ff"/><path d="M108 51.1L64 78.9 20 51.1V88c0 5.5 4.5 10 10 10h78c5.5 0 10-4.5 10-10V51.1z" fill="%233899ff"/><path d="M108 41.1L64 68.9 20 41.1l44-20 44 20z" fill="%23fff"/></svg>'); background-size: contain; }

.dock-label {
    font-size: 10px;
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body {
        padding: 0.25rem;
    }
    
    .terminal-body {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .blog-post {
        margin-bottom: 3rem;
    }
    
    .post-header h2 {
        font-size: 1.5rem;
    }
    
    .site-nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .dock {
        display: none;
    }
}

/* Blog Post Styles */
.post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.back-home {
    margin-bottom: 2rem;
}

.back-home a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.back-home a:hover {
    color: #c9d1d9;
}

.post article {
    line-height: 1.7;
}

.post h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9d1d9;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #c9d1d9;
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

.post h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #c9d1d9;
    margin: 2rem 0 1rem 0;
}

.post h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c9d1d9;
    margin: 1.5rem 0 0.75rem 0;
}

.post time {
    color: #8b949e;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2rem;
}

.post p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.post strong {
    font-weight: 600;
    color: #c9d1d9;
}

.post em {
    font-style: italic;
    color: #c9d1d9;
}

.post code {
    background-color: rgba(255, 255, 255, 0.1);
    color: #c9d1d9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.post pre {
    background-color: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.post pre code {
    background: none;
    padding: 0;
    color: #c9d1d9;
    font-size: 0.9rem;
    line-height: 1.5;
}

.post ul, .post ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.post table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: rgba(22, 27, 34, 0.5);
    border-radius: 6px;
    overflow: hidden;
}

.post th {
    background-color: rgba(33, 38, 45, 0.8);
    color: #c9d1d9;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #c9d1d9;
}

.post tr:last-child td {
    border-bottom: none;
}

.post tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.post blockquote {
    border-left: 4px solid #3fb950;
    background-color: rgba(59, 185, 80, 0.1);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #c9d1d9;
}

.post blockquote p {
    margin-bottom: 0.5rem;
}

.post blockquote p:last-child {
    margin-bottom: 0;
}

.post hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.post a {
    color: #3fb950;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post a:hover {
    color: #48c758;
    text-decoration: underline;
}

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.post .task-list {
    list-style: none;
    padding-left: 0;
}

.post .task-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.post .task-list-item input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: #3fb950;
}

.post .footnotes {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #8b949e;
}

.post .footnotes ol {
    padding-left: 1rem;
}

.post .footnotes li {
    margin-bottom: 1rem;
}

.post .footnotes a {
    color: #3fb950;
    text-decoration: none;
}

.post .footnotes a:hover {
    text-decoration: underline;
}

.post sup a {
    color: #3fb950;
    text-decoration: none;
    font-size: 0.8rem;
}

.post sup a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for blog posts */
@media (max-width: 768px) {
    .post {
        padding: 1rem 0;
    }
    
    .post h1 {
        font-size: 2rem;
    }
    
    .post h2 {
        font-size: 1.5rem;
    }
    
    .post h3 {
        font-size: 1.3rem;
    }
    
    .post pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .post table {
        font-size: 0.9rem;
    }
    
    .post th,
    .post td {
        padding: 0.75rem;
    }
}

/* Contact Page Styles */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #c9d1d9;
}

.contact-info {
    background-color: rgba(59, 185, 80, 0.1);
    border-left: 4px solid #3fb950;
    padding: 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #c9d1d9;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-info p {
    color: #c9d1d9;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form {
    background-color: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #c9d1d9;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.75rem;
    color: #c9d1d9;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3fb950;
    background-color: rgba(22, 27, 34, 0.9);
    box-shadow: 0 0 0 2px rgba(59, 185, 80, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b949e;
}

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

.submit-btn {
    background-color: #3fb950;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.submit-btn:hover {
    background-color: #48c758;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 185, 80, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #8b949e;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-note {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
}

.contact-note h3 {
    color: #c9d1d9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-note ul {
    margin: 0;
    padding-left: 1.5rem;
}

.contact-note li {
    color: #c9d1d9;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-note li:last-child {
    margin-bottom: 0;
}

/* Honeypot field - hidden from users but visible to bots */
.hidden {
    display: none;
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #f85149;
}

.form-group input:invalid:focus,
.form-group textarea:invalid:focus {
    box-shadow: 0 0 0 2px rgba(248, 81, 73, 0.2);
}

/* Success/error message styles */
.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(59, 185, 80, 0.1);
    border: 1px solid #3fb950;
    color: #3fb950;
}

.form-message.error {
    background-color: rgba(248, 81, 73, 0.1);
    border: 1px solid #f85149;
    color: #f85149;
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info,
    .contact-note {
        padding: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
} 