/* DATA 5100 Project Page - Seattle University Styling */

/* Hero Section */
#hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #AA0000 0%, #660000 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(170, 0, 0, 0.3);
}

#hero h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: white;
    border-bottom: none;
    padding-left: 0;
}

#hero .subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 15px;
    padding-left: 0;
}

#hero .course-info {
    font-size: 0.95em;
    opacity: 0.85;
    margin-bottom: 5px;
    padding-left: 0;
}

#hero .author {
    font-size: 1.1em;
    font-weight: bold;
    padding-left: 0;
}

/* Summary Card */
.summary-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.summary-card p {
    padding-left: 0;
    font-size: 1.1em;
    line-height: 1.7;
}

.key-finding {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-left: 4px solid #AA0000;
    padding: 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.key-finding h3 {
    color: #AA0000;
    margin-top: 0;
    padding-left: 0;
}

.key-finding p {
    margin-bottom: 0;
    padding-left: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.metric-card {
    background: white;
    border: 2px solid #AA0000;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(170, 0, 0, 0.15);
}

.metric-value {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: #AA0000;
    margin-bottom: 8px;
}

.metric-label {
    display: block;
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Research Question Box */
.question-box {
    background: #f5f5f5;
    border: 2px dashed #AA0000;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.question-box p {
    font-size: 1.3em;
    color: #333;
    margin: 0;
    padding-left: 0;
}

/* Methodology Section */
.methodology-content {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
}

.methodology-content h3 {
    color: #AA0000;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 20px;
}

.methodology-content h3:first-child {
    margin-top: 0;
}

.methodology-content ul {
    padding-left: 25px;
}

.methodology-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Visualization Sections */
.viz-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.viz-section h3 {
    color: #AA0000;
    padding-left: 0;
    margin-top: 0;
    font-size: 1.3em;
}

.viz-section > p {
    padding-left: 0;
    color: #555;
    margin-bottom: 20px;
}

.viz-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.viz-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.viz-image.featured {
    border: 3px solid #AA0000;
}

.viz-caption {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    padding: 0 10px;
    text-align: center;
}

.highlight-section {
    background: linear-gradient(135deg, #fff8f8 0%, #fff0f0 100%);
    border: 2px solid #AA0000;
}

/* Results Table */
.results-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-table th {
    background: #AA0000;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
}

.results-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table tr:hover {
    background: #f9f9f9;
}

.highlight-row {
    background: #fff5f5 !important;
}

.highlight-row:hover {
    background: #ffeded !important;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.rec-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #ccc;
}

.rec-card h3 {
    margin-top: 0;
    padding-left: 0;
    font-size: 1.1em;
}

.rec-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.rec-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.priority-1 {
    border-top-color: #AA0000;
}

.priority-1 h3 {
    color: #AA0000;
}

.priority-2 {
    border-top-color: #e67e00;
}

.priority-2 h3 {
    color: #e67e00;
}

.priority-3 {
    border-top-color: #2e7d32;
}

.priority-3 h3 {
    color: #2e7d32;
}

.key-insight {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0;
}

.key-insight p {
    margin: 0;
    padding-left: 0;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.column h3 {
    color: #AA0000;
    padding-left: 0;
    margin-top: 0;
}

.column ul {
    padding-left: 20px;
}

.column li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Tech Stack */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
}

.tech-tag {
    background: linear-gradient(135deg, #AA0000 0%, #880000 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.tech-tag:hover {
    transform: scale(1.05);
}

/* Project Links */
.links-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #AA0000;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.resource-link:hover {
    background: #880000;
    transform: translateY(-2px);
    color: white;
}

.link-icon {
    font-size: 1.3em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 1.6em;
    }

    #hero .subtitle {
        font-size: 1em;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-value {
        font-size: 1.8em;
    }

    .question-box p {
        font-size: 1.1em;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .results-table th,
    .results-table td {
        padding: 10px 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        justify-content: flex-start;
    }

    .tech-tag {
        font-size: 0.8em;
        padding: 6px 14px;
    }
}
