/* core accent */
:root {
  --wolf-red: #ff3b3b;
}

/* reset basics */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* main background */
body.wolf-bg {
  min-height: 220vh;
  color: #f5f5f5;

  display: flex;
  flex-direction: column;

  position: relative;

  background-image: url("wolf-cross-bg.jpeg");
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

/* brighten wolf overall by easing vignette */
body.wolf-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center,
      rgba(255,255,255,0.04) 0%,
      rgba(0,0,0,0.55) 82%);
  pointer-events: none;
  z-index: 0;
}

/* cross glow + pulse */
.cross-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 12%,
      rgba(255,90,80,0.35),
      rgba(255,200,120,0.18),
      transparent 55%);
  mix-blend-mode: screen;
  animation: crossPulse 4.5s ease-in-out infinite;
}

@keyframes crossPulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.15));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav a {
  color: #f5f5f5;
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.88;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--wolf-red);
  transition: width 0.25s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  opacity: 1;
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.content {
  text-align: center;
  padding: 1.6rem 2rem;
  max-width: 720px;

  background: rgba(0, 0, 0, 0.35); /* lighter so wolf shows through */
  border-radius: 999px;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.content * {
  text-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.content h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: 0.35em;
}

.tagline {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.98;
}

/* red-accent CTA */
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-decoration: none;
  color: #f5f5f5;
  background: radial-gradient(circle at top left,
                rgba(255,59,59,0.8),
                rgba(0,0,0,0.95));
  box-shadow:
    0 0 22px rgba(0,0,0,0.95),
    0 0 24px rgba(255,59,59,0.6);
}

.cta:hover {
  background: radial-gradient(circle at bottom right,
                rgba(255,59,59,0.95),
                rgba(0,0,0,0.98));
  box-shadow:
    0 0 28px rgba(0,0,0,1),
    0 0 32px rgba(255,59,59,0.85);
}

/* generic panels */
.panel {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
}

/* red underline for section titles */
.panel h2 {
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.panel h2::after {
  content: "";
  display: block;
  margin: 0.6rem auto 0;
  width: 3.5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right,
              transparent,
              var(--wolf-red),
              transparent);
}

.panel p {
  max-width: 760px;
  margin: 0.5rem auto;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* about panel */
.panel-about {
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.5),
              rgba(0,0,0,0.46));
}

/* services panel */
.panel-services {
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.54),
              rgba(0,0,0,0.5));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 1.5rem;
}

.service-card {
  background: rgba(10,10,10,0.78);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 35px rgba(0,0,0,0.85);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,59,59,0.05);
  pointer-events: none;
}

.service-card h3 {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* web builds panel */
.panel-web {
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.55),
              rgba(0,0,0,0.5));
}

.web-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 1.5rem auto 0;
}

.web-card {
  background: rgba(12,12,12,0.8);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 35px rgba(0,0,0,0.9);
  position: relative;
}

.web-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid rgba(255,59,59,0.3);
  opacity: 0.9;
  pointer-events: none;
}

.web-card h3 {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.web-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* credentials panel */
.panel-credentials {
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.58),
              rgba(0,0,0,0.7));
}

.cert-wrapper {
  max-width: 760px;
  margin: 1.75rem auto 0;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(8,8,8,0.88);
  box-shadow: 0 18px 45px rgba(0,0,0,0.95);
  border: 1px solid rgba(255,255,255,0.1);
}

.cert-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.cert-caption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  opacity: 0.9;
  text-align: center;
}

/* contact panel */
.panel-contact {
  background: linear-gradient(to bottom,
              rgba(0,0,0,0.58),
              rgba(0,0,0,0.8));
}

.contact-block {
  max-width: 620px;
  margin: 1.75rem auto 0;
  padding: 1.5rem 1.4rem;
  border-radius: 1.25rem;
  background: rgba(5,5,5,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.9);
  position: relative;
}

.contact-block::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom,
              var(--wolf-red),
              rgba(255,59,59,0.1));
}

.contact-block p {
  margin: 0.35rem 0;
}

.contact-block span:first-child {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.9;
  margin-right: 0.35rem;
}

.contact-block a {
  color: #f5f5f5;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.contact-block a:hover {
  border-bottom-color: rgba(255,255,255,0.8);
}

.contact-block .note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.93);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* fog layers - slightly lighter so wolf shows */
.fog-layer {
  position: fixed;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  opacity: 0.26;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(7px);
  z-index: 1;
}

.fog1 {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 55%);
  animation: drift1 30s linear infinite;
}

.fog2 {
  background-image:
    radial-gradient(circle at 10% 30%, rgba(255,255,255,0.1), transparent 55%),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,0.16), transparent 60%);
  animation: drift2 45s linear infinite;
  opacity: 0.2;
}

.fog3 {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.14), transparent 65%);
  animation: pulseFog 18s ease-in-out infinite;
  opacity: 0.24;
}

@keyframes drift1 {
  0%   { background-position: 0% 50%, 100% 0%; }
  50%  { background-position: 100% 100%, 0% 50%; }
  100% { background-position: 0% 50%, 100% 0%; }
}

@keyframes drift2 {
  0%   { background-position: 100% 0%, 0% 100%; }
  50%  { background-position: 0% 50%, 100% 50%; }
  100% { background-position: 100% 0%, 0% 100%; }
}

@keyframes pulseFog {
  0%, 100% { opacity: 0.16; }
  50%      { opacity: 0.32; }
}

/* small screens */
@media (max-width: 640px) {
  .site-header {
    flex-direction: row;
    align-items: center;
  }

  .nav a {
    margin-left: 0.6rem;
    font-size: 0.7rem;
  }

  .content {
    padding: 1.4rem 1.5rem;
    border-radius: 1.5rem;
  }

  .panel {
    padding: 3rem 1.25rem;
  }
}


/* TOOL GRID — neon cyberpunk */
.tool-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:1rem;
  max-width:900px;
  margin:2rem auto;
}
.tool-card {
  padding:1rem;
  text-align:center;
  background:rgba(0,0,0,0.55);
  border:2px solid rgba(255,59,59,0.4);
  border-radius:10px;
  box-shadow:0 0 8px rgba(255,59,59,0.6), 0 0 16px rgba(255,59,59,0.3);
  animation:neonPulse 2.4s infinite ease-in-out alternate;
}
.tool-card:hover {
  box-shadow:0 0 14px rgba(255,59,59,0.9),0 0 28px rgba(255,59,59,0.6);
  transform:translateY(-3px);
}
@keyframes neonPulse {
  0% { opacity:.92; box-shadow:0 0 6px rgba(255,59,59,0.5),0 0 12px rgba(255,59,59,0.25); }
  50% { opacity:1; box-shadow:0 0 10px rgba(255,59,59,0.7),0 0 22px rgba(255,59,59,0.45); }
  100% { opacity:.95; box-shadow:0 0 8px rgba(255,59,59,0.6),0 0 16px rgba(255,59,59,0.3); }
}


/* Darker text inside Wolf's Toolbox */
.tool-card {
    color: #bbb !important;
}
