/* Theme toggle button styles */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0);
    border: none;
    color: #01cafe;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-sun {
    color: darkgoldenrod;
}

.fa-moon {
    color: silver;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

body.light-mode .main-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* body.light-mode .nav-link {
    color: rgba(0, 0, 0, 0.7);
} */

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active,
body.light-mode .theme-toggle,
body.light-mode .blog-post .fa-tag,
body.light-mode a {
    color: #0199cc;
}

body.light-mode .blog-post {
    background: rgba(250, 250, 250, 0.9) !important;
    box-shadow: 0 1px 8px rgba(1, 153, 204, 0.1) !important;
    position: relative;
    color: #1a1a1a;
}

/* Speech bubble triangle on the left */
body.light-mode .blog-post::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(250, 250, 250, 0.9);
}

body.light-mode h1,
body.light-mode h2 {
    color: #0199cc !important;
}

body.light-mode h3,
body.light-mode .blog-post span {
    color: #1a1a1a !important;
    background: rgba(230, 230, 230, 1) !important;
}

body.light-mode .footer-social {
    color: #0199cc !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .theme-toggle {
        padding: 0.5rem 0.7rem;
        font-size: 1.1rem;
    }
}