:root {
  --primary: #f05f40;
  --primary-dark: #ee4b28;
  --ink: #212529;
  --soft: #6c757d;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scrollbar-gutter: stable;
  color-scheme: dark;
  scrollbar-color: #1a1a1a #0b0b0b;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  overflow-y: scroll;
  scrollbar-color: #1a1a1a #0b0b0b;
}

/* Dark scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #0b0b0b;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border: 2px solid #0b0b0b;
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #252525;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

.shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-shrunk {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 28, 45, 0.14);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.site-header.is-shrunk .brand {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.site-header.is-shrunk .menu-toggle {
  border-color: rgba(33, 37, 41, 0.35);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
}

.site-header.is-shrunk .menu-toggle span {
  background: #334150;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}

.site-header.is-shrunk .nav-links a {
  color: #445464;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.is-shrunk .nav-links a:hover {
  background: rgba(240, 95, 64, 0.12);
  color: var(--primary);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
    url("/images/header.jpg") center center / cover no-repeat;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 0.8rem;
}

h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.1;
}

.lead {
  margin: 1.3rem auto 2rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  border: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  margin: 0.15rem;
}

.btn-secondary:hover {
  background: #f1f1f1;
}

.panel {
  padding: 5rem 0;
}

#about,
#contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#about {
  background:
    linear-gradient(rgba(240, 95, 64, 0.78), rgba(240, 95, 64, 0.78)),
    url("/images/about.png") center center / cover no-repeat;
}

#contact {
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    url("/images/contact.png") center center / cover no-repeat;
}

.panel h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.panel p {
  margin: 0.6rem 0;
}

.panel .actions {
  margin-top: 1.2rem;
}

.panel:not(.panel-light) {
  background: var(--primary);
  color: var(--white);
}

.panel:not(.panel-light) a:not(.btn) {
  color: #fff;
}

.panel-light {
  background: #fff;
}

.center {
  text-align: center;
}

.mail {
  font-weight: 700;
}

.sep {
  display: inline-block;
  margin: 0 0.5rem;
  color: #8a97a3;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    padding: 0.4rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .site-header.is-shrunk .nav-links a {
    color: #415264;
  }
}
