/*
Theme Name: Cavemen
Author: Rik
Version: 2.0
*/

/* ===============================
   VARIABLES
================================= */

:root{
  --bg:#0b0d10;
  --text:#e8e8e8;
  --muted:#a0a0a0;
  --accent:#d35400;
}

/* ===============================
   BASE
================================= */

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ===============================
   HEADER
================================= */

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:20px 50px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(6px);
  z-index:100;
}

.header .brand{
  font-weight:800;
  letter-spacing:.15em;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;   /* dit is de key */
  text-align:center;
  line-height:1;
}

.brand-main{
  font-weight:900;
  letter-spacing:.18em;
  font-size:22px;
}

.brand-main a{
  color:var(--text);
}

.brand-sub{
  margin-top:4px;
  display:flex;
  align-items:center;
  justify-content:center;   /* ook centreren */
  gap:8px;
  font-size:11px;
  letter-spacing:.35em;
  font-weight:700;
  color:var(--accent);
}

/* lijnen */
.brand-sub::before,
.brand-sub::after{
  content:"";
  display:block;
  width:40px;
  height:2px;
  background:var(--accent);
  box-shadow:0 0 6px rgba(211,84,0,.5);
}



.nav a{
  margin-left:30px;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.85;
}

.nav a:hover{
  color:var(--accent);
  opacity:1;
}

/* ===============================
   HERO
================================= */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:120px 20px 80px;
  position:relative;

  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)),
    url("/wp-content/uploads/cavemen/hero-engine-code-2560x1440.webp");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

@media (max-width:900px){
  .hero{
    padding:100px 20px 60px;
    background:
      linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.45)),
      url("/wp-content/uploads/cavemen/hero-engine-code-1600x1600.webp");
  }
}

.hero-inner{
  max-width:1100px;
  z-index:2;
}

/* ===============================
   LOGO
================================= */

.logo{
  font-size:clamp(60px,8vw,120px);
  font-weight:900;
  letter-spacing:.14em;
  margin:0;
}

.sub{
  margin:10px 0 35px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  font-weight:700;
  font-size:18px; /* gelijk aan tags */
  letter-spacing:.25em;
  color:var(--accent);
  position:relative;
}

/* lijnen links en rechts */
.sub::before,
.sub::after{
  content:"";
  display:block;
  width:240px;
  height:3px;
  background:var(--accent);
  box-shadow:0 0 12px rgba(211,84,0,.6);
}

@media (max-width:900px){
  .sub::before,
  .sub::after{
    width:120px;
  }
}


/* ===============================
   TITLE
================================= */

.title{
  font-size:clamp(36px,5vw,70px);
  font-weight:800;
  margin:0 0 15px 0;
}

.tags{
  font-weight:700;
  letter-spacing:.15em;
  color:var(--accent);
  margin-bottom:20px;
}

.tagline{
  color:var(--muted);
  font-size:18px;
  margin-bottom:45px;
}

/* ===============================
   BUTTONS
================================= */

.buttons{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  padding:16px 36px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(0,0,0,.35);
  font-weight:600;
  letter-spacing:.08em;
  font-size:14px;
  transition:.2s ease;
}

.btn.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#111;
}

.btn:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#111;
  transform:translateY(-2px);
}
