/* ===== TrianguLang Project Page ===== */

body {
  font-family: 'Noto Sans', sans-serif;
}

/* ===== Navigation ===== */
.navbar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar.is-fixed-top {
  z-index: 100;
}

.navbar-item, .navbar-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-item:hover, .navbar-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.navbar-burger span {
  background-color: white !important;
}

/* ===== Hero Section ===== */
.hero-gradient {
  position: relative;
  overflow: hidden;
}

/* ===== Publication Info ===== */
.publication-title {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.publication-authors {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
  text-decoration: none;
  transition: all 0.2s;
}

.publication-authors a:hover {
  text-decoration: underline;
}

/* ===== Link Buttons ===== */
.publication-links .button {
  border-radius: 24px;
  font-weight: 600;
  padding-left: 1.5em;
  padding-right: 1.5em;
  transition: all 0.3s;
  border: none;
}

.publication-links .button.is-dark {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.publication-links .button.is-dark:hover {
  background: rgba(255, 255, 255, 0.25);
}

.link-block {
  display: inline-block;
  margin: 4px;
}

/* ===== Section Titles ===== */
.section-title {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 700;
}

/* ===== Figure Section ===== */
.figure-caption {
  margin-top: 1rem;
  color: #4a4a6a;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== BibTeX Block ===== */
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1a1a2e;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.copy-btn:hover {
  background: #333;
}

/* ===== Teaser Video ===== */
.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

/* ===== Video Embed ===== */
.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px;
}

.publication-video iframe,
.publication-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== Coming Soon Badge ===== */
.coming-soon-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  vertical-align: middle;
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .hero .title.is-1 {
    font-size: 1.8rem !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Offset for fixed navbar */
section[id] {
  scroll-margin-top: 60px;
}
