/* NSC School Theme - Reusable Components */

/* Page Headers - Professional Options */

/* Option 1: Countryside Style (Default) */
.page-header-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f4 100%);
    color: #2d4a22;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.05);
    overflow: hidden;
}

.page-header-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22, #8B4513);
}

/* Option 2: Professional with subtle overlay */
.page-header-gradient {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

/* Option 3: Clean Blue Header */
.page-header-blue {
    background: var(--nsc-blue);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

/* Option 4: White Header with Red Text */
.page-header-light {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 4px solid var(--nsc-red);
}

/* Option 5: Dark Professional */
.page-header-dark {
    background: #2c3e50;
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 4px solid var(--nsc-red);
}

.page-header-primary .page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 4px rgba(45, 74, 34, 0.1);
    color: #2d4a22;
}

.page-header-primary .page-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #5a6b4a;
}

.affiliation-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.affiliation-badges .badge {
    background: var(--nsc-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--nsc-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.affiliation-badges .badge:hover {
    background: white;
    color: var(--nsc-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.info-badge {
    background: rgba(255,199,52,0.2);
    color: var(--nsc-yellow);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--nsc-yellow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--bg-primary);
    color: var(--text-white);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.btn-primary:hover {
    background: var(--nsc-red-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.btn-secondary {
    background: var(--bg-accent);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--nsc-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-accent);
}

.btn-success {
    background: var(--bg-success);
    color: var(--text-white);
}

.btn-success:hover {
    background: var(--nsc-green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-green);
}

.btn-blue {
    background: var(--bg-blue);
    color: var(--text-white);
}

.btn-blue:hover {
    background: var(--nsc-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-blue);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-primary);
    color: var(--text-white);
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 25px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Placeholders - Professional Options */

/* Default: Clean single color */
.placeholder {
    background: var(--nsc-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 500;
    border-radius: 10px;
    text-align: center;
}

/* Alternative: Light professional */
.placeholder-light {
    background: #f8f9fa;
    border: 2px dashed var(--nsc-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 10px;
    text-align: center;
}

/* Alternative: Dark professional */
.placeholder-dark {
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 500;
    border-radius: 10px;
    text-align: center;
}

/* Timeline Component */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--nsc-red);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--bg-primary);
    color: var(--text-white);
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-secondary);
    margin: 0 30px;
    flex: 1;
}

.timeline-content h4 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Quote Box */
.quote-box {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid var(--nsc-yellow);
    padding: 20px;
    border-radius: 5px;
    font-style: italic;
    font-size: 18px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header-primary {
        padding: 40px 0;
    }
    
    .page-header-primary .page-title {
        font-size: 28px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Timeline mobile adjustments */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-year {
        position: absolute;
        left: -60px;
        min-width: 100px;
        font-size: 14px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .quote-box {
        font-size: 16px;
        padding: 15px;
    }
} 