/* Career Planning Blueprint Theme */
:root {
    --primary-blue: #1e3a8a;
    --blueprint-blue: #3b82f6;
    --light-blue: #dbeafe;
    --grid-blue: #60a5fa;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --accent-orange: #f97316;
    --success-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    background-attachment: fixed;
}

/* Blueprint grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

.logo::before {
    content: '📋 ';
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--blueprint-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Job listings */
.job-listings {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--blueprint-blue);
    margin: 1rem auto;
    border-radius: 2px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blueprint-blue), var(--accent-orange));
    border-radius: 12px 12px 0 0;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.job-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.job-company {
    color: var(--blueprint-blue);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.job-company a {
    color: inherit;
    text-decoration: none;
}

.job-company a:hover {
    text-decoration: underline;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.job-description {
    color: var(--medium-gray);
    margin: 1rem 0;
    line-height: 1.6;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.job-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.details-link {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.details-link:hover {
    background: var(--dark-blue);
}

/* Advice section */
.advice-section {
    background: var(--light-gray);
    padding: 3rem 0;
    margin: 3rem 0;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advice-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--blueprint-blue);
}

.advice-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advice-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Cross-links section */
.cross-links {
    background: var(--white);
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 2px solid var(--light-blue);
    border-bottom: 2px solid var(--light-blue);
}

.cross-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cross-link {
    display: block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 1rem;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cross-link:hover {
    background: var(--blueprint-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-section p, .footer-section a {
    color: var(--white);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    border-top: 1px solid var(--blueprint-blue);
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .job-grid {
        grid-template-columns: 1fr;
    }
    
    .job-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Single job page */
.job-single {
    background: var(--white);
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.job-single h1 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.job-meta {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.job-meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.job-meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.job-meta-label {
    font-weight: bold;
    color: var(--primary-blue);
}

.job-content {
    margin: 2rem 0;
    line-height: 1.8;
}

.job-content h2, .job-content h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem 0;
}

.job-content p {
    margin-bottom: 1rem;
}

.job-content ul, .job-content ol {
    margin: 1rem 0 1rem 2rem;
}

.apply-button {
    display: inline-block;
    background: var(--success-green);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 2rem;
}

.apply-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Accordion for advice */
.accordion {
    margin: 1rem 0;
}

.accordion-item {
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    background: var(--light-blue);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(59, 130, 246, 0.2);
}

.accordion-header h3 {
    margin: 0;
    color: var(--primary-blue);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
