:root {
  --color-border: color-mix(in srgb, var(--text) 10%, white);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace;

  --spacing-unit: 8px;
  --border-radius: 8px;

  --transition: 0.3s ease;

  --text: #e8edee;
  --background: #0a0f10;
  --primary: #aecbd0;
  --secondary: #34616a;
  --accent: #51a3b3;
}

::-webkit-scrollbar {
  display: none;
}

body {
    color: var(--text);
    background-color: var(--background);
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    width: 100%;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--secondary);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* PROJECT SECTION */
.project {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background: var(--background);
}

.project-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
}

/* LEFT SIDE TEXT */
.text {
  flex: 1;
  max-width: 600px;
  line-height: 1.7;
}

.title {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  margin-top: 0;
}

/* Links (small + subtle) */
.links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--primary);
}

/* Tagline & Quote */
.site-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.quote {
  opacity: 0.85;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

/* Features & Languages */
.site-features h2 {
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.site-features ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.site-features li {
  margin-bottom: 0.3rem;
  opacity: 0.85;
}

.languages {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 500;
}

/* RIGHT SIDE IMAGES */
.images {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.images img {
  width: 268.42px;
  height: 170px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 2px solid var(--secondary);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.images img:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .project-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow-y: auto;
    margin-top: 5rem;
  }

  .text {
    max-width: 100%;
  }

  .images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .images img {
    width: 45%;
    height: auto;
  }
}

body.site .section {
  width: auto;
}

.images a {
  justify-content: center;
  display: flex;
}