/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: Arial, sans-serif;
  background: #0a0a0a;
  color: white;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}

.logo {
  font-weight: bold;
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00bfff, transparent 70%);
  filter: blur(120px);
  opacity: 0.3;
}

/* SECTIONS */
.section {
  padding: 60px 40px;
}

/* GRID (SUPER VIKTIGT) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* GENERIC CARD */
.card {
  padding: 20px;
  border: 1px solid #222;
  border-radius: 10px;
  background: #111;
  transition: all 0.2s ease;
}

/* MAKE LINKS LOOK LIKE CARDS */
a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-5px);
  border-color: #555;
}

/* FORM */
form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  background: #111;
  border: none;
  color: white;
  border-radius: 6px;
}

button {
  padding: 12px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

/* HIDDEN FIELD */
.hidden {
  display: none;
}

/* ========================= */
/* 🌊 AUTOMATION MARINE THEME */
/* ========================= */

.automation {
  position: relative; /* FIXAR glow */
  border: 1px solid #0d2a3a;
  background: linear-gradient(180deg, #071821, #0a0a0a);
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* Background glow */
.automation::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0088ff, transparent);
  opacity: 0.15;
  filter: blur(100px);
  bottom: -100px;
  left: -100px;
}

/* Marine cards */
.marine {
  position: relative;
  background: linear-gradient(180deg, #0b2230, #08161f);
  border: 1px solid #123a4f;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
  cursor: pointer;
}

/* Marine glow */
.marine::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #00cfff, transparent 70%);
  filter: blur(60px);
  opacity: 0.15;
  top: -50px;
  right: -50px;
}

/* Hover marine */
.marine:hover {
  border-color: #00cfff;
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
}

/* Text styling */
.marine h4 {
  color: #b9ecff;
  margin-bottom: 8px;
}

.marine p {
  color: #7fb6cc;
  font-size: 14px;
}