/* ==========================================================================
   GLOBAL EXTERNAL STYLESHEET (styles.css) - FIX VERSION
   ========================================================================== */

/* --- BASE BODY CONFIGURATION --- */
body {
    background-image: url("images/panoramic-of-wisconsin-river-sunset-at-dekorra_800.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0b253a; 
    color: #e2f1f8; 
    /* Font 1: Applied directly to body text and paragraphs */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Override body background color specifically for the purple page theme */
body.purple-theme {
    background-image: none;
    background-color: #2e1a47;
    color: #f3e9fa;
}

/* --- STRUCTURE CONTAINERS --- */
.container {
    max-width: 1000px;
    width: 100%;
    background-color: rgba(0, 75, 110, 0.75); /* Deep ocean blue translucent wrap */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #5EB1BF;
    box-sizing: border-box;
}

.purple-theme .container {
    max-width: 800px;
    background-color: rgba(74, 35, 128, 0.6); /* Violet shift */
    border: 1px solid #8a4fff;
}

/* --- GLOBAL NAVIGATION MENUS --- */
nav {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

nav a {
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #a3e5f7;
    text-decoration: underline;
}

.purple-theme nav a {
    color: #d1b3ff;
}

.purple-theme nav a:hover {
    color: #ffffff;
}

/* --- HEADER TYPOGRAPHY --- */
h1, h2, h3 {
    /* Font 2: Applied directly to headers */
    font-family: 'Georgia', Times, 'Times New Roman', serif; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

h1 {
    color: #FFE600;
    margin-top: 0;
    border-bottom: 2px solid #5EB1BF;
    padding-bottom: 10px;
}

.purple-theme h1 {
    color: #dcb3ff;
    border-bottom: 2px solid #8a4fff;
}

h2 {
    color: #e0f4f7;
    margin-top: 40px;
    border-bottom: 1px solid rgba(94, 177, 191, 0.4);
    padding-bottom: 10px;
}

.purple-theme h2 {
    color: #f0a6ff;
    border-bottom: none;
}

/* --- TEXT ELEMENTS & UTILITIES --- */
p {
    line-height: 1.6;
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 15px auto;
}

.highlight-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #5EB1BF;
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0;
}

.purple-theme .highlight-box {
    background-color: #1a0933;
    border-left: 5px solid #bd70ff;
}

.mono-display {
    /* Font 3: Monospace fallback wrapper */
    font-family: 'Courier New', Courier, monospace; 
}

/* --- DATA TABLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: rgba(10, 36, 56, 0.6);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

th {
    background-color: #004b6e;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: left;
    font-family: 'Georgia', Times, 'Times New Roman', serif;
}

th, td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(94, 177, 191, 0.3);
}

tr:nth-child(even) {
    background-color: rgba(15, 52, 82, 0.5);
}

tr:hover {
    background-color: rgba(94, 177, 191, 0.25) !important;
    transition: background-color 0.15s ease;
}

.status-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    /* Font 3: Monospace tags */
    font-family: 'Courier New', Courier, monospace; 
}

.status-complete { background-color: #2b7a4b; color: #e1ffe9; }

.emoji-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.schoology-note {
    margin-top: 40px;
    background-color: #211139;
    border: 2px dashed #9d4edd;
    padding: 20px;
    border-radius: 8px;
}

.schoology-note h3 { margin-top: 0; color: #ff9eff; }

.copy-text {
    background-color: #120524;
    padding: 10px;
    border-radius: 4px;
    /* Font 3: Monospace text areas */
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.95rem;
    color: #e0b0ff;
    border: 1px solid #4a2380;
}
