:root {
  --bg-dark: #0a0a0a;
  --bg-light: #ffffff;
  --accent: #ff4d00;
  --text-main: #ffffff;
  --text-meta: #888888;
  --text-dark: #1a1a1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
}

h1,
h2,
h3,
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

#top-nav {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
}

#top-nav.nav-scrolled {
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  transition: color 200ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  padding: 0.75rem 1.2rem;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255, 77, 0, 0.35);
  background-color: #ff6320;
}

.hero-section {
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.3)),
    url('img/a28f365896f14da6b65fa9e87fa372-taperhaus-barbershop-biz-photo-c558e5c8f60048188d8cd1cb56bb6d-booksy.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  background-image: radial-gradient(circle at 10% 15%, rgba(255, 77, 0, 0.23), transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(255, 77, 0, 0.12), transparent 38%);
  pointer-events: none;
}

.arrow-bounce {
  display: inline-block;
  animation: arrowBounce 1.4s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

.feature-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.feature-category {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-title {
  margin: 0.45rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.feature-title--serif {
  font-family: 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.05;
}

.feature-author {
  margin: 0.6rem 0 0;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.feature-card--blue {
  background: #0033ff;
}

.feature-card--text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 2px,
    transparent 2px,
    transparent 14px
  );
  opacity: 0.35;
}

.feature-card--amber {
  background: linear-gradient(145deg, #2a1a12 0%, #111111 100%);
}

.feature-card--graphite {
  background: linear-gradient(145deg, #171717 0%, #0d0d0d 100%);
}

.feature-card--inkline {
  background: linear-gradient(145deg, #101010 0%, #1e1e1e 100%);
}

.feature-card--blue::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
}

.section-dark {
  background-color: var(--bg-dark);
}

.section-with-bg {
  position: relative;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.72)),
    url('img/31865f68092a47d2a755cc4760d5e3-taperhaus-barbershop-biz-photo-3ad89b5ef3b34d79a07cb507c3bbc8-booksy.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 0.95rem;
  background: #ece8e2;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
}

.portfolio-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: transform 240ms ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.04);
}

.service-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.js-service-card {
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.js-service-card:hover,
.js-service-card:focus-visible {
  border-color: rgba(255, 77, 0, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.service-card--selected {
  border-color: rgba(255, 77, 0, 0.85);
  background: rgba(255, 77, 0, 0.14);
}

.service-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-card p {
  margin: 0.75rem 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-card span {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card--note {
  border-color: rgba(255, 77, 0, 0.4);
  background: rgba(255, 77, 0, 0.08);
}

.booking-section {
  background-image: url('img/a9a20dec37d343368f139c5fc06042-taperhaus-barbershop-inspiration-05213c78d50042eeb5c14240ae8c72-booksy.jpeg');
  background-position: center;
  background-size: cover;
}

.booking-overlay {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.76));
}

.form-label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.form-input {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.form-input:focus {
  outline: 2px solid rgba(255, 77, 0, 0.65);
  outline-offset: 1px;
  border-color: rgba(255, 77, 0, 0.6);
}

.selected-services-summary {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem;
}

.selected-services-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.selected-services-list {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 0.92rem;
}

.selected-services-total {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.selected-services-total span {
  color: var(--accent);
  font-weight: 700;
}

#booking-submit-btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.meta-title {
  margin: 0 0 0.35rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .hero-headline {
    font-size: clamp(2.7rem, 12vw, 5rem);
  }

  .portfolio-img {
    height: 17rem;
  }
}

@media (max-width: 767px) {
  .feature-card {
    aspect-ratio: 4 / 5;
  }

  .service-card h3 {
    font-size: 1.7rem;
  }
}
