/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Navigation Header */
.nav-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #264653;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-logo h2 {
    margin: 0;
    color: white;
    font-size: 1.5em;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #2a9d8f;
}

/* Header */
header {
    background: linear-gradient(135deg, #264653 0%, #2a9d8f 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 0;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Featured Reports Section */
.featured-reports {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.report-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #264653;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
}

.report-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.organism-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.report-info {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

/* Report Links */
.report-link {
    display: block;
    padding: 15px;
    margin: 5px 0;
    color: #2a9d8f;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: white;
}

.report-link:hover {
    background-color: #f5f5f5;
    padding-left: 25px;
}

.report-link .report-meta {
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}

.report-link .version {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 10px;
}

.report-link .updated {
    color: #888;
}

/* Reports List Container */
.reports-list {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 25px;
}

.reports-list h3 {
    color: #264653;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2a9d8f;
}

/* Search and Filters */
.search-section {
    margin: 20px auto;
    max-width: 800px;
}

.search-container {
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
}

#searchInput {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #2a9d8f;
    border-radius: 8px;
    font-size: 1.1em;
}

.filter-container {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-container select {
    padding: 8px 15px;
    border: 2px solid #2a9d8f;
    border-radius: 6px;
    background-color: white;
    color: #264653;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #264653;
    color: white;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .featured-reports {
        flex-direction: column;
        align-items: center;
    }

    .report-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* About page styles */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    margin-bottom: 40px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.capability-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Request form styles */
.request-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #264653;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 2px solid #2a9d8f;
    border-radius: 4px;
}

/* Glossary Styles */
.glossary-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.term-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.term-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.term-card h3 {
    color: #2a9d8f;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Title text styling */
.title-text {
    font-size: 3em;
    margin: 15px 0;
    font-family: 'Consolas', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.title-text .ge {
    color: #f4a261;
}

/* Additional color accents */
h2 {
    color: #264653;
    border-bottom: 2px solid #f4a261;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.button {
    background-color: #2a9d8f;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #264653;
}

.section-footer {
    text-align: center;
    margin: 30px 0;
}

/* Status indicators */
.status-card h3 {
    color: #2a9d8f;
}

.status-card.issues h3 {
    color: #f4a261;
}

/* Report Page Styles */
.report-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.report-header {
    border-bottom: 2px solid #2a9d8f;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.report-meta {
    margin-bottom: 20px;
}

.species-name {
    color: #264653;
    margin: 0 0 10px 0;
    font-size: 1.8em;
}

.assembly-version, .analysis-date {
    color: #666;
    margin: 5px 0;
    font-size: 0.9em;
}

.report-nav {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.report-nav a {
    color: #2a9d8f;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.report-nav a:hover {
    background-color: #f4f4f9;
}

.report-content {
    padding: 20px 0;
}

/* Report sections */
.report-section {
    margin-bottom: 40px;
}

.report-section h3 {
    color: #264653;
    border-bottom: 2px solid #f4a261;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Report Frame Styles */
#report-frame {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: white;
}

#report-content {
    width: 100%;
    height: calc(100vh - 120px); /* Subtract header height */
    border: none;
    margin: 0;
    padding: 0;
} 