/**
 * Squishmallowdex Shared Theme Styles
 * Colors and typography extracted from squishmallowdex.html
 */

:root {
  --ink: #1f1a16;
  --accent: #00bcd4;
  --background: #32bcc6;
  --card: #ffffff;
  --muted: #6b5b52;
  --border-radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Trebuchet MS", "Verdana", "Geneva", sans-serif;
  color: var(--ink);
  background-color: var(--background);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Navigation */
.site-header {
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent);
  color: white;
}

/* Main Content */
main {
  flex: 1;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: white;
  padding: 2rem;
  margin-top: 4rem;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  list-style: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .site-nav a {
    text-align: center;
  }

  .container {
    padding: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-logo h1 {
    font-size: 1.2rem;
  }

  .site-logo img {
    height: 40px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
