/*
CHANGE LOG
File: nsg_standards/static/css/procurement.css
Document Type: CSS Stylesheet (NSG Standards Master)
Purpose: Styling for procurement systems page
Deploy To: [site]/static/css/procurement.css
Route: /procurement
Context: Professional presentation of proprietary procurement system
HTML Template: templates/procurement.html
Dependencies: nsg_accordion.js (for image expand)
Version History:
  2025-12-26 v1.2 - Changed .system-image to .feature-image for nsg_accordion.js compatibility
  2025-12-26 v1.1 - Extracted from embedded styles for NSG standards compliance
  2025-11-26 v1.0 - Initial creation embedded in template
*/

/* Hero Section */
.wbs-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.wbs-hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    max-width: 800px;
}

.wbs-hero p {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Links */
.section-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover { text-decoration: underline; }

.nav-link {
    color: white;
    text-decoration: none;
}

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

/* Orientation Section */
.orientation-section {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Highlight Boxes */
.highlight-box {
    background: #f8f9fa;
    border-left: 5px solid #007bff;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 0.8rem;
    color: #495057;
}

.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box strong { color: #1a365d; }

.cost-savings-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

/* Content Typography */
.afh-answer-section h2 {
    color: #1a365d;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.afh-answer-section h3 {
    color: #2c5282;
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: 500;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.afh-answer-section p {
    margin-bottom: 1.2rem;
    color: #495057;
    line-height: 1.8;
    font-size: 1.05rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Image Styling */
.feature-image {
    text-align: center;
    margin: 3rem 0;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Expanded image - full screen overlay */
.feature-image img.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95vw;
    max-height: 95vh;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.8);
}

.feature-image p {
    margin-top: 1rem;
    font-style: italic;
    color: #6c757d;
    font-size: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.image-grid .feature-image { margin: 0; }

/* Flowchart */
.flowchart {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.flow-step {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    position: relative;
}

.flow-step.design {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
}

.flow-step.pricing {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    border-color: #ff9800;
}

.flow-step.sourcing {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.flow-step.control {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-color: #e91e63;
}

.flow-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #6c757d;
    margin: 0.5rem 0;
}

.flow-step h4 {
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.flow-step p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefit-card:hover {
    box-shadow: 0 4px 16px rgba(26,54,93,0.15);
    transform: translateY(-2px);
}

.benefit-title {
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.benefit-description {
    color: #495057;
    line-height: 1.7;
    font-size: 1rem;
}

/* Qualification Section */
.qualification-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 8px;
}

.qualification-section h2 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.qualification-section > p {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.requirement-category {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.requirement-category h4 {
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.requirement-category ul {
    margin: 0;
    padding-left: 1.5rem;
}

.requirement-category li {
    margin-bottom: 0.5rem;
    color: #495057;
    line-height: 1.6;
}

/* Container and Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
    border-bottom: 1px solid #e9ecef;
}

.section:last-child { border-bottom: none; }

.section h2 {
    color: #1a365d;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-grid, .requirements-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .image-grid { grid-template-columns: 1fr; gap: 2rem; }
    .benefit-card, .requirement-category { padding: 1.5rem; }
    .wbs-hero h1 { font-size: 2.5rem; }
    .container { padding: 0 1rem; }
    .section { padding: 3rem 0; }
    .afh-answer-section h2 { font-size: 1.8rem; }
    .flowchart { padding: 1.5rem; }
}
