/*
CHANGE LOG
File: /var/www/html/cityplan.nsgia.com/static/css/cityplan.css
Document Type: CSS Stylesheet
Purpose: Custom styling for Medical City with Ghana flag color theme
Main App: cityplan_app.py
Color Scheme: Ghana flag (green #006B3F, red #CE1126, gold #FCD116)
Base Layout: afh_main.css (sidebar + main content structure)
Context: Project-specific styles - tables, callouts, hero sections
Dependencies: afh_main.css (must load first)
Version History:
2025-01-15 v1.0 - Initial creation with Ghana colors, hero section, table styling
*/

:root {
    --ghana-red: #CE1126;
    --ghana-gold: #FCD116;
    --ghana-green: #006B3F;
    --text-gray: #4a4a4a;
}

/* Hero Section */
.cityplan-hero {
    position: relative;
    min-height: 80vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.cityplan-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
    max-width: 900px;
    text-align: center;
    line-height: 1.1;
}

.cityplan-hero p {
    color: white;
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

table th {
    background: var(--ghana-green);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 3px solid var(--ghana-gold);
}

table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-gray);
}

table tr:nth-child(even) {
    background: #f8f9fa;
}

table tr:hover {
    background: #f0f8f5;
}

/* Callout Boxes */
.callout {
    background: #f0f8f5;
    border-left: 4px solid var(--ghana-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.callout-warning {
    background: #fff5f5;
    border-left-color: var(--ghana-red);
}

.callout-info {
    background: #fffbeb;
    border-left-color: var(--ghana-gold);
}

.callout p {
    margin: 0;
}

.callout strong {
    color: var(--ghana-green);
}

.callout-warning strong {
    color: var(--ghana-red);
}

/* Lists */
ol, ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

ol li, ul li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

/* Links */
a {
    color: var(--ghana-red);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--ghana-green);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cityplan-hero {
        background-attachment: scroll;
        min-height: 60vh;
    }
    
    .cityplan-hero h1 {
        font-size: 2rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th, table td {
        padding: 0.5rem;
    }
}

/* Accordion Buttons */
.cityplan-accordion {
    background-color: var(--ghana-green);
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    border-radius: 4px;
}

.cityplan-accordion:hover {
    background-color: #005030;
}

.cityplan-accordion.active {
    background-color: var(--ghana-gold);
    color: #333;
}

.cityplan-accordion:after {
    content: '\002B'; /* Plus sign */
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.cityplan-accordion.active:after {
    content: "\2212"; /* Minus sign */
    color: #333;
}

/* Accordion Panels */
.cityplan-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-left: 3px solid var(--ghana-green);
    margin-bottom: 10px;
}

.cityplan-panel p {
    padding-top: 15px;
}

.cityplan-panel table {
    margin: 15px 0;
    width: 100%;
}

.cityplan-panel ul {
    margin: 10px 0;
    padding-left: 25px;
}

/* Menu Reference Links */
.menu-reference {
    font-style: italic;
    color: var(--ghana-red);
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid var(--ghana-gold);
}

.menu-reference em {
    font-style: normal;
}

.menu-reference strong {
    color: var(--ghana-green);
}

/* Executive Summary Static Section */
.executive-static {
    margin-bottom: 30px;
}

.executive-static h3 {
    color: var(--ghana-green);
    border-bottom: 2px solid var(--ghana-gold);
    padding-bottom: 10px;
    margin-top: 25px;
}

.executive-static table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.executive-static table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.executive-static table tr:first-child td {
    background-color: var(--ghana-green);
    color: white;
    font-weight: bold;
}

/* Accordion Container */
.accordion-container {
    margin-top: 30px;
}

