/* ==========================================================================
   IMPATIENS DENISONII EXPLORER - STYLES
   ========================================================================== */

.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content .badge {
    background-color: var(--saffron);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-content .title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-heading);
    margin: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.main-content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-nav {
    position: sticky;
    top: 100px;
}

.sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-nav li {
    margin-bottom: 1rem;
}

.sticky-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-left: 2px solid transparent;
}

.sticky-nav a:hover,
.sticky-nav a.active {
    color: var(--saffron);
    border-left-color: var(--saffron);
}

.content-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-section {
    padding: 2rem;
    border-radius: 12px;
}

.glass-panel {
    background: var(--bg-dark-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-family: var(--font-heading);
    color: var(--saffron);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section strong {
    color: var(--gold);
}

.highlight-panel {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    border-left: 4px solid var(--saffron);
}

.facts-list {
    list-style: disc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.map-placeholder {
    margin-top: 1rem;
}

.map-mockup {
    height: 300px;
    background: var(--bg-dark-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--glass-border);
    color: var(--text-muted);
    text-align: center;
    padding: 1rem;
}

.reference-list {
    list-style: disc;
}

@media (max-width: 768px) {
    .main-content-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .sidebar-nav {
        display: none;
    }
}

.taxonomy-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.taxonomy-table th,
.taxonomy-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.taxonomy-table th {
    width: 40%;
    color: var(--text-muted);
    font-weight: 600;
}