/* Shared site styles used by every page. */

:root {
  --red: #c8102e;
  --red-dark: #9b0c23;
  --red-glow: rgba(200, 16, 46, 0.25);
  --black: #080808;
  --surface: #131313;
  --surface2: #1c1c1c;
  --border: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #888;
  --white: #ffffff;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: "Barlow", sans-serif;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid var(--border);
  height: clamp(70px, 8vw, 80px);
  margin: 0;
  border-top: none;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1002;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(10.8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-10.8px) rotate(-45deg);
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  margin-right: clamp(24px, 4vw, 64px);
}

.nav-logo img {
  height: clamp(30px, 4vw, 48px);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2vw, 36px);
  list-style: none;
  flex: 1;
  justify-content: flex-start;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(8px, 2vw, 20px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 3px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  flex-direction: row;
  background: #56000e;
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}

.mobile-menu.open {
  max-height: 48px;
  opacity: 1;
}

.mobile-menu a {
  flex: 1;
  padding: 12px 6px;
  color: white;
  text-decoration: none;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.25s ease;
}

.mobile-menu a:last-child {
  border-right: none;
}

.mobile-menu a:hover {
  background: #991229;
}

.floating-book-btn {
  position: fixed;
  top: calc(var(--nav-height) + 48px);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition:
    top 0.3s ease,
    right 0.3s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.floating-book-btn:hover {
  background: var(--white);
  border-color: var(--red-dark);
  color: var(--red);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--red);
}

@media (max-width: 800px) {
  nav .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }
}