:root {
    --primary: #500000; /* Texas A&M Maroon */
    --text: #333;
    --bg: #f4f4f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

h1 { margin: 0; color: var(--primary); font-size: 2.5em; }
h2 { color: var(--primary); border-bottom: 1px solid #ddd; padding-bottom: 5px; }

.contact-info { margin: 10px 0; font-weight: 500; }
.social-links a {
    text-decoration: none;
    color: var(--primary);
    margin: 0 10px;
    font-size: 0.9em;
}

.entry { margin-bottom: 20px; }
.entry-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

ul { padding-left: 20px; }
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #777;
}

#counter {
    font-weight: bold;
    color: var(--primary);
}
.pdf-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.pdf-button:hover {
    background-color: #700000;
}

.pdf-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Dark mode styles */
body.dark-mode {
    --primary: #8B0000; /* Lighter maroon for dark mode */
    --text: #e4e4e4;
    --bg: #1a1a1a;
}

body.dark-mode .container {
    background: #2d2d2d;
    color: #e4e4e4;
}

body.dark-mode h1,
body.dark-mode h2 {
    color: #ff6b6b; /* Brighter red for dark mode */
}

body.dark-mode .social-links a {
    color: #ff6b6b;
}

body.dark-mode .entry-header {
    color: #e4e4e4;
}

body.dark-mode a {
    color: #ff6b6b;
}

body.dark-mode footer {
    color: #999;
}

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s;
    margin-left: 10px;
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: white;
}

body.dark-mode .theme-toggle {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

body.dark-mode .theme-toggle:hover {
    background-color: #ff6b6b;
    color: #1a1a1a;
}

/* Hide elements in PDF */
.no-print {
    display: block;
}

@media print {
    .no-print {
        display: none !important;
    }
}
.pdf-button {
    background-color: var(--primary);
    color: white !important; /* Force white text */
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin: 0 10px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.pdf-button:hover {
    background-color: #700000;
    color: white !important;
}

body.dark-mode .pdf-button {
    background-color: #8B0000;
    color: white !important;
}

body.dark-mode .pdf-button:hover {
    background-color: #ff6b6b;
    color: #1a1a1a !important;
}
/* Navigation Bar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

body.dark-mode .navbar {
    background-color: #2d2d2d;
}

body.dark-mode .nav-links a {
    color: #e4e4e4;
}