:root {
  --pico-primary: #0D47A1;
  --pico-primary-hover: #1565C0;
  --pico-primary-focus: rgba(13, 71, 161, 0.25);
  --pico-primary-inverse: #FFF;
}

html {
  font-size: 90%;
}

[data-theme="dark"] {
  --pico-primary: #42A5F5;
  --pico-primary-hover: #64B5F6;
  --pico-primary-focus: rgba(66, 165, 245, 0.25);
  --pico-card-background-color: #182330;
}

/* Base Styles */
.hero {
  background-color: var(--pico-card-background-color);
  border-radius: var(--pico-card-border-radius);
  padding: 2rem;
  text-align: center;
}

.brand-logo {
  height: 2rem;
  width: 2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  color: var(--pico-primary);
}

.footer-socials a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: var(--pico-secondary);
}

.footer-socials a:hover {
  color: var(--pico-secondary-hover);
}

.footer-socials svg {
  width: 24px;
  height: 24px;
}

.culture-illustration {
  max-width: 100%;
  height: auto;
  border-radius: var(--pico-card-border-radius);
  margin-top: 2rem;
}

#terms-content article {
  margin-bottom: 2rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background-color: transparent;
    border: none;
    color: var(--pico-nav-link-color);
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle:hover {
    color: var(--pico-primary-hover);
}

/* === Navigation Styles === */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav-center {
    flex-grow: 1;
    justify-content: center;
}

.desktop-nav-right {
    justify-content: flex-end;
}

.desktop-nav-right li {
    margin-left: 1rem;
}

/* Hamburger Button */
#hamburger-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--pico-contrast);
    z-index: 1001; /* Above the mobile menu */
}

/* Mobile Navigation Panel */
#mobile-nav-links {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--pico-card-background-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

#mobile-nav-links.is-open {
    display: flex; /* Shown when active */
}

#mobile-nav-links ul {
    flex-direction: column;
    text-align: center;
}

#mobile-nav-links li {
    margin: 1rem 0;
}

#mobile-nav-links a {
    font-size: 1.2rem;
}

#mobile-nav-links hr {
    width: 80%;
    margin: 1rem auto;
    border-color: var(--pico-muted-border-color);
}

#mobile-theme-toggle {
    width: 100%;
    justify-content: center;
}


/* === Responsive Design for Mobile === */
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }

    #hamburger-btn {
        display: block; /* Show hamburger on mobile */
    }
}