:root {
    /* Futuristic high contrast theme */
    --bg-primary: #000; /* solid black */
    --bg-secondary: #000; /* remove gradients */
    --text-primary: #fff; /* bright white text */
    --accent-color: #00c8ff;
    --border-color: #30363d;
}

body {
    font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.home {
    background: var(--bg-primary);
}

/* Skip link styles for improved keyboard navigation */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 1em;
    background: #000;
    color: #fff;
    padding: 0.5em 1em;
    border: 1px solid var(--border-color);
    z-index: 1000;
}

header {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 1em 0;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
    border-radius: 0;
}
.logo {
    height: 50px;
    vertical-align: middle;
}

nav {
    background-color: var(--bg-primary);
    padding: 0.5em 1em;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    border-radius: 0;
}

nav a {
    margin-right: 1em;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em; /* Larger font for accessibility */
    line-height: 1.6;  /* Taller line height for readability */
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav a:hover,
nav a:focus {
    border-color: var(--accent-color);
    outline: none;
}

a:focus {
    outline: 2px dashed var(--accent-color);
    outline-offset: 2px;
}

a {
    color: var(--accent-color);
}

main {
    padding: 1em;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
    border-radius: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    background-color: var(--bg-primary);
    padding: 2em 1em;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
    border-radius: 0;
}

.hero h2 {
    margin-top: 0;
    font-size: 2em;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0.5em auto;
}

.intro-text {
    max-width: 800px;
    margin: 1em auto;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
    border-radius: 0;
}

footer {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 0.5em 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
    border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Contact modal styles */
.contact-btn {
    float: right;
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
    padding: 0.5em 1em;
    cursor: pointer;
}
.contact-btn:hover,
.contact-btn:focus {
    background-color: #00a8e0;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
}
.contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    color: #fff;
    padding: 1em;
    width: 30vw;
    border-radius: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
    z-index: 1001;
}
.contact-modal h2 {
    margin-top: 0;
}
.close-btn {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}
[hidden] {
    display: none;
}

.chat-ai {
    text-align: center;
    margin: 2em 0;
}

.chat-ai-img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}
@media (max-width: 600px) {
    .contact-modal {
        width: 90vw;
    }
}

/* Accordion styles */
details {
    border: 1px solid var(--border-color);
    padding: 0.5em;
    margin-bottom: 1em;
}

details summary {
    font-weight: bold;
    cursor: pointer;
}
