/*
Theme Name: Xtra Hosting
Theme URI: https://www.xtra-hosting.nl/
Author: Madoo
Description: Simpel, snel one-page theme gebaseerd op xtra-hosting.nl index.
Version: 1.0.0
Text Domain: xtra-hosting
*/

:root{
  --bg:#0b1020;
  --card:#121a33;
  --muted:#a9b3d1;
  --text:#e8ecff;
  --accent:#7c5cff;
  --accent2:#27d3a2;
  --border: rgba(255,255,255,.10);
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(39,211,162,.20), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}
a:hover{opacity:.92}
.container{width:min(var(--max), calc(100% - 40px)); margin-inline:auto}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.65);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
}
.brand-badge{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 25px rgba(124,92,255,.25);
}
.brand span{font-size:16px}

.nav{
  display:flex; flex-wrap:wrap; gap:10px;
}
.nav a{
  text-decoration:none;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a:hover{
  border-color: var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
}

.hero{
  padding:54px 0 22px;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.1;
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width: 78ch;
}
.hero .cta{
  margin-top:16px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  background: rgba(255,255,255,.04);
}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#081022;
}

.section{
  padding: 26px 0;
}
.section h2{
  margin:0 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
}
.section h3{
  margin:0 0 10px;
  font-size:18px;
}
.muted{color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  grid-column: span 6;
  background: rgba(18,26,51,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.card p{margin:0 0 12px; color:var(--muted)}
.card .actions{display:flex; gap:10px; flex-wrap:wrap}

@media (max-width: 900px){
  .card{grid-column: span 12}
  .header-inner{flex-direction:column; align-items:flex-start}
  .nav{gap:6px}
}

.table{
  width:100%;
  border-collapse: separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(18,26,51,.55);
}
.table th, .table td{
  padding:12px 14px;
  border-bottom:1px solid var(--border);
  text-align:left;
}
.table th{color: var(--text); font-size:14px}
.table td{color: var(--muted)}
.table tr:last-child td{border-bottom:none}

.site-footer{
  padding:28px 0 40px;
  color: var(--muted);
  border-top:1px solid var(--border);
  margin-top: 26px;
}
.footer-inner{
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center; justify-content:space-between;
}
.small{font-size:13px}



/* Primary menu reset */
.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.primary-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .primary-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 16px;
    border-top: 1px solid #eee;
  }

  .primary-menu.is-open {
    display: flex;
  }
}

/* Hamburger standaard verbergen (desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* =========================
   Mobile menu toevoegingen
   (laat bestaand design intact)
   ========================= */

/* Hamburger alleen mobiel */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}


@media (max-width: 768px){
  .header-inner{
    flex-direction: row;
    align-items: center;
  }
}


/* Primary menu basis blijft zoals hij is */
/* Alleen mobiel gedrag aanpassen */
@media (max-width: 768px) {
  .primary-menu {
    display: none;
    flex-direction: column;
    background: rgba(11,16,32,.95); /* zelfde sfeer als header */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px;
    border-top: 1px solid var(--border);
    z-index: 1000;
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-menu li {
    margin-bottom: 6px;
  }

  .primary-menu a {
    color: var(--text);
    font-size: 15px;
  }
}

/* Hamburger netjes rechts uitlijnen in header */
.menu-toggle {
  margin-left: auto;
  align-self: center;
}


/* Submenu voorbereiding */
.primary-menu li {
  position: relative;
}

.primary-menu li ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 12px;
}

/* Desktop hover (pas actief als je submenu’s toevoegt) */
@media (min-width: 769px) {
  .primary-menu li:hover > ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(11,16,32,.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
  }
}
