/* Custom Color Scheme for Neham Jain's Website */
/* Add this file after main.css in head.html */

:root {
    /* Primary palette - Modern teal/blue gradient */
    --primary: #0d9488;
    /* Teal - main accent */
    --primary-dark: #0f766e;
    /* Darker teal for hover */
    --primary-light: #14b8a6;
    /* Lighter teal */

    /* Text colors */
    --text-primary: #1f2937;
    /* Dark gray - main text */
    --text-secondary: #4b5563;
    /* Medium gray */
    --text-muted: #6b7280;
    /* Light gray */

    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-footer: #111827;
    /* Dark navy footer */

    /* Accents */
    --border-color: #e5e7eb;
    --selection-bg: #ccfbf1;
    /* Light teal selection */
}

/* Selection highlight */
::-moz-selection {
    background-color: var(--selection-bg);
    color: var(--text-primary);
}

::selection {
    background-color: var(--selection-bg);
    color: var(--text-primary);
}

/* Body text */
body {
    color: var(--text-primary);
}

/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
}

/* H1 - Black text with teal underline */
h1 {
    display: inline-block;
    padding-bottom: 0.2em;
    border-bottom: 3px solid var(--primary);
}

/* Links - Teal color scheme */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:visited {
    color: var(--primary-dark);
}

a:hover {
    color: var(--primary-light);
}

/* Social/bio links - Keep them black */
.article-author-top a,
.article-author-bottom a,
.footer-icons li a,
.site-name a {
    color: var(--text-primary);
}

.article-author-top a:hover,
.article-author-bottom a:hover,
.footer-icons li a:hover,
.site-name a:hover {
    color: var(--primary);
}

/* Underlined links in content */
p>a,
li>a,
em>a,
footer a {
    border-bottom: 1px dotted var(--primary);
}

p>a:hover,
li>a:hover,
em>a:hover,
footer a:hover {
    border-bottom: 1px solid var(--primary);
}

/* Navigation */
.top-navigation li a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.top-navigation li a:hover {
    color: var(--primary);
}

.top-navigation-current {
    color: var(--primary) !important;
    text-decoration: overline;
    text-decoration-color: var(--primary);
}

/* Site name */
.site-name a {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.site-name a:hover {
    color: var(--primary);
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
    padding: 1em;
    margin-left: 0;
}

/* Notice boxes */
.notice {
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--primary);
}

/* Code blocks */
p code {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
}

/* Horizontal rules */
hr {
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

/* Footer */
.footer-wrap {
    background-color: var(--bg-footer);
}

.footer-wrap a:hover {
    color: var(--primary-light);
}

/* Footer icons hover colors */
.footer-icons li a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn {
    border-color: var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Profile image - subtle shadow and border */
img.floatpic {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Tables */
table {
    border-collapse: collapse;
}

table th {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

table td,
table th {
    border: 1px solid var(--border-color);
    padding: 0.5em 1em;
}

table tr:hover {
    background-color: var(--bg-secondary);
}

/* Section headers with underline accent */
.article-wrap h2 {
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Bio photo - circular with teal border */
img.bio-photo {
    border: 3px solid var(--primary);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better link transitions */
a,
.btn,
.top-navigation li a {
    transition: all 0.2s ease-in-out;
}