/* portfolio.css - Complete styles for English Major Portfolio */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background-color: #041e42; /* Georgia Southern dark blue */
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    overflow-x: hidden;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #1a3559;
    padding-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fecb00; /* Georgia Southern gold */
}

header p {
    font-size: 1.1rem;
    color: #a3abbd;
}

.attribution {
    text-align: center;
    margin-top: 20px;
    color: #a3abbd; /* This matches the footer text color from your other pages */
    font-size: 0.9rem;
}

/* Navigation */
.nav {
    text-align: center;
    margin-bottom: 30px;
}

.nav a {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.nav a:hover {
    background-color: #f2f2f2;
}



/* Profile Section */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}


@media (min-width: 768px) {
    .profile {
        flex-direction: row;
        align-items: flex-start;
    }
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fecb00; /* Georgia Southern gold */
}

.profile-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Buttons Section */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
}

/* Portfolio Introduction */
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #fecb00;
}

.portfolio-intro h2 {
    color: #fecb00;
    margin-bottom: 15px;
}

/* Portfolio Items */
.portfolio-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.portfolio-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.item-header {
    background-color: rgba(254, 203, 0, 0.15);
    padding: 20px;
    border-bottom: 1px solid rgba(254, 203, 0, 0.3);
}

.item-header h3 {
    color: #fecb00;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.item-meta {
    font-style: italic;
    color: #a3abbd;
    font-size: 0.9rem;
}

.item-content {
    padding: 20px;
}

.item-content p {
    margin-bottom: 15px;
}

.item-content p:last-child {
    margin-bottom: 0;
}

.item-link {
    display: block;
    text-align: right;
    margin-top: 20px;
}

.item-link a {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.item-link a:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
}

.item-link a::after {
    content: "→";
    margin-left: 8px;
}

/* Highlight */
.highlight {
    background-color: rgba(254, 203, 0, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Skills Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skill-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Resume Specific Styles */
.resume-section {
    margin-bottom: 30px;
}

.resume-section h2 {
    color: #fecb00; /* Georgia Southern gold */
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #1a3559;
    padding-bottom: 5px;
}

.resume-item {
    margin-bottom: 20px;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.resume-item .meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-style: italic;
    color: #a3abbd;
}

.resume-item ul {
    padding-left: 20px;
}

.resume-item ul li {
    margin-bottom: 5px;
}

/* Skills Section - Resume */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
}

.skills-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-section {
    margin-bottom: 40px;
}

.contact-section h2 {
    color: #fecb00; /* Georgia Southern gold */
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #1a3559;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #fecb00;
}

.submit-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #f2f2f2;
}

/* Message styles */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: #d4edda;
}

.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #f8d7da;
}

/* Guide Layout */
.guide-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }
}

/* Navigation for Guide */
.guide-nav {
    position: sticky;
    top: 30px;
    align-self: start;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .guide-nav {
        position: static;
        margin-bottom: 30px;
    }
}

.guide-nav h2 {
    color: #fecb00;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 8px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background-color: rgba(254, 203, 0, 0.2);
    color: #fecb00;
}

/* Content Area for Guide */
.guide-content {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    overflow-wrap: break-word;
    max-width: 100%
}

.guide-section {
    margin-bottom: 40px;
}

.guide-section:last-child {
    margin-bottom: 0;
}

h2.section-title {
    color: #fecb00;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h3.subsection-title {
    color: #fecb00;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

h4.mini-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.guide-content p {
    margin-bottom: 15px;
}

.guide-content ul, 
.guide-content ol {
    margin: 15px 0 20px 20px;
}

.guide-content li {
    margin-bottom: 8px;
}

/* Code Blocks */
pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
    border-left: 3px solid #fecb00;
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 100%;
}

code {
    font-family: monospace;
    font-size: 0.9rem;
    color: #e2e2e2;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Notes and Tips */
.note, .tip {
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.note {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
}

.tip {
    background-color: rgba(254, 203, 0, 0.1);
    border-left: 4px solid #fecb00;
}

.note-title, .tip-title {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

/* Code Samples */
.code-sample {
    margin: 20px 0;
}

.code-label {
    display: inline-block;
    background-color: rgba(254, 203, 0, 0.2);
    color: #fecb00;
    font-family: monospace;
    padding: 5px 10px;
    border-radius: 4px 4px 0 0;
    font-size: 0.8rem;
}

/* Keyboard Shortcuts */
.keyboard {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1a3559;
    color: #a3abbd;
    font-size: 0.9rem;
}

/* Links */
a {
    color: #fecb00;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffffff;
}
