/* Old School Portfolio Styles */

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

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.7;
    font-size: 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

/* Header Navigation */
.header {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.nav-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-separator {
    color: #666666;
    font-weight: normal;
    font-size: 14px;
}

/* Typography */
h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 15px 0;
}

p {
    margin-bottom: 18px;
    font-size: 16px;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background-color: #f8f8f8;
    border: 1px solid #cccccc;
    padding: 20px;
    margin: 30px 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.newsletter input[type="text"],
.newsletter input[type="email"],
.newsletter textarea {
    padding: 12px;
    border: 1px solid #cccccc;
    font-family: inherit;
    font-size: 16px;
    background-color: #ffffff;
    resize: vertical;
}

.newsletter textarea {
    min-height: 100px;
    font-family: inherit;
}

.newsletter button {
    padding: 12px 24px;
    background-color: #ffffff;
    border: 2px solid #000000;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.newsletter button:hover {
    background-color: #000000;
    color: #ffffff;
    transition: all 0.2s ease;
}

.newsletter button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

/* Message notifications */
.message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

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

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

/* Projects Section */
.projects {
    margin: 30px 0;
}

.project {
    border-left: 3px solid #000000;
    padding-left: 15px;
    margin-bottom: 25px;
}

.project-title {
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 5px;
}

.project-description {
    margin-bottom: 8px;
    color: #333333;
}

.project-tech {
    font-size: 12px;
    color: #666666;
    font-style: italic;
}

/* Contact Section */
.contact {
    background-color: #f8f8f8;
    border: 1px solid #cccccc;
    padding: 20px;
    margin: 30px 0;
}

/* Footer */
.footer {
    border-top: 1px solid #cccccc;
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.footer p {
    margin-bottom: 8px;
}

.footer a {
    color: #0066cc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Quote Section Styling */
.quote-section {
    background-color: #f8f8f8;
    border-left: 3px solid #cccccc;
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
}

.quote-section blockquote {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #000000;
    font-style: italic;
    line-height: 1.4;
}

.quote-section cite {
    display: block;
    font-size: 14px;
    color: #666666;
    font-style: normal;
    margin-bottom: 20px;
    text-align: right;
}

.quote-section .mission {
    font-size: 16px;
    color: #333333;
    font-style: normal;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 15px;
        font-size: 14px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-separator {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 16px;
    }
}

/* Old School Effects */
.blink {
    animation: blink 1s infinite;
}

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

.underline {
    text-decoration: underline;
}

/* Skills Grid Styling */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.skill-category {
    border: 1px solid #cccccc;
    padding: 20px;
    background-color: #f8f8f8;
}

.skill-category h3 {
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 6px 10px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.skill-tag:hover {
    background-color: #000000;
    color: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Responsive skills grid */
@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skill-category {
        padding: 15px;
    }
    
    .skill-tags {
        gap: 6px;
    }
    
    .skill-tag {
        font-size: 11px;
        padding: 3px 6px;
    }
}
