/*
Theme Name: Eisenhauer Marine Biology
Theme URI: https://danieleisenhauer.org
Description: Custom theme for Daniel Eisenhauer's marine biology portfolio
Version: 1.0
Author: Daniel Eisenhauer
*/

:root {
    --ocean-depth: #002D40;
    --reef-water: #005F73;
    --coral-accent: #EE9B00;
    --sand-bg: #f8f9fa;
    --inat-green: #74ac00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--sand-bg);
}

/* Hero Header */
.site-header {
    position: relative;
    background: linear-gradient(rgba(0, 45, 64, 0.7), rgba(0, 45, 64, 0.7)),
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.site-logo {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    max-height: 240px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.site-header h1 {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.site-header h1 a {
    color: white;
    text-decoration: none;
}

.site-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 10px;
    font-weight: 300;
}

/* Navigation */
.site-nav {
    margin-top: 20px;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.site-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.site-nav a:hover {
    opacity: 1;
    border-bottom: 2px solid var(--coral-accent);
    padding-bottom: 2px;
}

/* Main Container */
.site-container {
    max-width: 1100px;
    margin: -30px auto 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 0 20px;
}

.site-container.full-width {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.content-area, .widget-area {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Section Headings */
h2.section-title,
.entry-content h2,
.widget-area h2 {
    color: var(--ocean-depth);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 3px solid var(--coral-accent);
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 5px;
}

/* Research Items */
.research-item {
    margin-bottom: 35px;
}

.entry-content h3,
.research-item h3 {
    color: var(--reef-water);
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Sidebar */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.sidebar-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.sidebar-links i {
    color: var(--coral-accent);
    width: 30px;
    font-size: 1.1rem;
}

.sidebar-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* Widget contact list */
.widget-area .wp-block-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.widget-area .wp-block-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.widget-area .wp-block-list li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--coral-accent);
    width: 30px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.widget-area .wp-block-list li:nth-child(1)::before { content: "\f3c5"; }  /* location dot */
.widget-area .wp-block-list li:nth-child(2)::before { content: "\f0e0"; }  /* envelope */
.widget-area .wp-block-list li:nth-child(3)::before { content: "\f0c3"; }  /* flask */

.widget-area .wp-block-list li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

/* iNaturalist Feed */
.inat-box {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.inat-header {
    color: var(--inat-green);
    font-weight: bold;
    margin-bottom: 15px;
}

.obs-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}

.obs-title {
    font-weight: 600;
    display: block;
    color: var(--ocean-depth);
}

.obs-date {
    font-size: 0.8rem;
    color: #777;
}

.obs-link {
    color: var(--reef-water);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
}

.inat-btn {
    display: block;
    background: var(--inat-green);
    color: white !important;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none !important;
    margin-top: 15px;
    font-weight: bold;
}

/* WordPress Content Styles */
.entry-content p {
    margin-bottom: 1em;
}

.entry-content a {
    color: var(--reef-water);
}

/* Responsive */
@media (max-width: 850px) {
    .site-container {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .site-header h1 {
        font-size: 2.5rem;
    }
    .site-logo {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 15px;
        max-height: 80px;
    }
    .site-nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }
}
