/* Theme-specific styles */
:root {
    /* Light theme (default) */
    --theme-primary: #92A667;
    --theme-primary-hover: #7d8f57;
    --theme-primary-active: #6a7a48;
    --theme-secondary: #d4dac0;
    --theme-text: #333;
    --theme-bg: #fff;
    --theme-bg-secondary: #eef1e4;
    --theme-border: #dee2e6;
    --theme-header-bg: #92A667;
    --theme-header-text: #fff;
    --theme-nav-bg: #92A667;
    --theme-nav-hover: rgba(255, 255, 255, 0.1);
    --theme-nav-active: rgba(255, 255, 255, 0.2);
    --theme-card-bg: #fff;
    --theme-card-border: #dee2e6;
    --theme-link: #0d6efd;
    --theme-link-hover: #0a58ca;
    color-scheme: light;
}

[data-bs-theme="dark"] {
    /* Dark theme */
    --theme-primary: #7d8f57;
    --theme-primary-hover: #6a7a48;
    --theme-primary-active: #5a6840;
    --theme-secondary: #2b3035;
    --theme-text: #dee2e6;
    --theme-bg: #212529;
    --theme-bg-secondary: #343a40;
    --theme-border: #495057;
    --theme-header-bg: #343a40;
    --theme-header-text: #fff;
    --theme-nav-bg: #343a40;
    --theme-nav-hover: rgba(255, 255, 255, 0.1);
    --theme-nav-active: rgba(255, 255, 255, 0.2);
    --theme-card-bg: #2b3035;
    --theme-card-border: #495057;
    --theme-link: #6ea8fe;
    --theme-link-hover: #8bb9fe;
    color-scheme: dark;
}

/* Prevent flash of white content */
html {
    background-color: var(--theme-bg);
    color: var(--theme-text);
}

/* Theme toggle button */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--theme-header-text);
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
}

.theme-toggle:hover {
    opacity: 0.8;
}

.theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

/* Apply theme variables */
body {
    background-color: var(--theme-bg);
    color: var(--theme-text);
}


.header-text {
    color: var(--theme-header-text);
}



.nav-link:hover {
    background-color: var(--theme-nav-hover);
}

.nav-link.active {
    background-color: var(--theme-nav-active);
}

.main-content {
    background-color: var(--theme-bg);
}

.contact-info {
    background-color: var(--theme-bg-secondary);
}

.emailaddress {
    color: var(--theme-link);
}

.emailaddress:hover {
    color: var(--theme-link-hover);
}

/* Smooth transitions */
body,
.site-header,
.main-nav,
.main-content,
.contact-info,
.nav-link,
.theme-toggle {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
} 