@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Great+Vibes&display=swap");

:root {
  --text: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 255, 255, 0.16);
  --accent: #ff1744;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0b0b0c;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/barbershop.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  z-index: -1;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 18px;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(255, 23, 68, 0.22);
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.9), transparent);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.brand:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 150ms ease;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(255, 23, 68, 0.2);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 23, 68, 0.92);
  opacity: 0;
  transform: translateY(2px);
  box-shadow: 0 0 18px rgba(255, 23, 68, 0.45);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.98);
}

.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.98);
}

.nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(0);
}

.main {
  flex: 1;
  display: flex;
}

.stage {
  flex: 1;
  position: relative;
}

.hero {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 10px 12px;
}

.hero__script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.92;
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(255, 255, 255, 0.35);
  animation: heroBlink 1.1s steps(2, end) infinite;
}

.hero__sub {
  margin-top: 6px;
  font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(14px, 3vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 10px 26px rgba(0, 0, 0, 0.65),
    0 0 14px rgba(255, 23, 68, 0.35);
  animation: heroBlink 1.1s steps(2, end) infinite;
}

@keyframes heroBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.15;
  }
}

@media (max-width: 420px) {
  .hero {
    top: 38%;
  }
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
