/* Modern CSS for Praxis Dr. Flückiger */
:root {
    --primary-color: #a8b8c4;
    --secondary-color: #cdc2a5;
    --tertiary-color: #e5d5c0;
    --quaternary-color: #cdb3bf;
    --quinary-color: #abcfb5;
    --text-color: #333;
    --text-color-light: #666;
    --border-color: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 2em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Navigation Styles */
#mainNav {
    width: 33%;
}

#tagContainer {
    width: 100%;
    background-color: #fff;
}

#tagContainer ul {
    list-style: none;
}

#tagContainer li {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100px;
}

#tagContainer .text-content {
    flex: 1;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

#tagContainer h1 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

#tagContainer p {
    font-size: 12px;
    margin: 0.5em 0 0 0;
}

/* Picture Navigation */
#picContainer {
    width: 102px;
    padding: 0;
}

#picContainer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#picContainer li {
    max-height: 100px;
    max-width: 100px;
    padding: 0;
    margin: 0;
}

.nav-image {
    height: 100px;
    width: 100px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-image:hover {
    opacity: 1;
}

/* Header */
#navHeader {
    width: 100%;
    height: 100px;
    padding: 0 0 0 1rem;
    margin-bottom: 2em;
}

#navHeader p {
    font-size: 32px;
    padding: 2rem 1rem 0 0;
    text-align: left;
}

#navHeader span {
    float: right;
    font-size: 10px;
    margin-top: 4px;
}

/* Main Content Area */
#content {
    width: 66%;
    background-color: #fff;
    padding: 0 0 0 1rem;
    overflow: auto;
    min-height: 493px;
    margin-left: auto; /* This will push the content to the right */
}

#content h1 {
    font-size: 24px;
    padding-bottom: 1rem;
}

#content table {
    width: 100%;
}

#content td {
    padding-right: 10px;
}

#content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1em;
}

/* Links */
a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #666;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    margin-top: 2em;
    padding: 1em 0;
    color: var(--text-color-light);
    font-size: 12px;
    font-style: italic;
}


/* Services/Spectrum Page Styles */
.services-container {
    display: flex;
    margin-top: 1em;
}

.services-list {
    flex: 0 0 20%;
    align-items: flex-start
}

.services-list h4 {
    margin-bottom: 1em;
    font-size: 14px;
    color: var(--text-color);
}

.services-details {
    flex: 0 0 80%;
}

.services-details h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

.services-details h4:first-child {
    margin-top: 0;
}

.services-details ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.services-details ul ul {
    margin-top: 0.5em;
    margin-bottom: 0;
}

.services-details p {
    margin-top: 0.5em;
}

/* Links Page Styles */
.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Career Page Styles */
.career-section {
    margin-bottom: 2em;
}

.career-section h2 {
    margin-bottom: 1em;
    color: var(--text-color);
}

.career-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

.career-section td {
    padding: 0.5em;
    vertical-align: top;
}

.career-section .date {
    text-align: right;
    white-space: nowrap;
    width: 120px;
}

.career-section strong {
    color: var(--text-color);
}

.career-section ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 0.5em;
}

.career-section li {
    margin-bottom: 0.5em;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Media Queries for Responsive Design */
@media (max-width: 860px) {
    .container {
        width: 100%;
        padding: 1em;
    }

    .hamburger-menu {
        display: block;
    }

    #mainNav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 999;
        padding: 4rem 1rem 1rem 1rem;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    #mainNav.mobile-nav-open {
        left: 0;
    }

    #content {
        width: 100%;
        margin-top: 2rem;
    }

    #navHeader {
        padding-left: 4rem;
        min-height: 60px;
    }

    #navHeader p {
        font-size: 18px;
        padding-top: 1rem;
    }
    #pageTitle {
        visibility: hidden;
    }

    /* Adjust services layout for mobile */
    .services-container {
        flex-direction: column;
    }

    .services-list {
        flex: none;
        width: 100%;
        margin-bottom: 2em;
    }

    .services-details {
        flex: none;
        width: 100%;
    }
    .full-width-image {
        width: 100%;
    }
}

/* Secondary navigation styles - subtle, text-only */
.subnav {
  margin: 0 0 2rem 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.subnav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.subnav li {
  margin: 0;
}
.subnav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0;
  border: none;
  background: none;
  transition: color 0.2s, text-decoration 0.2s;
}
.subnav a:hover,
.subnav a:focus {
  color: #007bff;
  outline: none;
}
.subnav a.active,
.subnav a[aria-current="page"] {
  color: #007bff;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}

.vertical-divider {
  height: 3rem;
  width: 100%;
  display: block;
}
