/* Styles specific to resources.html */

:root {
    --bg-light: #D3D3D3;
    --bg-dark: #3B2F2F;
    --text-light: #E2D8CF;
    --text-dark: #4F4A45;
    --text-dark-header: #6A5A4F;
    --text-accent: #BC544B;
    --burnt-orange: #8C3A2B;
    --burnt-orange-text: #E6A34B;
    --almost-black: #1a1a1a;
    --light-grey: #cccccc;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark); /* Revert to dark text */
    background-color: #888888; /* Revert to light background */
}

/* Glass Card Styling for contrast on resources.html */
.glass-card {
    background-color: var(--bg-dark); /* Fully opaque dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--bg-dark); /* Solid dark border */
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 2px var(--burnt-orange);
}

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

/* Ensure text within glass cards is readable */
.glass-card h4, .glass-card strong {
    color: var(--text-light); /* Lighter text for dark glass cards */
}

.glass-card p, .glass-card li {
    color: var(--light-grey); /* Lighter text for dark glass cards */
}

.glass-card a {
    color: var(--burnt-orange-text); /* Accent color for links */
}

/* Header styles (copied from research.css, but simplified as resources.html header is always "scrolled" state) */
#page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 60px; /* Always in scrolled state */
    background-color: rgba(45, 41, 38, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none; /* No transition needed as it's always in this state */
}

#header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 60px;
    flex-shrink: 0;
}

.hero-title {
    font-size: 1.5rem; /* Size for scrolled state */
    font-weight: 900;
    color: white;
    text-shadow: none;
    line-height: normal;
    text-align: left;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title span {
    display: inline;
}

#main-nav {
    display: flex;
    gap: 2rem;
}

#main-nav a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-nav a:hover {
    color: var(--text-accent);
}

/* Main content wrapper to push content below the entire fixed header */
#page-content-wrapper {
    padding-top: 60px;
    max-width: 1000px; /* Max width for desktop */
    margin: 0 auto; /* Center the content wrapper */
}

/* General content section styling */
.content-section {
    position: relative;
    background-color: var(--bg-light); /* Revert to light background */
}

.dark-section {
    background-color: var(--bg-dark); /* Revert to dark background */
    color: var(--text-light);
}

.dark-section h2, .dark-section h3 {
    color: var(--bg-light);
}

.dark-section .text-gray-700, .dark-section .text-gray-600 {
    color: var(--light-grey);
}

.dark-section blockquote p {
    color: var(--text-light);
}

.dark-section cite {
    color: var(--text-accent);
}

.dark-section .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-section .glass-card p[data-counter] {
    color: var(--text-accent);
}

.dark-section .glass-card h3 {
    color: var(--bg-light);
}

/* Specific styling for glass cards within dark sections */
.dark-section .glass-card {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Lighter border */
}
.dark-section .glass-card h4, .dark-section .glass-card strong {
    color: var(--text-light);
}
.dark-section .glass-card p, .dark-section .glass-card li {
    color: var(--light-grey);
}
.dark-section .glass-card a {
    color: var(--burnt-orange-text);
}

.content-section h2::before,
.dark-section h2::before {
    content: '';
    display: block;
    width: 1000px; /* Length of the line */
    height: 2px; /* Thickness of the line */
    background-color: var(--burnt-orange-text);
    margin: 0 auto 0em auto; /* Center the line and add space below */
}