/* ================== BASIS ================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #111, #000);
  color: #fff;
}

a { text-decoration: none; }

/* ================== CONTAINER ================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* ================== CARD ================== */
.card {
  background: rgba(10,10,25,0.85);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(0,255,255,0.25);
}

/* ================== HEADINGS ================== */
h1, h2, h3 {
  text-shadow: 0 0 12px cyan;
}

/* ================== BUTTON ================== */
button, .btn-order {
  background: linear-gradient(45deg, cyan, magenta);
  border: none;
  color: #000;
  padding: 12px 22px;
  border-radius: 22px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 15px cyan;
  transition: transform .2s ease, box-shadow .2s ease;
}

button:hover, .btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px magenta;
}

/* ================== HERO ================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,255,255,0.35), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,0,255,0.35), transparent 45%),
    linear-gradient(135deg, #060010, #020008 60%, #060010);
}

/* ================== LOGO (GROOT + PULSE) ================== */
.hero-logo {
  height: 220px;
  max-width: 85%;
  display: block;
  margin: 0 auto 12px auto;
  animation: logoPulse 3.5s ease-in-out infinite;
}

/* PULSE */
@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 0 20px cyan);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 50px magenta);
    transform: scale(1.15);
  }
  100% {
    filter: drop-shadow(0 0 20px cyan);
    transform: scale(1);
  }
}

/* ================== HERO TEKST ================== */
.hero h1 {
  font-size: 3em;
  margin: 6px 0 8px 0;
}

.hero p {
  font-size: 1.25em;
  color: #ddd;
  margin: 0 0 26px 0;
  line-height: 1.4;
}

/* ================== PRODUCTEN ================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 30px;
}

.product-card {
  background: rgba(0,0,0,0.65);
  border-radius: 22px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,255,255,0.3);
}

.product-img {
  max-height: 90px;
  margin-bottom: 15px;
  object-fit: contain;
}

/* ================== PRIJS ================== */
.price {
  font-size: 1.4em;
  font-weight: bold;
  margin: 15px 0;
}

/* ================== FOOTER ================== */
.footer {
  margin-top: 80px;
  padding: 40px 20px;
  background: rgba(0,0,0,.7);
  border-top: 1px solid rgba(0,255,255,.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  opacity: .8;
}

/* ================== MOBIEL ================== */
@media (max-width: 768px) {
  .hero-logo {
    height: 120px;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 2.1em;
  }

  .hero p {
    font-size: 1.1em;
  }
/* ===== FORCE HERO LOGO SIZE ===== */
.hero img,
.hero-logo {
  height: 220px !important;   /* 👈 NU ECHT 220px */
  max-height: 220px !important;
  width: auto !important;
  margin: 0 auto 12px auto !important;
  display: block !important;
}

@media (max-width: 768px) {
  .hero img,
  .hero-logo {
    height: 150px !important;
    max-height: 150px !important;
  }
}

.hero-logo {
  height: 300px;
  border: 5px solid red;
}

/* ===== TOPBAR LOGIN ===== */
.topbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-btn {
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: bold;
  background: linear-gradient(45deg, cyan, magenta);
  color: #000;
  box-shadow: 0 0 15px cyan;
  transition: transform .2s ease, box-shadow .2s ease;
}

.topbar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px magenta;
}

.topbar-btn.outline {
  background: transparent;
  color: #fff;
  border: 2px solid cyan;
  box-shadow: 0 0 10px cyan;
}

.topbar-user {
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px cyan;
}

/* ===== RAINBOW BORDER (STATIC) ===== */
.product-card {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(
      45deg,
      red,
      orange,
      yellow,
      green,
      cyan,
      blue,
      magenta,
      red
    ) border-box;

  box-shadow: 0 0 12px rgba(0,255,255,0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ===== PULSE ALLEEN BIJ HOVER ===== */
.product-card:hover {
  animation: rainbowPulse 3s linear infinite;
  transform: translateY(-6px);
  box-shadow:
    0 0 25px rgba(0,255,255,0.7),
    0 0 45px rgba(255,0,255,0.6);
}

/* ===== PULSE ANIMATIE ===== */
@keyframes rainbowPulse {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }

/* ===== HOVER EFFECT VOOR PRODUCT KAARTEN ===== */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 0 20px cyan,
    0 0 40px magenta,
    0 0 60px cyan;
}

/* ===== MEDEDELINGEN ===== */
.announcement {
  background: rgba(0,0,0,0.65);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 40px;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#000,#000),
    linear-gradient(45deg, cyan, magenta, yellow, cyan);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 30px rgba(0,255,255,0.4);
}

.announcement h2 {
  margin-top: 0;
  margin-bottom: 15px;
  text-shadow: 0 0 15px cyan;
}

.announcement ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement li {
  padding: 8px 0;
  font-size: 1.05em;
}

/* ===== MEDEDELING (ALTIJD KNIPPEREN) ===== */
/* ===== MEDEDELING: ROOD → GEEL → GROEN ===== */
.alert-cycle {
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 40px;
  color: #fff;
  font-size: 1.1em;
  text-align: center;

  animation: cycleAlert 3s infinite;
}

/* KLEUR + KNIPPER ANIMATIE */
@keyframes cycleAlert {
  0% {
    background: rgba(255, 0, 0, 0.18);
    border: 2px solid #ff4444;
    box-shadow: 0 0 20px rgba(255,0,0,0.8);
    opacity: 1;
  }

  33% {
    background: rgba(255, 255, 0, 0.18);
    border: 2px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255,255,0,0.8);
    opacity: 0.6;
  }

  66% {
    background: rgba(0, 255, 0, 0.18);
    border: 2px solid #00ff99;
    box-shadow: 0 0 20px rgba(0,255,0,0.8);
    opacity: 1;
  }

  100% {
    background: rgba(255, 0, 0, 0.18);
    border: 2px solid #ff4444;
    box-shadow: 0 0 20px rgba(255,0,0,0.8);
    opacity: 0.6;
  }
}

