/*!
Theme Name: JamisonTheme
Author: Jamison
Description: Minimal, Underscores-based theme with responsive nav
Version: 1.0.0
*/

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/

/* Reset & normalize */
html {
    box-sizing: border-box;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #404040;
    background: #fff;
}

a {
    color: #4169e1;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: underline;
    color: #191970;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    clear: both;
}

p {
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

.site-header {
    border-bottom: 1px solid #e5e5e5;
}

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* for absolute mobile nav */
}

/* Site logo */
.site-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

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

.nav-list a {
    color: #111;
    font-weight: 500;
}

.nav-list a:hover {
    text-decoration: underline;
}

/* Mobile toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none; /* default hidden */
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%; /* below nav-wrap */
        left: 0;
        width: 100%;
        border-top: 1px solid #e5e5e5;
        z-index: 9999;
    }

    .nav-list.show {
        display: flex !important;
    }

    .nav-list li {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #eee;
    }
}
.custom-logo{
max-width:200px;
height:auto;

}

/*--------------------------------------------------------------
# Dark Mode Styles
--------------------------------------------------------------*/
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

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

body.dark-mode a:hover,
body.dark-mode a:focus,
body.dark-mode a:active {
    color: #99cfff;
    text-decoration: underline;
}

body.dark-mode .site-header {
    border-bottom: 1px solid #333;
}

body.dark-mode .nav-list {
    /* background: #1a1a1a;
    border-top: 1px solid #333; */
}

body.dark-mode .nav-list li {
    /* border-bottom: 1px solid #333; */
}

/*--------------------------------------------------------------
# Dark Mode Toggle Button
--------------------------------------------------------------*/
#dark-mode-toggle {
    display: inline-block;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f0f0f0;
    color: #111;
    transition: all 0.3s ease;
    margin-left: 1rem; /* adjust for spacing in nav-wrap */
}

#dark-mode-toggle:hover {
    background-color: #ddd;
}

body.dark-mode #dark-mode-toggle {
    background-color: #333;
    color: #fff;
    border-color: #555;
}
.nav-list a, .site-logo {
    font-family: 'Exo 2', sans-serif;
    font-size:1.25rem;
}

/* default (light mode) */
.custom-logo-link img {
	filter: invert(1);
}

/* dark mode */
body.dark-mode .custom-logo-link img {
	filter: invert(0);
}
