/* InkedWith Custom Styles
 * Tattoo-inspired color palette: Dark slate + Crimson accents
 * ========================================================== */

/* === Color Variables (for reference) ===
 * Primary: #2c3e50 (Dark Slate)
 * Accent: #c0392b (Crimson Red)
 * Accent Hover: #e74c3c (Lighter Red)
 * Text: #333333
 * Muted: #666666
 * Background: #fafafa
 */

/* === Global Link Colors === */
a {
    color: #c0392b;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #e74c3c;
    text-decoration: none;
}

/* === Navigation === */
.navbar-default {
    background-color: #2c3e50;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-default .navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-default .navbar-nav > li > a {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1);
}

/* === Header/Hero === */
.intro-header {
    background-color: #2c3e50;
}

.intro-header .post-heading h1,
.intro-header .site-heading h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* === Post Container Links === */
.post-container a {
    color: #c0392b;
}

.post-container a:hover,
.post-container a:focus {
    color: #e74c3c;
}

/* === Sidebar === */
.sidebar-container {
    color: #666666;
}

.sidebar-container h5 {
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 8px;
}

.sidebar-container a {
    color: #666666 !important;
}

.sidebar-container a:hover,
.sidebar-container a:active {
    color: #c0392b !important;
}

/* Sidebar avatar/logo */
.sidebar-container .short-about img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* === Featured Tags === */
.sidebar-container .tags a {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    color: #666 !important;
    transition: all 0.2s ease;
}

.sidebar-container .tags a:hover,
.sidebar-container .tags a:active {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #fff !important;
}

/* === Post Preview Cards === */
.post-preview > a {
    color: #2c3e50;
}

.post-preview > a:hover,
.post-preview > a:focus {
    color: #c0392b;
    text-decoration: none;
}

.post-preview > a > .post-title {
    font-weight: 700;
}

.post-preview .post-meta {
    color: #999;
    font-size: 14px;
}

/* === Blockquotes (Research Notes) === */
blockquote {
    border-left: 4px solid #c0392b;
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: normal;
}

blockquote p {
    margin: 0;
    color: #555;
}

/* === Footer === */
footer {
    background-color: #2c3e50;
    color: rgba(255,255,255,0.7);
    padding: 50px 0;
}

footer a {
    color: rgba(255,255,255,0.7) !important;
}

footer a:hover {
    color: #ffffff !important;
}

footer .fa-stack .fa-circle {
    color: rgba(255,255,255,0.2);
}

footer .fa-stack:hover .fa-circle {
    color: #c0392b;
}

footer .copyright {
    color: rgba(255,255,255,0.5);
}

/* === Buttons === */
.btn-default {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.btn-default:hover,
.btn-default:focus {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* === Tag Cloud Colors === */
#tag_cloud a {
    color: #666 !important;
}

#tag_cloud a:hover {
    color: #c0392b !important;
}

/* === Catalog/TOC === */
.side-catalog {
    background-color: #fafafa;
    border-left: 3px solid #c0392b;
}

.side-catalog .catalog-body li.active a {
    color: #c0392b;
    font-weight: 600;
}

/* === Pagination === */
.pagination > li > a,
.pagination > li > span {
    color: #c0392b;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* === Mobile Menu === */
@media only screen and (max-width: 767px) {
    .navbar-default .navbar-collapse {
        background: #2c3e50;
    }

    .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* === Selection Color === */
::selection {
    background: #c0392b;
    color: #fff;
}

::-moz-selection {
    background: #c0392b;
    color: #fff;
}

/* === Publications/Banner Section === */
.sidebar-container section:last-child img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-container section:last-child img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
